feat: 备货进度隐藏分拣时间进度条
This commit is contained in:
@@ -33,11 +33,7 @@
|
|||||||
<view class="title" :class="{ titleActive: step.state !== 'todo' }">{{ step.title }}</view>
|
<view class="title" :class="{ titleActive: step.state !== 'todo' }">{{ step.title }}</view>
|
||||||
<view v-if="step.time" class="time">{{ step.time }}</view>
|
<view v-if="step.time" class="time">{{ step.time }}</view>
|
||||||
<view v-if="step.desc" class="desc">{{ step.desc }}</view>
|
<view v-if="step.desc" class="desc">{{ step.desc }}</view>
|
||||||
<view v-if="step.key === 'sorting' && step.state === 'active'" class="bar-wrap">
|
<!-- 分拣进度条已隐藏 -->
|
||||||
<view class="bar">
|
|
||||||
<view class="bar-fill" :style="{ width: sortingPercent + '%' }"></view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view v-if="step.key === 'wait'" class="hint">{{ step.hint }}</view>
|
<view v-if="step.key === 'wait'" class="hint">{{ step.hint }}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -165,7 +161,7 @@
|
|||||||
{
|
{
|
||||||
key: 'sorting',
|
key: 'sorting',
|
||||||
title: '商品分拣中',
|
title: '商品分拣中',
|
||||||
desc: sortingState === 'active' ? '预计 15 分钟内完成分拣' : '',
|
desc: '',
|
||||||
state: sortingState,
|
state: sortingState,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user