更新
This commit is contained in:
parent
8ae4863ce9
commit
798b1d9c22
@ -30,14 +30,14 @@
|
|||||||
"Geolocation" : {},
|
"Geolocation" : {},
|
||||||
"Payment" : {},
|
"Payment" : {},
|
||||||
"Share" : {},
|
"Share" : {},
|
||||||
"OAuth" : {},
|
|
||||||
"UniMP" : {
|
"UniMP" : {
|
||||||
"description" : "uni小程序"
|
"description" : "uni小程序"
|
||||||
},
|
},
|
||||||
"Maps" : {},
|
"Maps" : {},
|
||||||
"Push" : {},
|
"Push" : {},
|
||||||
"LivePusher" : {},
|
"LivePusher" : {},
|
||||||
"Record" : {}
|
"Record" : {},
|
||||||
|
"OAuth" : {}
|
||||||
},
|
},
|
||||||
"safearea" : {
|
"safearea" : {
|
||||||
"bottom" : {
|
"bottom" : {
|
||||||
@ -132,12 +132,7 @@
|
|||||||
"name" : "amapIvoVHpJR"
|
"name" : "amapIvoVHpJR"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"oauth" : {
|
"oauth" : {},
|
||||||
"weixin" : {
|
|
||||||
"appid" : "wx9d68c92b550ddd1e",
|
|
||||||
"UniversalLinks" : "https://shop.lihaink.cn/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ad" : {},
|
"ad" : {},
|
||||||
"push" : {},
|
"push" : {},
|
||||||
"speech" : {}
|
"speech" : {}
|
||||||
|
@ -69,6 +69,7 @@
|
|||||||
mapGetters
|
mapGetters
|
||||||
} from "vuex";
|
} from "vuex";
|
||||||
import authorize from '@/components/Authorize';
|
import authorize from '@/components/Authorize';
|
||||||
|
import { Toast } from "../../libs/uniApi";
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
authorize
|
authorize
|
||||||
@ -166,6 +167,8 @@
|
|||||||
res.eventChannel.emit('datas', res1.data.platformConsumption);
|
res.eventChannel.emit('datas', res1.data.platformConsumption);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}).catch(err=>{
|
||||||
|
Toast(err.message || err)
|
||||||
});
|
});
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
this.$util.Tips({
|
this.$util.Tips({
|
||||||
|
@ -235,6 +235,7 @@
|
|||||||
payForm: {
|
payForm: {
|
||||||
cart_id: '',
|
cart_id: '',
|
||||||
address_id: '',
|
address_id: '',
|
||||||
|
consumption_id: '',
|
||||||
use_coupon: '',
|
use_coupon: '',
|
||||||
takes: '',
|
takes: '',
|
||||||
use_integral: '',
|
use_integral: '',
|
||||||
@ -324,8 +325,10 @@
|
|||||||
...this.checkForm,
|
...this.checkForm,
|
||||||
consumption_id: this.consumption_id
|
consumption_id: this.consumption_id
|
||||||
}).then(res=>{
|
}).then(res=>{
|
||||||
this.total_coupon = res.data.total_coupon;
|
this.total_coupon = res.data.order_price;
|
||||||
this.consumption_money = res.data.consumption_money;
|
this.consumption_money = res.data.consumption_money;
|
||||||
|
this.payForm.consumption_id = this.consumption_id;
|
||||||
|
// this.payForm.money = res.data.order_price;
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -241,7 +241,7 @@
|
|||||||
<view class="item no-border" v-if="nature_business==2">
|
<view class="item no-border" v-if="nature_business==2">
|
||||||
<view class='acea-row row-middle'>
|
<view class='acea-row row-middle'>
|
||||||
<text class="item-title" style="margin-right: 20rpx;">请上传银行卡正面照片</text>
|
<text class="item-title" style="margin-right: 20rpx;">请上传银行卡正面照片</text>
|
||||||
<text class="item-desc">(图片格式支持JPG、PNG、JPEG)</text>
|
<text class="item-desc">(支持JPG、PNG、JPEG)</text>
|
||||||
<view class="upload">
|
<view class="upload">
|
||||||
<view v-if="bank_front" class='pictrue' @click='uploadpicBack'>
|
<view v-if="bank_front" class='pictrue' @click='uploadpicBack'>
|
||||||
<image :src='bank_front'></image>
|
<image :src='bank_front'></image>
|
||||||
|
@ -133,7 +133,7 @@
|
|||||||
<view class="item no-border">
|
<view class="item no-border">
|
||||||
<view class='acea-row row-middle'>
|
<view class='acea-row row-middle'>
|
||||||
<text class="item-title" style="margin-right: 20rpx;">请上传银行卡正面照片</text>
|
<text class="item-title" style="margin-right: 20rpx;">请上传银行卡正面照片</text>
|
||||||
<text class="item-desc">(图片格式支持JPG、PNG、JPEG)</text>
|
<text class="item-desc">(支持JPG、PNG、JPEG)</text>
|
||||||
<view class="upload">
|
<view class="upload">
|
||||||
<view v-if="bank_front" class='pictrue' @click='uploadpicBack'>
|
<view v-if="bank_front" class='pictrue' @click='uploadpicBack'>
|
||||||
<image :src='bank_front'></image>
|
<image :src='bank_front'></image>
|
||||||
|
@ -12,6 +12,13 @@
|
|||||||
<div class="logon" style="display: flex;align-items: center;justify-content: center;" @click="wxLogin">
|
<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> 微信一键登录
|
<u-icon name="weixin-fill" color="#fff" size="30"></u-icon> 微信一键登录
|
||||||
</div>
|
</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>
|
||||||
<div class="whiteBg" v-else-if="formItem === 1">
|
<div class="whiteBg" v-else-if="formItem === 1">
|
||||||
<div class="title acea-row row-center-wrapper">
|
<div class="title acea-row row-center-wrapper">
|
||||||
@ -528,7 +535,7 @@ import { Toast } from "../../../libs/uniApi";
|
|||||||
})
|
})
|
||||||
uni.login({
|
uni.login({
|
||||||
provider: 'weixin',
|
provider: 'weixin',
|
||||||
// onlyAuthorize: true,
|
onlyAuthorize: true,
|
||||||
success: function(loginRes) {
|
success: function(loginRes) {
|
||||||
console.log(loginRes);
|
console.log(loginRes);
|
||||||
self.appUserInfo = loginRes;
|
self.appUserInfo = loginRes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user