1 |
- <app-layout vue-id="62ea55be-1" class="data-v-667d0730" bind:__l="__l" vue-slots="{{['default']}}"><view style="height:100%;padding-bottom:0;background:linear-gradient(to bottom, #ee3763, #fdac42);position:absolute;width:100%;" class="data-v-667d0730"><view class="page data-v-667d0730"><block wx:if="{{dialog}}"><view class="dialog-bg data-v-667d0730"><view class="in-bargain data-v-667d0730"><block wx:if="{{kanjia}}"><image class="bargain-gif-bg data-v-667d0730" src="./../image/light.png"></image></block><block wx:if="{{kanjia}}"><image class="bargain-gif data-v-667d0730" src="{{bargainImg.app_image.activity_header}}"></image></block><block wx:if="{{!kanjia}}"><image class="dialog-header data-v-667d0730" src="{{bargainImg.app_image.header}}"></image></block><block wx:if="{{!kanjia}}"><image class="dialog-header-gif-sec data-v-667d0730" animation="{{animationData}}" src="{{bargainImg.app_image.top1}}"></image></block><block wx:if="{{!kanjia}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e" class="data-v-667d0730"><image class="dialog-close data-v-667d0730" src="./../image/close.png"></image></view></block><block wx:if="{{!kanjia}}"><view class="dialog data-v-667d0730"><view class="self-dialog data-v-667d0730"><block wx:if="{{bargain.user_id==info.user_id}}"><view class="data-v-667d0730">你一出手就帮自己砍掉了<text class="price data-v-667d0730">{{info.price+"元"}}</text></view></block><block wx:if="{{bargain.user_id!=info.user_id}}"><view class="data-v-667d0730">{{"你一出手就帮"+bargain.nickname}}</view></block><block wx:if="{{bargain.user_id!=info.user_id}}"><view class="data-v-667d0730">砍了<text class="price data-v-667d0730">{{info.price+"元"}}</text></view></block></view><block wx:if="{{bargain.user_id==info.user_id}}"><view class="data-v-667d0730">快邀请好友帮你一起砍价吧!</view></block><view class="button-margin data-v-667d0730"><block wx:if="{{bargain.user_id==info.user_id}}"><button open-type="share" class="data-v-667d0730"><image style="margin-top:0;" src="{{bargainImg.app_image.find}}" class="data-v-667d0730"></image></button></block></view><block wx:if="{{bargain.user_id!=info.user_id}}"><view data-event-opts="{{[['tap',[['toJoin',['$event']]]]]}}" bindtap="__e" class="data-v-667d0730"><image src="{{bargainImg.app_image.join_small}}" class="data-v-667d0730"></image></view></block></view></block></view></view></block><block wx:if="{{tip}}"><view class="dialog-bg data-v-667d0730"><view class="dialog-item data-v-667d0730"><view class="dialog-tip-title data-v-667d0730">提示</view><view class="data-v-667d0730">{{tip}}</view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="close-button data-v-667d0730" bindtap="__e">确认</view></view></view></block><view data-event-opts="{{[['tap',[['toIndex',['$event']]]]]}}" bindtap="__e" class="data-v-667d0730"><view class="rules left-rules data-v-667d0730">返回首页</view></view><view data-event-opts="{{[['tap',[['toRules',['$event']]]]]}}" bindtap="__e" class="data-v-667d0730"><view class="rules right-rules data-v-667d0730">活动规则</view></view><image class="top-banner data-v-667d0730" src="{{bargainImg.app_image.top}}"></image><view class="info data-v-667d0730"><image class="avatar data-v-667d0730" src="{{detail.initiator_avatar}}"></image><view class="username data-v-667d0730">{{bargain.nickname}}</view><view class="data-v-667d0730">我发现一件好货,来一起砍价优惠购!</view><view class="goods data-v-667d0730"><image src="{{detail.cover_pic}}" class="data-v-667d0730"></image><view class="t-omit-two goods-name data-v-667d0730">{{detail.goods_name}}</view><view class="t-omit goods-attr data-v-667d0730"><block wx:for="{{detail.select_attr_group}}" wx:for-item="attr" wx:for-index="__i0__" wx:key="id"><text class="data-v-667d0730">{{''+attr.attr_group_name+":"+attr.attr_name+''}}</text></block></view><block wx:if="{{detail.reset_time>0}}"><view class="end_time data-v-667d0730"><block wx:if="{{dd>0}}"><text class="date-text data-v-667d0730">{{dd}}</text></block><block wx:if="{{dd>0}}"><text class="data-v-667d0730">天</text></block><text class="date-text data-v-667d0730">{{hh}}</text><text class="data-v-667d0730">:</text><text class="date-text data-v-667d0730">{{mm}}</text><text class="data-v-667d0730">:</text><text class="date-text data-v-667d0730">{{ss}}</text><text class="data-v-667d0730">后结束</text></view></block><block wx:else><view class="end_time data-v-667d0730">已结束</view></block><view class="price data-v-667d0730">{{"当前价 ¥"+(detail.now_price?detail.now_price:0)}}</view></view></view><view class="progress data-v-667d0730"><block wx:if="{{detail.bargain_price_per<5}}"><view class="border data-v-667d0730" style="{{'left:'+(detail.bargain_price_per+'%')+';'}}"></view></block><block wx:if="{{detail.bargain_price_per<5}}"><text class="begin data-v-667d0730">{{"已砍"+(detail.bargain_price?detail.bargain_price:0)}}</text></block><block wx:else><block wx:if="{{detail.bargain_price_per<100}}"><text class="progress-info progressing data-v-667d0730" style="{{'left:'+((detail.bargain_price_per?detail.bargain_price_per:0)+'%')+';'}}">{{"已砍"+(detail.bargain_price?detail.bargain_price:0)}}</text></block><block wx:else><text class="progress-info over data-v-667d0730">已完成</text></block></block><view class="progress-bg data-v-667d0730"><image src="./../image/progress.png" class="data-v-667d0730"></image><view class="{{['line data-v-667d0730',''+(detail.bargain_price<4?'small-line':'')]}}" style="{{'width:'+((detail.bargain_price_per?detail.bargain_price_per:0)+'%')+';'}}"></view></view><text class="before-price data-v-667d0730">{{"原价¥"+(detail.price?detail.price:0)}}</text><text class="after-price data-v-667d0730">{{"底价¥"+(detail.min_price?detail.min_price:0)}}</text></view><block wx:if="{{status==2}}"><view class="join main-center data-v-667d0730"><view data-event-opts="{{[['tap',[['toJoin',['$event']]]]]}}" bindtap="__e" class="data-v-667d0730"><image class="join-img data-v-667d0730" animation="{{sizeAnimation}}" src="{{bargainImg.app_image.join_big}}"></image></view></view></block><block wx:if="{{detail.now_price!=detail.min_price&&status!=2}}"><view class="button-view main-between data-v-667d0730"><view data-event-opts="{{[['tap',[['toBuy',['$event']]]]]}}" bindtap="__e" class="data-v-667d0730"><image src="{{bargainImg.app_image.buy_small}}" class="data-v-667d0730"></image></view><button open-type="share" class="data-v-667d0730"><image src="{{bargainImg.app_image.go_on}}" class="data-v-667d0730"></image></button></view></block><block wx:if="{{detail.now_price==detail.min_price&&status!=2}}"><view class="join main-center data-v-667d0730"><view data-event-opts="{{[['tap',[['toBuy',['$event']]]]]}}" bindtap="__e" class="data-v-667d0730"><image class="join-img data-v-667d0730" animation="{{sizeAnimation}}" src="{{bargainImg.app_image.buy_now}}"></image></view></view></block><view class="log data-v-667d0730"><view class="main-center data-v-667d0730"><text class="log-line data-v-667d0730"></text><text class="log-title data-v-667d0730">砍价记录</text><text class="log-line data-v-667d0730"></text></view><block wx:for="{{list}}" wx:for-item="item" wx:for-index="__i1__" wx:key="id"><view class="log-item data-v-667d0730"><view class="log-user data-v-667d0730"><image src="{{item.avatar}}" class="data-v-667d0730"></image><text class="nickname data-v-667d0730">{{item.nickname}}</text></view><view class="log-info data-v-667d0730"><image src="./../image/down.png" class="data-v-667d0730"></image><text class="data-v-667d0730">{{"砍掉"+item.price+"元"}}</text></view></view></block><block wx:if="{{toMore}}"><view data-event-opts="{{[['tap',[['lookMore',['$event']]]]]}}" bindtap="__e" class="data-v-667d0730"><block wx:if="{{more}}"><view class="look-more data-v-667d0730"><image src="./../image/to-down.png" class="data-v-667d0730"></image><text class="data-v-667d0730">查看更多</text></view></block><block wx:else><view class="up data-v-667d0730" catchtap="closeList"><image src="./../image/to-up.png" class="data-v-667d0730"></image><text class="data-v-667d0730">收起</text></view></block></view></block></view></view></view></app-layout>
|