|
@@ -1,107 +1,108 @@
|
|
|
<template>
|
|
<template>
|
|
|
<view class="mone">
|
|
<view class="mone">
|
|
|
- <view class="topBox">
|
|
|
|
|
-
|
|
|
|
|
- <image :src="`${baseURL}/resource/user/user5/text3.png`" mode="scaleToFill" class="leftTipImg">
|
|
|
|
|
- </image>
|
|
|
|
|
- <view class="nameBox">
|
|
|
|
|
- <text class="username">{{cardInfo.name || '暂无'}}</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <image :src="cardInfo.avatar" mode="scaleToFill" class="avatar"></image>
|
|
|
|
|
- <view class="noBox">
|
|
|
|
|
- <text class="noText">执</text>
|
|
|
|
|
- <text class="noText">业</text>
|
|
|
|
|
- <text class="noText">编</text>
|
|
|
|
|
- <text class="noText">编</text>
|
|
|
|
|
- <text class="noText">:</text>
|
|
|
|
|
- <text class="noText trText" v-for="ls in no">{{ls}}</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <image :src="`${baseURL}/resource/user/user5/img1.png`" mode="scaleToFill" class="topBottomImg"></image>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="contentBox">
|
|
|
|
|
- <view class="titleImg">
|
|
|
|
|
- <image class="titleImg1" :src="`${baseURL}/resource/user/user5/text4.png`" mode="scaleToFill"></image>
|
|
|
|
|
|
|
+ <template v-if="baseURL">
|
|
|
|
|
+ <view class="topBox">
|
|
|
|
|
+ <image :src="`${baseURL}/resource/user/user5/text3.png`" mode="scaleToFill" class="leftTipImg">
|
|
|
|
|
+ </image>
|
|
|
|
|
+ <view class="nameBox">
|
|
|
|
|
+ <text class="username">{{cardInfo.name || '暂无'}}</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <image :src="cardInfo.avatar" mode="scaleToFill" class="avatar"></image>
|
|
|
|
|
+ <view class="noBox">
|
|
|
|
|
+ <text class="noText">执</text>
|
|
|
|
|
+ <text class="noText">业</text>
|
|
|
|
|
+ <text class="noText">编</text>
|
|
|
|
|
+ <text class="noText">编</text>
|
|
|
|
|
+ <text class="noText">:</text>
|
|
|
|
|
+ <text class="noText trText" v-for="ls in no">{{ls}}</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <image :src="`${baseURL}/resource/user/user5/img1.png`" mode="scaleToFill" class="topBottomImg"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="content">
|
|
|
|
|
- <view class="userName">
|
|
|
|
|
- <text class="list-item">姓名: {{cardInfo.name||'暂无'}}</text>
|
|
|
|
|
|
|
+ <view class="contentBox">
|
|
|
|
|
+ <view class="titleImg">
|
|
|
|
|
+ <image class="titleImg1" :src="`${baseURL}/resource/user/user5/text4.png`" mode="scaleToFill"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="center-data flex">
|
|
|
|
|
- <view class="item">
|
|
|
|
|
- <text class="list-item">
|
|
|
|
|
- 籍贯: {{cardInfo.ancestral_place|| '暂无'}}
|
|
|
|
|
- </text>
|
|
|
|
|
- <text class="list-item">
|
|
|
|
|
- 民族: {{cardInfo.minority || '暂无'}}
|
|
|
|
|
- </text>
|
|
|
|
|
- <text class="list-item">
|
|
|
|
|
- 学历: {{cardInfo.education || '暂无'}}
|
|
|
|
|
- </text>
|
|
|
|
|
- <text class="list-item">
|
|
|
|
|
- 年龄: {{cardInfo.age || '暂无'}}
|
|
|
|
|
- </text>
|
|
|
|
|
- <text class="list-item">
|
|
|
|
|
- 星座: {{cardInfo.constellation || '暂无'}}
|
|
|
|
|
- </text>
|
|
|
|
|
|
|
+ <view class="content">
|
|
|
|
|
+ <view class="userName">
|
|
|
|
|
+ <text class="list-item">姓名: {{cardInfo.name||'暂无'}}</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="item">
|
|
|
|
|
- <text class="list-item">
|
|
|
|
|
- 身高:{{cardInfo.height*1+'厘米'|| '暂无'}}
|
|
|
|
|
- </text>
|
|
|
|
|
- <text class="list-item">
|
|
|
|
|
- 体重:{{cardInfo.weight*1+'kg' || '暂无'}}
|
|
|
|
|
- </text>
|
|
|
|
|
- <text class="list-item">
|
|
|
|
|
- 属相: {{cardInfo.twelve || '暂无'}}
|
|
|
|
|
- </text>
|
|
|
|
|
- <text class="list-item">
|
|
|
|
|
- 服务年限: {{(cardInfo.work_year + '年') || '0'}}
|
|
|
|
|
|
|
+ <view class="center-data flex">
|
|
|
|
|
+ <view class="item">
|
|
|
|
|
+ <text class="list-item">
|
|
|
|
|
+ 籍贯: {{cardInfo.ancestral_place|| '暂无'}}
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <text class="list-item">
|
|
|
|
|
+ 民族: {{cardInfo.minority || '暂无'}}
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <text class="list-item">
|
|
|
|
|
+ 学历: {{cardInfo.education || '暂无'}}
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <text class="list-item">
|
|
|
|
|
+ 年龄: {{cardInfo.age || '暂无'}}
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <text class="list-item">
|
|
|
|
|
+ 星座: {{cardInfo.constellation || '暂无'}}
|
|
|
|
|
+ </text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="item">
|
|
|
|
|
+ <text class="list-item">
|
|
|
|
|
+ 身高:{{cardInfo.height*1+'厘米'|| '暂无'}}
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <text class="list-item">
|
|
|
|
|
+ 体重:{{cardInfo.weight*1+'kg' || '暂无'}}
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <text class="list-item">
|
|
|
|
|
+ 属相: {{cardInfo.twelve || '暂无'}}
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <text class="list-item">
|
|
|
|
|
+ 服务年限: {{(cardInfo.work_year + '年') || '0'}}
|
|
|
|
|
+ </text>
|
|
|
|
|
+ <text class="list-item">
|
|
|
|
|
+ 服务次数: {{cardInfo.service_count || '0'}}
|
|
|
|
|
+ </text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="position-relative">
|
|
|
|
|
+ <view class="typeTitleImg flex-center">
|
|
|
|
|
+ <image :src="`${baseURL}/resource/user/user5/text1.png`" mode="scaleToFill" class="typeImage">
|
|
|
|
|
+ </image>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="flex-center padding-v-20 padding-c-20">
|
|
|
|
|
+ <view class="areaList" v-if="cardInfo.is_china == 1">
|
|
|
|
|
+ <text class="blue-text" :key='fwindex' v-for="(fwitem,fwindex) in cardInfo.service_area_all">
|
|
|
|
|
+ {{fwitem}}{{fwindex ==(cardInfo.service_area_all.length -1) ?'': '' }}
|
|
|
|
|
+ </text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <text class="blue-text" v-if="cardInfo.is_china == 0">
|
|
|
|
|
+ 海外
|
|
|
</text>
|
|
</text>
|
|
|
- <text class="list-item">
|
|
|
|
|
- 服务次数: {{cardInfo.service_count || '0'}}
|
|
|
|
|
|
|
+ <text class="blue-text" v-if="cardInfo.is_china == 2">
|
|
|
|
|
+ 全国
|
|
|
</text>
|
|
</text>
|
|
|
</view>
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="position-relative">
|
|
|
|
|
- <view class="typeTitleImg flex-center">
|
|
|
|
|
- <image :src="`${baseURL}/resource/user/user5/text1.png`" mode="scaleToFill" class="typeImage">
|
|
|
|
|
- </image>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="flex-center padding-v-20 padding-c-20">
|
|
|
|
|
- <view class="areaList" v-if="cardInfo.is_china == 1">
|
|
|
|
|
- <text class="blue-text" :key='fwindex' v-for="(fwitem,fwindex) in cardInfo.service_area_all">
|
|
|
|
|
- {{fwitem}}{{fwindex ==(cardInfo.service_area_all.length -1) ?'': '' }}
|
|
|
|
|
|
|
+ <view class="typeTitleImg flex-center">
|
|
|
|
|
+ <image :src="`${baseURL}/resource/user/user5/text2.png`" mode="scaleToFill" class="typeImage">
|
|
|
|
|
+ </image>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="flex-center padding-v-20 padding-c-20">
|
|
|
|
|
+ <text class="blue-text">
|
|
|
|
|
+ {{cardInfo.service_min_price}}元/{{ cardInfo.service_time_type_title && cardInfo.service_time_type_title.replace('每','')}}——{{cardInfo.service_max_price}}元/{{cardInfo.service_time_type_title && cardInfo.service_time_type_title.replace('每','')}}
|
|
|
</text>
|
|
</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <text class="blue-text" v-if="cardInfo.is_china == 0">
|
|
|
|
|
- 海外
|
|
|
|
|
- </text>
|
|
|
|
|
- <text class="blue-text" v-if="cardInfo.is_china == 2">
|
|
|
|
|
- 全国
|
|
|
|
|
- </text>
|
|
|
|
|
|
|
+ <image :src="`${baseURL}/resource/user/user5/img2.png`" mode="scaleToFill" class="typeLeftLogo"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="typeTitleImg flex-center">
|
|
|
|
|
- <image :src="`${baseURL}/resource/user/user5/text2.png`" mode="scaleToFill" class="typeImage">
|
|
|
|
|
- </image>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="flex-center padding-v-20 padding-c-20">
|
|
|
|
|
- <text class="blue-text">
|
|
|
|
|
- {{cardInfo.service_min_price}}元/{{ cardInfo.service_time_type_title && cardInfo.service_time_type_title.replace('每','')}}——{{cardInfo.service_max_price}}元/{{cardInfo.service_time_type_title && cardInfo.service_time_type_title.replace('每','')}}
|
|
|
|
|
- </text>
|
|
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="footerBox">
|
|
|
|
|
+ <image :src="`${baseURL}/resource/user/user5/text5.png`" mode="scaleToFill" class="footerTitle"></image>
|
|
|
|
|
+ <view class="text margin-t-20">
|
|
|
|
|
+ <rich-text class="richtext" :nodes="cardInfo.service_intro_content"></rich-text>
|
|
|
</view>
|
|
</view>
|
|
|
- <image :src="`${baseURL}/resource/user/user5/img2.png`" mode="scaleToFill" class="typeLeftLogo"></image>
|
|
|
|
|
</view>
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
- <view class="footerBox">
|
|
|
|
|
- <image :src="`${baseURL}/resource/user/user5/text5.png`" mode="scaleToFill" class="footerTitle"></image>
|
|
|
|
|
- <view class="text margin-t-20">
|
|
|
|
|
- <rich-text class="richtext" :nodes="cardInfo.service_intro_content"></rich-text>
|
|
|
|
|
|
|
+ <view class="imageList">
|
|
|
|
|
+ <image v-for="ls in cardInfo.service_intro_imgs" :src="ls" mode="scaleToFill" class="imageItem"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
- <view class="imageList">
|
|
|
|
|
- <image v-for="ls in cardInfo.service_intro_imgs" :src="ls" mode="scaleToFill" class="imageItem"></image>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ </template>
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -204,7 +205,7 @@
|
|
|
},
|
|
},
|
|
|
no() {
|
|
no() {
|
|
|
const ar = this.cardInfo.no.split('');
|
|
const ar = this.cardInfo.no.split('');
|
|
|
- console.log(ar, 'ar')
|
|
|
|
|
|
|
+ // console.log(ar, 'ar')
|
|
|
if (ar.length > 0) {
|
|
if (ar.length > 0) {
|
|
|
return ar
|
|
return ar
|
|
|
} else {
|
|
} else {
|