...
|
...
|
@@ -3,15 +3,15 @@ |
|
|
<div class="header">
|
|
|
<h2 @click="back1"><</h2><h1>我的资料</h1>
|
|
|
</div>
|
|
|
<div class="banner" @click="goMyAlbum"></div>
|
|
|
<div class="banner" @click="goMyAlbum" ></div>
|
|
|
<p>点击修改头像</p>
|
|
|
<div class="nav">
|
|
|
<p>确保头像照片为本人清晰正脸照,一个良好的头像更能吸引到别人哦~</p>
|
|
|
<span>确保头像照片为本人清晰正脸照,一个良好的头像更能吸引到别人哦~</span>
|
|
|
</div>
|
|
|
<div class="main">
|
|
|
<div class="main1">
|
|
|
<div class="left">自我介绍</div>
|
|
|
<div class="right">去修改 ></div>
|
|
|
<div class="right" @click="goIntroduction" >去修改> </div>
|
|
|
</div>
|
|
|
<div class="main2">
|
|
|
在百忙之于还会想念着他心爱的女人那才是真正的好男人。被风吹到眼睛想你看到闪烁的路灯想你。
|
...
|
...
|
@@ -20,7 +20,7 @@ |
|
|
<div class="data">
|
|
|
<div class="data1">
|
|
|
<div class="left">详细资料</div>
|
|
|
<div class="right">去修改></div>
|
|
|
<div class="right" @click="goData">去修改></div>
|
|
|
</div>
|
|
|
<div class="data2">
|
|
|
<div class="x1">女</div><div class="x2">23岁</div>
|
...
|
...
|
@@ -56,7 +56,7 @@ |
|
|
<div class="photo">
|
|
|
<div class="photo1">
|
|
|
<div class="left">我的证件</div>
|
|
|
<div class="right">去修改></div>
|
|
|
<div class="right" @click="goPhotoz">去修改></div>
|
|
|
</div>
|
|
|
<div class="photo2">
|
|
|
<li></li>
|
...
|
...
|
@@ -68,7 +68,7 @@ |
|
|
<div class="footer">
|
|
|
<div class="footer1">
|
|
|
<div class="left">择偶条件</div>
|
|
|
<div class="right">去修改></div>
|
|
|
<div class="right" @click="goCondition">去修改></div>
|
|
|
</div>
|
|
|
<div class="footer2">年龄和我同岁或者比我小,在加拿大这边或者国内的愿意来加拿大生活的,性格内向和外向都好,偏内向的话,两个人一样,偏外向的话两个人互补,主要看感觉。</div>
|
|
|
</div>
|
...
|
...
|
@@ -81,12 +81,82 @@ export default { |
|
|
components: {
|
|
|
|
|
|
},
|
|
|
methods:{
|
|
|
mounted: function () {
|
|
|
// this. goIntroduction()
|
|
|
},
|
|
|
methods: {
|
|
|
goMyAlbum () {
|
|
|
this.$router.push('/myAlbum')
|
|
|
this.$router.push('/myAlbum')
|
|
|
},
|
|
|
back1 () {
|
|
|
this.$router.go(-1)
|
|
|
this.$router.go(-1)
|
|
|
},
|
|
|
goIntroduction () {
|
|
|
let that = this
|
|
|
let params = {
|
|
|
about_me: that.about_me
|
|
|
}
|
|
|
that.$axios.post('/api/Center/up_about', params).then((res) =>{
|
|
|
that. about_me = res.data
|
|
|
console.log(that. about_me)
|
|
|
this.$router.push('/introduction')
|
|
|
}).catch((err) =>{
|
|
|
console.log(err)
|
|
|
})
|
|
|
|
|
|
},
|
|
|
goData () {
|
|
|
let that= this
|
|
|
let params = {
|
|
|
sex: that.sex,
|
|
|
age: that.age,
|
|
|
born: that.born,
|
|
|
star: that.star,
|
|
|
minzu: that.minzu,
|
|
|
height: that.height,
|
|
|
weight: that.wieght,
|
|
|
education: that.education,
|
|
|
school: that.school,
|
|
|
specialities: that.specialities,
|
|
|
old_city: that.old_city,
|
|
|
marriage: that.marriage,
|
|
|
work_address: that.work_address,
|
|
|
work: that.work,
|
|
|
year_money: that.year_money,
|
|
|
wechat: that.wechat
|
|
|
}
|
|
|
that.$axios.post('/api/Center/up_ziliao', params).then((res) => {
|
|
|
that.sex = res.data
|
|
|
console.log(that.sex)
|
|
|
this.$router.push('/data')
|
|
|
}).catch((err) => {
|
|
|
console.log(err)
|
|
|
})
|
|
|
|
|
|
},
|
|
|
goPhotoz () {
|
|
|
let that = this
|
|
|
let params = {
|
|
|
card_zheng_avatar: that.card_zheng_avatar,
|
|
|
card_fan_avatar: that.card_fan_avatar,
|
|
|
card_school_avatar: that.card_school_avatar,
|
|
|
card_marriage_avatar: that.card_marriage_avatar
|
|
|
}
|
|
|
that.$axios.post('/api/Center/user_card_up',params,{
|
|
|
headers: {
|
|
|
'token': 'e1a824615a889772dc554ab5a44e5f7c'
|
|
|
}
|
|
|
}).then((res) => {
|
|
|
that.card_zheng_avatar = res.data
|
|
|
this.$router.push('/photoz')
|
|
|
console.log(that.card_zheng_avatar)
|
|
|
}).catch((err) => {
|
|
|
console.log(err)
|
|
|
})
|
|
|
|
|
|
},
|
|
|
goCondition () {
|
|
|
this.$router.push('/condition')
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -94,7 +164,7 @@ export default { |
|
|
<style lang="scss" scoped>
|
|
|
.home{
|
|
|
width:100%;
|
|
|
height:180%;
|
|
|
height:185%;
|
|
|
background:#11A7FC;
|
|
|
padding-top:10%;
|
|
|
// padding-left:5%;
|
...
|
...
|
@@ -142,12 +212,13 @@ export default { |
|
|
background:rgba(255,255,255,0.3);
|
|
|
margin-left:5%;
|
|
|
border-radius:.2rem;
|
|
|
p{
|
|
|
padding:0.2rem 0rem;
|
|
|
span{
|
|
|
color:#fff;
|
|
|
font-size:.15rem;
|
|
|
line-height:.2rem;
|
|
|
margin:0px;
|
|
|
padding:0px;
|
|
|
line-height:.3rem;
|
|
|
margin-left:.1rem;
|
|
|
display:block;
|
|
|
|
|
|
}
|
|
|
}
|
...
|
...
|
|