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

1

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