broadcast.wxml 3.5 KB

1
  1. <view class="container data-v-43876dd2"><view class="top data-v-43876dd2"><block wx:if="{{liveInfo.is_play}}"><view class="course-video data-v-43876dd2" id="aliplay"></view></block><block wx:else><view data-ref="column" data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="course-video errorContent data-v-43876dd2 vue-ref" bindtouchmove="__e"><view class="contentText data-v-43876dd2"><image class="tvImg data-v-43876dd2" src="../../static/img/tv.png" mode="widthFix"></image><block wx:if="{{liveInfo.live_status==0}}"><view class="data-v-43876dd2">直播即将开始</view></block><block wx:else><block wx:if="{{liveInfo.live_status==2}}"><view class="data-v-43876dd2">直播已结束</view></block><block wx:else><block wx:if="{{liveInfo.live_status==1}}"><view class="data-v-43876dd2">讲师离开一会~马上回来</view></block><block wx:else><block wx:if="{{liveInfo.live_status==-1}}"><view class="data-v-43876dd2">{{live_error}}</view></block></block></block></block></view></view></block></view><view class="uni-column data-v-43876dd2"><view class="content data-v-43876dd2" style="{{'height:'+(style.contentViewHeight+'px')+';'}}" id="content"><scroll-view class="Meslist data-v-43876dd2" style="{{'height:'+(style.contentViewHeight+'px')+';'}}" id="scrollview" scroll-y="{{true}}" scroll-with-animation="{{true}}" scroll-top="{{scrollTop}}"><view id="listBox" class="data-v-43876dd2"><block wx:for="{{$root.l0}}" wx:for-item="ls" wx:for-index="index" wx:key="index"><view class="data-v-43876dd2"><view class="m-item data-v-43876dd2" id="{{'message'+index}}"><view class="m-left data-v-43876dd2"><block wx:if="{{ls.$orig.uid!=userInfo.uid}}"><image class="head_icon data-v-43876dd2" src="{{ls.$orig.avatar}}"></image></block></view><view class="m-content data-v-43876dd2"><view class="{{['m-content-head data-v-43876dd2',(ls.$orig.uid==userInfo.uid)?'m-content-head-right':'']}}"><block wx:if="{{ls.$orig.uid==userInfo.uid}}"><view class="{{['data-v-43876dd2','m-content-head-'+'home']}}"><rich-text nodes="{{ls.g0}}" class="data-v-43876dd2"></rich-text></view></block><block wx:if="{{ls.$orig.uid!=userInfo.uid}}"><view class="{{['data-v-43876dd2','m-content-head-'+'customer']}}"><rich-text nodes="{{ls.g1}}" class="data-v-43876dd2"></rich-text></view></block></view></view><view class="m-right data-v-43876dd2"><block wx:if="{{ls.$orig.uid==userInfo.uid}}"><image class="head_icon data-v-43876dd2" src="{{userInfo.avatar}}"></image></block></view></view></view></block></view></scroll-view></view><view class="foot data-v-43876dd2"><view class="footheight data-v-43876dd2"><view class="footer data-v-43876dd2"><view data-event-opts="{{[['tap',[['show',['$event']]]]]}}" class="footer-emotion data-v-43876dd2" bindtap="__e"><text class="icon iconfont icon-face data-v-43876dd2"></text></view><view class="footer-center data-v-43876dd2"><input class="input-text data-v-43876dd2" placeholder="清输入您的信息" type="text" focus="{{focus}}" data-event-opts="{{[['focus',[['foc',['$event']]]],['input',[['__set_model',['','inputValue','$event',[]]]]]]}}" value="{{inputValue}}" bindfocus="__e" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['sendMessge',['$event']]]]]}}" class="footer-right data-v-43876dd2" bindtap="__e"><view id="msg-type" class="data-v-43876dd2"><image src="/static/img/img024.png" class="data-v-43876dd2"></image></view></view></view><block wx:if="{{showPannel}}"><emotion vue-id="2d654a62-1" height="{{200}}" data-event-opts="{{[['^emotion',[['handleEmotion']]]]}}" bind:emotion="__e" class="data-v-43876dd2" bind:__l="__l"></emotion></block></view></view></view></view>