居民社群

This commit is contained in:
shijingjing
2023-03-22 17:53:49 +08:00
parent 2f98f6bc09
commit 73d84875c3
3 changed files with 35 additions and 16 deletions

View File

@@ -30,7 +30,7 @@
</div>
</div>
<div class="card-right">
<div class="xnr" @click="$linkTo('/mods/AppFarmerBank/AppFarmerBank')">
<div class="xnr" @click="$linkTo('/mods/AppNewFarmer/AppNewFarmer')">
<div class="bottom-word">
<p>丰都新农人</p>
<div>新农人新经济</div>

View File

@@ -10,7 +10,7 @@
<div class="tips">
<div class="name-tip" v-if="groupInfo.name">
<div class="name">{{ groupInfo.name }}</div>
<div class="count">({{ groupInfo.personCount }})</div>
<!-- <div class="count">({{ groupInfo.personCount }})</div> -->
</div>
</div>
</div>
@@ -18,9 +18,11 @@
<div class="jionGroup">
<!-- 长按保存图片或扫码加入群聊 -->
<!-- 通过扫一扫加入与通过插件加入只能选一种 -->
<cell class="group" :url='picUrl' v-if="picUrl"></cell>
<cell class="group" contactText="点击加入群聊" :url='picUrl' v-if="picUrl"></cell>
</div>
<div class="pic">
<img src="https://cdn.cunwuyun.cn/fengdu/mdpi_img-chongqing.png" alt="">
</div>
@@ -53,8 +55,11 @@ export default {
id: {
handler(v) {
if(v) {
this.picUrl = this.list.filter(i=> i.id == v)[0].qrCode
this.groupInfo = this.list.filter(i => i.id == v)[0]
this.picUrl = null
this.$nextTick(()=> {
this.picUrl = this.list.filter(i=> i.id == v)[0].qrCode
this.groupInfo = this.list.filter(i => i.id == v)[0]
})
}
}
}
@@ -74,7 +79,7 @@ export default {
this.dictList = res.data.records.map(e=> {
return {
value: e.id,
label: e.name
label: e.name? e.name: '未命名群聊'
}
})
}
@@ -112,6 +117,13 @@ export default {
font-size: 28px;
}
.tishi {
color: #3D3D3D;
font-size: 28px;
font-weight: 400;
text-align: center;
}
.header {
width: 100%;
height: 100%;
@@ -145,20 +157,22 @@ export default {
font-weight: 600;
color: #333333;
.name {
width: 165px;
width: 100%;
height: 100%;
line-height: 50px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.count {
width: calc(100% - 165px);
height: 100%;
line-height: 50px;
}
// .count {
// width: calc(100% - 165px);
// height: 100%;
// line-height: 50px;
// }
}
}
div {