学习问答
This commit is contained in:
@@ -2,28 +2,24 @@
|
||||
<div class="answerDetail">
|
||||
<div class="head">
|
||||
<div class="left">
|
||||
<img src="./img/avatar.png" alt="">
|
||||
<img :src="info.createUserAvatar" alt="">
|
||||
<div class="head_avtar">
|
||||
<h4>我</h4>
|
||||
<div class="col-999">产品部</div>
|
||||
<h4>{{ info.createUserName }}</h4>
|
||||
<div class="col-999">{{ info.createUserDeptName }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right col-999">12-30 12:23:54</div>
|
||||
<div class="right col-999">{{ info.createTime }}</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
极目新闻消息,据韩国《中央日报》报道,当地时间1月3日,韩国在对来自中国的入境者实施高强度防疫措施两天后,
|
||||
该国疾病预防控制中心运营的新冠信息管理系统出现错误,无法将中国入境者的信息传递给各地政府。
|
||||
韩国仁川国际机场对中国游客进行检测(来源:韩联社)
|
||||
据韩国疾病控制与预防中心和首尔市政府称,从3日上午开始,新冠信息管理系统出现错误,因此,本应传达给全国市、县、区公共卫生部门的中国入境者信息无法送达。
|
||||
有卫生部门人士表示:“疾病预防控制中心表示,下午2点左右系统将修复并恢复运行,但截止下午2时30分,还是没有恢复。”
|
||||
{{ info.content }}
|
||||
</div>
|
||||
<div class="picture">
|
||||
<img :src="item.url" v-for="(item,index) in info.files" :key="index" alt=""
|
||||
@click="preview(info.files, item.url)">
|
||||
</div>
|
||||
|
||||
<!-- <img :src="item.url" v-for="(item,index) in data.files" :key="index" alt=""
|
||||
@click="preview(data.files, item.url)"> -->
|
||||
|
||||
<div class="btn_box">
|
||||
<div class="del" @click="deleteBtn()">删除</div>
|
||||
<div class="edit" @click="linkTo(`./answerAdd`)">修改</div>
|
||||
<div class="del" @click="deleteBtn(info.id)">删除</div>
|
||||
<div class="edit" @click="editBtn()">修改</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -33,14 +29,24 @@ export default {
|
||||
name: "answerDetail",
|
||||
appName: "Ta的回答",
|
||||
data() {
|
||||
|
||||
return {
|
||||
info: {},
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
editBtn() {
|
||||
uni.navigateTo({
|
||||
url: './answerAdd?data=' + JSON.stringify(this.info)
|
||||
})
|
||||
},
|
||||
deleteBtn(id) {
|
||||
this.$confirm('确定要删除该回答吗?').then(()=> {
|
||||
this.$http.post(`/app/applearningquestion/deleteAnswer?id=${id}`,null, {
|
||||
params: {
|
||||
|
||||
this.$http.post(`/app/applearningquestion/deleteAnswer?id=${id}`).then(res=> {
|
||||
if(res?.code == 0) {
|
||||
this.$u.toast('删除成功!')
|
||||
setTimeout(()=> {
|
||||
uni.navigateBack()
|
||||
}, 500)
|
||||
}
|
||||
})
|
||||
})
|
||||
@@ -52,7 +58,9 @@ export default {
|
||||
})
|
||||
},
|
||||
},
|
||||
onShow() {},
|
||||
onLoad(o) {
|
||||
this.info = JSON.parse(o.data)
|
||||
},
|
||||
|
||||
}
|
||||
</script>
|
||||
@@ -91,6 +99,15 @@ export default {
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.picture {
|
||||
margin-top: 24px;
|
||||
img {
|
||||
width: 220px;
|
||||
height: 220px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.btn_box {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
@@ -100,6 +117,8 @@ export default {
|
||||
padding: 16px 32px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
background: #f3f5f7;
|
||||
z-index: 9;
|
||||
div {
|
||||
flex: 1;
|
||||
border-radius: 44px;
|
||||
|
||||
Reference in New Issue
Block a user