修复已知问题

This commit is contained in:
2024-10-09 12:31:09 +08:00
parent 10533eb67d
commit 6161d9c1d3
12 changed files with 140 additions and 115 deletions
+5 -2
View File
@@ -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>
+1 -1
View File
@@ -166,7 +166,7 @@ export default {
reload() {
const app = this;
const { where, userId } = this;
if (userId == 0) {
if (userId === 0) {
app.openLogin();
return;
}