1 |
- <view class="container data-v-a8cd628a"><tab-bar vue-id="de379480-1" tabIndex="{{tabIndex}}" class="data-v-a8cd628a" bind:__l="__l"></tab-bar><uni-popup vue-id="de379480-2" type="center" data-ref="popup" class="data-v-a8cd628a vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><popup vue-id="{{('de379480-3')+','+('de379480-2')}}" content1="{{popup.content1}}" content2="{{popup.content2}}" tip1="{{popup.tip1}}" tip2="{{popup.tip2}}" btntext="{{popup.btntext}}" btnEvent="toService" data-event-opts="{{[['^closePopup',[['closePopup']]],['^toService',[['toService']]]]}}" bind:closePopup="__e" bind:toService="__e" class="data-v-a8cd628a" bind:__l="__l"></popup></uni-popup><uni-popup vue-id="de379480-4" type="bottom" safe-area="{{false}}" data-ref="paypopup" class="data-v-a8cd628a vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><pay-popup vue-id="{{('de379480-5')+','+('de379480-4')}}" swiperIndex="{{payPopupIndex}}" data-event-opts="{{[['^closePopup',[['closePayPopup']]]]}}" bind:closePopup="__e" class="data-v-a8cd628a" bind:__l="__l"></pay-popup></uni-popup><uni-popup vue-id="de379480-6" type="center" data-ref="vippopup" class="data-v-a8cd628a vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><vip-popup vue-id="{{('de379480-7')+','+('de379480-6')}}" swiperIndex="{{vipPopupIndex}}" data-event-opts="{{[['^closePopup',[['closeVipPopup']]]]}}" bind:closePopup="__e" class="data-v-a8cd628a" bind:__l="__l"></vip-popup></uni-popup><view class="topnav flex-start data-v-a8cd628a" style="{{'height:'+(topbarOffsetHeight-statusBarHeight+'px')+';'+('padding-top:'+(statusBarHeight+'px')+';')}}" id="topnav"><view class="nav-item font44 fw600 data-v-a8cd628a">消息</view><image class="nav-img data-v-a8cd628a" src="{{assetsUrl+'message-setting.png'}}" mode="aspectFill" data-event-opts="{{[['tap',[['openSetting',['$event']]]]]}}" bindtap="__e"></image></view><block wx:if="{{scrollHeight>0}}"><scroll-view class="scroll-view data-v-a8cd628a" style="{{'height:'+(scrollHeight+'px')+';'+('padding-top:'+(topbarOffsetHeight+'px')+';')}}" scroll-y="true" lower-threshold="200"><block wx:for="{{messagesList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="message-item flex-between data-v-a8cd628a" data-index="{{index}}" data-event-opts="{{[['touchstart',[['touchStart',['$event']]]],['touchend',[['touchEnd',['$event']]]]]}}" bindtouchstart="__e" bindtouchend="__e"><image class="left-img data-v-a8cd628a" style="{{'width:'+(''+(showDelIndex===index?'0rpx':'120rpx'))+';'}}" src="{{item.userProfile.avatar}}" mode="aspectFill" data-event-opts="{{[['tap',[['toTalk',['$0'],[[['messagesList','',index,'userProfile.userID']]]]]]]}}" bindtap="__e"></image><view data-event-opts="{{[['tap',[['toTalk',['$0'],[[['messagesList','',index,'userProfile.userID']]]]]]]}}" class="right-info data-v-a8cd628a" bindtap="__e"><view class="ri-top flex-between data-v-a8cd628a"><view class="rit-title fw600 font32 data-v-a8cd628a">{{''+item.userProfile.nick+''}}</view><view class="rit-time font22 fw400 data-v-a8cd628a">{{''+item.lastMessage.lastTimeStr+''}}</view></view><view class="ri-bottom flex-between data-v-a8cd628a"><view class="rib-text font28 fw400 data-v-a8cd628a">{{''+item.lastMessage.payload.text+''}}</view><block wx:if="{{item.unreadCount!==0}}"><view class="rib-num font20 fw400 data-v-a8cd628a">{{''+item.unreadCount+''}}</view></block></view></view><view data-event-opts="{{[['tap',[['delConversation',['$event']]]]]}}" class="del-box font28 fw400 data-v-a8cd628a" style="{{'width:'+(''+(showDelIndex===index?'120rpx':'0rpx'))+';'}}" bindtap="__e">删除</view></view></block><block wx:if="{{showNoMsg}}"><status vue-id="de379480-8" type="noMsg" text="暂无消息" class="data-v-a8cd628a" bind:__l="__l"></status></block></scroll-view></block></view>
|