1 |
- <app-layout vue-id="28c5ae13-1" class="data-v-2eeb055a" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{!bargain}}"><view class="u-goods-detail data-v-2eeb055a"></view></block><block wx:if="{{bargain}}"><app-goods-banner vue-id="{{('28c5ae13-2')+','+('28c5ae13-1')}}" pic-list="{{bargain.pic_url}}" share="{{bargain.share}}" goods_id="{{bargain.goods_id}}" sign="bargain" video-url="{{bargain.video_url}}" class="data-v-2eeb055a" bind:__l="__l"></app-goods-banner><block wx:if="{{begin_list||end_list}}"><view class="main-center cross-center time-bg data-v-2eeb055a"><app-plugin-time-bar vue-id="{{('28c5ae13-3')+','+('28c5ae13-1')}}" theme="{{getTheme}}" day="{{begin_list?begin_list.d:end_list.d}}" hour="{{begin_list?begin_list.h:end_list.h}}" minute="{{begin_list?begin_list.m:end_list.m}}" second="{{begin_list?begin_list.s:end_list.s}}" start_begin="{{begin_list?'距活动开始':'距活动结束'}}" class="data-v-2eeb055a" bind:__l="__l"></app-plugin-time-bar></view></block><block wx:if="{{bargain}}"><view class="goods data-v-2eeb055a"><view class="t-omit-three name data-v-2eeb055a">{{bargain.name}}</view><block wx:if="{{bargain.subtitle}}"><view class="goods-subtitle data-v-2eeb055a"><view class="t-omit-three data-v-2eeb055a">{{bargain.subtitle}}</view></view></block><view class="dir-left-nowrap cross-center data-v-2eeb055a"><view class="detail box-grow-1 dir-top-nowrap data-v-2eeb055a"><view class="box-grow-0 dir-left-nowrap cross-bottom end data-v-2eeb055a"><view class="data-v-2eeb055a">最低</view><view style="{{'color:'+(getTheme.color)+';'}}" class="data-v-2eeb055a">¥</view><view class="price data-v-2eeb055a" style="{{'color:'+(getTheme.color)+';'}}">{{bargain.min_price}}</view><block wx:if="{{isUnderlinePirce==1}}"><view class="del data-v-2eeb055a">{{"原价"+bargain.price}}</view></block></view><view class="box-grow-0 num dir-left-nowrap data-v-2eeb055a"><view class="data-v-2eeb055a">{{"库存:"+bargain.stock+bargain.unit}}</view><view class="data-v-2eeb055a">{{"已有"+bargain.join_num+"人参与砍价"}}</view></view></view><view data-event-opts="{{[['tap',[['shareClick',['$event']]]]]}}" class="share dir-left-nowrap main-center cross-center box-grow-0 data-v-2eeb055a" style="{{'background-color:'+(getTheme.background)+';'}}" bindtap="__e"><image class="bd-icon box-grow-0 data-v-2eeb055a" src="/static/image/icon/icon-share-white.png"></image><view class="box-grow-0 data-v-2eeb055a">分享</view></view><view class="data-v-2eeb055a"><app-share-qr-code vue-id="{{('28c5ae13-4')+','+('28c5ae13-1')}}" url="{{poster+'&goods_id='+goods_id}}" has-poster-nav="{{true}}" poster-config="{{poster_config+'&goods_id='+goods_id}}" poster-generate="{{poster_generate+'&goods_id='+goods_id}}" goods="{{bargain}}" value="{{shareShow}}" data-event-opts="{{[['^share',[['shareMessage']]],['^input',[['__set_model',['','shareShow','$event',[]]]]]]}}" bind:share="__e" bind:input="__e" class="data-v-2eeb055a" bind:__l="__l"></app-share-qr-code></view></view><view class="data-v-2eeb055a"><bd-info-extra vue-id="{{('28c5ae13-5')+','+('28c5ae13-1')}}" theme="{{getTheme}}" goods="{{bargain}}" unit="{{bargain.unit}}" min-number="{{0}}" limit-buy="{{bargain.limit_buy}}" class="data-v-2eeb055a" bind:__l="__l"></bd-info-extra></view></view></block><view class="attr-box data-v-2eeb055a"><view class="attr dir-left-nowrap data-v-2eeb055a"><view class="box-grow-0 left cross-center dir-top-nowrap data-v-2eeb055a"><view class="data-v-2eeb055a">商品信息</view></view><view class="box-grow-1 right dir-left-wrap data-v-2eeb055a"><block wx:for="{{bargain.select_attr_group}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="attr-item data-v-2eeb055a">{{''+(item.attr_group_name+':'+item.attr_name)+''}}</view></block></view></view></view><bd-coupon vue-id="{{('28c5ae13-6')+','+('28c5ae13-1')}}" theme="{{getTheme}}" coupons="{{bargain.goods_coupon_center}}" data-event-opts="{{[['^change',[['setCoupon']]]]}}" bind:change="__e" class="data-v-2eeb055a" bind:__l="__l"></bd-coupon><bd-xbc vue-id="{{('28c5ae13-7')+','+('28c5ae13-1')}}" guarantee-title="{{bargain.guarantee_title}}" guarantee-pic="{{bargain.guarantee_pic}}" param_content="{{bargain.param_content}}" param_name="{{bargain.param_name}}" services="{{bargain.service}}" class="data-v-2eeb055a" bind:__l="__l"></bd-xbc><bd-hc vue-id="{{('28c5ae13-8')+','+('28c5ae13-1')}}" integral="{{bargain.goods_marketing_award.integral}}" coupon="{{bargain.goods_marketing_award.coupon}}" card="{{bargain.goods_marketing_award.card}}" balance="{{bargain.goods_marketing_award.balance}}" theme="{{getTheme}}" class="data-v-2eeb055a" bind:__l="__l"></bd-hc><bd-kb vue-id="{{('28c5ae13-9')+','+('28c5ae13-1')}}" limit="{{bargain.goods_marketing.limit}}" express="{{bargain.express}}" shipping="{{bargain.goods_marketing.shipping}}" pickup="{{bargain.goods_marketing.pickup}}" class="data-v-2eeb055a" bind:__l="__l"></bd-kb><block wx:if="{{bargain.bargain_info}}"><view class="activity goods-margin data-v-2eeb055a"><view class="dir-left-nowrap cross-center data-v-2eeb055a"><image class="box-grow-0 user-img data-v-2eeb055a" src="{{userInfo.avatar}}" load-lazy="{{true}}"></image><view class="dir-top-nowrap data-v-2eeb055a"><view class="dir-left-nowrap data-v-2eeb055a"><view class="data-v-2eeb055a">距本次砍价结束仅剩</view><view class="yellow data-v-2eeb055a"><block wx:if="{{finish_list}}"><block class="data-v-2eeb055a">{{''+finish_list.d+"天"+finish_list.h+":"+finish_list.m+":"+finish_list.s+''}}</block></block><block wx:else><block class="data-v-2eeb055a">0天0:0:0</block></block></view></view><block wx:if="{{bargain.bargain_info.now_price==bargain.bargain_info.min_price}}"><view class="yellow data-v-2eeb055a">已砍至最低价,赶快优惠购买吧!</view></block><block wx:else><view class="yellow data-v-2eeb055a">快让你的好友助你一臂之力!</view></block></view></view><view class="main-center data-v-2eeb055a"><view class="current data-v-2eeb055a">{{"当前价¥"+bargain.bargain_info.now_price}}</view></view><view class="progress-box data-v-2eeb055a"><view class="progress-view data-v-2eeb055a" style="{{'width:'+(bargain.bargain_info.bargain_price_per+'%')+';'}}"></view></view><view class="dir-left-nowrap price data-v-2eeb055a"><view class="box-grow-1 data-v-2eeb055a">{{"原价¥"+bargain.bargain_info.price}}</view><view class="box-grow-0 data-v-2eeb055a">{{"底价¥"+bargain.bargain_info.min_price}}</view></view><view class="info data-v-2eeb055a"><scroll-view class="user-scroll data-v-2eeb055a" scroll-y="{{true}}" scroll-into-view="user" scroll-with-animation="true"><block wx:for="{{bargain.bargain_info.list}}" wx:for-item="v" wx:for-index="k" wx:key="k"><block class="data-v-2eeb055a"><view class="item dir-left-nowrap cross-center data-v-2eeb055a"><image class="box-grow-0 data-v-2eeb055a" src="{{v.avatar}}" load-lazy="{{true}}"></image><view class="box-grow-1 dir-left-nowrap cross-center data-v-2eeb055a"><view class="nickname data-v-2eeb055a">{{v.nickname}}</view><view class="data-v-2eeb055a">小刀一挥帮忙砍了</view><view class="red data-v-2eeb055a">{{v.price}}</view><view class="data-v-2eeb055a">元</view></view></view></block></block></scroll-view></view></view></block><view class="circuit-label goods-margin dir-left-nowrap cross-center data-v-2eeb055a"><icon class="icon-circuit data-v-2eeb055a" type="{{true}}"></icon><view class="data-v-2eeb055a">砍价流程</view></view><view class="circuit-value dir-left-nowrap main-center data-v-2eeb055a"><block wx:for="{{circuit}}" wx:for-item="v" wx:for-index="k" wx:key="k"><block class="data-v-2eeb055a"><view class="cross-center dir-top-nowrap data-v-2eeb055a"><image class="{{['data-v-2eeb055a',v.name?'icon-circuit-i':'icon-circuit-j']}}" src="{{v.url}}"></image><view class="box-grow-0 name data-v-2eeb055a">{{v.name}}</view></view></block></block></view><view class="circuit-label goods-margin dir-left-nowrap cross-center data-v-2eeb055a"><icon class="icon-circuit data-v-2eeb055a" type="{{true}}"></icon><view class="data-v-2eeb055a">活动说明</view></view><view class="activity-time data-v-2eeb055a"><view class="data-v-2eeb055a">{{"本活动开始时间"+bargain.begin_time}}</view><view class="data-v-2eeb055a">{{"本活动结束时间"+bargain.end_time}}</view></view><view class="circuit-label goods-margin dir-left-nowrap cross-center data-v-2eeb055a"><icon class="icon-circuit data-v-2eeb055a" type="{{true}}"></icon><view class="data-v-2eeb055a">商品详情</view></view><view class="bd-detail data-v-2eeb055a"><app-rich-text vue-id="{{('28c5ae13-10')+','+('28c5ae13-1')}}" content="{{bargain.detail}}" class="data-v-2eeb055a" bind:__l="__l"></app-rich-text></view><view class="safe-area-inset-bottom data-v-2eeb055a"><view class="u-bottom-height data-v-2eeb055a"></view></view><block wx:if="{{is_open}}"><view class="safe-area-inset-bottom u-bottom-fixed data-v-2eeb055a"><view class="bargain-goods-bottom main-center cross-center data-v-2eeb055a"><block wx:if="{{bargain.bargain_info}}"><block class="data-v-2eeb055a"><block wx:if="{{bargain.bargain_info.min_price<bargain.bargain_info.now_price}}"><block class="data-v-2eeb055a"><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="btn shop data-v-2eeb055a" style="{{'background-color:'+(getTheme.background_s)+';'+('color:'+(getTheme.secondary_text)+';')}}" bindtap="__e">立即购买</view><view data-event-opts="{{[['tap',[['bargainFriend',['$event']]]]]}}" class="{{['btn','friend','data-v-2eeb055a',getTheme.key==='a'?'default-friend':'']}}" style="{{'background-color:'+(getTheme.key!='a'?getTheme.background:'')+';'+('color:'+(getTheme.key!='a'?getTheme.secondary_text:'#ffffff')+';')}}" bindtap="__e">找人帮砍</view></block></block><block wx:else><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="{{['btn','data-v-2eeb055a',getTheme.key==='a'?'default-btn':'']}}" style="{{'background-color:'+(getTheme.key!='a'?getTheme.background:'')+';'+('color:'+(getTheme.main_text)+';')}}" bindtap="__e">立即购买</view></block></block></block><block wx:else><block class="data-v-2eeb055a"><block wx:if="{{bargain.stock==0}}"><view class="btn data-v-2eeb055a" style="background:#CDCDCD;color:#fff;">已售罄</view></block><block wx:else><block wx:if="{{compareTime==='no-start'}}"><view class="btn data-v-2eeb055a" style="background:#CDCDCD;color:#fff;">未开始</view></block><block wx:else><block wx:if="{{compareTime==='end'}}"><view class="btn data-v-2eeb055a" style="background:#CDCDCD;color:#fff;">已结束</view></block><block wx:else><view data-event-opts="{{[['tap',[['subscribe',['$event']]]]]}}" class="{{['btn','data-v-2eeb055a',getTheme.key==='a'?'default-btn':'']}}" style="{{'background-color:'+(getTheme.key!='a'?getTheme.background:'')+';'+('color:'+(getTheme.main_text)+';')}}" bindtap="__e">立即砍价</view></block></block></block></block></block></view></view></block></block><block wx:if="{{showClose}}"><app-close vue-id="{{('28c5ae13-11')+','+('28c5ae13-1')}}" modal="{{false}}" data-event-opts="{{[['^update',[['getMall']]]]}}" bind:update="__e" class="data-v-2eeb055a" bind:__l="__l"></app-close></block></app-layout>
|