This commit is contained in:
2024-01-09 00:03:43 +08:00
parent 3b28b1f7ab
commit 835da2c9cd
3 changed files with 9 additions and 9 deletions

View File

@@ -16,7 +16,7 @@
<view style="display: flex;flex-direction: column;
margin:20px 20px 0px 20px;padding-bottom: 20px; border-bottom: 2px #EFEFEF solid;">
margin:20px 20px 0px 20px;padding-bottom: 5px; border-bottom: 2px #EFEFEF solid;">
<view
style="display: flex;flex-direction: row;align-items: center; justify-content: space-between;">
@@ -35,7 +35,7 @@
</view>
</view>
<view style="margin-top: 10px;display: flex;flex-direction: row;align-items: center;">
<view style="margin-top: 10px;display: flex;flex-direction: row;align-items: center;margin-top: 15px;">
<view style="color: #888;font-size: 12px;">您已经定制了</view>
<view style="color: #FF5006;font-size: 18px;">{{page.weight}}</view>
<view style="color: #888;font-size: 12px;">满200斤可定制云菜窖</view>
@@ -191,7 +191,7 @@
let num = 0;
for (var i = 0; i < this.data.length; i++) {
num += Number(this.data[i].price) * Number(this.data[i].goodsNumber);
num += Number(this.data[i].jprice) * Number(this.data[i].goodsNumber)* Number(this.data[i].weight);
}
console.log("num", num)

View File

@@ -64,7 +64,7 @@
console.log("人员sid", res.data.data.sid);
console.log("token", res.data.data.token);
uni.switchTab({
url: '/pages/home/cloudCard'
url: '/pages/home/pickUpCard'
})
}
} else {

View File

@@ -223,10 +223,10 @@
return
}
if (this.page.real.length == 1) {
// 仅有一个选择时直接调用支付接口
this.createOrder()
}
// if (this.page.real.length == 1) {
// // 仅有一个选择时直接调用支付接口
// this.createOrder()
// }
}
}
</script>