Commit f3ef34c0 authored by liwei's avatar liwei

修改了bug

parent c3f16e8b
......@@ -12,6 +12,17 @@ export function userList(data){
});
}
/**
* 查看我喜欢的 喜欢我的 互相喜欢的列表
*/
export function likeList(data){
return request({
method: "get",
url: '/app/open/memInfo/likeList',
data
});
}
/**
* 获取用户详情
*/
......
......@@ -110,6 +110,15 @@
"navigationBarBackgroundColor": "#F4F5F9",
"navigationStyle": "custom"
}
},
{
"path": "userFilterPage",
"style": {
"navigationBarTitleText": "筛选设置",
"backgroundColor": "#ffffff",
"backgroundColorTop": "#ffffff",
"navigationBarBackgroundColor": "#ffffff"
}
}
]
},
......@@ -323,21 +332,10 @@
}
]
},
{
"root": "pagesUser",
"pages": [{
"path": "userFilterPage",
"style": {
"navigationBarTitleText": "筛选设置",
"backgroundColor": "#ffffff",
"backgroundColorTop": "#ffffff",
"navigationBarBackgroundColor": "#ffffff"
}
}]
},
{
"root": "pages2",
"pages": [{
"pages": [
{
"path": "explain/explain",
"style": {
"navigationStyle": "custom",
......
......@@ -93,9 +93,14 @@
if (newVal === 0){
//关注
this.articleType = '0'
}
if (newVal === 1){
//最近
this.articleType = '1'
}
if (newVal === 2){
//话题
this.articleType = '2'
this.getTopicList()
this.reload()
}
......@@ -290,7 +295,7 @@
}
</script>
<style scoped>
<style lang="scss" scoped>
.content {
height: 100%;
}
......
......@@ -196,7 +196,8 @@ export default{
articleId: this.articleInfo.businessId,//动态id
commentContent:value,//评论内容
commentedUserId:this.commentedUserId ,//被评论人ID
parentId:this.parentId//上级评论ID
parentId:this.parentId,//上级评论ID
createDate:this.articleInfo.createDate//动态发布时间
}
comment(params).then(res=>{
if (res.data.code == 200){
......
......@@ -34,7 +34,7 @@
</template>
<script>
import {deleteFollow, userList} from "../../api/user";
import {deleteFollow, likeList} from "../../api/user";
import {getOssUrl} from "../../api/article";
import {getCity, getValue} from "../../common/options";
import {calculateAge, parseDate} from "../../common";
......@@ -69,7 +69,6 @@ export default {
//设置页头
this.type = options.type;
this.num = options.num;
//获取当前页面的页头高度
this.menuButtonInfo = uni.getMenuButtonBoundingClientRect()
const {
......@@ -92,7 +91,7 @@ export default {
methods: {
getList(params){
//我喜欢的
userList(params).then(res =>{
likeList(params).then(res =>{
this.userList = res.data.data
this.num = this.userList.length
this.getTitle()
......
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