Commit 7f56c1d6 authored by zhengke's avatar zhengke

修改

parent 16fcb6e5
<template> <template>
<view class="matchmaking"> <view class="matchmaking" style="margin-bottom:70px;">
<view class="matchmaking-box" v-for="(item,index) in data" :key='index'> <view class="matchmaking-box" v-for="(item,index) in data" :key='index' @click="goDetail()">
<view class="box-top"> <view class="box-top">
<u-avatar :src="item.tximg" size="80"></u-avatar> <u-avatar :src="item.tximg" size="80"></u-avatar>
<image class="gstyle" v-if="item.Gender==1" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/basic-nan-b.png" ></image> <image class="gstyle" v-if="item.Gender==1" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/basic-nan-b.png" ></image>
...@@ -45,7 +45,11 @@ ...@@ -45,7 +45,11 @@
type:2, type:2,
data:[ data:[
{name:'中日混血-兔牙球球中日混血-兔牙球球中日混血-兔牙球球',fen:'59',Age:'33',education:'大专',marriage:'未婚',matching:'100%',Gender:'1',tximg:'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3864518196,3934259062&fm=11&gp=0.jpg', {name:'中日混血-兔牙球球中日混血-兔牙球球中日混血-兔牙球球',fen:'59',Age:'33',education:'大专',marriage:'未婚',matching:'100%',Gender:'1',tximg:'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3864518196,3934259062&fm=11&gp=0.jpg',
type:2,imgs:['https://t7.baidu.com/it/u=3522949495,3570538969&fm=193&f=GIF','https://t7.baidu.com/it/u=2878377037,2986969897&fm=193&f=GIF','https://t7.baidu.com/it/u=2253011977,2934623845&fm=193&f=GIF']}, type:1,imgs:['https://t7.baidu.com/it/u=3522949495,3570538969&fm=193&f=GIF','https://t7.baidu.com/it/u=2878377037,2986969897&fm=193&f=GIF','https://t7.baidu.com/it/u=2253011977,2934623845&fm=193&f=GIF']},
{name:'中日混血-兔牙球球',fen:'100',Age:'33',education:'大专',marriage:'未婚',matching:'100%',Gender:'1',tximg:'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3864518196,3934259062&fm=11&gp=0.jpg',
type:1,imgs:['https://t7.baidu.com/it/u=2010803885,3614601600&fm=193&f=GIF','https://t7.baidu.com/it/u=2107228250,4226787167&fm=193&f=GIF']},
{name:'中日混血-兔牙球球',fen:'100',Age:'33',education:'大专',marriage:'未婚',matching:'100%',Gender:'1',tximg:'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3864518196,3934259062&fm=11&gp=0.jpg',
type:1,imgs:['https://t7.baidu.com/it/u=2010803885,3614601600&fm=193&f=GIF','https://t7.baidu.com/it/u=2107228250,4226787167&fm=193&f=GIF']},
{name:'中日混血-兔牙球球',fen:'100',Age:'33',education:'大专',marriage:'未婚',matching:'100%',Gender:'1',tximg:'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3864518196,3934259062&fm=11&gp=0.jpg', {name:'中日混血-兔牙球球',fen:'100',Age:'33',education:'大专',marriage:'未婚',matching:'100%',Gender:'1',tximg:'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3864518196,3934259062&fm=11&gp=0.jpg',
type:1,imgs:['https://t7.baidu.com/it/u=2010803885,3614601600&fm=193&f=GIF','https://t7.baidu.com/it/u=2107228250,4226787167&fm=193&f=GIF']}, type:1,imgs:['https://t7.baidu.com/it/u=2010803885,3614601600&fm=193&f=GIF','https://t7.baidu.com/it/u=2107228250,4226787167&fm=193&f=GIF']},
{name:'中日混血-兔牙球球中日混血-兔牙球球中日混血-兔牙球球',fen:'59',Age:'33',education:'大专',marriage:'未婚',matching:'100%',Gender:'1',tximg:'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3864518196,3934259062&fm=11&gp=0.jpg', {name:'中日混血-兔牙球球中日混血-兔牙球球中日混血-兔牙球球',fen:'59',Age:'33',education:'大专',marriage:'未婚',matching:'100%',Gender:'1',tximg:'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3864518196,3934259062&fm=11&gp=0.jpg',
...@@ -58,6 +62,13 @@ ...@@ -58,6 +62,13 @@
created() { created() {
this.mainColor = this.$uiConfig.mainColor; this.mainColor = this.$uiConfig.mainColor;
this.secondary = this.$uiConfig.secondary; this.secondary = this.$uiConfig.secondary;
},
methods:{
goDetail(){
uni.navigateTo({
url: '/pages/blindDate/persondetails?UserId=' + '123559'
});
}
} }
} }
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
padding-bottom: 64upx; padding-bottom: 64upx;
} }
.imgse { .imgse {
width: 48upx; /* width: 48upx; */
height: 48upx; height: 48upx;
} }
.txtBtn { .txtBtn {
...@@ -92,6 +92,7 @@ ...@@ -92,6 +92,7 @@
bottom: 10upx; bottom: 10upx;
border-radius: 150upx; border-radius: 150upx;
} }
</style> </style>
<template> <template>
<view <view
...@@ -114,12 +115,14 @@ ...@@ -114,12 +115,14 @@
class="imgse" class="imgse"
:fade-show="false" :fade-show="false"
v-if="active != i" v-if="active != i"
:src="x.icon" mode="heightFix"
:src="x.icon"
></image> ></image>
<image <image
class="imgse" class="imgse"
:fade-show="false" :fade-show="false"
v-if="active === i" v-if="active === i"
mode="heightFix"
:src="x.active_icon" :src="x.active_icon"
></image> ></image>
<text <text
......
...@@ -304,13 +304,14 @@ ...@@ -304,13 +304,14 @@
</view> </view>
</view> </view>
</view> </view>
<template v-if="isShowBtn">
<view class="edit" v-if="dataList.IsAttestation==1" :style="{background:mainColor}" @click="goedit()"> <view class="edit" v-if="dataList.IsAttestation==1" :style="{background:mainColor}" @click="goedit()">
编辑资料 编辑资料
</view> </view>
<view class="edit" v-if="dataList.IsAttestation==0 && mall_UserInfo.UserId == dataList.Id" :style="{background:mainColor}" @click="gorenz()"> <view class="edit" v-if="dataList.IsAttestation==0 && mall_UserInfo.UserId == dataList.Id" :style="{background:mainColor}" @click="gorenz()">
去认证 去认证
</view> </view>
</template>
</view> </view>
</view> </view>
</view> </view>
...@@ -337,6 +338,7 @@ ...@@ -337,6 +338,7 @@
dataList:{}, dataList:{},
mall_UserInfo:null, mall_UserInfo:null,
UserId:0, UserId:0,
isShowBtn:true, //跳过来不显示编辑按钮
} }
}, },
created() { created() {
...@@ -351,6 +353,7 @@ ...@@ -351,6 +353,7 @@
if(options && options.UserId){ if(options && options.UserId){
this.UserId = options.UserId this.UserId = options.UserId
this.init() this.init()
this.isShowBtn=false
} }
}, },
onShow() { onShow() {
......
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