苹果审核,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

@@ -26,27 +26,18 @@
</u-grid-item>
</u-grid>
</view>
<view class="marYao" @click="xingweiShow = true"
v-if="curXingIndex.length>0||curWeiIndex.length>0||curGuijingIndex.length>0">
<view class="marYao" @click="xingweiShow = true" v-if="curXWGMark.length>0">
性味
<span v-for="(item, index) in curXingIndex">
<span v-for="(item, index) in curXWGMark">
{{item}}
<font>,</font>
</span>
<span v-for="(item, index) in curWeiIndex">
{{item}}
<font>,</font>
</span>
<span v-for="(item, index) in curGuijingIndex">
{{item}}
<font>,</font>
<font v-if="index+1!=curXWGMark.length">,</font>
</span>
</view>
<view class="marYao" @click="gongxiaoShow = true" v-if="curGongxiaoIndex.length>0">
<view class="marYao" @click="gongxiaoShow = true" v-if="curGongxiaoMark.length>0">
功效
<span v-for="(item, index) in curGongxiaoIndex">
<span v-for="(item, index) in curGongxiaoMark">
{{item}}
<font v-if="index+1!=curGongxiaoIndex.length">,</font>
<font v-if="index+1!=curGongxiaoMark.length">,</font>
</span>
</view>
<!-- <view class="searchList" v-show="showSearchList">
@@ -339,6 +330,8 @@
status: 3,
page: 1,
totalPage: 1,
curXWGMark: [],
curGongxiaoMark: [],
}
},
onLoad() {
@@ -387,10 +380,9 @@
// 若不包含,则向数组中添加该值
arr.push(item.title);
}
this.page = 1
this.titleList = []
this.goToSearch()
console.log(arr);
console.log(this.curGongxiaoMark)
console.log(this.curXWGMark)
},
goNewSearch() {
this.page = 1
@@ -407,7 +399,7 @@
method: "POST", // POST、GET、PUT、DELETE具体说明查看官方文档
data: {
// loadAnimate: 'none', // 请求加载动画
"limit": 20,
"limit": 50,
"current": this.page,
"name": "",
"type": "", // 植物、矿物、动物
@@ -433,7 +425,11 @@
this.status = 3
}
// 标记
this.curGongxiaoMark = JSON.parse(JSON.stringify(this.curGongxiaoIndex))
this.curXWGMark = JSON.parse(JSON.stringify(this.curXingIndex.concat(this.curWeiIndex).concat(this.curGuijingIndex)))
} else {
this.titleList = []
}
@@ -602,9 +598,7 @@
}
.marYao:nth-last-child(1) {
display: none;
}
}