|
@ -22,11 +22,12 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="info"> |
|
|
<view class="info"> |
|
|
|
|
|
<!-- todo: 实名认证 --> |
|
|
<view class="size-22 color-777"> |
|
|
<view class="size-22 color-777"> |
|
|
真实姓名:刘思恩 |
|
|
|
|
|
|
|
|
{{ `真实姓名:${form.name}` }} |
|
|
</view> |
|
|
</view> |
|
|
<view class="size-22 color-777"> |
|
|
<view class="size-22 color-777"> |
|
|
身份证号码:48234792837458923 |
|
|
|
|
|
|
|
|
{{ `身份证号码:${form.idCard}` }} |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
@ -44,9 +45,13 @@ |
|
|
<image class="img" src="@/static/images/ydd/end13.png" mode="widthFix"></image> |
|
|
<image class="img" src="@/static/images/ydd/end13.png" mode="widthFix"></image> |
|
|
<text class="size-30 color-000 fw700">履约保证金缴纳</text> |
|
|
<text class="size-30 color-000 fw700">履约保证金缴纳</text> |
|
|
</view> |
|
|
</view> |
|
|
<view class="size-22 color-ffb jiao"> |
|
|
|
|
|
|
|
|
<view class="size-22 color-ffb jiao" @click="jumpToBond"> |
|
|
去缴纳 |
|
|
去缴纳 |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<!-- todo --> |
|
|
|
|
|
<!-- <view class="size-22 highlight"> |
|
|
|
|
|
已完成 |
|
|
|
|
|
</view> --> |
|
|
</view> |
|
|
</view> |
|
|
<view class="info color-777 size-22"> |
|
|
<view class="info color-777 size-22"> |
|
|
请缴纳履约保证金,保证金注销时可申请退还 |
|
|
请缴纳履约保证金,保证金注销时可申请退还 |
|
@ -66,11 +71,11 @@ |
|
|
<image class="img" src="@/static/images/ydd/end1(4).png" mode="widthFix"></image> |
|
|
<image class="img" src="@/static/images/ydd/end1(4).png" mode="widthFix"></image> |
|
|
<text class="size-30 color-000 fw700">添加客服微信</text> |
|
|
<text class="size-30 color-000 fw700">添加客服微信</text> |
|
|
</view> |
|
|
</view> |
|
|
<view class="size-22 color-ffb jiao"> |
|
|
|
|
|
去缴纳 |
|
|
|
|
|
|
|
|
<view class="size-22 highlight"> |
|
|
|
|
|
请自行添加 |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="info color-777 size-22 flex-rowc"> |
|
|
|
|
|
|
|
|
<view class="info color-777 size-22 flex-rowl"> |
|
|
<text class="size-22 color-777">微信二维码</text> |
|
|
<text class="size-22 color-777">微信二维码</text> |
|
|
<image src="" mode="" style="width: 150rpx;height: 150rpx;"></image> |
|
|
<image src="" mode="" style="width: 150rpx;height: 150rpx;"></image> |
|
|
</view> |
|
|
</view> |
|
@ -89,20 +94,25 @@ |
|
|
<image class="img" src="@/static/images/ydd/end13.png" mode="widthFix"></image> |
|
|
<image class="img" src="@/static/images/ydd/end13.png" mode="widthFix"></image> |
|
|
<text class="size-30 color-000 fw700">服务工具准备</text> |
|
|
<text class="size-30 color-000 fw700">服务工具准备</text> |
|
|
</view> |
|
|
</view> |
|
|
<view class="size-22"> |
|
|
|
|
|
查看工具包 |
|
|
|
|
|
|
|
|
<!-- todo --> |
|
|
|
|
|
<view class="size-22 flex-rowr"> |
|
|
|
|
|
<text>查看工具包</text> |
|
|
|
|
|
<up-icon name="arrow-down" color="#7F7F7F" size="17rpx" style="margin-left: 5rpx;"></up-icon> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="info color-777 size-22"> |
|
|
<view class="info color-777 size-22"> |
|
|
<view class="flex-between"> |
|
|
<view class="flex-between"> |
|
|
<text class="size-22">所在地区:</text> |
|
|
<text class="size-22">所在地区:</text> |
|
|
<input type="text" placeholder="请选择" /> |
|
|
|
|
|
|
|
|
<view plain class="flex-rowr" @click="selectAddr"> |
|
|
|
|
|
<text>{{ form.area ? form.area : '请选择' }}</text> |
|
|
|
|
|
<up-icon style="margin-left: 22rpx;" name="arrow-down" color="#7F7F7F" size="21rpx"></up-icon> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="info color-777 size-22 mt20"> |
|
|
<view class="info color-777 size-22 mt20"> |
|
|
<view class="flex-between"> |
|
|
<view class="flex-between"> |
|
|
<text class="size-22">详细地址:</text> |
|
|
<text class="size-22">详细地址:</text> |
|
|
<input type="text" placeholder="请输入道路、小区、门牌号等" /> |
|
|
|
|
|
|
|
|
<input v-model="form.address" type="text" placeholder="请输入道路、小区、门牌号等" /> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
@ -119,69 +129,64 @@ |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
<image src="@/static/images/ydd/chat.png" mode="widthFix" class="chat"></image> |
|
|
|
|
|
|
|
|
<button plain class="chat" open-type="contact"> |
|
|
|
|
|
<image src="@/static/images/ydd/chat.png" mode="widthFix"></image> |
|
|
|
|
|
</button> |
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script setup> |
|
|
<script setup> |
|
|
import { |
|
|
|
|
|
reactive |
|
|
|
|
|
} from "vue"; |
|
|
|
|
|
|
|
|
import { reactive } from "vue"; |
|
|
|
|
|
import { onShow } from '@dcloudio/uni-app' |
|
|
|
|
|
|
|
|
import stepProgress from '../components/stepProgress.vue'; |
|
|
import stepProgress from '../components/stepProgress.vue'; |
|
|
|
|
|
|
|
|
|
|
|
const form = reactive({ |
|
|
|
|
|
name: null, |
|
|
|
|
|
idCard: null, |
|
|
|
|
|
area: null, |
|
|
|
|
|
latitude: null, |
|
|
|
|
|
longitude: null, |
|
|
|
|
|
address: null, |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
onShow(() => { |
|
|
|
|
|
// todo: delete test data |
|
|
|
|
|
|
|
|
|
|
|
form.name = '李*乐' |
|
|
|
|
|
form.idCard = '4211********5624' |
|
|
|
|
|
|
|
|
const state = reactive({ |
|
|
|
|
|
list: [{ |
|
|
|
|
|
type: "input", |
|
|
|
|
|
label: "姓名", |
|
|
|
|
|
key: "name", |
|
|
|
|
|
placeholder: "请输入您的真实姓名", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
type: "input", |
|
|
|
|
|
label: "身份证号", |
|
|
|
|
|
key: "idCard", |
|
|
|
|
|
placeholder: "请输入您的真实身份证号", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
type: "radio", |
|
|
|
|
|
label: "性别", |
|
|
|
|
|
key: "sex", |
|
|
|
|
|
options: [{ |
|
|
|
|
|
name: "男" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
name: "女" |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
type: "input", |
|
|
|
|
|
label: "年龄", |
|
|
|
|
|
key: "gender", |
|
|
|
|
|
placeholder: "请输入您的年龄", |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
type: "input", |
|
|
|
|
|
label: "养宠经验", |
|
|
|
|
|
key: "shij", |
|
|
|
|
|
placeholder: "请输入您的养宠年限", |
|
|
|
|
|
unit: "年" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
type: "select", |
|
|
|
|
|
label: "是否有专业执照", |
|
|
|
|
|
key: "shij", |
|
|
|
|
|
placeholder: "请选择", |
|
|
|
|
|
options: [{ |
|
|
|
|
|
name: "是" |
|
|
|
|
|
}, { |
|
|
|
|
|
name: "没有" |
|
|
|
|
|
}] |
|
|
|
|
|
}, |
|
|
|
|
|
] |
|
|
|
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
const jumpToBond = () => { |
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
|
url: "/otherPages/myOrdersManage/bond/index" |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const setAddress = (res) => { |
|
|
|
|
|
//经纬度信息 |
|
|
|
|
|
form.latitude = res.latitude |
|
|
|
|
|
form.longitude = res.longitude |
|
|
|
|
|
|
|
|
|
|
|
if (!res.address && res.name) { //用户直接选择城市的逻辑 |
|
|
|
|
|
return form.area = res.name |
|
|
|
|
|
} |
|
|
|
|
|
if (res.address || res.name) { |
|
|
|
|
|
return form.area = res.address + res.name |
|
|
|
|
|
} |
|
|
|
|
|
form.area = '' //用户啥都没选就点击勾选 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const selectAddr = () => { |
|
|
|
|
|
console.log('--selectAddr') |
|
|
|
|
|
uni.chooseLocation({ |
|
|
|
|
|
success: function(res) { |
|
|
|
|
|
setAddress(res) |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
const onClick = () => { |
|
|
const onClick = () => { |
|
|
// todo |
|
|
// todo |
|
|
} |
|
|
} |
|
@ -189,12 +194,18 @@ |
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
<style lang="scss" scoped> |
|
|
.chat { |
|
|
.chat { |
|
|
width: 96rpx; |
|
|
|
|
|
position: fixed; |
|
|
position: fixed; |
|
|
right: 20rpx; |
|
|
right: 20rpx; |
|
|
bottom: 400rpx; |
|
|
bottom: 400rpx; |
|
|
z-index: 9999; |
|
|
z-index: 9999; |
|
|
background-color: #fff; |
|
|
|
|
|
|
|
|
border: none; |
|
|
|
|
|
padding: 0; |
|
|
|
|
|
width: 97rpx; |
|
|
|
|
|
height: auto; |
|
|
|
|
|
|
|
|
|
|
|
image { |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.line { |
|
|
.line { |
|
@ -356,4 +367,8 @@ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.highlight { |
|
|
|
|
|
color: #FFBF60; |
|
|
|
|
|
} |
|
|
</style> |
|
|
</style> |