|
|
@@ -167,38 +167,22 @@
|
|
|
class="outline-action"
|
|
|
:class="{ disabled: !item._isPaid }"
|
|
|
@click.stop="item._isPaid ? printOrder(index) : ''"
|
|
|
- >
|
|
|
- <image
|
|
|
- class="action-icon"
|
|
|
- :class="{ 'action-icon-muted': !item._isPaid }"
|
|
|
- :src="iconSrc('order-printer-green')"
|
|
|
- mode="aspectFit"
|
|
|
- />
|
|
|
- <text>打印</text>
|
|
|
- </view>
|
|
|
+ >打印</view>
|
|
|
|
|
|
<view
|
|
|
v-if="item._expressText"
|
|
|
class="outline-action"
|
|
|
:class="{ disabled: item._expressDisabled }"
|
|
|
@click.stop="item._expressDisabled ? '' : openExpressPage(item.id)"
|
|
|
- >
|
|
|
- <image
|
|
|
- class="action-icon"
|
|
|
- :class="{ 'action-icon-muted': item._expressDisabled }"
|
|
|
- :src="iconSrc('delivery-outline')"
|
|
|
- mode="aspectFit"
|
|
|
- />
|
|
|
- <text>{{ item._expressText }}</text>
|
|
|
- </view>
|
|
|
+ >{{ item._expressText }}</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="action-more-wrap">
|
|
|
- <!-- 已取消订单:「更多」与状态文案同为灰色 -->
|
|
|
+ <!-- 已取消订单:「更多」灰色且不可点开菜单 -->
|
|
|
<view
|
|
|
class="outline-action"
|
|
|
:class="{ disabled: item.status == 5 }"
|
|
|
- @click.stop="toggleActionMore(index)"
|
|
|
+ @click.stop="item.status == 5 ? '' : toggleActionMore(index)"
|
|
|
>更多</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -1639,11 +1623,6 @@ export default {
|
|
|
background: linear-gradient(135deg, #18d36f 0%, #08b856 100%);
|
|
|
}
|
|
|
|
|
|
-.outline-action text,
|
|
|
-.solid-action text {
|
|
|
- margin-left: 6upx;
|
|
|
-}
|
|
|
-
|
|
|
.outline-action.disabled,
|
|
|
.solid-action.disabled {
|
|
|
color: #b7bfc0;
|
|
|
@@ -1655,8 +1634,7 @@ export default {
|
|
|
.filter-icon,
|
|
|
.card-icon,
|
|
|
.card-icon-sm,
|
|
|
-.merge-icon,
|
|
|
-.action-icon {
|
|
|
+.merge-icon {
|
|
|
display: block;
|
|
|
flex-shrink: 0;
|
|
|
}
|
|
|
@@ -1688,35 +1666,6 @@ export default {
|
|
|
align-self: center;
|
|
|
}
|
|
|
|
|
|
-.action-icon {
|
|
|
- width: 36upx;
|
|
|
- height: 36upx;
|
|
|
-}
|
|
|
-
|
|
|
-.outline-action .action-icon {
|
|
|
- width: 36upx;
|
|
|
- height: 36upx;
|
|
|
-}
|
|
|
-
|
|
|
-.action-row .outline-action .action-icon,
|
|
|
-.action-row .solid-action .action-icon {
|
|
|
- width: 32upx;
|
|
|
- height: 32upx;
|
|
|
-}
|
|
|
-
|
|
|
-.action-icon-white {
|
|
|
- filter: brightness(0) invert(1);
|
|
|
-}
|
|
|
-
|
|
|
-.action-icon-muted {
|
|
|
- opacity: 0.45;
|
|
|
- filter: none;
|
|
|
-}
|
|
|
-
|
|
|
-.solid-action.disabled .action-icon-white {
|
|
|
- filter: none;
|
|
|
-}
|
|
|
-
|
|
|
.staff-popup {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|