index.wxml 5.67 KB
Newer Older
xhw committed
1
<view class="chat data-v-34783f25"><block wx:if="{{loading}}"><view class="full-screen-mask data-v-34783f25"></view></block><block wx:if="{{loading2}}"><view class="full-screen-mask2 data-v-34783f25"></view></block><image class="images data-v-34783f25" src="{{codeUrl}}"></image><block wx:if="{{showResult}}"><button data-event-opts="{{[['tap',[['getResults',['$event']]]]]}}" class="getResult data-v-34783f25" bindtap="__e">查看结局</button></block><view data-event-opts="{{[['tap',[['handleClearHistoryRecord',['$event']]]]]}}" class="ClearHistoryRecord data-v-34783f25" bindtap="__e"><image class="{{['data-v-34783f25',(true)?'box':'',(isHover)?'hover':'']}}" src="../../static/photo/Reload.png" mode="scaleToFill"></image><text class="data-v-34783f25">重新来过</text></view><block wx:if="{{showDialog}}"><view class="dialog data-v-34783f25"><view class="dialogHeader data-v-34783f25">请输入您的昵称</view><view class="dialogContent data-v-34783f25"><input class="inputU data-v-34783f25 vue-ref" placeholder="请输入..." data-ref="inputU" data-event-opts="{{[['input',[['__set_model',['','userInputName','$event',[]]]]]]}}" value="{{userInputName}}" bindinput="__e"/></view><view class="dialogFooter data-v-34783f25"><button data-event-opts="{{[['tap',[['submitUserName',['$event']]]]]}}" bindtap="__e" class="data-v-34783f25">提交</button></view></view></block><image class="backHome data-v-34783f25" src="../../static/photo/back.png" data-event-opts="{{[['tap',[['backHome',['$event']]]]]}}" bindtap="__e"></image><block wx:if="{{board}}"><view data-event-opts="{{[['tap',[['handleHiddenShadow',['$event']]]]]}}" class="shadow data-v-34783f25" bindtap="__e"></view></block><block wx:if="{{board}}"><view class="board data-v-34783f25"><view class="jk data-v-34783f25"><view class="imageH data-v-34783f25" style="{{'background-image:'+('url('+base64Img+')')+';'+('background-size:'+('auto')+';')+('background-repeat:'+('no-repeat')+';')}}"></view><view class="data-v-34783f25"><view class="contentHeader data-v-34783f25">{{storyContent[0]}}</view><view class="contentMain data-v-34783f25"><text class="data-v-34783f25">{{storyContent[1]}}</text></view></view></view><view class="footer data-v-34783f25"><button data-event-opts="{{[['tap',[['backHome',['$event']]]]]}}" class="home data-v-34783f25" bindtap="__e">返回首页</button><button data-event-opts="{{[['tap',[['handleClearHistoryRecord',['$event']]]]]}}" class="reload data-v-34783f25" bindtap="__e">重新来过</button></view></view></block><view class="topBox data-v-34783f25"><image class="more data-v-34783f25" src="../../static/photo/more.png" data-event-opts="{{[['tap',[['handleMore',['$event']]]]]}}" bindtap="__e"></image><view class="money data-v-34783f25"><image src="../../static/photo/money_bag.png" class="data-v-34783f25"></image><view class="monney data-v-34783f25">{{"余额:"+monney}}</view></view></view><block wx:if="{{show}}"><view class="goods data-v-34783f25"><view class="containerL data-v-34783f25"><view class="grid-container data-v-34783f25"><block wx:for="{{items}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="grid-item data-v-34783f25"><view class="grid_item_box data-v-34783f25">{{''+item+''}}</view></view></block></view></view></view></block><block wx:if="{{show}}"><view data-event-opts="{{[['tap',[['handleShow',['$event']]]]]}}" class="shadow data-v-34783f25" bindtap="__e"></view></block><view class="container data-v-34783f25"><block wx:if="{{historyRecord.length>0}}"><view class="data-v-34783f25"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="historyListData data-v-34783f25"><view class="historyListData_item parent-element data-v-34783f25"><block wx:if="{{item.g0.length!==0}}"><view class="left distence leftPhoto data-v-34783f25"><image class="photo data-v-34783f25" src="{{dpPhoto}}"></image><view class="allbody dealFloat li_left data-v-34783f25"><view class="heartActive doubleStatus data-v-34783f25">{{'【时间】: '+item.$orig.WObj["时间"]+''}}</view><view class="_br data-v-34783f25"></view><view class="heartActive doubleStatus data-v-34783f25">{{'【地点】: '+item.$orig.WObj["地点"]+''}}</view><view class="heartActive data-v-34783f25"><text class="data-v-34783f25">{{''+item.$orig.Message+''}}</text></view></view></view></block><block wx:else><view class="right distence rightPhoto data-v-34783f25"><image class="photo data-v-34783f25" src="{{userPhoto}}"></image><view class="li_right allbody dealFloat data-v-34783f25"><view class="heartActive data-v-34783f25">{{''+item.$orig.Message+''}}</view></view></view></block></view></view></block></view></block></view><view class="formContainer data-v-34783f25"><view class="itemContainer data-v-34783f25"><view class="chat-window data-v-34783f25"><view class="tongyi data-v-34783f25" id="MyIn"></view><input class="{{['activeAnimaite','data-v-34783f25',boxClass]}}" placeholder="请输入聊天内容" data-event-opts="{{[['focus',[['handleFocus',['$event']]]],['blur',[['hadnleBlur',['$event']]]],['input',[['__set_model',['','inputVal','$event',[]]]]]]}}" value="{{inputVal}}" bindfocus="__e" bindblur="__e" bindinput="__e"/><image class="{{['data-v-34783f25',showSend]}}" id="Send" src="../../static/photo/Send.png" data-event-opts="{{[['tap',[['handleSendMessage',['$event']]]]]}}" bindtap="__e"></image><image class="{{['activeAnimaite','data-v-34783f25',activeState,focus]}}" id="SendSound" src="../../static/photo/sound.png" data-event-opts="{{[['touchstart',[['startRecord',['$event']]]],['touchend',[['endRecord',['$event']]]],['mousedown',[['startRecord',['$event']]]],['mouseup',[['endRecord',['$event']]]]]}}" bindtouchstart="__e" bindtouchend="__e" bindmousedown="__e" bindmouseup="__e"></image></view></view></view></view>