更新:1.苹果培训班报名可设置支付方式;2.修改应用市场上架第三方SDK调用的隐私政策问题;
This commit is contained in:
@@ -336,7 +336,7 @@
|
||||
.then(async (res) => {
|
||||
console.log('获取播放凭证666',res.video.m3u8Url);
|
||||
this.reaquestFlag = false
|
||||
if (this.$platform !== 'ios') {
|
||||
if (this.$platform == 'ios') {
|
||||
if (res.video.type == 1 && (res.video.m3u8Url == null || res.video.m3u8Url == '')) {
|
||||
// 只存在私有加密
|
||||
this.show = true
|
||||
|
||||
@@ -238,18 +238,18 @@ export default {
|
||||
text: '积分',
|
||||
})
|
||||
}
|
||||
if (platform == "ios") {
|
||||
this.payList = [
|
||||
{
|
||||
text: "天医币",
|
||||
imgUrl: require("@/static/icon/pay_3.png"),
|
||||
type: 4,
|
||||
value: "2",
|
||||
},
|
||||
];
|
||||
this.selectPayIndex = 0;
|
||||
this.payType = 4;
|
||||
} else {
|
||||
// if (platform == "ios") {
|
||||
// this.payList = [
|
||||
// {
|
||||
// text: "天医币",
|
||||
// imgUrl: require("@/static/icon/pay_3.png"),
|
||||
// type: 4,
|
||||
// value: "2",
|
||||
// },
|
||||
// ];
|
||||
// this.selectPayIndex = 0;
|
||||
// this.payType = 4;
|
||||
// } else {
|
||||
const payType = this.options.payType.split(',')
|
||||
const payListKey = {
|
||||
1: {
|
||||
@@ -277,7 +277,7 @@ export default {
|
||||
const hasWX = payType.includes('1')
|
||||
this.selectPayIndex = 0;
|
||||
this.payType = this.payList[0].type;
|
||||
}
|
||||
// }
|
||||
this.getUserInfo();
|
||||
},
|
||||
onShow() {
|
||||
|
||||
@@ -119,16 +119,16 @@ export default {
|
||||
payType: item.payType,
|
||||
displayJf: item.displayJf
|
||||
}
|
||||
if (platform == "ios" && !item.payType.includes('4')) {
|
||||
uni.showToast({
|
||||
title: "当前不能在线报名,请联系客服",
|
||||
icon: 'none'
|
||||
})
|
||||
} else {
|
||||
// if (platform == "ios" && !item.payType.includes('4')) {
|
||||
// uni.showToast({
|
||||
// title: "此次会议仅支持微信报名(苹果用户想报名请联系吴门医述客服,客服微信:yilujiankangkefu)",
|
||||
// icon: 'none'
|
||||
// })
|
||||
// } else {
|
||||
uni.navigateTo({
|
||||
url: '/pages/order/index?data='+JSON.stringify(data),
|
||||
});
|
||||
}
|
||||
// }
|
||||
},
|
||||
//联系客服
|
||||
goToContact(item){
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
</view>
|
||||
|
||||
<view class="protocol_box">
|
||||
<view class="select" :class="{active: agree}" @click="agree = !agree"></view>
|
||||
<view class="select" :class="{active: agree}" @click="agreeXieYi()"></view>
|
||||
我已同意
|
||||
<!-- <text @click="plus.runtime.openURL('https://main.nuttyreading.com/agreement.html')">《用户协议》</text> -->
|
||||
<!-- <text @click="onPageJump('/pages/user/protocol')">《用户协议》</text> -->
|
||||
@@ -280,6 +280,10 @@
|
||||
methods: {
|
||||
...mapMutations(['setUserInfo']),
|
||||
...mapMutations(['setHealthMes']),
|
||||
agreeXieYi() {
|
||||
this.agree = !this.agree;
|
||||
uni.setStorageSync('privacy_agreed', this.agree);
|
||||
},
|
||||
// 获得操作系统
|
||||
getOS() {
|
||||
let oprateOs = "";
|
||||
|
||||
Reference in New Issue
Block a user