Commit e4cda068 authored by mengcuiguang's avatar mengcuiguang

邀请好友id修改,代码优化

parent b04a2ad6
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
<view style="display: flex;flex-direction: column;align-items: center;"> <view style="display: flex;flex-direction: column;align-items: center;">
<view style="font-size: 24rpx;color: gray;margin-top: 16rpx;margin-bottom: 18rpx;"> <view style="font-size: 24rpx;color: gray;margin-top: 16rpx;margin-bottom: 18rpx;">
订单中如有疑问,请在个人中心联系客服</view> 订单中如有疑问,请跳转【我的】页面</view>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
...@@ -199,10 +199,10 @@ ...@@ -199,10 +199,10 @@
this.handlePay(); this.handlePay();
}, },
handlePay() { handlePay() {
if (this.os == 'ios') { // if (this.os == 'ios') {
message.notify('暂不支持ios支付'); // message.notify('暂不支持ios支付');
return // return
} // }
let that = this; let that = this;
let vipBean = this.vipList[this.selectedIndex]; let vipBean = this.vipList[this.selectedIndex];
...@@ -273,7 +273,7 @@ ...@@ -273,7 +273,7 @@
} }
message.notify(res.errMsg); // message.notify(res.errMsg);
}, },
}); });
} else { } else {
......
...@@ -229,6 +229,10 @@ ...@@ -229,6 +229,10 @@
<image class="img1" @click="handleTaskPage" :src="boxImgUrl"></image> <image class="img1" @click="handleTaskPage" :src="boxImgUrl"></image>
</view> </view>
<view v-if="false" class="box-cebianlan">
<image class="img2" @click="handleCebianlan" :src="ceImgUrl"></image>
</view>
<!-- <uni-popup type="center" ref="select"> <!-- <uni-popup type="center" ref="select">
<view> <view>
<view style="font-size: 30rpx;font-weight: 777;color: white;">刚刚看的</view> <view style="font-size: 30rpx;font-weight: 777;color: white;">刚刚看的</view>
...@@ -287,6 +291,7 @@ ...@@ -287,6 +291,7 @@
maskImage1: 'https://mints-web.oss-cn-beijing.aliyuncs.com/images/bg_find1.png', maskImage1: 'https://mints-web.oss-cn-beijing.aliyuncs.com/images/bg_find1.png',
maskImage2: 'https://mints-web.oss-cn-beijing.aliyuncs.com/images/bg_find2.png', maskImage2: 'https://mints-web.oss-cn-beijing.aliyuncs.com/images/bg_find2.png',
boxImgUrl: 'https://mints-web.oss-cn-beijing.aliyuncs.com/images/ic_bag.png', boxImgUrl: 'https://mints-web.oss-cn-beijing.aliyuncs.com/images/ic_bag.png',
ceImgUrl: 'https://mints-web.oss-cn-beijing.aliyuncs.com/images/ic_bag.png',
statusBarHeight: app.globalData.statusBarHeight, statusBarHeight: app.globalData.statusBarHeight,
}; };
}, },
...@@ -423,6 +428,19 @@ ...@@ -423,6 +428,19 @@
handleTaskPage() { handleTaskPage() {
navigateTo(`/pagesA/task/task`) navigateTo(`/pagesA/task/task`)
}, },
handleCebianlan() {
tt.navigateToScene({
scene: 'sidebar',
activity: '7377634523393769484', // 需改成自己小程序生效中的activity id。activity 为可选项,不填或者填写错误 id,会表现为兜底样式
success: (data) => {
console.log(data)
},
fail: (data) => {
console.log(data)
}
})
},
showFirstDialog() { showFirstDialog() {
let that = this; let that = this;
let loadEpisode_id = uni.getStorageSync('tt_episode_id') || ''; let loadEpisode_id = uni.getStorageSync('tt_episode_id') || '';
...@@ -530,4 +548,18 @@ ...@@ -530,4 +548,18 @@
height: 100rpx; height: 100rpx;
} }
} }
.box-cebianlan {
height: 100rpx;
width: 120rpx;
right: 0;
bottom: 400rpx;
position: absolute;
z-index: 999;
.img2 {
width: 100rpx;
height: 100rpx;
}
}
</style> </style>
\ No newline at end of file
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
desc: '', desc: '',
path: this.share.path + getApp().globalData.userId, path: this.share.path + getApp().globalData.userId,
imageUrl: this.share.imageUrl, imageUrl: this.share.imageUrl,
templateId: "920405b4ghj2fla2gc", templateId: "l71480kcg8lhn19i5b",
success() { success() {
message.notify('分享成功'); message.notify('分享成功');
if (that.signData.list[signData.todayMsgIndexInWeek].rewardMoreType) { if (that.signData.list[signData.todayMsgIndexInWeek].rewardMoreType) {
......
...@@ -263,10 +263,10 @@ ...@@ -263,10 +263,10 @@
// this.$refs.alertDialog.open(); // this.$refs.alertDialog.open();
}, },
handlePay() { handlePay() {
if (this.os == 'ios') { // if (this.os == 'ios') {
message.notify('暂不支持ios支付'); // message.notify('暂不支持ios支付');
return // return
} // }
let that = this; let that = this;
let vipBean = this.pointList[this.selectedIndex]; let vipBean = this.pointList[this.selectedIndex];
if (this.selectedIndex == -1) { if (this.selectedIndex == -1) {
...@@ -302,7 +302,7 @@ ...@@ -302,7 +302,7 @@
that.ttPay(largeType, res.orderId, ttData); that.ttPay(largeType, res.orderId, ttData);
}, },
fail(res) { fail(res) {
message.notify(res.errMsg); // message.notify(res.errMsg);
console.log('requestOrder res.errMsg', res) console.log('requestOrder res.errMsg', res)
}, },
}); });
......
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
desc: '', desc: '',
path: this.share.path + getApp().globalData.userId, path: this.share.path + getApp().globalData.userId,
imageUrl: this.share.imageUrl, imageUrl: this.share.imageUrl,
templateId: "920405b4ghj2fla2gc", templateId: "l71480kcg8lhn19i5b",
success() { success() {
message.notify('分享成功'); message.notify('分享成功');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment