mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-10 11:26:47 +08:00
提交
This commit is contained in:
@@ -60,7 +60,7 @@
|
|||||||
<text style="font-size: 24upx;color: #999;margin-top: 10upx;" @click="toQaDetail(item.question)">分享给{{item.toAname}}</text>
|
<text style="font-size: 24upx;color: #999;margin-top: 10upx;" @click="toQaDetail(item.question)">分享给{{item.toAname}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="rowbtn-right" style="margin-left: auto;">
|
<view class="rowbtn-right" style="margin-left: auto;">
|
||||||
<view v-if="item.isRead" class="Viewed">
|
<view v-if="item.question.isRead" class="Viewed">
|
||||||
已查看
|
已查看
|
||||||
</view>
|
</view>
|
||||||
<view v-else class="notViewed">
|
<view v-else class="notViewed">
|
||||||
@@ -150,6 +150,7 @@ export default {
|
|||||||
item.question.bestAnswer=item.bestAnswer;
|
item.question.bestAnswer=item.bestAnswer;
|
||||||
item.question.id=item.id;
|
item.question.id=item.id;
|
||||||
item.question.shareId=item.shareId;
|
item.question.shareId=item.shareId;
|
||||||
|
item.question.isRead=item.isRead;
|
||||||
}
|
}
|
||||||
if(item.type == 3){
|
if(item.type == 3){
|
||||||
item.cases = {title:'',summary:''};
|
item.cases = {title:'',summary:''};
|
||||||
@@ -288,7 +289,7 @@ export default {
|
|||||||
if(res.status==200){
|
if(res.status==200){
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
item.isRead = true;
|
||||||
}
|
}
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/resource/qaDetail?id=' + item.id
|
url: '/pages/resource/qaDetail?id=' + item.id
|
||||||
|
|||||||
Reference in New Issue
Block a user