This commit is contained in:
2024-05-17 10:14:19 +08:00
parent fd1a7705c1
commit c7189c787e
12 changed files with 1351 additions and 1170 deletions

View File

@@ -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