123456789101112131415161718192021222324252627 |
- <import src="chat-item-head.wxml"/>
- <template name="chat-item">
-
- <view class="{{isTouchMove ? 'chat-item-styleon' : 'chat-item-style'}}" bindtap="toChat" data-item="{{item}}"
- data-dsa="{{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>
-
- <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>
|