Commit 5d62d9cb authored by liwei's avatar liwei

修改了用户详情页面路径

parent de56eca3
......@@ -70,6 +70,18 @@
"navigationBarBackgroundColor": "#F4F5F9",
"navigationStyle": "custom"
}
},
{
"path": "userInfo",
"style": {
"navigationBarTitleText": "用户详情",
"enablePullDownRefresh": false,
"onReachBottomDistance": 50,
"backgroundColor": "#F4F5F9",
"backgroundColorTop": "#F4F5F9",
"navigationBarBackgroundColor": "#F4F5F9",
"navigationStyle": "custom"
}
}
]
},
......@@ -271,23 +283,6 @@
}
]
},
{
"root": "pageslike",
"pages": [
{
"path": "like/userInfo",
"style": {
"navigationBarTitleText": "用户详情",
"enablePullDownRefresh": false,
"onReachBottomDistance": 50,
"backgroundColor": "#F4F5F9",
"backgroundColorTop": "#F4F5F9",
"navigationBarBackgroundColor": "#F4F5F9",
"navigationStyle": "custom"
}
}
]
},
{
"root": "pagespreference",
"pages": [{
......
......@@ -193,7 +193,7 @@
//查看用户详情
gotoUserInfo(item) {
uni.navigateTo({
url: '/pageslike/like/userInfo?id=' + item.userId
url: '/pagesUser/userInfo?id=' + item.userId
})
},
// 点赞
......
......@@ -11,21 +11,21 @@
<ls-swiper :list="userData.imgList" imgKey="" :loop="true" :dots="true" :autoplay="true"
:height="340" />
<view class="hint" v-if="userData.result != null && userData.result">
<image src="../../static/images/like/02.png" mode="aspectFill"></image>
<image src="../static/images/like/02.png" mode="aspectFill"></image>
<view class="t">
{{ '相互喜欢' }}
</view>
</view>
<view class="hint"
v-else-if="userData.otherMatchingStatus != null && userData.otherMatchingStatus=='NOT_LIKE_ME'">
<image src="../../static/images/like/dislike.png" mode="aspectFill"></image>
<image src="../static/images/like/dislike.png" mode="aspectFill"></image>
<view class="t">
{{ '对我无感' }}
</view>
</view>
<view class="hint"
v-else-if="userData.selfMatchingStatus!=null&&userData.selfMatchingStatus=='LIKE'">
<image src="../../static/images/like/02.png" mode="aspectFill"></image>
<image src="../static/images/like/02.png" mode="aspectFill"></image>
<view class="t">
{{
'我喜欢过'
......@@ -37,7 +37,7 @@
<view class="box-jj">
<view class="box-jj-ta">
<view class="box-jj-ta-left">
<image src="../../static/images/yrz.png" class="img" mode="aspectFill"></image>
<image src="../static/images/yrz.png" class="img" mode="aspectFill"></image>
<view class="te">{{ userData.school ? userData.school : '' }}</view>
<view class="xian"></view>
<view class="te">
......@@ -62,10 +62,10 @@
<!-- 个人信息-->
<view class="box-name">
<view class="name">{{ userData.nickName ? userData.nickName : '' }}</view>
<image src="../../static/xiugai/nv.png" mode="aspectFill" v-if="userData.gender == 'FEMALE'"></image>
<image src="../../static/images/like/male.png" mode="aspectFill" v-else></image>
<image src="../static/xiugai/nv.png" mode="aspectFill" v-if="userData.gender == 'FEMALE'"></image>
<image src="../static/images/like/male.png" mode="aspectFill" v-else></image>
<view class="hint" v-if="userData.userAuthStatus != null">
<image src="../../static/images/auth.png" mode="aspectFill"></image>
<image src="../static/images/auth.png" mode="aspectFill"></image>
<view class="t">
{{
userData.userAuthStatus == 'IdentityAuth'
......@@ -88,7 +88,7 @@
<view class="">{{ userData.city ? userData.city : '' }}</view>
</view>
<view class="ling" v-if="userData.emotional">
<image src="../../static/images/indexlable.png" class="img" mode="aspectFill"></image>
<image src="../static/images/indexlable.png" class="img" mode="aspectFill"></image>
<view class="text">{{
userData.emotional == 'Single'
? '正在寻觅'
......@@ -160,7 +160,7 @@
<view class="card">
<view class="content">
<view class="have_image">
<image src="../../static/images/indexabout.png" mode="aspectFill"></image>
<image src="../static/images/indexabout.png" mode="aspectFill"></image>
<view class="title" style="font-family: SC-Bold;">关于我自己</view>
</view>
<view class="one">{{ userData.aboutMe }}</view>
......@@ -171,7 +171,7 @@
<view class="card">
<view class="content">
<view class="have_image">
<image src="../../static/images/indexlove.png" mode="aspectFill"></image>
<image src="../static/images/indexlove.png" mode="aspectFill"></image>
<view class="title" style="font-family: SC-Bold;">兴趣爱好</view>
</view>
<view class="one">{{ userData.interest }}</view>
......@@ -182,14 +182,14 @@
<view class="card">
<view class="content">
<view class="have_image">
<image src="../../static/images/indexcharacter.png" mode="aspectFill"></image>
<image src="../static/images/indexcharacter.png" mode="aspectFill"></image>
<view class="title" style="font-family: SC-Bold;">心仪的Ta</view>
</view>
<view class="one">{{ userData.loveRequirement }}</view>
<view class="one"></view>
</view>
</view>
<!-- 最下方的推荐-->
<view class="bo"
:style="{'border-radius':userData.selfMatchingStatus!==null?'24rpx 24rpx 0 0':'24rpx'}">
<u-button class="name" open-type="share" :hairline="false" :customStyle="{
......@@ -199,14 +199,14 @@
'color': '#434343',
'border':'none',
}">
<image src="../../static/images/share.png" class="simg" mode="aspectFill"></image>
<image src="../static/images/share.png" class="simg" mode="aspectFill"></image>
{{userData.gender != 'MALE'?'她':'他'}}推荐给好友
</u-button>
</view>
<view class="bo2" v-if="userData.selfMatchingStatus !== null" @click="canelLike()">
<image v-if="userData.selfMatchingStatus == 'NOT_LIKE'"
src="../../static/images/like/noLike.png" class="simg" mode="aspectFill"></image>
<image v-if="userData.selfMatchingStatus == 'LIKE'" src="../../static/images/like/liketo.png"
src="../static/images/like/noLike.png" class="simg" mode="aspectFill"></image>
<image v-if="userData.selfMatchingStatus == 'LIKE'" src="../static/images/like/liketo.png"
class="simg" mode="aspectFill"></image>
<view class="name"> {{userData.selfMatchingStatus == 'NOT_LIKE'?'取消无感':
userData.selfMatchingStatus == 'LIKE'?'取消喜欢':''
......@@ -232,18 +232,18 @@
<!-- 两个图标按钮 喜欢和不喜欢-->
<view v-if="showArrowDown">
<view class="footer-fixedlike" v-if="userData.selfMatchingStatus == null">
<view class="left" @click="logion(userData.id, false, '../../static/images/clo.png')">
<image src="../../static/images/clo.png" style="width: 100%;height: 100%;;" mode="aspectFill"></image>
<view class="left" @click="logion(userData.id, false, '../static/images/clo.png')">
<image src="../static/images/clo.png" style="width: 100%;height: 100%;;" mode="aspectFill"></image>
</view>
<view class="right" @click="logion(userData.id, true, '../../static/images/con1.png')">
<image src="../../static/images/con1.png" style="width: 100%;height: 100%;;" mode="aspectFill"></image>
<view class="right" @click="logion(userData.id, true, '../static/images/con1.png')">
<image src="../static/images/con1.png" style="width: 100%;height: 100%;;" mode="aspectFill"></image>
</view>
</view>
</view>
<!-- 点击喜欢和不喜欢的动画效果-->
<image v-if="showAnima" :src="animUrl" mode="aspectFill" class="animate-middel-top"/>
<!-- 向下滑动的箭头-->
<image v-show="showArrowDown" src="../../static/images/home/arrow_down_sm.png" mode="aspectFill" class="fixed_down"/>
<image v-show="showArrowDown" src="../static/images/home/arrow_down_sm.png" mode="aspectFill" class="fixed_down"/>
</view>
<myPopup v-if="isShow" :content="userData.selfMatchingStatus=='NOT_LIKE'?'是否取消无感?':
userData.selfMatchingStatus=='LIKE'?'是否取消喜欢?':'是否解除匹配?'" @confirm="confirm" @cancel="cancelbtn">
......@@ -253,7 +253,7 @@
<script>
let util = require('@/util/means.js');
import LsSwiper from '../../components/ls-swiper/index.vue';
import LsSwiper from '../components/ls-swiper/index.vue';
import myPopup from '@/components/myPopup.vue'
export default {
components: {
......
......@@ -10,7 +10,7 @@
<view class="m" v-if="info.category=='COMMENT'">
评论了您的动态
</view>
<view class="m" v-else-if="info.category=='LIKE_ARTICLE'">
点赞了您的动态
</view>
......@@ -45,7 +45,7 @@
<view class="m1" style="padding-left: 25rpx;" v-else-if="info.category!='LIKE_ARTICLE'">
{{info.content}}
</view>
<view class="coo" @click="goPage">
<view class="txt">
{{info.articleUserNickName}}{{info.articleContent}}
......@@ -81,7 +81,7 @@
},
goPage2(id) {
uni.navigateTo({
url: '/pageslike/like/userInfo?id=' + id
url: '/pagesUser/userInfo?id=' + id
})
},
}
......@@ -186,7 +186,7 @@
.twoTemp{
&:after{
width: calc(33% - 10rpx);
content: '';
content: '';
}
image{
&:last-child{
......@@ -244,4 +244,4 @@
}
}
}
</style>
\ No newline at end of file
</style>
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