修改易购页面显示undefined的bug
This commit is contained in:
parent
e7108f6182
commit
5d77e6f407
@ -33,17 +33,6 @@
|
|||||||
|
|
||||||
<!-- 整体展开的顶部 -->
|
<!-- 整体展开的顶部 -->
|
||||||
<view class="header header2" v-if="topShow">
|
<view class="header header2" v-if="topShow">
|
||||||
<!-- <view class="searchBox" :style="{ height: localHeight + 'px', paddingTop: top + 'px' }">
|
|
||||||
<view class="searchBox_left">
|
|
||||||
<u-icon name="arrow-left" size="20px" color="#000"></u-icon>
|
|
||||||
</view>
|
|
||||||
<view class="searchBox_ipt">
|
|
||||||
<image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/com_communitySearchIcon.png"
|
|
||||||
mode="aspectFill"></image>
|
|
||||||
<input type="text" placeholder="输入商品名称" />
|
|
||||||
</view>
|
|
||||||
</view> -->
|
|
||||||
|
|
||||||
<view class="slide">
|
<view class="slide">
|
||||||
<view class="slide_con">
|
<view class="slide_con">
|
||||||
<view v-for="(item, index) in CateList" :key="index" class="slide_conBox" @click="changeCate(item.id)">
|
<view v-for="(item, index) in CateList" :key="index" class="slide_conBox" @click="changeCate(item.id)">
|
||||||
@ -95,7 +84,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 右下阴影 -->
|
<!-- 右下阴影 -->
|
||||||
<view class="boxshadow2" v-if="cateListShow"></view>
|
<view class="boxshadow2" v-if="cateListShow" @click="changeCateListShow"></view>
|
||||||
|
|
||||||
<view class="CateIte">
|
<view class="CateIte">
|
||||||
<view class="CateInfo"
|
<view class="CateInfo"
|
||||||
@ -315,6 +304,7 @@ export default {
|
|||||||
|
|
||||||
|
|
||||||
changeCate(id) {
|
changeCate(id) {
|
||||||
|
this.checkItem(0)
|
||||||
// 更新当前选中的顶级分类ID
|
// 更新当前选中的顶级分类ID
|
||||||
this.currentCategoryId = id;
|
this.currentCategoryId = id;
|
||||||
// 根据id查找对应的分类
|
// 根据id查找对应的分类
|
||||||
@ -342,7 +332,7 @@ export default {
|
|||||||
this.cateListShow = false
|
this.cateListShow = false
|
||||||
this.rightTopActive = index;
|
this.rightTopActive = index;
|
||||||
// 获取选中的标签ID
|
// 获取选中的标签ID
|
||||||
this.selectedTagId = this.tagList[index].id;
|
this.selectedTagId = this.tagList[index]?.id;
|
||||||
},
|
},
|
||||||
//右下角点击更多
|
//右下角点击更多
|
||||||
topOpen() {
|
topOpen() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user