mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 01:46:44 +08:00
提交修改
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
<template>
|
||||
<view class="my-qa-page">
|
||||
<u-toast ref="articleToast"></u-toast>
|
||||
<page-title :showBack="true">我的问答</page-title>
|
||||
<page-title :showBack="true" goPgae="/pages/plus/addQuestion">我的问答
|
||||
<template #right>
|
||||
<p style="width: 100upx;margin-top: 18upx;">去提问</p>
|
||||
</template>
|
||||
</page-title>
|
||||
<view class="top-content">
|
||||
<view>
|
||||
<u-search
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
<text style="font-size: 24upx;color: #999;margin-right: 35upx;">{{ item.sysCreateBy }}分享给我</text>
|
||||
</view>
|
||||
<view class="rowbtn-right">
|
||||
<view v-if="!item.isRead" class="Viewed">
|
||||
<view v-if="item.isRead" class="Viewed">
|
||||
已查看
|
||||
</view>
|
||||
<view v-else class="notViewed">
|
||||
@@ -270,6 +270,7 @@ export default {
|
||||
// }
|
||||
},
|
||||
toArticleDetail(item) {
|
||||
console.log(item,'item')
|
||||
if(!item.isRead){
|
||||
apiShares.updateIsRead(item.shareId).then(res=>{
|
||||
if(res.status==200){
|
||||
|
||||
@@ -150,6 +150,10 @@
|
||||
goSubmit() {
|
||||
let $this=this;
|
||||
let images=[];
|
||||
if(this.qa.title == '') {
|
||||
$this.$refs.messager.show({message:'请填写标题',type:'error'});
|
||||
return
|
||||
}
|
||||
this.fileList.forEach(file=>{
|
||||
images.push(file.path);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user