Browse Source

2023-1-9

master
guoxing 1 year ago
parent
commit
835da2c9cd
  1. 8
      pages/cloud/optionalCard.vue
  2. 2
      pages/login/login.vue
  3. 8
      uni_modules/common-pay/pages/pay/pay.vue

8
pages/cloud/optionalCard.vue

@ -1,6 +1,6 @@
<template>
<view style="display: flex;flex-direction: column; height: 100%;box-sizing: border-box ;" id="page">
<view style="display: flex;flex-direction: column; height: 100%;box-sizing: border-box;" id="page">
<view class="top">
<NavBar ref="nav" navTitle="详情" :showIcon="true" :start-change-height="page.startHeight"
@ -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)

2
pages/login/login.vue

@ -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 {

8
uni_modules/common-pay/pages/pay/pay.vue

@ -223,10 +223,10 @@
return
}
if (this.page.real.length == 1) {
//
this.createOrder()
}
// if (this.page.real.length == 1) {
// //
// this.createOrder()
// }
}
}
</script>

Loading…
Cancel
Save