1.获取的数据需要在 typeList,gradeList,glossList, 数据前添加“不限制”效果如下图 <div class="tab-bg"> <div class="tab-nav" v-for="(item,index) in tabs" :key="index" :class="{active:index == num}" @click="tab(index)">{{item}}</div> </div> <div class="tab-content" v-for='(itemCon,index) in tabContents' :key="index" v-show=" index == num " > <div class="tab-content-param" @click="clickText1($event)">不限制</div> <div class="tab-content-param" v-if="num == 0" v-for='(item,index) in filter.typeList' :key="index">{{item}}</div> <div class="tab-content-param" v-if="num == 1" v-for='(item,index) in filter.fineAndPoreVoList' :key="index">{{item}}</div> <div class="tab-content-param" v-if="num == 2" v-for='(item,index) in filter.glossList' :key="index">{{item}}</div> <div class="tab-content-param" v-if="num == 3" v-for='(item,index) in filter.gradeList' :key="index">{{item}}</div> </div>
添加回答
举报
0/150
提交
取消