Commit e4cda068 authored by mengcuiguang's avatar mengcuiguang

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

parent b04a2ad6
......@@ -88,7 +88,7 @@
<view style="display: flex;flex-direction: column;align-items: center;">
<view style="font-size: 24rpx;color: gray;margin-top: 16rpx;margin-bottom: 18rpx;">
订单中如有疑问,请在个人中心联系客服</view>
订单中如有疑问,请跳转【我的】页面</view>
</view>
</scroll-view>
</view>
......@@ -199,10 +199,10 @@
this.handlePay();
},
handlePay() {
if (this.os == 'ios') {
message.notify('暂不支持ios支付');
return
}
// if (this.os == 'ios') {
// message.notify('暂不支持ios支付');
// return
// }
let that = this;
let vipBean = this.vipList[this.selectedIndex];
......@@ -273,7 +273,7 @@
}
message.notify(res.errMsg);
// message.notify(res.errMsg);
},
});
} else {
......
......@@ -227,6 +227,10 @@
<view class="box-wrap">
<image class="img1" @click="handleTaskPage" :src="boxImgUrl"></image>
</view>
<view v-if="false" class="box-cebianlan">
<image class="img2" @click="handleCebianlan" :src="ceImgUrl"></image>
</view>
<!-- <uni-popup type="center" ref="select">
......@@ -286,7 +290,8 @@
showMask: false,
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',
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,
};
},
......@@ -422,6 +427,19 @@
},
handleTaskPage() {
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() {
let that = this;
......@@ -529,5 +547,19 @@
width: 100rpx;
height: 100rpx;
}
}
.box-cebianlan {
height: 100rpx;
width: 120rpx;
right: 0;
bottom: 400rpx;
position: absolute;
z-index: 999;
.img2 {
width: 100rpx;
height: 100rpx;
}
}
</style>
\ No newline at end of file
This diff is collapsed.
......@@ -263,10 +263,10 @@
// this.$refs.alertDialog.open();
},
handlePay() {
if (this.os == 'ios') {
message.notify('暂不支持ios支付');
return
}
// if (this.os == 'ios') {
// message.notify('暂不支持ios支付');
// return
// }
let that = this;
let vipBean = this.pointList[this.selectedIndex];
if (this.selectedIndex == -1) {
......@@ -302,7 +302,7 @@
that.ttPay(largeType, res.orderId, ttData);
},
fail(res) {
message.notify(res.errMsg);
// message.notify(res.errMsg);
console.log('requestOrder res.errMsg', res)
},
});
......
......@@ -96,7 +96,7 @@
desc: '',
path: this.share.path + getApp().globalData.userId,
imageUrl: this.share.imageUrl,
templateId: "920405b4ghj2fla2gc",
templateId: "l71480kcg8lhn19i5b",
success() {
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