价格显示问题
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<view class="list_item_title">{{item.title}}</view>
|
||||
<view class="list_item_content" v-html="item.content"></view>
|
||||
<view class="list_item_bt">
|
||||
<text class="list_item_study" @click="toLogin()">了解课程</text>
|
||||
<text class="list_item_study">了解课程</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -20,7 +20,7 @@
|
||||
</view>
|
||||
|
||||
<view class="xlcp_block" v-if="statusXLCP">
|
||||
<view class="level_block" @click="toLogin()">
|
||||
<view class="level_block">
|
||||
<view class="level_item">自恋型人格障碍诊断标准</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -44,13 +44,13 @@ export default {
|
||||
|
||||
},
|
||||
onLoad(options) {
|
||||
this.title = options.title;
|
||||
this.id = options.id;
|
||||
//如果是心理评测
|
||||
if(this.id==75){
|
||||
this.statusXLCP = true;
|
||||
this.getData();
|
||||
//针对身心医学的判断
|
||||
if(options.title=='心身医学'){
|
||||
this.title = '心身健康科学'
|
||||
}else{
|
||||
this.getData();
|
||||
this.title = options.title;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -74,20 +74,6 @@ export default {
|
||||
this.statusNull = true;
|
||||
}
|
||||
});
|
||||
},
|
||||
toLogin(){
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '为了方便您后期用不同的设备查阅订购的记录,请先完成登录或注册。',
|
||||
confirmText: '确认',
|
||||
success(res){
|
||||
if (res.confirm) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/user/login'
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user