6
0
Fork 0

修改分享页面的描述文本

hui.zhou
h30830569 2022-05-12 16:50:25 +08:00
parent 65c11e0d56
commit 1abf358fdd
2 changed files with 8 additions and 4 deletions

View File

@ -14,7 +14,7 @@
<cu-avatar size="100" :src="user.avatar?user.avatar:''"></cu-avatar>
</view>
<view class="mt-10rpx text-txGray">{{showPhone}}</view>
<view class="font-extrabold text-xl">子春生</view>
<view class="font-extrabold text-xl">积趣</view>
<view>{{item.remark?item.remark:''}}</view>
</view>
<view>
@ -128,7 +128,7 @@
onShareAppMessage(){
let code = this.user.code ? this.user.code : '';
let shareObj={
title:'我正在使用子春生小程序,赶紧跟我一起来体验吧!',
title:'我正在使用积趣小程序,赶紧跟我一起来体验吧!',
path:`/pages/index/index?invite_code=${code}`,
imageUrl:''
}
@ -236,7 +236,7 @@
}, //
{
type: 'text',
text: '子春生',
text: '积趣',
size: '16',
color: '#383838',
fontWeight: 'bold',

View File

@ -15,7 +15,6 @@
};
},
onLoad(e) {
console.log(e);
const scene = strToParams(decodeURIComponent(e.scene))
console.log(scene);
if (scene.product) {
@ -40,6 +39,11 @@
url: '/pages/order_details/index?id=' + order_id
})
}, 1000)
}else if(scene.invite_code){
uni.redirectTo({
url: '/pages/index/index'
})
uni.setStorageSync('INVITE_CODE', scene.invite_code)
}
},
}