Commit 8d36ff6f authored by Mac's avatar Mac

修改样式问题 相亲

parent 69bcbc56
...@@ -18,10 +18,10 @@ ...@@ -18,10 +18,10 @@
mode="widthFix" mode="widthFix"
style="width: 90rpx; height: 90rpx;" style="width: 90rpx; height: 90rpx;"
/> />
<text :style="{'color':navs.color}" style="font-size:26rpx;margin-top:20rpx;">{{ c.name }}</text> <text :style="{'color':navs.color}" style="font-size:26rpx;margin-top:10rpx;">{{ c.name }}</text>
</u-grid-item> </u-grid-item>
</u-grid> </u-grid>
</view> </view>
</swiper-item> </swiper-item>
</swiper> </swiper>
</div> </div>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
:style="{ height: '100%' }"> :style="{ height: '100%' }">
<view class="ftBox" v-if="type==1"> <view class="ftBox" v-if="type==1">
<view class="interDList" v-for="(x, i) in g" :key="i"> <view class="interDList" v-for="(x, i) in g" :key="i">
<view class="box-top"> <view class="box-top" @click="goUserinfo(x)">
<view class="box-top-l" > <view class="box-top-l" >
<u-avatar :src="x.Photo" size="80"></u-avatar> <u-avatar :src="x.Photo" size="80"></u-avatar>
<image class="gstyle" v-if="x.Sex==1" <image class="gstyle" v-if="x.Sex==1"
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
</view> </view>
<view class="ftBox" v-if="type==2"> <view class="ftBox" v-if="type==2">
<view class="interDList" v-for="(x, i) in g" :key="i"> <view class="interDList" v-for="(x, i) in g" :key="i">
<view class="box-top"> <view class="box-top" @click="goUserinfo(x)">
<view class="box-top-l" > <view class="box-top-l" >
<u-avatar :src="x.Photo" size="80"></u-avatar> <u-avatar :src="x.Photo" size="80"></u-avatar>
<image class="gstyle" v-if="x.Sex==1" <image class="gstyle" v-if="x.Sex==1"
......
...@@ -338,28 +338,30 @@ ...@@ -338,28 +338,30 @@
field:"HopeYou", field:"HopeYou",
placehloder:"希望心中的TA是一个什么样的人", placehloder:"希望心中的TA是一个什么样的人",
type:3 type:3
},{ },
name:"约会档期", // {
tip2:"(方便约见的时间和地点)", // name:"约会档期",
field:"", // tip2:"(方便约见的时间和地点)",
// placehloder:"希望心中的TA是一个什么样的人", // field:"",
type:2, // // placehloder:"希望心中的TA是一个什么样的人",
childDataList:[{ // type:2,
name:"时间", // childDataList:[{
field:"Appointment", // name:"时间",
placehloder:"请选择约见的时间", // field:"Appointment",
subType:2, // placehloder:"请选择约见的时间",
array:[], // subType:2,
mode:"date" // array:[],
},{ // mode:"date"
name:"地点", // },{
field:"AppointmentAddress", // name:"地点",
placehloder:"请填写方便的地点", // field:"AppointmentAddress",
subType:1, // placehloder:"请填写方便的地点",
showType:"text" // subType:1,
}, // showType:"text"
] // },
},{ // ]
// },
{
name:"活动区域", name:"活动区域",
field:"ActivityRegion", field:"ActivityRegion",
placehloder:"自己最近的活动区域", placehloder:"自己最近的活动区域",
......
...@@ -440,11 +440,11 @@ ...@@ -440,11 +440,11 @@
<rich-text v-if="dataList.HopeYou!=''" :nodes="dataList.HopeYou" style="font-size: 12px;color: #000;"></rich-text> <rich-text v-if="dataList.HopeYou!=''" :nodes="dataList.HopeYou" style="font-size: 12px;color: #000;"></rich-text>
</u-read-more> </u-read-more>
</view> </view>
<view class="pd-title">约会档期</view> <!-- <view class="pd-title">约会档期</view>
<view class="pd-abouthim"> <view class="pd-abouthim">
<view>时间:{{dataList.Appointment!=''?dataList.Appointment:'无'}}</view> <view>时间:{{dataList.Appointment!=''?dataList.Appointment:'无'}}</view>
<view style="margin-top: 5px;">地点:{{dataList.AppointmentAddress!=''?dataList.AppointmentAddress:'无'}}</view> <view style="margin-top: 5px;">地点:{{dataList.AppointmentAddress!=''?dataList.AppointmentAddress:'无'}}</view>
</view> </view> -->
<view style="font-size: 17px;color:#111111;font-weight: bold;margin-top: 10px;" v-if="mall_UserInfo.UserId == dataList.Id">身份证正反面</view> <view style="font-size: 17px;color:#111111;font-weight: bold;margin-top: 10px;" v-if="mall_UserInfo.UserId == dataList.Id">身份证正反面</view>
<view class="sfz" v-if="mall_UserInfo.UserId == dataList.Id"> <view class="sfz" v-if="mall_UserInfo.UserId == dataList.Id">
<view> <view>
......
...@@ -307,7 +307,7 @@ export default { ...@@ -307,7 +307,7 @@ export default {
day: true, day: true,
hour: true, hour: true,
minute: true, minute: true,
second: true second: false
}, },
kqlist:[{id:1,name:'开启'},{id:2,name:'不开启'}], kqlist:[{id:1,name:'开启'},{id:2,name:'不开启'}],
ForumName:'', ForumName:'',
...@@ -419,7 +419,7 @@ export default { ...@@ -419,7 +419,7 @@ export default {
this.addMsg.ImageList.push(r.data); this.addMsg.ImageList.push(r.data);
}, },
confirm(val){ confirm(val){
let time = val.year + '-' + val.month + '-' + val.day +' ' + val.hour + ':' + val.minute + ':' + val.second; let time = val.year + '-' + val.month + '-' + val.day +' ' + val.hour + ':' + val.minute ;
if((new Date()).getTime() >= (new Date(time)).getTime()){ if((new Date()).getTime() >= (new Date(time)).getTime()){
uni.showToast({ uni.showToast({
title: '时间需要大于当前时间', title: '时间需要大于当前时间',
...@@ -499,7 +499,7 @@ export default { ...@@ -499,7 +499,7 @@ export default {
let beforePage = pages[pages.length - 2]; // 前一个页面 let beforePage = pages[pages.length - 2]; // 前一个页面
uni.showLoading({ uni.showLoading({
title:'发布中~' title:'发布中~'
}) })
this.request2( this.request2(
{ {
url: '/api/AppletMiai/SetActivityInfo', url: '/api/AppletMiai/SetActivityInfo',
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
{{item.date.slice(0,10)}} {{item.date.slice(0,10)}}
</view> </view>
<view v-if="item.list" v-for="(subItem,subIndex) in item.list" :key="subIndex"> <view v-if="item.list" v-for="(subItem,subIndex) in item.list" :key="subIndex">
<view class="subItemBox"> <view class="subItemBox" @click="goUserinfo(subItem)">
<view class="avaBox"> <view class="avaBox">
<image class="avatar" :src="subItem.Photo"></image> <image class="avatar" :src="subItem.Photo"></image>
<image class="sex" v-if="subItem.Sex==1" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/basic-nan.png"></image> <image class="sex" v-if="subItem.Sex==1" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/basic-nan.png"></image>
...@@ -203,7 +203,12 @@ ...@@ -203,7 +203,12 @@
} }
} }
); );
} },
goUserinfo(x){
uni.navigateTo({
url: '/pages/blindDate/persondetails?UserId='+ x.UserId
});
},
}, },
created() { created() {
this.mainColor = this.$uiConfig.mainColor; this.mainColor = this.$uiConfig.mainColor;
......
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