video.wxml 6.2 KB

1
  1. <app-layout vue-id="62616c8d-1" bind:__l="__l" vue-slots="{{['default']}}"><view class="page" style="{{'height:'+(height)+';'}}"><view class="swiper" style="{{(containerStyle)}}"><block wx:for="{{videoList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><video-new class="video" style="{{'height:'+(height)+';'+('width:'+(width)+';')}}" vue-id="{{('62616c8d-2-'+index)+','+('62616c8d-1')}}" video_id="{{item.video_id}}" video_url="{{item.video_url}}" height="{{height}}" width="{{width}}" play="{{item.flag}}" cur_index="{{cur_index}}" bind:__l="__l"></video-new></block></block></view><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="close" catchtap="__e"><image class="image" src="/static/image/video-close.png"></image></view><view data-event-opts="{{[['tap',[['clickVideo',['$event']]]],['touchmove',[['ListTouchMove',['$event']]]],['touchend',[['ListTouchEnd',['$event']]]],['touchstart',[['ListTouchStart',['$event']]]]]}}" class="cover-view-marks" style="{{'height:'+(height)+';'+('width:'+(width)+';')}}" catchtap="__e" bindtouchmove="__e" catchtouchend="__e" bindtouchstart="__e"></view><view class="operating "><view class="dir-left-nowrap cross-bottom"><view class="left dir-left-nowrap main-between"><view class="up-down-goods"><view data-event-opts="{{[['tap',[['previous',['$event']]]]]}}" class="item" bindtap="__e">上一件商品</view><view data-event-opts="{{[['tap',[['next',['$event']]]]]}}" class="item down" bindtap="__e">下一件商品</view></view><view class="goods-list"><view hidden="{{!(goodBool)}}" class="scroll" style="{{'bottom:'+(getEmpty+157+'rpx')+';'}}"><view class="scroll-view"><view data-event-opts="{{[['tap',[['routeGo',['$0'],['goods_list.'+cur_index+'.page_url']]]]]}}" class="item-good dir-left-nowrap" bindtap="__e"><view class="image-view cover-pic"><image class="cover-pic " src="{{goods_list[cur_index]&&goods_list[cur_index].cover_pic}}"></image><view>视频同款</view></view><block wx:if="{{goods_list[cur_index]}}"><view class="content dir-top-nowrap main-between"><view class="name t-omit-two">{{goods_list[cur_index].name}}</view><view class="pri-but dir-left-nowrap main-between cross-bottom"><view><view class="dir-left-nowrap"><block wx:if="{{goods_list[cur_index].is_level==1&&goods_list[cur_index].is_negotiable!=1}}"><view class="member-price"><app-member-price vue-id="{{('62616c8d-3')+','+('62616c8d-1')}}" price="{{goods_list[cur_index].level_price}}" sign="{{sign}}" theme="{{sign!=='gift'?getTheme:theme}}" bind:__l="__l"></app-member-price></view></block><block wx:if="{{goods_list[cur_index]&&goods_list[cur_index].vip_card_appoint.discount}}"><view class="app-sup-vip"><app-sup-vip vue-id="{{('62616c8d-4')+','+('62616c8d-1')}}" discount="{{goods_list[cur_index]&&goods_list[cur_index].vip_card_appoint.discount}}" is_vip_card_user="{{goods_list[cur_index].vip_card_appoint.is_vip_card_user}}" bind:__l="__l"></app-sup-vip></view></block></view><view class="pri"><text class="{{['price',sign==='gift'?theme+'-color '+theme:'']}}" style="{{'color:'+(sign!=='gift'?getTheme.color:'')+';'}}">{{goods_list[cur_index].price_content}}</text><text class="original">{{"¥"+goods_list[cur_index].original_price}}</text></view></view><view data-event-opts="{{[['tap',[['specification',['$0'],['goods_list.'+cur_index+'']]]]]}}" class="button" catchtap="__e"></view></view></view></block></view></view><view class="triangle"></view></view><image class="image" src="/static/image/video-goods.png" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e"></image></view></view><view class="right dir-left-nowrap"><view data-event-opts="{{[['tap',[['routeGo',['/pages/index/index']]]]]}}" class="but index" catchtap="__e"><view class="icon"><image class="image" src="/static/image/video-index.png"></image></view><text>首页</text></view><view data-event-opts="{{[['tap',[['specification',['$0'],['goods_list.'+cur_index+'']]]]]}}" class="but cart" catchtap="__e"><view class="icon"><image class="image" src="/static/image/video-card.png"></image></view><text>加购</text></view><view class="but"><view class="icon"><image class="image" src="/static/image/video-share.png"></image></view><text>分享</text><button class="share" open-type="share"></button></view></view></view><view class="empty" style="{{'height:'+(getEmpty+'rpx')+';'}}"></view></view><view class="attr"><app-attr class="vue-ref" vue-id="{{('62616c8d-5')+','+('62616c8d-1')}}" goods="{{item}}" select-attr="{{selectAttr}}" attr-group-list="{{attrGroup}}" show="{{show}}" cartShow="{{cartShow}}" buyText="{{buyText}}" addText="{{addText}}" buyClick="{{buyBool}}" plugin="{{plugin}}" previewUrl="{{previewUrl}}" submitUrl="{{submitUrl}}" is_show_buy="{{is_show_buy}}" theme="{{getTheme}}" data-ref="attr" data-event-opts="{{[['^buyClick',[['buyClick']]],['^attrtap',[['onAttr']]],['^attr',[['attr']]],['^add',[['add']]],['^close',[['closept']]]]}}" bind:buyClick="__e" bind:attrtap="__e" bind:attr="__e" bind:add="__e" bind:close="__e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{sign==='pintuan'}}"><view slot="extra"><block wx:if="{{pt}}"><app-pt-attr vue-id="{{('62616c8d-6')+','+('62616c8d-5')}}" groups="{{item.groups}}" selectGroupAttrId="{{selectGroupAttrId}}" theme="{{getTheme}}" data-event-opts="{{[['^click',[['setGroupAttrID']]]]}}" bind:click="__e" bind:__l="__l"></app-pt-attr></block></view></block></app-attr></view><block wx:if="{{sign==='pintuan'&&show_pt}}"><view><view class="pintuan dir-left-nowrap" slot="empty-area"><block wx:if="{{item&&item.pintuanGoods.is_alone_buy}}"><view data-event-opts="{{[['tap',[['individual',['$event']]]]]}}" class="single box-grow-1 dir-top-nowrap" style="{{'background-color:'+(getTheme.background_s)+';'+('color:'+(getTheme.secondary_text)+';')}}" bindtap="__e"><text class="price">{{''+singlePrice+''}}</text><text class="app-text">单独购买</text></view></block><view data-event-opts="{{[['tap',[['multiplayer',['$event']]]]]}}" class="tuan box-grow-1 dir-top-nowrap" style="{{'background-color:'+(getTheme.background)+';'+('color:'+(getTheme.main_text)+';')}}" bindtap="__e"><text class="price">{{groupPrice}}</text><text class="app-text">{{item.groups[set_group_num].groups.people_num+"人拼团"}}</text></view></view></view></block></view></app-layout>