Commit 5d62d9cb authored by liwei's avatar liwei

修改了用户详情页面路径

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