|
@@ -11,7 +11,13 @@
|
|
</view>
|
|
</view>
|
|
</u-navbar>
|
|
</u-navbar>
|
|
<!-- #endif -->
|
|
<!-- #endif -->
|
|
- <selectInput :list="selectList" :list-key="'name'" :show.sync="selectShow" @on-select="checkSelect" @close="closeSelect" />
|
|
|
|
|
|
+
|
|
|
|
+ <!-- #ifdef APP-PLUS -->
|
|
|
|
+ <view class="slot-wrap">
|
|
|
|
+ <text class = 'tip_text cuIcon-back' @click='back' ></text>
|
|
|
|
+ </view>
|
|
|
|
+ <!-- #endif -->
|
|
|
|
+ <!-- <selectInput :list="selectList" :list-key="'name'" :show.sync="selectShow" @on-select="checkSelect" @close="closeSelect" /> -->
|
|
<searchInput :searchType="1"/>
|
|
<searchInput :searchType="1"/>
|
|
<u-swipe-action style="margin-right: 1px;" :show="item.show" v-for="(item, index) in chatItem" :index="index" btn-width="160" :key="item.id" @click="click" @open="open" :options="options">
|
|
<u-swipe-action style="margin-right: 1px;" :show="item.show" v-for="(item, index) in chatItem" :index="index" btn-width="160" :key="item.id" @click="click" @open="open" :options="options">
|
|
<chatItem @linkTo="linkTochat" :value="item" :index="index" :voiceIcon="true"></chatItem>
|
|
<chatItem @linkTo="linkTochat" :value="item" :index="index" :voiceIcon="true"></chatItem>
|
|
@@ -24,6 +30,11 @@
|
|
<text class = 'tip_text cuIcon-back' @click='back'></text>
|
|
<text class = 'tip_text cuIcon-back' @click='back'></text>
|
|
</view>
|
|
</view>
|
|
</u-navbar>
|
|
</u-navbar>
|
|
|
|
+ <!-- #endif -->
|
|
|
|
+ <!-- #ifdef APP-PLUS -->
|
|
|
|
+ <view class="slot-wrap">
|
|
|
|
+ <text class = 'tip_text cuIcon-back' @click='back' ></text>
|
|
|
|
+ </view>
|
|
<!-- #endif -->
|
|
<!-- #endif -->
|
|
<searchInput :searchType="2"/>
|
|
<searchInput :searchType="2"/>
|
|
<addressBook :list="firendItem" :scrollTop="scrollTop" :isShowMenu="true" @linkTo="linkToCard"></addressBook>
|
|
<addressBook :list="firendItem" :scrollTop="scrollTop" :isShowMenu="true" @linkTo="linkToCard"></addressBook>
|
|
@@ -36,6 +47,11 @@
|
|
</view>
|
|
</view>
|
|
</u-navbar>
|
|
</u-navbar>
|
|
<!-- #endif -->
|
|
<!-- #endif -->
|
|
|
|
+ <!-- #ifdef APP-PLUS -->
|
|
|
|
+ <view class="slot-wrap">
|
|
|
|
+ <text class = 'tip_text cuIcon-back' @click='back' ></text>
|
|
|
|
+ </view>
|
|
|
|
+ <!-- #endif -->
|
|
<u-cell-group>
|
|
<u-cell-group>
|
|
<u-cell-item title="粮友圈" :title-style="{marginLeft:'30rpx',fontWeight:'800'}" @tap="linkToMoment">
|
|
<u-cell-item title="粮友圈" :title-style="{marginLeft:'30rpx',fontWeight:'800'}" @tap="linkToMoment">
|
|
<u-icon slot="icon" name="moments" color="#409eff" size="40"></u-icon>
|
|
<u-icon slot="icon" name="moments" color="#409eff" size="40"></u-icon>
|
|
@@ -70,6 +86,11 @@
|
|
</view>
|
|
</view>
|
|
</u-navbar>
|
|
</u-navbar>
|
|
<!-- #endif -->
|
|
<!-- #endif -->
|
|
|
|
+ <!-- #ifdef APP-PLUS -->
|
|
|
|
+ <view class="slot-wrap">
|
|
|
|
+ <text class = 'tip_text cuIcon-back' @click='back' ></text>
|
|
|
|
+ </view>
|
|
|
|
+ <!-- #endif -->
|
|
<view class="u-flex user-box u-p-l-30 u-p-r-20 u-p-b-30" @tap="linkToPerson">
|
|
<view class="u-flex user-box u-p-l-30 u-p-r-20 u-p-b-30" @tap="linkToPerson">
|
|
<view class="u-m-r-10">
|
|
<view class="u-m-r-10">
|
|
<u-avatar mode="square" :src="userData.user.avatar" size="140"></u-avatar>
|
|
<u-avatar mode="square" :src="userData.user.avatar" size="140"></u-avatar>
|
|
@@ -280,9 +301,9 @@ export default {
|
|
if(this.userData.user==undefined){
|
|
if(this.userData.user==undefined){
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- uni.showLoading({
|
|
|
|
- title: '正在加载'
|
|
|
|
- })
|
|
|
|
|
|
+ // uni.showLoading({
|
|
|
|
+ // title: '正在加载'
|
|
|
|
+ // })
|
|
this.$socket.queryChats('', this.userData.user.operId,(res) => {
|
|
this.$socket.queryChats('', this.userData.user.operId,(res) => {
|
|
if (res.success) {
|
|
if (res.success) {
|
|
res.chats.sort((a, b) => { return b.lastOpenTime - a.lastOpenTime });
|
|
res.chats.sort((a, b) => { return b.lastOpenTime - a.lastOpenTime });
|
|
@@ -329,9 +350,9 @@ export default {
|
|
},
|
|
},
|
|
getFriends (freshFlag) {
|
|
getFriends (freshFlag) {
|
|
|
|
|
|
- uni.showLoading({
|
|
|
|
- title: '正在加载'
|
|
|
|
- })
|
|
|
|
|
|
+ // uni.showLoading({
|
|
|
|
+ // title: '正在加载'
|
|
|
|
+ // })
|
|
// #ifndef H5
|
|
// #ifndef H5
|
|
var list = [];
|
|
var list = [];
|
|
selectFSQL(this.userData.user.operId).then(res=>{
|
|
selectFSQL(this.userData.user.operId).then(res=>{
|