feat: 增加现金支付
This commit is contained in:
@@ -14,7 +14,11 @@
|
||||
>
|
||||
立即发货
|
||||
</view>
|
||||
<view class="ai-button3 w_144" v-if="props.showView" @tap.stop="emit('view')">
|
||||
<view
|
||||
class="ai-button3 w_144"
|
||||
v-if="props.showView && props.status !== 70"
|
||||
@tap.stop="emit('view')"
|
||||
>
|
||||
{{ props.viewText }}
|
||||
</view>
|
||||
<view class="ai-button1 w_144 m-l-16" v-if="props.status === 20" @tap.stop="emit('confirm')">
|
||||
@@ -23,6 +27,12 @@
|
||||
<view class="ai-button1 w_144 m-l-16" v-if="props.status === 0" @tap.stop="emit('pay')">
|
||||
去支付
|
||||
</view>
|
||||
<view class="ai-button1 w_144 m-l-16" v-if="props.status === 70" @tap.stop="emit('cancel')">
|
||||
取消订单
|
||||
</view>
|
||||
<view class="ai-button1 w_144 m-l-16" v-if="props.status === 70" @tap.stop="emit('pay')">
|
||||
切换支付
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -46,5 +56,5 @@
|
||||
},
|
||||
});
|
||||
|
||||
const emit = defineEmits(['delay', 'now', 'view', 'confirm', 'pay']);
|
||||
const emit = defineEmits(['delay', 'now', 'view', 'confirm', 'pay', 'cancel']);
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user