居民社群
This commit is contained in:
@@ -30,7 +30,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-right">
|
<div class="card-right">
|
||||||
<div class="xnr" @click="$linkTo('/mods/AppFarmerBank/AppFarmerBank')">
|
<div class="xnr" @click="$linkTo('/mods/AppNewFarmer/AppNewFarmer')">
|
||||||
<div class="bottom-word">
|
<div class="bottom-word">
|
||||||
<p>丰都新农人</p>
|
<p>丰都新农人</p>
|
||||||
<div>新农人新经济</div>
|
<div>新农人新经济</div>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<div class="tips">
|
<div class="tips">
|
||||||
<div class="name-tip" v-if="groupInfo.name">
|
<div class="name-tip" v-if="groupInfo.name">
|
||||||
<div class="name">{{ groupInfo.name }}</div>
|
<div class="name">{{ groupInfo.name }}</div>
|
||||||
<div class="count">({{ groupInfo.personCount }})</div>
|
<!-- <div class="count">({{ groupInfo.personCount }})</div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -18,9 +18,11 @@
|
|||||||
<div class="jionGroup">
|
<div class="jionGroup">
|
||||||
<!-- 长按保存图片或扫码加入群聊 -->
|
<!-- 长按保存图片或扫码加入群聊 -->
|
||||||
<!-- 通过扫一扫加入、与通过插件加入只能选一种 -->
|
<!-- 通过扫一扫加入、与通过插件加入只能选一种 -->
|
||||||
<cell class="group" :url='picUrl' v-if="picUrl"></cell>
|
<cell class="group" contactText="点击加入群聊" :url='picUrl' v-if="picUrl"></cell>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="pic">
|
<div class="pic">
|
||||||
<img src="https://cdn.cunwuyun.cn/fengdu/mdpi_img-chongqing.png" alt="">
|
<img src="https://cdn.cunwuyun.cn/fengdu/mdpi_img-chongqing.png" alt="">
|
||||||
</div>
|
</div>
|
||||||
@@ -53,8 +55,11 @@ export default {
|
|||||||
id: {
|
id: {
|
||||||
handler(v) {
|
handler(v) {
|
||||||
if(v) {
|
if(v) {
|
||||||
this.picUrl = this.list.filter(i=> i.id == v)[0].qrCode
|
this.picUrl = null
|
||||||
this.groupInfo = this.list.filter(i => i.id == v)[0]
|
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=> {
|
this.dictList = res.data.records.map(e=> {
|
||||||
return {
|
return {
|
||||||
value: e.id,
|
value: e.id,
|
||||||
label: e.name
|
label: e.name? e.name: '未命名群聊'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -112,6 +117,13 @@ export default {
|
|||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tishi {
|
||||||
|
color: #3D3D3D;
|
||||||
|
font-size: 28px;
|
||||||
|
font-weight: 400;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -145,20 +157,22 @@ export default {
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
.name {
|
.name {
|
||||||
width: 165px;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
.count {
|
// .count {
|
||||||
width: calc(100% - 165px);
|
// width: calc(100% - 165px);
|
||||||
height: 100%;
|
// height: 100%;
|
||||||
line-height: 50px;
|
// line-height: 50px;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
div {
|
div {
|
||||||
|
|||||||
@@ -24,9 +24,9 @@
|
|||||||
<img class="result-img" v-show="item.myRecord.assessmentType == 3" src="https://cdn.cunwuyun.cn/qujing/buhege.png" alt="">
|
<img class="result-img" v-show="item.myRecord.assessmentType == 3" src="https://cdn.cunwuyun.cn/qujing/buhege.png" alt="">
|
||||||
</div>
|
</div>
|
||||||
<div class="grade" :class="{'error':item.myRecord.assessmentType == 3}">{{ item.myRecord.score }}</div>
|
<div class="grade" :class="{'error':item.myRecord.assessmentType == 3}">{{ item.myRecord.score }}</div>
|
||||||
<div class="tips" v-if="item.examinationType">{{ item.examinationType==0? '学习测试':'考试认证' }}</div>
|
<div class="tips" v-if="item.examinationType" :class="item.examinationType == 0? 'auth': ''">{{ item.examinationType==0? '学习测试':'考试认证' }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card_bottom col_blue" @click="handleToTest(item.id)">{{ item.myRecord? '重新考试':'参加考试'}}</div>
|
<div class="card_bottom col_blue" @click="handleToTest(item)">{{ item.myRecord? '重新考试':'参加考试'}}</div>
|
||||||
</div>
|
</div>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</div>
|
</div>
|
||||||
@@ -110,7 +110,8 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleToTest(id) {
|
handleToTest({id, examination_duration: time }) {
|
||||||
|
console.log(time);
|
||||||
if(!this.user.areaId) {
|
if(!this.user.areaId) {
|
||||||
this.showAuth = true;
|
this.showAuth = true;
|
||||||
this.testId = id;
|
this.testId = id;
|
||||||
@@ -223,7 +224,7 @@ export default {
|
|||||||
.result {
|
.result {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 10px;
|
top: 15px;
|
||||||
.result-img {
|
.result-img {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
@@ -254,6 +255,10 @@ export default {
|
|||||||
color: #FFF;
|
color: #FFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.auth {
|
||||||
|
background: #8F5AFF;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card_bottom {
|
.card_bottom {
|
||||||
|
|||||||
Reference in New Issue
Block a user