| xqd
@@ -49,22 +49,13 @@
|
|
|
methods: {
|
|
|
handleOpen(index){
|
|
|
if(this.setting.review_mode) return
|
|
|
- if(this.vuex_user_data.is_vip == 0){
|
|
|
- this.modal.show = true
|
|
|
- /*if(this.$platform === 'ios'){
|
|
|
- uni.showModal({
|
|
|
- title: '提示',
|
|
|
- content: '由于相关规范,iOS功能暂不可用',
|
|
|
- success: function (res) {
|
|
|
- // res.confirm res.cancel
|
|
|
- }
|
|
|
- });
|
|
|
- }else{
|
|
|
+ this.$u.api.userGet().then(res => {
|
|
|
+ if(res.is_vip == 0){
|
|
|
this.modal.show = true
|
|
|
- }*/
|
|
|
- }else{
|
|
|
- this.$jump({url: mathLists[index].url,type:'to'})
|
|
|
- }
|
|
|
+ }else{
|
|
|
+ this.$jump({url: mathLists[index].url,type:'to'})
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
handleConfirmBuy(){
|
|
|
this.$jump({url:'/pages/my/member',type:'to'})
|