1111111
This commit is contained in:
4
App.vue
4
App.vue
@@ -8,8 +8,8 @@
|
|||||||
wxSilentLoginURL: config.baseUrl + "/lpkcustomer/wxSilentLogin",
|
wxSilentLoginURL: config.baseUrl + "/lpkcustomer/wxSilentLogin",
|
||||||
sid: "",
|
sid: "",
|
||||||
token: "",
|
token: "",
|
||||||
isNewUser: "", //是否新人 0 否 1 是
|
isNewUser: "", //是否新人 0 否 1 是 邀请新人助力
|
||||||
isPurchase: "", //是否购买过 0 否 1 是
|
isPurchase: "", //是否购买过 1否 0是 首页新人礼包弹框
|
||||||
navInfo: {
|
navInfo: {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
:end-change-height="page.endHeight">
|
:end-change-height="page.endHeight">
|
||||||
</NavBar>
|
</NavBar>
|
||||||
<view>
|
<view>
|
||||||
<image src="https://supervise.yxtsoft.com/lpk/image/bind_bj.png" mode="scaleToFill"
|
<image src="https://supervise.yxtsoft.com/lpk/image/bind_bj_new.png" mode="scaleToFill"
|
||||||
style="width: 100%;height: 70vw"></image>
|
style="width: 100%;height: 70vw"></image>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|||||||
@@ -401,7 +401,7 @@
|
|||||||
created() {
|
created() {
|
||||||
|
|
||||||
// console.log("==========", getApp().globalData.isNewUser);
|
// console.log("==========", getApp().globalData.isNewUser);
|
||||||
if (getApp().globalData.isNewUser == '1')
|
if (getApp().globalData.isPurchase == '1')
|
||||||
this.showModal = true
|
this.showModal = true
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
@@ -433,8 +433,8 @@
|
|||||||
this.transferInfo.remarks = event.target.value
|
this.transferInfo.remarks = event.target.value
|
||||||
},
|
},
|
||||||
shareGift() {
|
shareGift() {
|
||||||
|
// 邀请新人 助力礼包 isNewUser==1 可以助力
|
||||||
if (this.shareSid && getApp().globalData.isNewUser) {
|
if (this.shareSid && getApp().globalData.isNewUser=='1') {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -604,7 +604,8 @@
|
|||||||
_this.$api.createNewUserBagOrder(params).then((resp) => {
|
_this.$api.createNewUserBagOrder(params).then((resp) => {
|
||||||
|
|
||||||
// console.log("resp", resp);
|
// console.log("resp", resp);
|
||||||
this.$pay(resp)
|
_this.$pay(resp)
|
||||||
|
_this.showModal2 = false
|
||||||
}).catch(e => {})
|
}).catch(e => {})
|
||||||
|
|
||||||
|
|
||||||
@@ -671,7 +672,7 @@
|
|||||||
title: '汇融惠享-云菜窖',
|
title: '汇融惠享-云菜窖',
|
||||||
// ②
|
// ②
|
||||||
path: '/pages/login/login?data=' + value,
|
path: '/pages/login/login?data=' + value,
|
||||||
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/shareAffeection.png', //自定义图片路径,显示图片长宽比是 5:4。
|
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/share_transfer.png', //自定义图片路径,显示图片长宽比是 5:4。
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -257,7 +257,7 @@
|
|||||||
title: '汇融惠享-云菜窖',
|
title: '汇融惠享-云菜窖',
|
||||||
// ②
|
// ②
|
||||||
path: '/pages/login/login?data=' + value,
|
path: '/pages/login/login?data=' + value,
|
||||||
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/shareAffeection.png', //自定义图片路径,显示图片长宽比是 5:4。
|
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/share_invite.png', //自定义图片路径,显示图片长宽比是 5:4。
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
console.log('aaaa', "分享成功")
|
console.log('aaaa', "分享成功")
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user