Commit eb10c636 authored by liwei's avatar liwei

增加了我喜欢的,喜欢我的,互相喜欢的页面

parent 92deaafe
......@@ -114,56 +114,18 @@
]
},
{
"root": "pagesintroduction",
"pages": [{
"path": "selfIntroduction",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "selectHeight/selectHeight",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "selectJob/selectJob",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "selectSchool/selectSchool",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "selectEducation/selectEducation",
"style": {
"navigationStyle": "custom"
}
},
"root": "pagesme",
"pages": [
{
"path": "selectPhoto/selectPhoto",
"path": "me/likeList",
"style": {
"navigationBarTitleText": "我喜欢的",
"backgroundColor": "#F4F5F9",
"backgroundColorTop": "#F4F5F9",
"navigationBarBackgroundColor": "#F4F5F9",
"navigationStyle": "custom"
}
},
{
"path": "aboutme/aboutme",
"style": {
"navigationStyle": "custom"
}
}
]
},
{
"root": "pagesme",
"pages": [
{
"path": "me/updateInformation",
"style": {
......
......@@ -48,7 +48,7 @@
<text v-if="info.nickName">{{info.nickName}}</text><text v-else>0</text>
</view>
<view class="div">
<view class="diving" @click="gotolike(1)">
<view class="diving" @click="gotolike(1,info.ilike)">
<view class="divtast">
<text v-if="info.ilike">{{info.ilike}}</text><text v-else>0</text>
</view>
......@@ -56,7 +56,7 @@
我喜欢的
</view>
</view>
<view class="diving" style="margin: 0 136rpx;" @click="gotolike(2)">
<view class="diving" style="margin: 0 136rpx;" @click="gotolike(2,info.likeMe)">
<!-- <view class="divtast" v-if="info.likeMe==0">-->
<view class="divtast">
......@@ -70,7 +70,7 @@
喜欢我的
</view>
</view>
<view class="diving" @click="gotolike(3)">
<view class="diving" @click="gotolike(3,info.lovers)">
<view class="divtast">
<text v-if="info.lovers">{{info.lovers}}</text><text v-else>0</text>
</view>
......@@ -221,6 +221,9 @@ import {setUserProfile} from '../../api/login/index'
}],
info: {
nickName:'11111',
ilike:'6',
likeMe:'7',
lovers:'8',
goldBalance:0,
userArticleViewResponse:{
articleImg:null,
......@@ -311,8 +314,10 @@ import {setUserProfile} from '../../api/login/index'
url: "/pagesme/me/doubleauth"
})
},
gotolike(type) { //喜欢三个列表页面
gotolike(type,num) { //喜欢三个列表页面
uni.navigateTo({
url: "/pagesme/me/likeList?type="+type+'&num='+num
})
},
whether(i) {
if (i == 0) {
......
......@@ -340,7 +340,6 @@
.name {
text {
font-weight: 600;
font-size: 32rpx;
color: #333333;
......
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