修改订单拣货页面
This commit is contained in:
parent
aae10716d3
commit
63d40b2f7f
@ -105,6 +105,7 @@
|
|||||||
@click="selectPickItem(index)"
|
@click="selectPickItem(index)"
|
||||||
>
|
>
|
||||||
<text class="index-text">{{ index + 1 }}</text>
|
<text class="index-text">{{ index + 1 }}</text>
|
||||||
|
<text class="index-qty">{{ item.totalQty }}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="safe-bottom"></view>
|
<view class="safe-bottom"></view>
|
||||||
@ -2291,14 +2292,30 @@ import voice from '@/core/utils/voice';
|
|||||||
border-radius: 12rpx;
|
border-radius: 12rpx;
|
||||||
background: #f5f7fa;
|
background: #f5f7fa;
|
||||||
border: 1rpx solid #e4e7ed;
|
border: 1rpx solid #e4e7ed;
|
||||||
display: flex;
|
position: relative;
|
||||||
align-items: center;
|
overflow: hidden;
|
||||||
justify-content: center;
|
}
|
||||||
|
|
||||||
|
.index-cell::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background: linear-gradient(to top left, transparent calc(60% - 0.5px), #dcdfe6 calc(60% - 0.5px), #dcdfe6 calc(60% + 0.5px), #2979ff calc(60% + 0.5px));
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.index-cell--active {
|
.index-cell--active {
|
||||||
background: #eaf2ff;
|
background: #fff3e0;
|
||||||
border-color: #2979ff;
|
border-color: #ff9800;
|
||||||
|
border-width: 3rpx;
|
||||||
|
box-shadow: 0 0 12rpx rgba(255, 152, 0, 0.35);
|
||||||
|
}
|
||||||
|
|
||||||
|
.index-cell--active .index-qty {
|
||||||
|
color: #ff9800;
|
||||||
}
|
}
|
||||||
|
|
||||||
.index-cell--picked {
|
.index-cell--picked {
|
||||||
@ -2310,6 +2327,10 @@ import voice from '@/core/utils/voice';
|
|||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.index-cell--picked .index-qty {
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
.bind-cart-popup {
|
.bind-cart-popup {
|
||||||
padding: 20rpx 24rpx 28rpx;
|
padding: 20rpx 24rpx 28rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
@ -2452,9 +2473,25 @@ import voice from '@/core/utils/voice';
|
|||||||
}
|
}
|
||||||
|
|
||||||
.index-text {
|
.index-text {
|
||||||
|
position: absolute;
|
||||||
|
top: 6rpx;
|
||||||
|
left: 8rpx;
|
||||||
|
z-index: 1;
|
||||||
font-size: 34rpx;
|
font-size: 34rpx;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #2979ff;
|
color: #ffffff;
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.index-qty {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 6rpx;
|
||||||
|
right: 8rpx;
|
||||||
|
z-index: 1;
|
||||||
|
font-size: 36rpx;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #303133;
|
||||||
|
line-height: 1.2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.safe-bottom {
|
.safe-bottom {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user