|
|
|
@ -188,27 +188,27 @@
|
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="order-item row"> |
|
|
|
|
<view class="item-title" style="padding-bottom:30rpx;"> |
|
|
|
|
宝贝背景图 |
|
|
|
|
</view> |
|
|
|
|
<view class="item-content row"> |
|
|
|
|
<view class="item-content-text row"> |
|
|
|
|
<u-upload |
|
|
|
|
width="160" |
|
|
|
|
height="160" |
|
|
|
|
:fileList="backgroundList" |
|
|
|
|
name="img" |
|
|
|
|
multiple |
|
|
|
|
:maxCount="1" |
|
|
|
|
:previewFullImage="true" |
|
|
|
|
uploadIcon="plus" |
|
|
|
|
@afterRead="afterBackgroundRead" |
|
|
|
|
@delete="deleteBackground" |
|
|
|
|
></u-upload> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<!-- <view class="order-item row">--> |
|
|
|
|
<!-- <view class="item-title" style="padding-bottom:30rpx;">--> |
|
|
|
|
<!-- 宝贝背景图--> |
|
|
|
|
<!-- </view>--> |
|
|
|
|
<!-- <view class="item-content row">--> |
|
|
|
|
<!-- <view class="item-content-text row">--> |
|
|
|
|
<!-- <u-upload--> |
|
|
|
|
<!-- width="160"--> |
|
|
|
|
<!-- height="160"--> |
|
|
|
|
<!-- :fileList="backgroundList"--> |
|
|
|
|
<!-- name="img"--> |
|
|
|
|
<!-- multiple--> |
|
|
|
|
<!-- :maxCount="1"--> |
|
|
|
|
<!-- :previewFullImage="true"--> |
|
|
|
|
<!-- uploadIcon="plus"--> |
|
|
|
|
<!-- @afterRead="afterBackgroundRead"--> |
|
|
|
|
<!-- @delete="deleteBackground"--> |
|
|
|
|
<!-- ></u-upload>--> |
|
|
|
|
<!-- </view>--> |
|
|
|
|
<!-- </view>--> |
|
|
|
|
<!-- </view>--> |
|
|
|
|
|
|
|
|
|
<view class="order-item row"> |
|
|
|
|
<view class="item-title" style="padding-bottom:30rpx;"> |
|
|
|
@ -444,50 +444,52 @@
|
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="pop-service-container" style="min-height:500rpx;"> |
|
|
|
|
<u-cell-group custom-style="max-height:700rpx;overflow:auto;" v-if="petList.length>0"> |
|
|
|
|
<u-cell |
|
|
|
|
size="large" |
|
|
|
|
:title="item.name" |
|
|
|
|
:label="item.type_name" |
|
|
|
|
isLink |
|
|
|
|
right-icon="" |
|
|
|
|
v-for="(item,index) in petList" |
|
|
|
|
@click="selectPet(index)" |
|
|
|
|
> |
|
|
|
|
<template #value> |
|
|
|
|
<view class=""> |
|
|
|
|
<view class="" style="display:flex;align-items: center"> |
|
|
|
|
<view class=""> |
|
|
|
|
<u-text :text="parseFloat(item.weight)+'KG'" size="32" style="white-space: nowrap;" line-height="32"></u-text> |
|
|
|
|
</view> |
|
|
|
|
<view class=""> |
|
|
|
|
<u-checkbox-group @change="petCheckChange"> |
|
|
|
|
<u-checkbox |
|
|
|
|
:name="index" |
|
|
|
|
:customStyle="{marginBottom: '0',marginTop: '0',marginLeft:'15rpx'}" |
|
|
|
|
size="32" |
|
|
|
|
:checked="item.checked" |
|
|
|
|
activeColor="#4DC3B8" |
|
|
|
|
iconSize="30" |
|
|
|
|
> |
|
|
|
|
</u-checkbox> |
|
|
|
|
</u-checkbox-group> |
|
|
|
|
<view class="pop-service-container" style="min-height:500rpx;position:relative;"> |
|
|
|
|
<view class="" style="width:100%;padding-bottom:114rpx;"> |
|
|
|
|
<u-cell-group custom-style="max-height:700rpx;overflow:auto;" v-if="petList.length>0"> |
|
|
|
|
<u-cell |
|
|
|
|
size="large" |
|
|
|
|
:title="item.name" |
|
|
|
|
:label="item.type_name" |
|
|
|
|
isLink |
|
|
|
|
right-icon="" |
|
|
|
|
v-for="(item,index) in petList" |
|
|
|
|
@click="selectPet(index)" |
|
|
|
|
> |
|
|
|
|
<template #value> |
|
|
|
|
<view class=""> |
|
|
|
|
<view class="" style="display:flex;align-items: center"> |
|
|
|
|
<view class=""> |
|
|
|
|
<u-text :text="parseFloat(item.weight)+'KG'" size="32" style="white-space: nowrap;" line-height="32"></u-text> |
|
|
|
|
</view> |
|
|
|
|
<view class=""> |
|
|
|
|
<u-checkbox-group @change="petCheckChange"> |
|
|
|
|
<u-checkbox |
|
|
|
|
:name="index" |
|
|
|
|
:customStyle="{marginBottom: '0',marginTop: '0',marginLeft:'15rpx'}" |
|
|
|
|
size="32" |
|
|
|
|
:checked="item.checked" |
|
|
|
|
activeColor="#4DC3B8" |
|
|
|
|
iconSize="30" |
|
|
|
|
> |
|
|
|
|
</u-checkbox> |
|
|
|
|
</u-checkbox-group> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</template> |
|
|
|
|
</u-cell> |
|
|
|
|
</u-cell-group> |
|
|
|
|
<u-cell-group custom-style="max-height:700rpx;overflow:auto;" v-else> |
|
|
|
|
<u-cell |
|
|
|
|
size="large" |
|
|
|
|
title="暂无宠物" |
|
|
|
|
> |
|
|
|
|
</u-cell> |
|
|
|
|
</u-cell-group> |
|
|
|
|
<view class="row" style="padding-top:30rpx;" v-if="petList.length>0"> |
|
|
|
|
<view class="col-6" style="padding:0 30rpx;"> |
|
|
|
|
</template> |
|
|
|
|
</u-cell> |
|
|
|
|
</u-cell-group> |
|
|
|
|
<u-cell-group custom-style="max-height:700rpx;overflow:auto;" v-else> |
|
|
|
|
<u-cell |
|
|
|
|
size="large" |
|
|
|
|
title="暂无宠物" |
|
|
|
|
> |
|
|
|
|
</u-cell> |
|
|
|
|
</u-cell-group> |
|
|
|
|
</view> |
|
|
|
|
<view class="row" style="position:absolute;bottom:0;width:100%;padding-top:30rpx;" v-if="petList.length>0"> |
|
|
|
|
<view class="col-6" style="padding:0 30rpx;'"> |
|
|
|
|
<MzButton title="取消" @click="$refs.petPopup.close()"></MzButton> |
|
|
|
|
</view> |
|
|
|
|
<view class="col-6" style="padding:0 30rpx;"> |
|
|
|
|