|
@@ -35,13 +35,13 @@
|
|
<u-cell-item title="桥架会员" :border-bottom="false" bg-color="#f9f9f9" @click="handleJumpBuy" v-if="!setting.review_mode">
|
|
<u-cell-item title="桥架会员" :border-bottom="false" bg-color="#f9f9f9" @click="handleJumpBuy" v-if="!setting.review_mode">
|
|
<view slot="icon" class="icon bridge"></view>
|
|
<view slot="icon" class="icon bridge"></view>
|
|
</u-cell-item>
|
|
</u-cell-item>
|
|
- <u-cell-item title="会员购买记录" :border-bottom="false" bg-color="#f9f9f9" @click="$jump({url:'/pages/my/member-record',type:'to'})">
|
|
|
|
|
|
+ <u-cell-item title="会员购买记录" :border-bottom="false" bg-color="#f9f9f9" v-if="!setting.review_mode" @click="$jump({url:'/pages/my/member-record',type:'to'})">
|
|
<view slot="icon" class="icon member"></view>
|
|
<view slot="icon" class="icon member"></view>
|
|
</u-cell-item>
|
|
</u-cell-item>
|
|
<u-cell-item title="分销中心" v-if="setting.open_share" :border-bottom="false" bg-color="#f9f9f9" @click="$jump({url:'/pages/share/index',type:'to'})">
|
|
<u-cell-item title="分销中心" v-if="setting.open_share" :border-bottom="false" bg-color="#f9f9f9" @click="$jump({url:'/pages/share/index',type:'to'})">
|
|
<view slot="icon" class="icon share"></view>
|
|
<view slot="icon" class="icon share"></view>
|
|
</u-cell-item>
|
|
</u-cell-item>
|
|
- <u-cell-item title="微信号" :border-bottom="false" bg-color="#f9f9f9">
|
|
|
|
|
|
+ <u-cell-item title="微信号" :border-bottom="false" bg-color="#f9f9f9" @click="handleCopy">
|
|
{{setting.service_wechat}}
|
|
{{setting.service_wechat}}
|
|
<view slot="icon" class="icon wechat"></view>
|
|
<view slot="icon" class="icon wechat"></view>
|
|
</u-cell-item>
|
|
</u-cell-item>
|
|
@@ -93,7 +93,7 @@
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
handleJumpBuy(){
|
|
handleJumpBuy(){
|
|
- if(this.$platform === 'ios'){
|
|
|
|
|
|
+ /*if(this.$platform === 'ios'){
|
|
uni.showModal({
|
|
uni.showModal({
|
|
title: '提示',
|
|
title: '提示',
|
|
content: '由于相关规范,iOS功能暂不可用',
|
|
content: '由于相关规范,iOS功能暂不可用',
|
|
@@ -102,10 +102,14 @@
|
|
}
|
|
}
|
|
});
|
|
});
|
|
return false
|
|
return false
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
this.$jump({url:'/pages/my/member',type:'to'})
|
|
this.$jump({url:'/pages/my/member',type:'to'})
|
|
},
|
|
},
|
|
getPhoneNumber(phoneNumber){
|
|
getPhoneNumber(phoneNumber){
|
|
|
|
+ if(phoneNumber.detail.errMsg !== 'getPhoneNumber:ok'){
|
|
|
|
+ this.$u.toast('已取消');
|
|
|
|
+ return
|
|
|
|
+ }
|
|
uni.checkSession({
|
|
uni.checkSession({
|
|
success: data => {
|
|
success: data => {
|
|
this.$u.api.userBindPhone(phoneNumber.detail).then(data => {
|
|
this.$u.api.userBindPhone(phoneNumber.detail).then(data => {
|
|
@@ -155,6 +159,9 @@
|
|
this.$u.vuex(this.$const.USER_TOKEN,null)
|
|
this.$u.vuex(this.$const.USER_TOKEN,null)
|
|
this.$u.vuex(this.$const.USER_DATA,null)
|
|
this.$u.vuex(this.$const.USER_DATA,null)
|
|
this.$jump({url:'/pages/login/login?redirect=pages/my/index',type:'redirect'})
|
|
this.$jump({url:'/pages/login/login?redirect=pages/my/index',type:'redirect'})
|
|
|
|
+ },
|
|
|
|
+ handleCopy(){
|
|
|
|
+ this.$util.copyText(this.setting.service_wechat)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLoad(){
|
|
onLoad(){
|