苹果审核,bug恢复

This commit is contained in:
徐哼唧L
2024-02-26 09:05:04 +08:00
parent 5ae322d192
commit 08667cd3fc
36 changed files with 2158 additions and 1232 deletions

View File

@@ -25,6 +25,7 @@
<view class="oneCateList flexbox">
<text :class="[curOneCateIndex == index ? 'cur' : '']" @click="setOneCateIndex(item,index)"
v-for="(item, index) in oneCateList" :key="item.id">{{item.title}}</text>
<text @click="setOneCateIndex(3,3)">特定穴位</text>
</view>
<!-- </scroll-view> -->
<view class="grid twoCateList" v-if="twoCateList.length > 0">
@@ -109,11 +110,23 @@
},
// 穴位详情
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
// }
uni.navigateTo({
url: "./acupointDetail?id=" + item.id
})
},
// 获取穴位名称
getTitles(id) {
@@ -146,20 +159,20 @@
},
setOneCateIndex(item, index) {
console.log(item)
if (item.id == 3 && this.userMes.pointPower == 0) {
let that = this
uni.showModal({
content: '购买 手模 或 脚模 后方可使用此功能',
confirmText: '好的',
showCancel: false,
success: function(res) {
if (res.confirm) {
// console.log('用户点击确定');
}
}
})
return
}
// if (item.id == 3 && this.userMes.pointPower == 0) {
// let that = this
// uni.showModal({
// content: '购买 手模 或 脚模 后方可使用此功能',
// confirmText: '好的',
// showCancel: false,
// success: function(res) {
// if (res.confirm) {
// // console.log('用户点击确定');
// }
// }
// })
// return
// }
if (item.id == 6 && this.userMes.tgdzPower == 0) {
let that = this
uni.showModal({
@@ -180,6 +193,12 @@
})
return
}
if (index == 3) {
uni.navigateTo({
url: "./givenDegree"
})
return
}
let id = item.id
this.curOneCateIndex = index
this.curTwoCateIndex = 0
@@ -267,7 +286,6 @@
// title: '搜索:' + res,
// icon: 'none'
// })
},
input(res) {
console.log('----input:', res)