1 line
14 KiB
Plaintext
1 line
14 KiB
Plaintext
<x-skeleton vue-id="12f5203a-1" type="{{skeletonType}}" loading="{{loading}}" configs="{{skeletonConfig}}" class="data-v-1878217b" bind:__l="__l" vue-slots="{{['default']}}"><view class="{{['data-v-1878217b','goods-list',goodsValue.template,goodsValue.style]}}" style="{{(goodsListWarpCss)}}"><block wx:if="{{goodsValue.template!='horizontal-slide'}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toDetail',['$0'],[[['list','',index]]]]]]]}}" class="{{['goods-item','data-v-1878217b',goodsValue.ornament.type]}}" style="{{(goodsItemCss)}}" bindtap="__e"><view class="goods-img-wrap data-v-1878217b"><image class="goods-img data-v-1878217b" style="{{'border-radius:'+(goodsValue.imgAroundRadius*2+'rpx')+';'}}" src="{{item.g0}}" mode="widthFix" data-event-opts="{{[['error',[['imgError',[index]]]]]}}" binderror="__e"></image><block wx:if="{{item.$orig.stock<=0}}"><view class="sell-out data-v-1878217b"><text class="iconfont icon-shuqing data-v-1878217b"></text></view></block></view><block wx:if="{{goodsValue.goodsNameStyle.control||goodsValue.tag&&goodsValue.tag.value!='hidden'||goodsValue.priceStyle.mainControl||goodsValue.priceStyle.lineControl||goodsValue.btnStyle.control}}"><view class="info-wrap data-v-1878217b"><block wx:if="{{goodsValue.goodsNameStyle.control}}"><view class="{{['goods-name','data-v-1878217b',[(goodsValue.nameLineMode=='single')?'using-hidden':''],[(goodsValue.nameLineMode=='multiple')?'multi-hidden':'']]}}" style="{{'color:'+(goodsValue.theme=='diy'?goodsValue.goodsNameStyle.color:'')+';'+('font-weight:'+(goodsValue.goodsNameStyle.fontWeight?'bold':'')+';')}}">{{''+(lang=='en-us'?item.$orig.en_goods_name:item.$orig.goods_name)+''}}</view></block><block wx:if="{{goodsValue.tag}}"><block wx:if="{{goodsValue.tag.value=='label'&&item.$orig.label_name}}"><view class="tag-wrap data-v-1878217b"><text class="hollow-tag data-v-1878217b">{{item.$orig.label_name}}</text></view></block><block wx:else><block wx:if="{{goodsValue.tag.value=='diy'}}"><view class="tag-wrap data-v-1878217b"><text class="hollow-tag data-v-1878217b">{{goodsValue.tag.text}}</text></view></block></block></block><view class="pro-info data-v-1878217b"><view class="discount-price data-v-1878217b"><block wx:if="{{goodsValue.priceStyle.mainControl}}"><view class="price-wrap data-v-1878217b"><text class="unit price-style small data-v-1878217b" style="{{'color:'+(goodsValue.theme=='diy'?goodsValue.priceStyle.mainColor+'!important':'')+';'}}">¥</text><text class="price price-style large data-v-1878217b" style="{{'color:'+(goodsValue.theme=='diy'?goodsValue.priceStyle.mainColor+'!important':'')+';'}}">{{item.g1[0]}}</text><text class="unit price-style small data-v-1878217b" style="{{'color:'+(goodsValue.theme=='diy'?goodsValue.priceStyle.mainColor+'!important':'')+';'}}">{{'.'+item.g2[1]}}</text></view></block><block wx:if="{{item.m0}}"><view class="member-price data-v-1878217b"><block wx:if="{{item.m1}}"><image src="{{item.g3}}" class="data-v-1878217b"></image></block><block wx:else><block wx:if="{{item.$orig.promotion_type==1}}"><image src="{{item.g4}}" class="data-v-1878217b"></image></block></block></view></block><block wx:if="{{item.m2}}"><view class="delete-price price-font data-v-1878217b" style="{{'color:'+(goodsValue.theme=='diy'?goodsValue.priceStyle.lineColor:'')+';'}}">{{'¥'+item.m3+''}}</view></block><block wx:if="{{goodsValue.saleStyle.control}}"><view class="sale data-v-1878217b" style="{{'color:'+(goodsValue.theme=='diy'?goodsValue.saleStyle.color:'')+';'}}">{{'已售'+item.$orig.sale_num+(item.$orig.unit?item.$orig.unit:'件')+''}}</view></block></view><block wx:if="{{goodsValue.btnStyle.control}}"><view class="cart-action-wrap data-v-1878217b"><block wx:if="{{goodsValue.btnStyle.style=='icon-cart'}}"><view class="cart shopping-cart-btn iconfont icon-gouwuche click-wrap data-v-1878217b" style="{{'color:'+(goodsValue.btnStyle.theme=='diy'?goodsValue.btnStyle.textColor:'')+';'+('border-color:'+(goodsValue.btnStyle.theme=='diy'?goodsValue.btnStyle.textColor:'')+';')}}" id="{{'goods-'+item.$orig.id}}" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({item:item.$orig})}}" catchtap="__e"><view class="click-event data-v-1878217b"></view></view></block><block wx:else><block wx:if="{{goodsValue.btnStyle.style=='icon-add'}}"><view class="cart plus-sign-btn iconfont icon-add1 click-wrap data-v-1878217b" style="{{'color:'+(goodsValue.btnStyle.theme=='diy'?goodsValue.btnStyle.textColor:'')+';'+('border-color:'+(goodsValue.btnStyle.theme=='diy'?goodsValue.btnStyle.textColor:'')+';')}}" id="{{'goods-'+item.$orig.id}}" data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" data-event-params="{{({item:item.$orig})}}" catchtap="__e"><view class="click-event data-v-1878217b"></view></view></block><block wx:else><block wx:if="{{goodsValue.btnStyle.style=='button'}}"><view class="cart buy-btn click-wrap data-v-1878217b" style="{{'background-color:'+(goodsValue.btnStyle.theme=='diy'?goodsValue.btnStyle.bgColor:'')+';'+('color:'+(goodsValue.btnStyle.theme=='diy'?goodsValue.btnStyle.textColor:'')+';')+('font-weight:'+(goodsValue.btnStyle.theme=='diy'?goodsValue.btnStyle.fontWeight?'bold':'normal':'')+';')+('padding:'+(goodsValue.btnStyle.theme=='diy'?'0 '+goodsValue.btnStyle.padding*2+'rpx':'')+';')}}" id="{{'goods-'+item.$orig.id}}" data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" data-event-params="{{({item:item.$orig})}}" catchtap="__e">{{''+goodsValue.btnStyle.text+''}}<view class="click-event data-v-1878217b"></view></view></block><block wx:else><block wx:if="{{goodsValue.btnStyle.style=='icon-diy'}}"><view class="icon-diy click-wrap data-v-1878217b" style="{{'color:'+(goodsValue.btnStyle.theme=='diy'?goodsValue.btnStyle.textColor:'')+';'}}" id="{{'goods-'+item.$orig.id}}" data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" data-event-params="{{({item:item.$orig})}}" catchtap="__e"><view class="click-event data-v-1878217b"></view><diy-icon vue-id="{{('12f5203a-2-'+index)+','+('12f5203a-1')}}" icon="{{goodsValue.btnStyle.iconDiy.icon}}" value="{{goodsValue.btnStyle.iconDiy.style?goodsValue.btnStyle.iconDiy.style:null}}" class="data-v-1878217b" bind:__l="__l"></diy-icon></view></block></block></block></block></view></block></view></view></block></view></block></block><block wx:if="{{goodsValue.template=='horizontal-slide'&&goodsValue.slideMode=='scroll'}}"><scroll-view class="scroll data-v-1878217b" scroll-x="{{true}}"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toDetail',['$0'],[[['list','',index]]]]]]]}}" class="{{['goods-item','data-v-1878217b',goodsValue.ornament.type]}}" style="{{(goodsItemCss)}}" bindtap="__e"><view class="goods-img-wrap data-v-1878217b"><image class="goods-img data-v-1878217b" style="{{'border-radius:'+(value.imgAroundRadius*2+'rpx')+';'}}" src="{{item.g5}}" mode="widthFix" lazy-load="{{true}}" data-event-opts="{{[['error',[['imgError',[index]]]]]}}" binderror="__e"></image><block wx:if="{{item.$orig.stock<=0}}"><view class="sell-out data-v-1878217b"><text class="iconfont icon-shuqing data-v-1878217b"></text></view></block></view><block wx:if="{{goodsValue.goodsNameStyle.control||goodsValue.tag&&goodsValue.tag.value!='hidden'||goodsValue.priceStyle.mainControl||goodsValue.priceStyle.lineControl}}"><view class="{{['data-v-1878217b','info-wrap',[(value.nameLineMode=='multiple')?'multi-content':'']]}}"><block wx:if="{{goodsValue.goodsNameStyle.control}}"><view class="{{['goods-name','data-v-1878217b',[(goodsValue.nameLineMode=='single')?'using-hidden':''],[(goodsValue.nameLineMode=='multiple')?'multi-hidden':'']]}}" style="{{'color:'+(goodsValue.theme=='diy'?goodsValue.goodsNameStyle.color:'')+';'+('font-weight:'+(goodsValue.goodsNameStyle.fontWeight?'bold':'')+';')}}">{{''+(lang=='en-us'?item.$orig.en_goods_name:item.$orig.goods_name)+''}}</view></block><block wx:if="{{goodsValue.tag}}"><block wx:if="{{goodsValue.tag.value=='label'&&item.$orig.label_name}}"><view class="tag-wrap data-v-1878217b"><text class="hollow-tag data-v-1878217b">{{item.$orig.label_name}}</text></view></block><block wx:else><block wx:if="{{goodsValue.tag.value=='diy'}}"><view class="tag-wrap data-v-1878217b"><text class="hollow-tag data-v-1878217b">{{goodsValue.tag.text}}</text></view></block></block></block><view class="pro-info data-v-1878217b"><view class="discount-price data-v-1878217b"><block wx:if="{{goodsValue.priceStyle.mainControl}}"><view class="price-wrap data-v-1878217b"><text class="unit price-style small data-v-1878217b" style="{{'color:'+(goodsValue.theme=='diy'?goodsValue.priceStyle.mainColor+'!important':'')+';'}}">¥</text><text class="price price-style large data-v-1878217b" style="{{'color:'+(goodsValue.theme=='diy'?goodsValue.priceStyle.mainColor+'!important':'')+';'}}">{{item.g6[0]}}</text><text class="unit price-style small data-v-1878217b" style="{{'color:'+(goodsValue.theme=='diy'?goodsValue.priceStyle.mainColor+'!important':'')+';'}}">{{'.'+item.g7[1]}}</text></view></block><block wx:if="{{item.m4}}"><view class="member-price data-v-1878217b"><block wx:if="{{item.m5}}"><image src="{{item.g8}}" class="data-v-1878217b"></image></block><block wx:else><block wx:if="{{item.$orig.promotion_type==1}}"><image src="{{item.g9}}" class="data-v-1878217b"></image></block></block></view></block><block wx:if="{{item.m6}}"><view class="delete-price price-font data-v-1878217b" style="{{'color:'+(goodsValue.theme=='diy'?goodsValue.priceStyle.lineColor:'')+';'}}">{{'¥'+item.m7+''}}</view></block><block wx:if="{{goodsValue.saleStyle.control}}"><view class="sale data-v-1878217b" style="{{'color:'+(goodsValue.theme=='diy'?goodsValue.saleStyle.color:'')+';'}}">{{'已售'+item.$orig.sale_num+(item.$orig.unit?item.$orig.unit:'件')+''}}</view></block></view></view></view></block></view></block></scroll-view></block><block wx:if="{{goodsValue.template=='horizontal-slide'&&goodsValue.slideMode=='slide'}}"><swiper class="swiper data-v-1878217b" style="{{'height:'+(swiperHeight)+';'}}" autoplay="{{false}}"><block wx:for="{{$root.l3}}" wx:for-item="pageItem" wx:for-index="pageIndex" wx:key="pageIndex"><swiper-item class="{{['data-v-1878217b','swiper-item',pageItem.g10]}}"><block wx:for="{{pageItem.l2}}" wx:for-item="dataItem" wx:for-index="dataIndex" wx:key="dataIndex"><view data-event-opts="{{[['tap',[['toDetail',['$0'],[[['list.'+pageIndex+'','',dataIndex]]]]]]]}}" class="{{['goods-item','data-v-1878217b',goodsValue.ornament.type]}}" style="{{(goodsItemCss)}}" bindtap="__e"><view class="goods-img-wrap data-v-1878217b"><image class="goods-img data-v-1878217b" style="{{'border-radius:'+(value.imgAroundRadius*2+'rpx')+';'}}" src="{{dataItem.g11}}" mode="widthFix" lazy-load="{{true}}" data-event-opts="{{[['error',[['imgError',[dataIndex]]]]]}}" binderror="__e"></image><block wx:if="{{dataItem.$orig.stock<=0}}"><view class="sell-out data-v-1878217b"><text class="iconfont icon-shuqing data-v-1878217b"></text></view></block></view><block wx:if="{{goodsValue.goodsNameStyle.control||goodsValue.tag&&goodsValue.tag.value!='hidden'||goodsValue.priceStyle.mainControl||goodsValue.priceStyle.lineControl}}"><view class="{{['data-v-1878217b','info-wrap',[(value.nameLineMode=='multiple')?'multi-content':'']]}}"><block wx:if="{{goodsValue.goodsNameStyle.control}}"><view class="{{['goods-name','data-v-1878217b',[(goodsValue.nameLineMode=='single')?'using-hidden':''],[(goodsValue.nameLineMode=='multiple')?'multi-hidden':'']]}}" style="{{'color:'+(goodsValue.theme=='diy'?goodsValue.goodsNameStyle.color:'')+';'+('font-weight:'+(goodsValue.goodsNameStyle.fontWeight?'bold':'')+';')}}">{{''+(lang=='en-us'?dataItem.$orig.en_goods_name:dataItem.$orig.goods_name)+''}}</view></block><block wx:if="{{goodsValue.tag}}"><block wx:if="{{goodsValue.tag.value=='label'&&dataItem.$orig.label_name}}"><view class="tag-wrap data-v-1878217b"><text class="hollow-tag data-v-1878217b">{{dataItem.$orig.label_name}}</text></view></block><block wx:else><block wx:if="{{goodsValue.tag.value=='diy'}}"><view class="tag-wrap data-v-1878217b"><text class="hollow-tag data-v-1878217b">{{goodsValue.tag.text}}</text></view></block></block></block><view class="pro-info data-v-1878217b"><view class="discount-price data-v-1878217b"><block wx:if="{{goodsValue.priceStyle.mainControl}}"><view class="price-wrap data-v-1878217b"><text class="unit price-style small data-v-1878217b" style="{{'color:'+(goodsValue.theme=='diy'?goodsValue.priceStyle.mainColor+'!important':'')+';'}}">¥</text><text class="price price-style large data-v-1878217b" style="{{'color:'+(goodsValue.theme=='diy'?goodsValue.priceStyle.mainColor+'!important':'')+';'}}">{{''+dataItem.g12[0]+''}}</text><text class="unit price-style small data-v-1878217b" style="{{'color:'+(goodsValue.theme=='diy'?goodsValue.priceStyle.mainColor+'!important':'')+';'}}">{{''+('.'+dataItem.g13[1])+''}}</text></view></block><block wx:if="{{dataItem.m8}}"><view class="member-price data-v-1878217b"><block wx:if="{{dataItem.m9}}"><image src="{{dataItem.g14}}" class="data-v-1878217b"></image></block><block wx:else><block wx:if="{{dataItem.$orig.promotion_type==1}}"><image src="{{dataItem.g15}}" class="data-v-1878217b"></image></block></block></view></block><block wx:if="{{dataItem.m10}}"><view class="delete-price data-v-1878217b" style="{{'color:'+(goodsValue.theme=='diy'?goodsValue.priceStyle.lineColor:'')+';'}}">{{'¥'+dataItem.m11+''}}</view></block><block wx:if="{{goodsValue.saleStyle.control}}"><view class="sale data-v-1878217b" style="{{'color:'+(goodsValue.theme=='diy'?goodsValue.saleStyle.color:'')+';'}}">{{'已售'+dataItem.$orig.sale_num+(dataItem.$orig.unit?dataItem.$orig.unit:'件')+''}}</view></block></view></view></view></block></view></block></swiper-item></block></swiper></block></view><ns-goods-sku-index bind:addCart="__e" vue-id="{{('12f5203a-3')+','+('12f5203a-1')}}" data-ref="goodsSkuIndex" data-event-opts="{{[['^addCart',[['addCartPoint']]]]}}" class="data-v-1878217b vue-ref" bind:__l="__l"></ns-goods-sku-index><block wx:for="{{carIconList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="cart-point data-v-1878217b" style="{{'left:'+(item.left+'px')+';'+('top:'+(item.top+'px')+';')}}"></view></block></x-skeleton> |