Commit efb2fadc authored by liwei's avatar liwei

新增了动态里的评论页面

parent bd08fe82
......@@ -84,6 +84,17 @@
}
]
},
{
"root": "pagesArticle",
"pages": [
{
"path": "articleDetail",
"style": {
"navigationBarTitleText": "动态详情"
}
}
]
},
{
"root": "pagesNotice",
"pages": [
......
......@@ -23,9 +23,9 @@
<template v-if="!isState">
<view class="name">
<text @click="gotoUserInfo(info)">{{info.nickName}}</text>
<image v-if="info.gender!='MALE'" class="gender" src="../../static/images/like/famale.png" mode="">
<image v-if="info.gender!='MALE'" class="gender" src="../../../static/images/like/famale.png" mode="">
</image>
<image v-else class="gender" src="../../static/images/like/male.png" mode=""></image>
<image v-else class="gender" src="../../../static/images/like/male.png" mode=""></image>
</view>
<view class="info">
<text decode="true" style="color: #434343;">{{info.information}}</text>
......@@ -81,12 +81,12 @@
<!-- </u-button>-->
</view>
<view class="btn" @click="gotoDetail(info)">
<image src="../../static/images/104.png" mode=""></image>
<image src="../../../static/images/104.png" mode=""></image>
<text>{{info.commentCount}}</text>
</view>
<view class="btn" @click="praise(info)">
<image v-if="!info.isLike" src="../../static/images/105.png" mode=""></image>
<image v-else src="../../static/images/105-no.png" mode=""></image>
<image v-if="!info.isLike" src="../../../static/images/105.png" mode=""></image>
<image v-else src="../../../static/images/105-no.png" mode=""></image>
<text>{{info.likeCount}}</text>
</view>
</view>
......@@ -187,7 +187,7 @@
//查看动态详情
gotoDetail(item) {
uni.navigateTo({
url: '/pages3/articleDetail?userId=' + item.userId
url: '/pagesArticle/articleDetail?userId=' + item.userId
})
},
//查看用户详情
......
......@@ -212,15 +212,9 @@
//左上角的搜索
async screen() {
//判断当前是否已登录
// const res = await this.$getId();
console.log(res);
if (res == 11003) {
this.isLoginPop = true;
} else {
uni.navigateTo({
url: '/pagespreference/preference/preference'
});
}
},
},
confirma() {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment