123456789101112131415161718192021222324252627 |
- <import src="chat-item-head.wxml"/>
- <template name="chat-item">
-
- <view class="{{item.isTouchMove ? 'chat-item-styleon' : 'chat-item-style'}}" bindtap="toChat" data-item="{{item}}"
- data-dsa="{{item.isTouchMove}}" hover-class="press-style">
- <template is="chat-item-head" data="{{headUrl:item.img,count:item.count}}"/> <!-- 接收消息 提示小红点 引入页面 -->
- <view class="chat-item-content-super-style">
- <view class="chat-item-name-style">{{item.nickname}}</view>
- <!--<image src="./../../image/chat/send_fail.png" style="width: 28rpx;height: 28rpx;margin-right: 6rpx;"/>-->
- <text class="chat-item-content-style">{{item.content}}</text>
- </view>
-
- <view class="chat-item-status-super-style">
- <view class="chat-item-time-style">{{item.timeStr}}</view>
- </view>
- </view>
-
- <view class="list-divide-line" style="width: 79.5%;margin-left: 20.5%;border-bottom:1px solid #EEE;"/>
- </template>
|