|
|
@@ -222,7 +222,10 @@
|
|
|
<text class="item-count" v-else></text>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
+ <view class="dish-tag-row" v-if="Number(s.dishNum)>0" @click="goTree(s)">
|
|
|
+ <text class="dish-num" v-if="Number(s.dishNum)>0">{{ s.dishNum }}筛</text>
|
|
|
+ <text class="dish-num" v-else>-</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="summary-bar">
|
|
|
@@ -714,6 +717,7 @@ export default {
|
|
|
padding: 20upx;
|
|
|
.commodity-item {
|
|
|
display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
margin-bottom: 20upx;
|
|
|
.item-icon {
|
|
|
flex-shrink: 0;
|
|
|
@@ -765,6 +769,32 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ .dish-tag-row {
|
|
|
+ width: 100%;
|
|
|
+ flex: 0 0 100%;
|
|
|
+ margin-top: 12upx;
|
|
|
+ padding: 12upx 16upx;
|
|
|
+ border: 1upx solid #eeeeee;
|
|
|
+ border-radius: 8upx;
|
|
|
+ box-sizing: border-box;
|
|
|
+ background-color: #fafafa;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ .dish-num {
|
|
|
+ color: rgb(156, 150, 150);
|
|
|
+ font-size: 28upx;
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+ .dish-print-btn {
|
|
|
+ width: 120upx;
|
|
|
+ padding-top: 12upx;
|
|
|
+ padding-bottom: 12upx;
|
|
|
+ font-size: 26upx;
|
|
|
+ color: #b4b2b2;
|
|
|
+ border-color: #b4b2b2;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
.summary-bar {
|