update
This commit is contained in:
parent
a67f082939
commit
d6a4902c44
@ -566,7 +566,7 @@
|
|||||||
// 小程序分享
|
// 小程序分享
|
||||||
self.title = `我是"${data.user.nickname}",这是我的小程序卡片`
|
self.title = `我是"${data.user.nickname}",这是我的小程序卡片`
|
||||||
console.log(self.title, 'title===')
|
console.log(self.title, 'title===')
|
||||||
if (data.user.photo || data.user.avatar) {
|
if (data.user.photo) {
|
||||||
let year = '', city = '', degree = '', industry_sub = ''
|
let year = '', city = '', degree = '', industry_sub = ''
|
||||||
if (data.birthday) {
|
if (data.birthday) {
|
||||||
year = data.birthday.slice(2, 4) + '年'
|
year = data.birthday.slice(2, 4) + '年'
|
||||||
@ -583,8 +583,10 @@
|
|||||||
console.log(year, city, degree, industry_sub)
|
console.log(year, city, degree, industry_sub)
|
||||||
self.shareConfig1.texts[0].text = `${year} | ${city}`
|
self.shareConfig1.texts[0].text = `${year} | ${city}`
|
||||||
self.shareConfig1.texts[1].text = `${degree} | ${industry_sub}`
|
self.shareConfig1.texts[1].text = `${degree} | ${industry_sub}`
|
||||||
self.shareConfig1.images[0].url = data.user.photo || data.user.avatar
|
self.shareConfig1.images[0].url = data.user.photo
|
||||||
|
console.log(self.shareConfig1.images, 'self.shareConfig1.images')
|
||||||
self.posterConfig1 = self.shareConfig1
|
self.posterConfig1 = self.shareConfig1
|
||||||
|
|
||||||
self.$nextTick(() => {
|
self.$nextTick(() => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
console.log(self.posterConfig1, 'posterConfig1=')
|
console.log(self.posterConfig1, 'posterConfig1=')
|
||||||
@ -593,7 +595,7 @@
|
|||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
// 重新获取分享码
|
// 重新获取分享码
|
||||||
self.$showToast('分享图片获取失败')
|
// self.$showToast('分享图片获取失败')
|
||||||
}
|
}
|
||||||
console.log(self.posterConfig1, '7777')
|
console.log(self.posterConfig1, '7777')
|
||||||
this.init = true
|
this.init = true
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
<view class="inline-block initStyle font_20" v-if="item.hidden_profile !== 'NONE'">资料已关闭</view>
|
<view class="inline-block initStyle font_20" v-if="item.hidden_profile !== 'NONE'">资料已关闭</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="font_28 flo_l color-333 ellipsis_1 _text">{{item.birthday}}年 {{item.profile.city || ''}}</view>
|
<view class="font_28 flo_l color-333 ellipsis_1 _text">{{item.year}} {{item.city || ''}}</view>
|
||||||
<block v-if="type == 'friend'">
|
<block v-if="type == 'friend'">
|
||||||
<view class="d_btn font_28 " @tap.stap="gotoNew(item)" >发消息</view>
|
<view class="d_btn font_28 " @tap.stap="gotoNew(item)" >发消息</view>
|
||||||
</block>
|
</block>
|
||||||
|
|||||||
@ -101,7 +101,7 @@
|
|||||||
<view class="currentWordNumber font_24">{{value.length}}/800</view>
|
<view class="currentWordNumber font_24">{{value.length}}/800</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="m_con" v-else-if="text=='兴趣爱好'">
|
<view class="m_con" v-else-if="text=='兴趣标签'">
|
||||||
<view class="u_con_tt font_28 color-999 bold">兴趣爱好的标签</view>
|
<view class="u_con_tt font_28 color-999 bold">兴趣爱好的标签</view>
|
||||||
<view class="f-fc ui-wrap ui-hobbies-big-box">
|
<view class="f-fc ui-wrap ui-hobbies-big-box">
|
||||||
<view :class="{'hobbies-box-select': item.show}" class="hobbies-box" v-for="(item,index) in hobbiesList" :key="index" @tap="changeSelect(item,index,'0')">
|
<view :class="{'hobbies-box-select': item.show}" class="hobbies-box" v-for="(item,index) in hobbiesList" :key="index" @tap="changeSelect(item,index,'0')">
|
||||||
@ -379,12 +379,16 @@ import base from '../../mixins/base'
|
|||||||
for (let i = +statureArr[0] + 1; i < 201; i++) {
|
for (let i = +statureArr[0] + 1; i < 201; i++) {
|
||||||
staturePickerArr.push(i)
|
staturePickerArr.push(i)
|
||||||
}
|
}
|
||||||
this.heightArray[1] = staturePickerArr
|
this.heightArray = [this.heightArray[0], staturePickerArr]
|
||||||
this.heightArray[1].forEach((item, index) => {
|
this.heightArray[1].forEach((item, index) => {
|
||||||
|
console.log(item, statureArr)
|
||||||
if (item == statureArr[1].replace('cm', '')) {
|
if (item == statureArr[1].replace('cm', '')) {
|
||||||
|
console.log('----9988')
|
||||||
|
console.log(index, 'index===')
|
||||||
this.heightIndex = [this.heightIndex[0], index]
|
this.heightIndex = [this.heightIndex[0], index]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
console.log(this.heightIndex, 'heightIndex=')
|
||||||
this.regionArray.forEach((item, index) => {
|
this.regionArray.forEach((item, index) => {
|
||||||
if (item == data.mate_conditon.location) {
|
if (item == data.mate_conditon.location) {
|
||||||
this.regionIndex = index
|
this.regionIndex = index
|
||||||
@ -464,7 +468,7 @@ import base from '../../mixins/base'
|
|||||||
let data = {}
|
let data = {}
|
||||||
if (that.text == '自我描述') {
|
if (that.text == '自我描述') {
|
||||||
data.introduction = that.value
|
data.introduction = that.value
|
||||||
} else if (that.text == '兴趣爱好') {
|
} else if (that.text == '兴趣标签') {
|
||||||
let defaultHob = that.hobbiesList.filter(item => {
|
let defaultHob = that.hobbiesList.filter(item => {
|
||||||
return item.show
|
return item.show
|
||||||
}).map(item => { return item.title })
|
}).map(item => { return item.title })
|
||||||
@ -473,6 +477,8 @@ import base from '../../mixins/base'
|
|||||||
}).map(item => { return item.title })
|
}).map(item => { return item.title })
|
||||||
console.log(defaultHob, customHob, '----999-----')
|
console.log(defaultHob, customHob, '----999-----')
|
||||||
data.interest_label = [...defaultHob, ...customHob]
|
data.interest_label = [...defaultHob, ...customHob]
|
||||||
|
} else if (that.text == '兴趣爱好') {
|
||||||
|
data.interest_hobby = that.value
|
||||||
} else if (that.text == '期望对方') {
|
} else if (that.text == '期望对方') {
|
||||||
data.ideal_mate = that.value
|
data.ideal_mate = that.value
|
||||||
if (this.ageIndex.length != 0) {
|
if (this.ageIndex.length != 0) {
|
||||||
|
|||||||
@ -850,11 +850,11 @@
|
|||||||
<view class="mainTitle">
|
<view class="mainTitle">
|
||||||
<view class="_title font_32 bold flo_l">
|
<view class="_title font_32 bold flo_l">
|
||||||
<image src="https://images.ufutx.com/202012/25/7645858a1ae55dd7c3ef90ec7a42bfa3.png" mode="aspectFit" class="circle_icon"></image>
|
<image src="https://images.ufutx.com/202012/25/7645858a1ae55dd7c3ef90ec7a42bfa3.png" mode="aspectFit" class="circle_icon"></image>
|
||||||
兴趣爱好
|
兴趣标签
|
||||||
</view>
|
</view>
|
||||||
<image src="https://images.ufutx.com/202004/13/c9505127b21e909aae5a609987f5ac66.png" class="icon flo_r" mode="widthFix" @tap="showModal('interest_hobby','兴趣爱好','日常生活你有什么爱好?可以写一下')"/>
|
<image src="https://images.ufutx.com/202004/13/c9505127b21e909aae5a609987f5ac66.png" class="icon flo_r" mode="widthFix" @tap="showModal('interest_label','兴趣标签','日常生活你有什么爱好?可以写一下')"/>
|
||||||
</view>
|
</view>
|
||||||
<view class="mainPhoto" @tap="showModal('interest_hobby','兴趣爱好','日常生活你有什么爱好?可以写一下')">
|
<view class="mainPhoto" @tap="showModal('interest_label','兴趣标签','日常生活你有什么爱好?可以写一下')">
|
||||||
<view class="f-fc ui-wrap ui-hobbies-big-box" v-if="mylibs.interest_label">
|
<view class="f-fc ui-wrap ui-hobbies-big-box" v-if="mylibs.interest_label">
|
||||||
<view class="hobbies-box " v-for="(item,index) in mylibs.interest_label" :key="index">
|
<view class="hobbies-box " v-for="(item,index) in mylibs.interest_label" :key="index">
|
||||||
{{item}}
|
{{item}}
|
||||||
@ -865,6 +865,23 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="container">
|
||||||
|
<view class="mainInfo">
|
||||||
|
<view class="mainTitle">
|
||||||
|
<view class="_title font_32 bold flo_l">
|
||||||
|
<image src="https://images.ufutx.com/202012/25/7645858a1ae55dd7c3ef90ec7a42bfa3.png" mode="aspectFit" class="circle_icon"></image>
|
||||||
|
兴趣爱好
|
||||||
|
</view>
|
||||||
|
<image src="https://images.ufutx.com/202004/13/c9505127b21e909aae5a609987f5ac66.png" class="icon flo_r" mode="widthFix" @tap="showModal('interest_hobby','兴趣爱好','日常生活你有什么爱好?可以写一下')"/>
|
||||||
|
</view>
|
||||||
|
<view class="mainPhoto" @tap="showModal('interest_hobby','兴趣爱好','日常生活你有什么爱好?可以写一下')">
|
||||||
|
<view class="f-fc ui-wrap ui-hobbies-big-box" v-if="mylibs.interest_hobby">
|
||||||
|
{{mylibs.interest_hobby}}
|
||||||
|
</view>
|
||||||
|
<view v-else class="color-bbb">日常生活你有什么爱好?可以写一下</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
<view class="container animation-slide-bottom">
|
<view class="container animation-slide-bottom">
|
||||||
<view class="mainInfo">
|
<view class="mainInfo">
|
||||||
<view class="mainTitle">
|
<view class="mainTitle">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user