Commit a9da8110 authored by Mac's avatar Mac

修改样式

parent 294b5804
......@@ -7,9 +7,9 @@
<image class="gstyle" v-if="item.SexStr=='女'" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/basic-nv-b.png" ></image>
<view class="boxt-center">
<view class="row">
<view class="boxtc-t-f" :style="{color:mainColor}">
<!-- <view class="boxtc-t-f" :style="{color:mainColor}">
{{item.Score}}
</view>
</view> -->
<view class="box-name">{{item.name}}</view>
</view>
<view class="row">
......
......@@ -360,11 +360,11 @@
</view>
<view class="activitytime-item" v-if='details.IsOpenEnroll==1'>
<view class="activitytime-item-l">
报名人数
活动人数
</view>
<text>{{details.ManNum}}<text style="margin-left: 10px;">{{details.WoManNum}}</text> </text>
</view>
<view class="activitytime-item" v-if="details.LocationName !=null && details.LocationName!=''">
<view class="activitytime-item" v-if="details.LocationName !=null && details.LocationName!=''" @click="goopenlocation(details)">
<view class="activitytime-item-l">
活动地址
</view>
......@@ -1056,6 +1056,18 @@
url: '/pages/blindDate/persondetails?UserId='+ x.UserId
});
innerAudioContext.stop();
},
goopenlocation(x){
uni.openLocation({
latitude: Number(x.LonLat.split(',')[1]) ,
longitude: Number(x.LonLat.split(',')[0]),
success: function () {
console.log('success');
},
fail:function(err){
console.log(err)
}
});
}
}
}
......
......@@ -244,7 +244,7 @@
<view style="font-size: 13px;color: #999999;margin: 10px 0;">贴吧只能选择一个,发布前可更改</view>
</view>
<scroll-view scroll-y="true" style="max-height: calc(100vh * 0.7 - 65px);padding-bottom: 20px;">
<scroll-view scroll-y="true" style="max-height: calc(100vh * 0.7 - 65px);padding-bottom: 20px;min-height:calc(100vh * 0.4 - 65px) ;">
<view class="ht-box">
<view v-for="(x,y) in forumList" :key="y" class="foritem" @click="select(x)" :style="{color:x.Id == addMsg.ForumId?'#FFF':'#666666',background:x.Id == addMsg.ForumId?mainColor:'#F9F9F9'}">
{{x.Name}}
......@@ -330,6 +330,9 @@ export default {
this.action = this.host2 + '/api/File/UploadTencent?MallBaseId=' + MallBaseId
},
onLoad: function (option) {
if(option && option.ForumId){
this.addMsg.ForumId= option.ForumId
}
this.u = uni.getStorageSync("mall_UserInfo");
if (!this.u) {
this.u = {
......@@ -353,8 +356,11 @@ export default {
res => {
if(res.resultCode==1){
this.forumList = res.data
this.addMsg.ForumId = this.forumList[0].Id
this.ForumName =this.forumList[0].Name;
for(let i=0;i<this.forumList.length;i++){
if(this.forumList[i].Id == this.addMsg.ForumId){
this.ForumName =this.forumList[i].Name;
}
}
}
}
);
......
......@@ -260,7 +260,7 @@ export default {
this.showAuth = true;
} else{
uni.navigateTo({
url: '/pages/blindDate/postPublishing'
url: '/pages/blindDate/postPublishing?ForumId='+this.msg.ForumId
})
}
......
......@@ -263,8 +263,8 @@
<u-avatar :src="x.crearteEmPhoto" size='80' mode="square"></u-avatar>
</view>
<view class="ftBox-right">
<view class="text" :style="{'font-size': '14px','font-weight': 'bold','margin-bottom': '5px','color':mainColor}">{{x.createEmName}}</view>
<view class="text2" style="font-size: 14px;margin-bottom: 5px;"> <text @click="gohuati(x)" style="font-weight: 600;margin-right: 2px;" v-if="x.TalkContent!=null && x.TalkContent!=''">#{{x.TalkContent}}#</text> {{x.content}}</view>
<view class="text" :style="{'font-size': '14px','font-weight': 'bold','margin-bottom': '5px',color:'#010101'}">{{x.createEmName}}</view>
<view class="text2" style="font-size: 14px;margin-bottom: 5px;"> <text @click="gohuati(x)" :style="{'font-weight': '600','margin-right': '2px',color:mainColor}" v-if="x.TalkContent!=null && x.TalkContent!=''">#{{x.TalkContent}}#</text> {{x.content}}</view>
<!-- 图片模式 -->
<view class="imgmode" v-if="x.fileType==1">
<view v-if="x.files.length==1" style="width: 150px;height:200px;margin-bottom: 6px;" @click="previewImage(0,x.files)">
......
......@@ -359,7 +359,7 @@
<view style="font-size: 13px;color: #999999;margin: 10px 0;">话题只能选择一个,发布前可更改</view>
</view>
<scroll-view scroll-y="true" style="max-height: calc(100vh * 0.7 - 65px);padding-bottom: 20px;">
<scroll-view scroll-y="true" style="max-height: calc(100vh * 0.7 - 65px);padding-bottom: 20px;min-height:calc(100vh * 0.4 - 65px)">
<view class="ht-box">
<view v-for="(x,y) in TalkList" :key="y" class="foritem" @click="select(x)" :style="{color:x.Id == addMsg.TalkId?'#FFF':'#666666',background:x.Id == addMsg.TalkId?mainColor:'#F9F9F9'}">
{{x.Content}}
......@@ -468,6 +468,7 @@
this.addMsg.TalkId =0;
this.TalkName = '';
}
this.show=false
},
GetEducationTalk(){//获取朋友圈话题
......
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