chatRoom.wxml 1.3 KB

1
  1. <view class="chat-room data-v-fd9b1f34"><view class="chat-list data-v-fd9b1f34"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="chat-item data-v-fd9b1f34"><view class="chat-msg data-v-fd9b1f34">{{''+item.msg+''}}</view><view class="head data-v-fd9b1f34">我</view></view></block></view><view class="tool-box data-v-fd9b1f34"><view class="input-box data-v-fd9b1f34"><input class="input data-v-fd9b1f34" type="text" confirm-type="send" placeholder="请输入" data-event-opts="{{[['confirm',[['send',['$event']]]],['input',[['__set_model',['','value','$event',[]]]]]]}}" value="{{value}}" bindconfirm="__e" bindinput="__e"/><image class="btn data-v-fd9b1f34" src="../../static/emoji.png" mode></image><image class="btn data-v-fd9b1f34" src="../../static/add.png" mode data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e"></image></view><block wx:if="{{show}}"><view class="box data-v-fd9b1f34"><view class="item data-v-fd9b1f34"><image class="icon data-v-fd9b1f34" src="../../static/picture.png" mode></image><view class="label data-v-fd9b1f34">照片</view></view><view class="item data-v-fd9b1f34"><image class="icon data-v-fd9b1f34" src="../../static/camera.png" mode></image><view class="label data-v-fd9b1f34">拍照</view></view></view></block></view></view>