mnplive.wxml 3.2 KB

1
  1. <block wx:if="{{$root.g0}}"><widget-root vue-id="137afbac-1" styles="{{styles}}" class="data-v-288c845b" bind:__l="__l" vue-slots="{{['default']}}"><view class="mnplive data-v-288c845b" style="{{'background-color:'+(styles.content_bg_color)+';'+('border-radius:'+($root.m0+'rpx '+$root.m1+'rpx '+$root.m2+'rpx '+$root.m3+'rpx')+';')}}"><view class="mnplive-header flex data-v-288c845b" style="{{$root.s0}}"><view class="flex-1 flex data-v-288c845b"><block wx:if="{{content.header_icon_image}}"><image class="flex-none m-r-10 data-v-288c845b" style="height:22px;" mode="heightFix" src="{{$root.m4}}"></image></block><view class="line-1 data-v-288c845b" style="{{'min-width:'+(0)+';'+('color:'+(styles.header_title_color)+';')+('font-size:'+($root.m5+'rpx')+';')}}">{{''+content.header_title+''}}</view></view><block wx:if="{{content.show_haeder_more}}"><view class="more flex-none xs data-v-288c845b" style="{{'color:'+(styles.header_more_color)+';'}}"><router-link vue-id="{{('137afbac-2')+','+('137afbac-1')}}" to="/bundle/pages/live_broadcast/live_broadcast" class="data-v-288c845b" bind:__l="__l" vue-slots="{{['default']}}">{{''+content.header_more_text+''}}<u-icon vue-id="{{('137afbac-3')+','+('137afbac-2')}}" name="arrow-right" size="26" class="data-v-288c845b" bind:__l="__l"></u-icon></router-link></view></block></view><view class="mnplive-wrap data-v-288c845b" style="{{'margin:'+('-'+$root.m6+'rpx')+';'}}"><view class="{{['mnplive-lists','data-v-288c845b',(content.style==1)?'larger':'',(content.style==2)?'perline':'',(content.style==3)?'lists':'']}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['navigateTo',['$0'],[[['content.data','',index]]]]]]]}}" class="mnplive-item-wrap data-v-288c845b" bindtap="__e"><view class="mnplive-item data-v-288c845b" style="{{'background-color:'+(styles.bg_color)+';'+('margin:'+(item.m7+'rpx')+';')+('border-radius:'+(item.m8+'rpx')+';')}}"><view class="item-image data-v-288c845b"><view class="u-image data-v-288c845b"><u-image vue-id="{{('137afbac-4-'+index)+','+('137afbac-1')}}" src="{{item.$orig.cover_img}}" width="100%" height="100%" class="data-v-288c845b" bind:__l="__l"></u-image></view><view class="{{['status','flex','xs','data-v-288c845b',(item.$orig.status==101)?'active':'']}}"><block wx:if="{{item.$orig.status==101}}"><image class="live-img data-v-288c845b" src="/static/images/live.gif" alt></image></block><block wx:else><text class="circel data-v-288c845b"></text></block><text class="m-l-20 data-v-288c845b">{{item.$orig.live_status}}</text></view><view class="name data-v-288c845b">{{item.$orig.name}}</view></view><view class="info data-v-288c845b"><view class="data-v-288c845b"><text class="lg bold data-v-288c845b">{{"主播:"+item.$orig.anchor_name}}</text><block wx:if="{{content.style==1}}"><text class="sm data-v-288c845b">{{'| 直播商品:'+item.$orig.goods+'件'}}</text></block><block wx:else><view class="sm m-t-10 data-v-288c845b">{{"直播商品:"+item.$orig.goods+'件'}}</view></block></view><view class="xs muted m-t-10 data-v-288c845b">{{'开播时间:'+item.$orig.start_time+''}}</view></view></view></view></block></view></view></view></widget-root></block>