|
|
<view><addtip vue-id="8dd740cc-1" tip="{{tip}}" duration="{{duration}}" bind:__l="__l"></addtip><view class="kf"><button class="kfbt" open-type="contact"><image style="width:100rpx;height:100rpx;" src="http://m2.chinause.cn/mini/baixmini/img/kefubt.png"></image></button></view><view class="top"><view data-event-opts="{{[['tap',[['toSearch']]]]}}" class="input-box" bindtap="__e"><input placeholder="请输入商品名称" placeholder-style="color:#c0c0c0;" disabled="disabled"/><cjl-icon vue-id="8dd740cc-2" bind:__l="__l" vue-slots="{{['default']}}"></cjl-icon></view></view><swiper class="card-swiper" indicator-dots="{{false}}" circular="{{true}}" autoplay="{{true}}" interval="3000" duration="500" previous-margin="30px" next-margin="30px" data-event-opts="{{[['change',[['cardSwiper',['$event']]]]]}}" bindchange="__e"><block wx:for="{{banner}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="{{[cardCur==index?'cur':'']}}"><view data-event-opts="{{[['tap',[['topcate',['$0'],[[['banner','',index,'url']]]]]]]}}" class="swiper-item" bindtap="__e"><hyp-image vue-id="{{'8dd740cc-3-'+index}}" cname="image" realSrc="{{item.images}}" bind:__l="__l"></hyp-image></view></swiper-item></block></swiper><view class="type"><block wx:for="{{typeList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['toCategory',['$0'],[[['typeList','id',item.id,'id']]]]]]]}}" class="item" bindtap="__e"><hyp-image vue-id="{{'8dd740cc-4-'+__i0__}}" cname="image" realSrc="{{item.images}}" bind:__l="__l"></hyp-image><text class="fltext">{{item.fenlmc}}</text></view></block></view><view><uni-notice-bar vue-id="8dd740cc-5" show-icon="true" speed="8" scrollable="true" single="true" color="{{color}}" backgroundColor="{{backcolor}}" text="{{text}}" data-event-opts="{{[['^click',[['getMore']]]]}}" bind:click="__e" bind:__l="__l"></uni-notice-bar></view><view class="tjgoodlist"><view class="title"><image src="../../static/img/loveicon.png"></image><text>推荐商品</text><image src="../../static/img/loveicon.png"></image></view><block wx:for="{{tjproductList}}" wx:for-item="product" wx:for-index="index" wx:key="id"><view data-event-opts="{{[['tap',[['toGoods',['$0'],[[['tjproductList','id',product.id]]]]]]]}}" class="tj_list" bindtap="__e"><view class="tjleft"><image src="{{product.img}}"></image></view><view class="tjright"><view>{{product.mc+" "+product.gg+product.dw}}</view><view data-event-opts="{{[['tap',[['changemiaosstyle',[index]]]]]}}" class="{{[product.miaosstyle]}}" catchtap="__e">{{''+product.miaos+''}}</view><view><text>{{"¥"+product.price}}</text><text style="margin:0 18rpx;">{{"库存"+product.kcnum}}</text></view><view><text class="sdtext">{{product.sdtext}}</text><text class="sellnum">{{"售量 "+product.sellnum}}</text></view><view class="tjroot"><view data-event-opts="{{[['tap',[['toFavorite',['$0',index,0],[[['tjproductList','id',product.id,'id']]]]]]]}}" class="{{['p-b-btn',(product.iscollect)?'active':'']}}" catchtap="__e"><text class="yticon icon-shoucang"></text></view><block wx:if="{{product.kcnum==0}}"><view class="nosell"><text>已售罄</text></view></block><block wx:if="{{product.kcnum}}"><view class="number"><block wx:if="{{product.inputnum}}"><view data-event-opts="{{[['tap',[['sub',['$0'],[[['tjproductList','id',product.id,'id']]]]]]]}}" class="sub" catchtap="__e"><view class="jian">-</view></view></block><block wx:if="{{product.inputnum}}"><view data-event-opts="{{[['tap',[['discard',['$event']]]]]}}" class="input" catchtap="__e"><input type="number" data-event-opts="{{[['input',[['__set_model',['$0','inputnum','$event',[]],[[['tjproductList','id',product.id]]]],['inputchange',['$0','$1','$2'],[[['tjproductList','id',product.id,'inputnum']],[['tjproductList','id',product.id,'id']],[['tjproductList','id',product.id,'kcnum']]]]]]]}}" value="{{product.inputnum}}" bindinput="__e"/></view></block><view data-event-opts="{{[['tap',[['add',['$0',0],[[['tjproductList','id',product.id,'id']]]]]]]}}" class="add" catchtap="__e"><view class="jia"><image src="../../static/im
|