xlcs/xlcs-user/unpackage/dist/dev/mp-weixin/pages/homeItem/homeItem.wxml
2024-01-07 01:10:08 +08:00

1 line
6.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<block wx:if="{{!detail.skuInfoVo}}"><view class="gg"><u-empty vue-id="71bc1f00-1" mode="data" bind:__l="__l"></u-empty></view></block><block wx:else><view class="gg"><u-navbar class="navbar" vue-id="71bc1f00-2" border-bottom="{{false}}" is-back="{{true}}" bind:__l="__l"></u-navbar><scroll-view class="gg-sv" scroll-y="{{true}}"><view class="gg-content"><block wx:if="{{$root.g0>0}}"><block><u-swiper vue-id="71bc1f00-3" height="{{500}}" list="{{swiperList}}" indicator-pos="bottomRight" mode="number" bind:__l="__l"></u-swiper></block></block><view class="u-flex u-type-info-light u-p-20 gg-content-price"><view class="u-p-r-20"><list-img-item vue-id="71bc1f00-4" showBottom="{{detail.skuInfoVo.skuType===0&&detail.skuInfoVo.isNewPerson===1}}" showLeft="{{detail.skuInfoVo.skuType===1}}" showRight="{{false}}" src="{{detail.skuInfoVo.imgUrl}}" height="120rpx" width="120rpx" bind:__l="__l"></list-img-item></view><block wx:if="{{detail.skuInfoVo.skuType===1}}"><block><view><view class="gg-content-price-current u-flex"><view>{{"秒杀价格:¥"+detail.seckillSkuVo.seckillSale}}</view><view class="u-p-l-20">{{"市场价格:¥"+detail.skuInfoVo.marketPrice}}</view></view><view class="gg-content-price-limit"><view>{{'限购:'+detail.seckillSkuVo.seckillLimit+"件 销售:"+detail.seckillSkuVo.seckillSale+"件\n 库存:"+detail.seckillSkuVo.seckillStock+'件'}}</view><view>{{'秒杀场次:'+detail.seckillSkuVo.timeName+' 倒计时:'}}<u-count-down class="vue-ref" vue-id="71bc1f00-5" timestamp="{{seckillSeconds}}" data-ref="seckillCountDown" data-event-opts="{{[['^end',[['seckillEnd']]]]}}" bind:end="__e" bind:__l="__l"></u-count-down></view></view></view></block></block><block wx:else><block><view><view class="gg-content-price-current u-flex"><view>{{"当前价格:¥"+detail.skuInfoVo.price}}</view><view class="u-p-l-20">{{"市场价格:¥"+detail.skuInfoVo.marketPrice}}</view></view><view class="gg-content-price-limit"><view>{{"限购数量:"+detail.skuInfoVo.perLimit+"件"}}</view></view></view></block></block></view><view class="u-m-20 u-p-20 gg-content-container"><view class="u-flex">{{detail.skuInfoVo.skuName}}</view></view><block wx:if="{{$root.g1>0}}"><view class="u-m-20 u-p-20 gg-content-container"><block wx:for="{{detail.skuInfoVo.skuAttrValueList}}" wx:for-item="skuAttrValueItem" wx:for-index="__i0__" wx:key="id"><view class="u-p-t-5">{{''+skuAttrValueItem.attrName+""+skuAttrValueItem.attrValue+''}}</view></block></view></block><block wx:if="{{$root.g2>0}}"><view class="u-m-20 u-p-20 gg-content-container"><block wx:for="{{detail.activityRuleList}}" wx:for-item="activityRuleItem" wx:for-index="__i1__" wx:key="id"><view class="u-p-t-5">{{''+activityRuleItem.ruleDesc+''}}</view></block></view></block><view class="u-m-20 u-p-20 gg-content-container"><view class="u-flex"><view class="u-font-sm u-m-r-20 u-type-info">售后无忧</view><view class="u-font-sm u-m-r-20 u-flex-1">支持保价<text class="u-type-error">・</text>极速退款<text class="u-type-error">・</text>7天无理由退货</view><u-icon class="u-m-r-20 u-type-info" vue-id="71bc1f00-6" name="arrow-right" size="24" bind:__l="__l"></u-icon></view><view class="u-flex u-m-t-20"><view class="u-font-sm u-m-r-20 u-type-info">提货信息</view><view class="u-font-sm u-m-r-20 u-flex-1"><view>现在下单,<text class="u-type-error">明天16:00可提货</text></view><view>{{"提货点:"+(leaderAddressVo.takeName?leaderAddressVo.takeName:'请设置提货点')}}</view></view><u-icon class="u-m-r-20 u-type-info" vue-id="71bc1f00-7" name="arrow-right" size="24" bind:__l="__l"></u-icon></view></view><block wx:if="{{$root.g3>0}}"><view class="u-m-20 u-p-20 gg-content-container"><block wx:for="{{skuPosterList}}" wx:for-item="skuPoster" wx:for-index="__i2__" wx:key="id"><image src="{{skuPoster.image}}"></image></block></view></block><u-gap vue-id="71bc1f00-8" height="30" bind:__l="__l"></u-gap></view></scroll-view><view class="gg-navigation"><view class="navigation"><view class="left"><view data-event-opts="{{[['tap',[['gotoHome',['$event']]]]]}}" class="item" bindtap="__e"><u-icon vue-id="71bc1f00-9" color="{{$u.color['contentColor']}}" size="{{40}}" name="home-fill" bind:__l="__l"></u-icon><view class="text u-line-1">首页</view></view><view class="item car"><block wx:if="{{skuId!==0}}"><u-badge class="car-num" vue-id="71bc1f00-10" count="{{$root.m0}}" offset="{{[-3,-6]}}" type="error" bind:__l="__l"></u-badge></block><u-icon vue-id="71bc1f00-11" color="{{$u.color['contentColor']}}" size="{{40}}" name="shopping-cart-fill" bind:__l="__l"></u-icon><view class="text u-line-1">购物车</view></view><block wx:if="{{$root.g4>0}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="item car" bindtap="__e"><u-badge class="car-num" vue-id="71bc1f00-12" count="{{$root.g5}}" offset="{{[-3,-6]}}" type="error" bind:__l="__l"></u-badge><u-icon vue-id="71bc1f00-13" color="{{$u.color['contentColor']}}" size="{{40}}" name="gift-fill" bind:__l="__l"></u-icon><view class="text u-line-1">优惠券</view></view></block></view><block wx:if="{{!seckillEnded}}"><view class="right u-p-r-10 u-flex"><block wx:if="{{getDetail.seckillSkuVo.timeStaus===3}}"><block><view class="u-m-r-20 u-line-1 u-flex-1 u-text-center">{{"场次:"+getDetail.seckillSkuVo.timeName}}</view><view class="buy-disabled btn u-line-1">即将开抢</view></block></block><block wx:else><block><view class="u-m-r-20 u-line-1 u-flex-1"><block wx:if="{{detail.skuInfoVo.id}}"><add-to-cart vue-id="71bc1f00-14" shopDetail="{{getDetail}}" skuId="{{detail.skuInfoVo.id}}" bind:__l="__l"></add-to-cart></block></view><view class="buy btn u-line-1">立即购买</view></block></block></view></block><block wx:else><view class="right u-p-r-10 u-flex"><view class="u-m-r-20 u-line-1 u-flex-1"></view><view class="buy-disabled btn u-line-1">秒杀结束</view></view></block></view></view><coupon-info-list vue-id="71bc1f00-15" couponInfoList="{{detail.couponInfoList}}" showCouponInfoList="{{showCouponInfoList}}" data-event-opts="{{[['^updateShowCouponInfoList',[['__set_sync',['$0','showCouponInfoList','$event'],['']]]],['^updateShowCouponInfoList',[['__set_sync',['$0','showCouponInfoList','$event'],['']]]],['^getCouponInfo',[['getCouponInfo']]]]}}" bind:updateShowCouponInfoList="__e" bind:getCouponInfo="__e" bind:__l="__l"></coupon-info-list></view></block>