This commit is contained in:
wpf 2024-03-07 16:26:37 +08:00
parent 8ae4863ce9
commit 798b1d9c22
6 changed files with 21 additions and 13 deletions

View File

@ -30,14 +30,14 @@
"Geolocation" : {},
"Payment" : {},
"Share" : {},
"OAuth" : {},
"UniMP" : {
"description" : "uni小程序"
},
"Maps" : {},
"Push" : {},
"LivePusher" : {},
"Record" : {}
"Record" : {},
"OAuth" : {}
},
"safearea" : {
"bottom" : {
@ -132,12 +132,7 @@
"name" : "amapIvoVHpJR"
}
},
"oauth" : {
"weixin" : {
"appid" : "wx9d68c92b550ddd1e",
"UniversalLinks" : "https://shop.lihaink.cn/"
}
},
"oauth" : {},
"ad" : {},
"push" : {},
"speech" : {}

View File

@ -69,6 +69,7 @@
mapGetters
} from "vuex";
import authorize from '@/components/Authorize';
import { Toast } from "../../libs/uniApi";
export default {
components: {
authorize
@ -166,7 +167,9 @@
res.eventChannel.emit('datas', res1.data.platformConsumption);
}
})
});
}).catch(err=>{
Toast(err.message || err)
});
}).catch((err) => {
this.$util.Tips({
title: err.message || err.msg || err

View File

@ -235,6 +235,7 @@
payForm: {
cart_id: '',
address_id: '',
consumption_id: '',
use_coupon: '',
takes: '',
use_integral: '',
@ -324,8 +325,10 @@
...this.checkForm,
consumption_id: this.consumption_id
}).then(res=>{
this.total_coupon = res.data.total_coupon;
this.total_coupon = res.data.order_price;
this.consumption_money = res.data.consumption_money;
this.payForm.consumption_id = this.consumption_id;
// this.payForm.money = res.data.order_price;
})
})
}

View File

@ -241,7 +241,7 @@
<view class="item no-border" v-if="nature_business==2">
<view class='acea-row row-middle'>
<text class="item-title" style="margin-right: 20rpx;">请上传银行卡正面照片</text>
<text class="item-desc">(图片格式支持JPGPNGJPEG)</text>
<text class="item-desc">(支持JPGPNGJPEG)</text>
<view class="upload">
<view v-if="bank_front" class='pictrue' @click='uploadpicBack'>
<image :src='bank_front'></image>

View File

@ -133,7 +133,7 @@
<view class="item no-border">
<view class='acea-row row-middle'>
<text class="item-title" style="margin-right: 20rpx;">请上传银行卡正面照片</text>
<text class="item-desc">(图片格式支持JPGPNGJPEG)</text>
<text class="item-desc">(支持JPGPNGJPEG)</text>
<view class="upload">
<view v-if="bank_front" class='pictrue' @click='uploadpicBack'>
<image :src='bank_front'></image>

View File

@ -12,6 +12,13 @@
<div class="logon" style="display: flex;align-items: center;justify-content: center;" @click="wxLogin">
<u-icon name="weixin-fill" color="#fff" size="30"></u-icon> 微信一键登录
</div>
<checkbox-group class="checkgroup" @change='isAgree=!isAgree'>
<checkbox class="checkbox" :checked="isAgree ? true : false" />
<text class="protocol_text">我已同意<text @click="userAgree"
class="font_pro">用户协议</text><text @click="userPrivacyAgree"
class="font_pro">隐私政策</text></text>
</checkbox-group>
</div>
<div class="whiteBg" v-else-if="formItem === 1">
<div class="title acea-row row-center-wrapper">
@ -528,7 +535,7 @@ import { Toast } from "../../../libs/uniApi";
})
uni.login({
provider: 'weixin',
// onlyAuthorize: true,
onlyAuthorize: true,
success: function(loginRes) {
console.log(loginRes);
self.appUserInfo = loginRes;