Commit eb10c636 authored by liwei's avatar liwei

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

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