修复已知问题
This commit is contained in:
@@ -55,7 +55,10 @@
|
||||
</uv-cell>
|
||||
<uv-cell :title="`订单状态`" :cellStyle="{ padding: '8px' }">
|
||||
<template v-slot:value>
|
||||
<view v-if="form.payStatus == 0">
|
||||
<view v-if="form.orderStatus === 2">
|
||||
<span class="web-text-secondary">已取消</span>
|
||||
</view>
|
||||
<view v-else-if="form.payStatus === 0">
|
||||
<!-- <uv-count-down :time="form.timestamp" format="mm:ss"></uv-count-down> -->
|
||||
<span style="color: #ff0000">未支付</span>
|
||||
</view>
|
||||
@@ -70,7 +73,7 @@
|
||||
</uni-card>
|
||||
</block>
|
||||
<uv-gap height="20"></uv-gap>
|
||||
<view class="checkout-car" v-if="form.payStatus == 0">
|
||||
<view class="checkout-car" v-if="form.payStatus === 0 && form.orderStatus !== 2">
|
||||
<view class="car-total">
|
||||
<text style="color: #ebcf00">¥</text>
|
||||
<uv-count-to decimals="2" duration="30" color="#ebcf00" bold :endVal="form.payPrice"></uv-count-to>
|
||||
|
||||
@@ -166,7 +166,7 @@ export default {
|
||||
reload() {
|
||||
const app = this;
|
||||
const { where, userId } = this;
|
||||
if (userId == 0) {
|
||||
if (userId === 0) {
|
||||
app.openLogin();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user