消息免打扰消息同步

This commit is contained in:
2022-02-23 16:35:33 +08:00
parent f68e5fa1fd
commit 2ce4bb827f
3 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@
<u-icon name="arrow-right" color="#eee" size="16" /> <u-icon name="arrow-right" color="#eee" size="16" />
</view> </view>
<view class="item u-border-bottom"> <view class="item u-border-bottom">
<label>聊天免打扰</label> <label>消息免打扰</label>
<u-switch size="22" v-model="status" activeColor="#34CE98" @change="setStatus"></u-switch> <u-switch size="22" v-model="status" activeColor="#34CE98" @change="setStatus"></u-switch>
</view> </view>
<view class="item"> <view class="item">

View File

@@ -3,7 +3,7 @@
<block v-if="groups.length > 0"> <block v-if="groups.length > 0">
<view class="title"> 群聊 </view> <view class="title"> 群聊 </view>
<view v-for="(item, index) in groups" :key="index" class="friend-flex" @click="toGroup(item.targetId)"> <view v-for="(item, index) in groups" :key="index" class="friend-flex" @click="toGroup(item.targetId)">
<u-avatar size="38" shape="square" :src="item.portraitUrl !== ''?contact(item.targetId).portraitUrl :require('@/static/user/cover-s.png')" /> <u-avatar size="36" shape="square" :src="item.portraitUrl !== ''?contact(item.targetId).portraitUrl :require('@/static/user/cover-s.png')" />
<view class="info"> <view class="info">
<view class="name">{{item.name}} <span class="total">{{item.people_count}} 成员</span></view> <view class="name">{{item.name}} <span class="total">{{item.people_count}} 成员</span></view>
</view> </view>

View File

@@ -13,7 +13,7 @@
<u-cell :border="false" class="u-border-bottom" title="聊天置顶"> <u-cell :border="false" class="u-border-bottom" title="聊天置顶">
<u-switch slot="value" size="20" v-model="isTop" activeColor="#34CE98" @change="setTop" /> <u-switch slot="value" size="20" v-model="isTop" activeColor="#34CE98" @change="setTop" />
</u-cell> </u-cell>
<u-cell class="u-border-bottom" :border="false" title="免打扰"> <u-cell class="u-border-bottom" :border="false" title="消息免打扰">
<u-switch slot="value" size="20" v-model="status" activeColor="#34CE98" @change="setStatus" /> <u-switch slot="value" size="20" v-model="status" activeColor="#34CE98" @change="setStatus" />
</u-cell> </u-cell>
</u-cell-group> </u-cell-group>