From 01e7ef087db7d15cb04b823672a9e937384c85c2 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 05 Jul 2024 11:13:40 +0800
Subject: [PATCH] 无诈代码优化
---
src/components/cardPopup/cardPopuponce.vue | 71 +++++++++++++++++++++++++++--------
1 files changed, 54 insertions(+), 17 deletions(-)
diff --git a/src/components/cardPopup/cardPopuponce.vue b/src/components/cardPopup/cardPopuponce.vue
index fc26e80..f0e8dee 100644
--- a/src/components/cardPopup/cardPopuponce.vue
+++ b/src/components/cardPopup/cardPopuponce.vue
@@ -199,6 +199,43 @@
searchLabelWidth: 96,
align: 'center'
},
+ {
+ labelWidth: 110,
+ disabled: true,
+ prop: "addressName",
+ // slot: true,
+ label: "场所标准地址",
+ rules: [{
+ required: true,
+ message: "请选择场所标准地址",
+ trigger: "blur",
+ }, ],
+ },
+ {
+ disabled: true,
+ labelWidth: 110,
+ label: '二维码图片',
+ type: 'upload',
+ listType: 'picture-img',
+ propsHttp: {
+ res: 'data',
+ url: 'link',
+ },
+ canvasOption: {
+ text: ' ',
+ ratio: 0.1
+ },
+ // action: '/api/blade-resource/oss/endpoint/put-file',
+ // tip: '只能上传jpg/png图片',
+ span: 12,
+ row: true,
+ prop: 'qrImg',
+ rules: [{
+ required: true,
+ message: "请上传二维码图片",
+ trigger: "blur",
+ }, ],
+ },
]
},
};
@@ -298,24 +335,24 @@
}
.attach_row {
- display: flex;
- border: 0.2px solid rgba(221, 223, 229, 0.5);
- height: 54px;
-
- .attach_row_title {
- width: 85%;
- border-right: 0.2px solid rgba(221, 223, 229, 0.5);
display: flex;
- justify-content: left;
- align-items: center;
- margin-left: 12px;
- }
+ border: 0.2px solid rgba(221, 223, 229, 0.5);
+ height: 54px;
- .attach_row_btn {
- width: 15%;
- margin: 10px;
- display: flex;
- justify-content: center;
+ .attach_row_title {
+ width: 85%;
+ border-right: 0.2px solid rgba(221, 223, 229, 0.5);
+ display: flex;
+ justify-content: left;
+ align-items: center;
+ margin-left: 12px;
+ }
+
+ .attach_row_btn {
+ width: 15%;
+ margin: 10px;
+ display: flex;
+ justify-content: center;
+ }
}
-}
</style>
\ No newline at end of file
--
Gitblit v1.9.3