|
@@ -2,7 +2,7 @@
|
|
* @Author: PoJun
|
|
* @Author: PoJun
|
|
* @Date: 2023-10-09 15:51:12
|
|
* @Date: 2023-10-09 15:51:12
|
|
* @LastEditors: XuanJi
|
|
* @LastEditors: XuanJi
|
|
- * @LastEditTime: 2024-05-21 01:54:24
|
|
|
|
|
|
+ * @LastEditTime: 2024-05-22 19:06:00
|
|
* @Message: 表单
|
|
* @Message: 表单
|
|
-->
|
|
-->
|
|
<template>
|
|
<template>
|
|
@@ -159,7 +159,7 @@
|
|
>
|
|
>
|
|
<view
|
|
<view
|
|
v-if="item.rv"
|
|
v-if="item.rv"
|
|
- :class="{ 'row-left': labelPosition == 'top', 'row-right': labelPosition == 'left' }"
|
|
|
|
|
|
+
|
|
>
|
|
>
|
|
<uv-qrcode :loading="false" ref="qrcodeDom" size="120px" :value="getQrcodeUrl(item)"></uv-qrcode>
|
|
<uv-qrcode :loading="false" ref="qrcodeDom" size="120px" :value="getQrcodeUrl(item)"></uv-qrcode>
|
|
</view>
|
|
</view>
|
|
@@ -183,7 +183,7 @@
|
|
:customStyle="item.customStyle"
|
|
:customStyle="item.customStyle"
|
|
:labelWidth="item.labelWidth ? item.labelWidth : 150"
|
|
:labelWidth="item.labelWidth ? item.labelWidth : 150"
|
|
>
|
|
>
|
|
- <view :class="{ 'row-left': labelPosition == 'top', 'row-right': labelPosition == 'left' }">
|
|
|
|
|
|
+ <view>
|
|
<uv-switch
|
|
<uv-switch
|
|
:disabled="!item.canEdit"
|
|
:disabled="!item.canEdit"
|
|
v-model="item.rv"
|
|
v-model="item.rv"
|
|
@@ -218,10 +218,10 @@
|
|
:leftIconStyle="leftIconStyle"
|
|
:leftIconStyle="leftIconStyle"
|
|
:customStyle="item.customStyle"
|
|
:customStyle="item.customStyle"
|
|
:labelWidth="item.labelWidth ? item.labelWidth : 150"
|
|
:labelWidth="item.labelWidth ? item.labelWidth : 150"
|
|
|
|
+ :class="{ 'row-left': labelPosition == 'top', 'row-right': labelPosition == 'left' }"
|
|
>
|
|
>
|
|
<view
|
|
<view
|
|
class="pj-upload"
|
|
class="pj-upload"
|
|
- :class="{ 'row-left': labelPosition == 'top', 'row-right': labelPosition == 'left' }"
|
|
|
|
>
|
|
>
|
|
<uv-upload
|
|
<uv-upload
|
|
:fileList="getFileList(item.sv)"
|
|
:fileList="getFileList(item.sv)"
|
|
@@ -687,9 +687,15 @@ export default {
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
.row-left {
|
|
.row-left {
|
|
- text-align: left;
|
|
|
|
|
|
+ /deep/ .uv-form-item__body__right__content__slot{
|
|
|
|
+
|
|
|
|
+ justify-content: flex-start;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
.row-right {
|
|
.row-right {
|
|
- text-align: right;
|
|
|
|
|
|
+ /deep/ .uv-form-item__body__right__content__slot{
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
+
|
|
|
|
+}
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|