Commit b4ff0eb0 by 胡悦

Merge branch 'SAAS+V5.6.1' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V5.6.1

2 parents de911833 b39fa354
const target = ['ip', 'dev', 'uat', 'prod', 'beta']
const index = 3
const index = 2
/**
*
0本地
......
......@@ -35,21 +35,16 @@
<view class="log-info box" v-if="orderInfo.goodsOrderApplyStatus == 1 || orderInfo.goodsOrderApplyStatus == 2">
<view class="log-box">
<template v-for="(i,index) in logList" >
<view
class="log-item"
:key="index"
>
<template v-for="(i, index) in logList">
<view class="log-item" :key="index">
<view class="item flex">
<view class="label">{{ i.name }}</view>
<view class="value" :style="{ color: i.statusColor }">{{ i.status }}</view>
</view>
<view class="item-mark">
<view
:class="['circle', { first: index == 0, 'status-approved': i.status === '审批通过', 'status-pending': i.status === '审批中' }]"
></view>
<template v-if="index != logList.length - 1">
<view class="mark-line"></view>
<view :class="['circle', { first: index == 0, 'status-approved': i.status === '审批通过', 'status-pending': i.status === '审批中' }]"></view>
<template>
<view class="mark-line" v-if="index != logList.length - 1"></view>
</template>
</view>
</view>
......@@ -343,19 +338,11 @@ export default {
},
computed: {
logList() {
const status = this.orderInfo.goodsOrderApplyStatus
if (status == 1) {
// 状态为1时,只显示一个:区域经理 - 审批中
return [{ name: '区域经理', value: '1', status: '审批中', statusColor: '#ff9d0a' }]
} else if (status == 2) {
// 状态为2时,显示两个:区域经理 - 审批通过,线上运营 - 审批中
return [
{ name: '区域经理', value: '1', status: '审批通过', statusColor: '#2cca74' },
{ name: '线上运营', value: '2', status: '审批中', statusColor: '#ff9d0a' }
]
}
return []
}
},
data() {
return {
......@@ -1039,28 +1026,28 @@ export default {
border: toRpx(2) solid #2cca74;
}
.status-tag-4 {
color: #F24724;
color: #f24724;
font-size: toRpx(24);
font-weight: 400;
padding: toRpx(4) toRpx(8);
border-radius: toRpx(4);
border: toRpx(2) solid #F24724;
border: toRpx(2) solid #f24724;
}
.status-tag-2 {
color: #FAA827;
color: #faa827;
font-size: toRpx(24);
font-weight: 400;
padding: toRpx(4) toRpx(8);
border-radius: toRpx(4);
border: toRpx(2) solid #FAA827;
border: toRpx(2) solid #faa827;
}
.status-tag-1 {
color: #FAA827;
color: #faa827;
font-size: toRpx(24);
font-weight: 400;
padding: toRpx(4) toRpx(8);
border-radius: toRpx(4);
border: toRpx(2) solid #FAA827;
border: toRpx(2) solid #faa827;
}
.log-info {
margin-bottom: 0;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!