Commit 515a4738 authored by Mac's avatar Mac

1

parent 6623d6a4
...@@ -156,21 +156,19 @@ ...@@ -156,21 +156,19 @@
right: 20rpx; right: 20rpx;
bottom: 140rpx; bottom: 140rpx;
z-index: 50; z-index: 50;
font-size: 16rpx; width: 63px;
border-radius: 50%; height: 63px;
color: #FFFFFF;
width: 42px;
height: 42px;
text-align: center;
vertical-align: middle;
background-color: #40766E;
padding: 5rpx;
} }
</style> </style>
<template> <template>
<scroll-view :scroll-y="true" @scroll="scrollHandler" @scrolltoupper="scrollTopHandler" style="height: 100vh;position: relative;"> <scroll-view :scroll-y="true" @scroll="scrollHandler" @scrolltoupper="scrollTopHandler" style="height: 100vh;position: relative;">
<view class="persondetails" > <view class="persondetails" >
<button v-if="mall_UserInfo.UserId != dataList.Id" open-type="contact" send-message-title="dataList.Name" :send-message-path="path" :send-message-img="dataList.Photo" :show-message-card="true" class="bwytBtn">帮我<br/>约TA</button> <view class="bwytBtn" v-if="mall_UserInfo.UserId != dataList.Id">
<image src='https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/blindDate_yueta.png' style="width: 100%;height: 100%;"></image>
<button style='position: absolute;left: 0;top: 0;opacity: 0;width: 100%;height: 100%;' open-type="contact" send-message-title="dataList.Name" :send-message-path="path" :send-message-img="dataList.Photo" :show-message-card="true"></button>
</view>
<view class="headStatus" v-if="scrollTop > 50" :style="[headStyle, <view class="headStatus" v-if="scrollTop > 50" :style="[headStyle,
{ {
......
...@@ -84,8 +84,9 @@ ...@@ -84,8 +84,9 @@
return { return {
pageTitle: "访客", pageTitle: "访客",
sex: { sex: {
0: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/basic-nv.png", 0: "",
1: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/basic-nan.png" 1: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/basic-nan.png",
2: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/basic-nv.png",
}, },
msg: { msg: {
pageIndex: 1, pageIndex: 1,
...@@ -119,6 +120,7 @@ ...@@ -119,6 +120,7 @@
changNav(index){ changNav(index){
this.activeNav=index this.activeNav=index
this.msg.VsisitorType=index+1 this.msg.VsisitorType=index+1
this.msg.pageIndex=1
this.visitorData=[] this.visitorData=[]
this.getMiaiMessageVisitorPageList(); this.getMiaiMessageVisitorPageList();
}, },
...@@ -215,11 +217,10 @@ ...@@ -215,11 +217,10 @@
uni.setNavigationBarTitle({ uni.setNavigationBarTitle({
title: this.pageTitle, title: this.pageTitle,
}); });
this.setAllMsgSee()
}, },
updated() { updated() {
if(this.visitorData.length>0){
this.setAllMsgSee()
}
} }
} }
</script> </script>
......
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