修改
This commit is contained in:
@@ -37,6 +37,8 @@
|
||||
</u-grid>
|
||||
</view>
|
||||
<view class="titleList">
|
||||
|
||||
|
||||
<u-grid :col="3" v-if="titleList.length > 0">
|
||||
<u-grid-item v-for="(item, index) in titleList" :key="item.id" @click="gotoDetail(item)">
|
||||
<view :class="['titleItem']">{{item.title}}</view>
|
||||
@@ -110,20 +112,20 @@
|
||||
},
|
||||
// 穴位详情
|
||||
gotoDetail(item) {
|
||||
// if (this.curOneCateIndex == 0 && this.userMes.pointPower== 0) {
|
||||
// let that = this
|
||||
// uni.showModal({
|
||||
// content: '购买 手模 或 脚模 后方可使用此功能',
|
||||
// confirmText: '好的',
|
||||
// showCancel: false,
|
||||
// success: function(res) {
|
||||
// if (res.confirm) {
|
||||
// // console.log('用户点击确定');
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
// return
|
||||
// }
|
||||
if (this.curOneCateIndex == 0 && this.userMes.pointPower== 0) {
|
||||
let that = this
|
||||
uni.showModal({
|
||||
content: '购买 手模 或 脚模 后方可使用此功能',
|
||||
confirmText: '好的',
|
||||
showCancel: false,
|
||||
success: function(res) {
|
||||
if (res.confirm) {
|
||||
// console.log('用户点击确定');
|
||||
}
|
||||
}
|
||||
})
|
||||
return
|
||||
}
|
||||
uni.navigateTo({
|
||||
url: "./acupointDetail?id=" + item.id
|
||||
})
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user