|
如题,一放进list-item里面就不渲染,拿出来就渲染
<list-item type="normalTab">
<tabs class="normalTab" onchange="changeTabactive" index="{{tabIndex}}">
<tab-bar mode="scrollable">
<text class="{{tabIndex==0?'active':'' }}" onclick="listCon">精选text>
<text class="{{tabIndex==i+1?'active':'' }}" for="(i,value) in tabList" onclick="getKindList(value.id)">{{value.id}},{{value.name}}text>
tab-bar>
<tab-content>
<div class="tab-content-section pageCon">
<div type="proList" class="content" onclick="routeDetail" for="(i,value) in productList">
<image src="{{value.img}}">image>
<div class="itemDetail">
<div class="textNth_1">
<text class="proTit"> <span class="new">上新span>{{value.name}}text>
div>
<text class="textNth_2">{{value.shop_title}}text>
<div class="priceCon">
<text>{{value.eplatform==1?"淘宝":""}}{{value.eplatform==2?"天猫":""}}{{value.eplatform==3?"拼多多":""}}{{value.eplatform==4?"京东":""}}¥{{value.zk_price}}text>
<text class="quan">{{value.coupon_price}}元券text>
<text class="fan">返¥{{value.return_cash}}text>
div>
<div class="saleCon">
<text class="textNth_1">
<span>返后价¥span>
<span>{{value.need_price}}span>
text>
<text class="textNth_2">已抢{{value.coupon_total-value.coupon_remain}}text>
div>
div>
div>
div>
tab-content>
tabs>
list-item>
|
|