mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 14:31:04 +00:00
improve: 自定义表单调整
This commit is contained in:
parent
85dc465ff1
commit
009459355e
@ -126,15 +126,15 @@
|
||||
</view>
|
||||
<!-- text -->
|
||||
<view v-if="item.label=='text'" class="confirm">
|
||||
<input type="text" :placeholder="$t(`请填写`)+' '+item.title" v-model="item.value" />
|
||||
<input type="text" :placeholder="$t(`请填写${item.title}`)" v-model="item.value" />
|
||||
</view>
|
||||
<!-- number -->
|
||||
<view v-if="item.label=='number'" class="confirm">
|
||||
<input type="number" :placeholder="$t(`请填写`)+item.title" v-model="item.value" />
|
||||
<input type="number" :placeholder="$t(`请填写${item.title}`)" v-model="item.value" />
|
||||
</view>
|
||||
<!-- email -->
|
||||
<view v-if="item.label=='email'" class="confirm">
|
||||
<input type="text" :placeholder="$t(`请填写`)+item.title" v-model="item.value" />
|
||||
<input type="text" :placeholder="$t(`请填写${item.title}`)" v-model="item.value" />
|
||||
</view>
|
||||
<!-- data -->
|
||||
<view v-if="item.label=='data'" class="uni-list">
|
||||
|
||||
@ -243,12 +243,12 @@
|
||||
<view class='wrapper' v-if="customForm && customForm.length">
|
||||
<view class='item acea-row row-between' v-for="(item,index) in customForm" :key="index">
|
||||
<view class='upload' v-if="item.label == 'img'">
|
||||
<view>{{item.title}}:</view>
|
||||
<view class="diy-from-title">{{item.title}}:</view>
|
||||
<view class='pictrue' v-for="(img,index) in item.value" :key="index">
|
||||
<image :src='img'></image>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="item.label !== 'img'">{{item.title}}:</view>
|
||||
<view v-if="item.label !== 'img'" class="diy-from-title">{{item.title}}:</view>
|
||||
<view v-if="item.label !== 'img'" class='conter'>{{item.value}}</view>
|
||||
</view>
|
||||
<view class="copy-text" @click="copyText()">{{$t(`复制`)}}</view>
|
||||
@ -269,7 +269,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="orderInfo.status!=0">
|
||||
<view class='wrapper' v-if='orderInfo.delivery_type=="express"'>
|
||||
<view class='`' v-if='orderInfo.delivery_type=="express"'>
|
||||
<view class='item acea-row row-between'>
|
||||
<view>{{$t(`配送方式`)}}:</view>
|
||||
<view class='conter'>{{$t(`发货`)}}</view>
|
||||
@ -1944,12 +1944,18 @@
|
||||
color: #868686;
|
||||
// width: 380rpx;
|
||||
text-align: justify;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.order-details .wrapper .item .conter .upload {
|
||||
padding-bottom: 36rpx;
|
||||
}
|
||||
|
||||
.order-details .wrapper .diy-from-title {
|
||||
white-space: nowrap;
|
||||
width: 5em;
|
||||
}
|
||||
|
||||
.order-details .wrapper .item .conter .upload .pictrue {
|
||||
margin: 22rpx 23rpx 0 0;
|
||||
width: 156rpx;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user