2025-03-19 19:25:16 +08:00

1 line
6.0 KiB
Plaintext

<view class="main _div data-v-36d4f413"><view class="content _div data-v-36d4f413"><view class="contentTop _div data-v-36d4f413"><view class="top _div data-v-36d4f413"><image class="couponIcon data-v-36d4f413" src="https://eshangtech.com/wanmeiyizhanImg/home/couponLogo.svg"></image><label class="couponText _span data-v-36d4f413">满减券</label></view><view class="topContent _div data-v-36d4f413"><view class="first _div data-v-36d4f413"><label class="nomarl _span data-v-36d4f413">满</label><label class="light _span data-v-36d4f413">{{couponMsg.WithAmount||"-"}}</label><label class="nomarl _span data-v-36d4f413">减</label><label class="light _span data-v-36d4f413">{{couponMsg.UseAmount||"-"}}</label></view><view class="second _div data-v-36d4f413">{{''+(couponMsg.WithAmount==0?"无门槛使用":"订单满"+(couponMsg.WithAmount||"-")+"可用")+''}}</view></view></view><view class="noticeBox _div data-v-36d4f413"><view class="noticeTitle _div data-v-36d4f413"><image class="noticeIcon data-v-36d4f413" src="https://eshangtech.com/wanmeiyizhanImg/home/noticeIcon.svg"></image><label class="noticeText _span data-v-36d4f413">领取说明</label></view><view class="noticeItem _div data-v-36d4f413"><view class="noticeLabel _div data-v-36d4f413">领取时间</view><view class="noticeValue _div data-v-36d4f413">{{"截止:"+(couponMsg.EndTime||"-")}}</view></view><view class="noticeItem _div data-v-36d4f413"><view class="noticeLabel _div data-v-36d4f413">使用说明</view><view class="noticeValue _div data-v-36d4f413">{{''+(couponMsg.CouponInstructions||"该券适用于部分商品,详询店内工作人员")+''}}</view></view><view class="noticeItem _div data-v-36d4f413"><view class="noticeLabel _div data-v-36d4f413">适用门店</view><block wx:if="{{$root.g0}}"><view class="noticeValue _div data-v-36d4f413"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><label class="_span data-v-36d4f413"><block wx:if="{{item.g1}}"><block wx:for="{{item.l0}}" wx:for-item="subItem" wx:for-index="subIndex" wx:key="subIndex"><label class="_span data-v-36d4f413">{{(subItem.$orig.ServerpartShopName||"-")+(subItem.g2?"、":"")}}</label></block></block></label></block></view></block></view></view><view class="btnBox _div data-v-36d4f413"><view data-event-opts="{{[['tap',[['getCoupon',['$event']]]]]}}" class="btn _div data-v-36d4f413" style="{{'background:'+(couponMsg.takeState?'rgba(186, 146, 47, 1)':'rgba(186, 146, 47, 0.4)')+';'}}" bindtap="__e">{{''+(couponMsg.takeState?"立即领取":"已领取")+''}}</view></view></view><block wx:if="{{false}}"><view class="pad95 _div data-v-36d4f413"><view hidden="{{!(isShow)}}" class="coupon-box _div data-v-36d4f413"><view class="coupon-type flex align-center data-v-36d4f413"><image src="https://eshangtech.com/wanmeiyizhanImg/coupon/coupon-type.png" mode="aspectFill" class="data-v-36d4f413"></image><text class="data-v-36d4f413">{{couponMsg.WithAmount==0?"无门槛优惠券":couponMsg.CouponTypeText}}</text></view><view class="coupon-border _div data-v-36d4f413"></view><view class="coupon-title _div data-v-36d4f413">{{couponMsg.CouponName}}</view><view class="coupon-price-box _div data-v-36d4f413">{{''+(couponMsg.WithAmount==0?"无门槛使用":"订单满"+couponMsg.WithAmount+"可用")+''}}</view><block wx:if="{{couponMsg.PAY_METHOD===2000}}"><view class="coupon-des _div data-v-36d4f413">{{''+couponMsg.COUPON_POINT+'积分兑换'}}</view></block><block wx:if="{{!couponMsg.CouponSendId}}"><block class="data-v-36d4f413"><block wx:if="{{!couponMsg.takeState}}"><view data-event-opts="{{[['tap',[['getCoupon',['$event']]]]]}}" class="coupon-needed-button _div data-v-36d4f413" bindtap="__e">已领取</view></block><block wx:if="{{couponMsg.takeState}}"><view data-event-opts="{{[['tap',[['getCoupon',['$event']]]]]}}" class="coupon-need-button _div data-v-36d4f413" bindtap="__e">立即领取</view></block><view class="flex justify-between date-box data-v-36d4f413"><view class="data-v-36d4f413">领取时间至</view><view class="data-v-36d4f413">{{couponMsg.EndTime}}</view></view></block></block><block wx:else><block class="data-v-36d4f413"><block wx:if="{{couponMsg.CouponState==0}}"><view data-event-opts="{{[['tap',[['toUse',['$event']]]]]}}" class="coupon-need-button _div data-v-36d4f413" bindtap="__e">去使用</view></block><block wx:else><view class="coupon-used-tip _div data-v-36d4f413">{{''+(couponMsg.CouponState==1?"已使用":"已过期")+''}}</view></block><view class="flex justify-between date-box data-v-36d4f413"><view class="data-v-36d4f413">有效期限至</view><view class="data-v-36d4f413">{{couponMsg.ValidEndTime}}</view></view></block></block><view class="flex justify-between desc-box data-v-36d4f413"><view class="data-v-36d4f413">使用说明</view><view class="desc-text data-v-36d4f413">{{''+(couponMsg.CouponInstructions||"该券适用于部分商品,详询店内工作人员")+''}}</view></view><view class="use-shop _div data-v-36d4f413"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="flex align-center justify-between data-v-36d4f413" bindtap="__e"><view class="data-v-36d4f413">适用门店</view><view class="flex align-center data-v-36d4f413"><van-icon vue-id="b86be15a-1" name="{{!showShop?'arrow':'arrow-down'}}" size="16" color="#7a7a7a" class="data-v-36d4f413" bind:__l="__l"></van-icon></view></view><view hidden="{{!(showShop)}}" class="list-box _div data-v-36d4f413"><block wx:for="{{couponMsg.ServerpartList}}" wx:for-item="value" wx:for-index="key" wx:key="key"><view class="list-unit _div data-v-36d4f413"><view class="severpart-title data-v-36d4f413">{{value.ServerpartName}}</view><block wx:for="{{value.ServerpartShopList}}" wx:for-item="shop" wx:for-index="i" wx:key="i"><text class="text-sm data-v-36d4f413">{{''+shop.ServerpartShopName}}</text></block></view></block></view></view></view><block wx:if="{{isShow&&!couponMsg.CouponName}}"><view class="_div data-v-36d4f413"><no-data vue-id="b86be15a-2" text="没有此优惠券信息" isShow="{{isShow&&!couponMsg.CouponName}}" type="0" class="data-v-36d4f413" bind:__l="__l"></no-data></view></block></view></block></view>