Commit 3cf64c81 authored by Facius's avatar Facius

feat: 地址可修改

parent 41863160
Pipeline #3264 canceled with stages
......@@ -79,7 +79,7 @@
:board="posterSave"
isCanvasToTempFilePath
@success="handleCanvasSuccessSave"
custom-style="position: fixed; left: 250%"
custom-style="position: fixed; left: 200%"
/>
<l-painter
:board="posterShare"
......
<template>
<view style="position: fixed; left: 200%">
<view style="position: fixed; right: 200%">
<l-painter
isCanvasToTempFilePath
@success="complete"
custom-style="position: fixed; left: 200%"
custom-style="position: fixed; right: 200%"
>
<l-painter-qrcode :text="url" :css="style" />
</l-painter>
......
......@@ -82,9 +82,23 @@
<view class="line-view"></view>
<view class="item-view address-item-view">
<view class="lable-view address-label-view">维修地址</view>
<view class="address-value-view" hover-class="u-hover-class" @click="$u.throttle(chooseLocation, 500)">
<view :class="['address-view', { adress: form.address }]">{{ form.address || '选择地址' }}</view>
<view class="location-icon-view"><image :src="locationImage"></image></view>
<view class="address-value-view">
<!-- <view :class="['address-view', { adress: form.address }]">{{ form.address || '选择地址' }}</view> -->
<view class="address-view">
<u-input
type="textarea"
auto-height
:height="70"
:clearable="false"
:custom-style="customStyle"
:placeholder-style="placeholderStyle"
v-model="form.address"
placeholder="选择地址"
/>
</view>
<view class="location-view" hover-class="u-hover-class" @click="$u.throttle(chooseLocation, 500)">
<view class="location-icon-view"><image :src="locationImage"></image></view>
</view>
</view>
</view>
<view class="line-view"></view>
......@@ -542,6 +556,13 @@ export default {
.address-label-view {
flex-shrink: 0;
}
.location-view {
width: 44rpx;
height: 70rpx;
display: flex;
justify-content: flex-end;
align-items: flex-start;
}
.location-icon-view {
width: 28rpx;
height: 32rpx;
......@@ -556,11 +577,16 @@ export default {
margin-left: 32rpx;
text-align: right;
font-weight: bold;
flex: 1;
.address-view {
color: #cccccc;
&.adress {
color: #333333;
flex: 1;
/deep/.u-input__textarea {
padding: 2rpx 0 !important;
}
// color: #cccccc;
// &.adress {
// color: #333333;
// }
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment