This commit is contained in:
2024-01-23 17:30:06 +08:00
parent 8bdfcdcb38
commit 0f09cac2b2
4 changed files with 12 additions and 11 deletions

View File

@@ -8,8 +8,8 @@
wxSilentLoginURL: config.baseUrl + "/lpkcustomer/wxSilentLogin",
sid: "",
token: "",
isNewUser: "", //是否新人 0 否 1 是
isPurchase: "", //是否购买过 0 否 1 是
isNewUser: "", //是否新人 0 否 1 是 邀请新人助力
isPurchase: "", //是否购买过 1否 0是 首页新人礼包弹框
navInfo: {
}

View File

@@ -6,7 +6,7 @@
:end-change-height="page.endHeight">
</NavBar>
<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>
</view>

View File

@@ -401,7 +401,7 @@
created() {
// console.log("==========", getApp().globalData.isNewUser);
if (getApp().globalData.isNewUser == '1')
if (getApp().globalData.isPurchase == '1')
this.showModal = true
},
onShow() {
@@ -433,9 +433,9 @@
this.transferInfo.remarks = event.target.value
},
shareGift() {
if (this.shareSid && getApp().globalData.isNewUser) {
// 邀请新人 助力礼包 isNewUser==1 可以助力
if (this.shareSid && getApp().globalData.isNewUser=='1') {
}
},
@@ -604,7 +604,8 @@
_this.$api.createNewUserBagOrder(params).then((resp) => {
// console.log("resp", resp);
this.$pay(resp)
_this.$pay(resp)
_this.showModal2 = false
}).catch(e => {})
@@ -619,7 +620,7 @@
this.showModal3 = false
},
onShareAppMessage: function(res) {
let _this = this
const promise = new Promise(resolve => {
// 模拟网络请求
@@ -671,7 +672,7 @@
title: '汇融惠享-云菜窖',
// ②
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。
})

View File

@@ -257,7 +257,7 @@
title: '汇融惠享-云菜窖',
// ②
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) {
console.log('aaaa', "分享成功")
},