bug
This commit is contained in:
@@ -21,10 +21,10 @@
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<img class="card-left" src="https://cdn.cunwuyun.cn/fengdu/img-fengshouyinhang.png" @click="$linkTo('/mods/AppNewFarmerBank/AppNewFarmerBank')" alt="">
|
||||
<img class="card-left" src="https://cdn.cunwuyun.cn/fengdu/yinhang.svg" @click="$linkTo('/mods/AppNewFarmerBank/AppNewFarmerBank')" alt="">
|
||||
<div class="card-right">
|
||||
<img src="https://cdn.cunwuyun.cn/fengdu/img-fengduxinnongren.png" alt="" @click="$linkTo('/mods/AppNewFarmer/AppNewFarmer')">
|
||||
<img src="https://cdn.cunwuyun.cn/fengdu/ic-jiaoyuhuzhu.png" alt="" @click="$linkTo('/mods/AppHelpEachOther/AppHelpEachOther')">
|
||||
<img src="https://cdn.cunwuyun.cn/fengdu/xinnongren.png" alt="" @click="$linkTo('/mods/AppNewFarmer/AppNewFarmer')">
|
||||
<img src="https://cdn.cunwuyun.cn/fengdu/jiaoyuhuzhu.png" alt="" @click="$linkTo('/mods/AppHelpEachOther/AppHelpEachOther')">
|
||||
</div>
|
||||
</div>
|
||||
<AiLogin ref="login"/>
|
||||
|
||||
@@ -7,14 +7,15 @@
|
||||
<u-icon name="arrow-down" color="#666" size="24" style="margin-left: 4px"></u-icon>
|
||||
</AiSelect>
|
||||
<div class="qrcode-content">
|
||||
<AiImage :src="picUrl" class="qrcode-img" v-if="picUrl" preview/>
|
||||
<!-- <AiImage :src="picUrl" class="qrcode-img" v-if="picUrl" preview/> -->
|
||||
<web-view :webview-styles="webviewStyles" class="qrcode-img" v-if="picUrl" :src="picUrl"></web-view>
|
||||
<div v-else class="tips">
|
||||
<AiEmpty :description="`暂未选择群聊`" class="emptyWrap"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="jionGroup">
|
||||
长按识别二维码或扫码加入群聊
|
||||
长按保存图片或扫码加入群聊
|
||||
<!-- 通过扫一扫加入、与通过插件加入只能选一种 -->
|
||||
<!-- <cell class="group" @startmessage="startmessage" @completemessage="completemessage"
|
||||
url='picUrl' v-if="picUrl"></cell> -->
|
||||
@@ -42,6 +43,10 @@ export default {
|
||||
list: [],
|
||||
picUrl: '',
|
||||
idName: '',
|
||||
webviewStyles: {
|
||||
width: '400px',
|
||||
height: '400px',
|
||||
}
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
<p class="all_test">全部考试</p>
|
||||
<div class="card_list" v-if="testList.length">
|
||||
<!-- @scrolltolower="scrolltLower" -->
|
||||
<scroll-view :style="{height: height + 'px'}" scroll-y>
|
||||
<div class="card" v-for="item in testList" :key="item.id">
|
||||
<div class="card_top">
|
||||
@@ -19,10 +18,10 @@
|
||||
<span>{{ item.passNumber }}</span>人通过/<span>{{ item.examinationNumber }}</span>人参与
|
||||
</div>
|
||||
<div class="result" v-if="item.myRecord">
|
||||
<img class="result-img" v-show="item.myRecord.assessmentType == 0" src="https://cdn.cunwuyun.cn/qujing/youxiu.png" alt="">
|
||||
<img class="result-img" v-show="item.myRecord.assessmentType == 1" src="https://cdn.cunwuyun.cn/qujing/lianghao.png" alt="">
|
||||
<img class="result-img" v-show="item.myRecord.assessmentType == 2" src="https://cdn.cunwuyun.cn/qujing/jige.png" alt="">
|
||||
<img class="result-img" v-show="item.myRecord.assessmentType == 3" src="https://cdn.cunwuyun.cn/qujing/bujige.png" alt="">
|
||||
<img class="result-img" v-show="item.myRecord.assessmentType == 0" src="https://cdn.cunwuyun.cn/qujing/xuefuwuche.png" alt="">
|
||||
<img class="result-img" v-show="item.myRecord.assessmentType == 1" src="https://cdn.cunwuyun.cn/qujing/caigaobadou.png" alt="">
|
||||
<img class="result-img" v-show="item.myRecord.assessmentType == 2" src="https://cdn.cunwuyun.cn/qujing/hege.png" alt="">
|
||||
<img class="result-img" v-show="item.myRecord.assessmentType == 3" src="https://cdn.cunwuyun.cn/qujing/buhege.png" alt="">
|
||||
</div>
|
||||
<div class="grade" :class="{'error':item.myRecord.assessmentType == 3}">{{ item.myRecord.score }}</div>
|
||||
</div>
|
||||
@@ -83,6 +82,7 @@ export default {
|
||||
current: 1,
|
||||
testList: [],
|
||||
testId: '',
|
||||
studyDuration: '',
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -98,7 +98,6 @@ export default {
|
||||
}
|
||||
}).then(res=> {
|
||||
if(res?.data) {
|
||||
// this.testList = this.current==1? res.data.records: [...this.testList,...res.data.records]
|
||||
this.testList = res.data.records
|
||||
}
|
||||
})
|
||||
@@ -118,6 +117,14 @@ export default {
|
||||
this.$emit('toTest',id)
|
||||
}
|
||||
},
|
||||
// 查看累计时长
|
||||
getStudyDuration() {
|
||||
this.$instance.post(`/app/appwechatuserqujing/queryStudyDuration`).then(res => {
|
||||
if (res?.data) {
|
||||
this.studyDuration = res.data.studyDuration
|
||||
}
|
||||
})
|
||||
},
|
||||
comfirm() {
|
||||
if(this.flag) return
|
||||
|
||||
@@ -156,10 +163,6 @@ export default {
|
||||
this.$u.toast(err.msg)
|
||||
})
|
||||
},
|
||||
// scrolltLower() {
|
||||
// this.current++
|
||||
// this.getList()
|
||||
// }
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user