Commit 60675fc1 authored by 罗超's avatar 罗超

1

parent 00516ff3
...@@ -458,25 +458,25 @@ ...@@ -458,25 +458,25 @@
}); });
return return
} }
if(this.data.EducationType==""){ if(this.data. Marriage==""){
uni.showToast({ uni.showToast({
title: '请选择学历', title: '请选择婚姻状况',
duration: 2000, duration: 2000,
icon:"none" icon:"none"
}); });
return return
} }
console.log(this.data) console.log(this.data)
// this.request2({ this.request2({
// url: '/api/AppletMiai/GetSetMiAiBaseInfo', url: '/api/AppletMiai/GetSetMiAiBaseInfo',
// data: msg data: msg
// }, },
// res => { res => {
// if (res.resultCode == 1) { if (res.resultCode == 1) {
// console.log(res) console.log(res)
// } }
// } }
// ); );
}, },
getEnumList(){ getEnumList(){
this.request2( this.request2(
...@@ -533,6 +533,11 @@ ...@@ -533,6 +533,11 @@
success: (res) =>{ success: (res) =>{
let data= res.data.user_info let data= res.data.user_info
this.data.nickname=data.nickname this.data.nickname=data.nickname
if(data.Sex==1){
this.data.Sex="男"
}else if(data.Sex==2){
this.data.Sex="女"
}
}, },
fail:(err)=> { fail:(err)=> {
// console.log(err); // console.log(err);
......
<style> <style scoped>
/deep/.u-size-mini{
vertical-align: middle;
}
.postDetails{ .postDetails{
width: 100%; width: 100%;
height: 100vh; height: 100vh;
...@@ -320,7 +323,9 @@ ...@@ -320,7 +323,9 @@
<image style="width: 100%;height: 100%;" :src="details.ImageList[0]" mode="aspectFill"></image> <image style="width: 100%;height: 100%;" :src="details.ImageList[0]" mode="aspectFill"></image>
</view> </view>
<view class="details"> <view class="details">
<view class="details-title"><text v-if="details.Label!=null&& details.Label!='' " :style="{color:mainColor}">【{{details.Label}}</text>{{details.ActivityTitle}}</view> <view class="details-title"><u-tag :text="details.Label" mode="dark" :bg-color="mainColor" size="mini" v-if="details.Label!=null&& details.Label!=''"/>
{{details.ActivityTitle}}</view>
<view @click="fxshow=true">分享</view> <view @click="fxshow=true">分享</view>
<view class="details-info"> <view class="details-info">
<view class="details-info-l"> <view class="details-info-l">
......
This diff is collapsed.
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