From b63710cf68f7557fa19eba889a776e17c7135ba1 Mon Sep 17 00:00:00 2001
From: dougang <78125310@kidgrow.com>
Date: Fri, 25 Dec 2020 10:52:41 +0800
Subject: [PATCH] 去掉多余的空格

---
 kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/keaigao/screeningHospital_form.html |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/keaigao/screeningHospital_form.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/keaigao/screeningHospital_form.html
index 591f5f0..8621db4 100644
--- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/keaigao/screeningHospital_form.html
+++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/keaigao/screeningHospital_form.html
@@ -52,7 +52,7 @@
                     <input name="hospitalQrImage" id="hospitalQrImage" type="hidden" class="layui-input" maxlength="20"/>
                     <blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">
                         预览效果
-                        <div class="layui-upload-list" id="qrImage"></div>
+                        <div class="layui-upload-list" id="qrImage" style="text-align: center"></div>
                     </blockquote>
                 </div>
             </div>
@@ -133,19 +133,20 @@
         //上传二维码
         upload.render({
             elem: '#qr',
-            url: config.base_server + 'api-file/files-anon',
+            url: config.base_server + 'api-file/files-upload',
             accept: 'file',
             auto: true,
             headers: {
                 "Authorization": "Bearer " + config.getToken().access_token
             },
+            data:{"imgType":"customerhospital"},
             before: function (obj) {
                 layer.load(); //上传loading
                 //预读本地文件示例,不支持ie8
                 obj.preview(function (index, file, result) {
                     $("#qrImage").html('');
                     $('#qrImage').append('<img src="' + result +
-                        '" width="50px" height="50px" alt="' + file.name +
+                        '" width="60px" height="60px" alt="' + file.name +
                         '" class="layui-upload-img">')
                 });
             },
@@ -160,19 +161,20 @@
         //微站首页图片
         upload.render({
             elem: '#phonto',
-            url: config.base_server + 'api-file/files-anon',
+            url: config.base_server + 'api-file/files-upload',
             accept: 'file',
             auto: true,
             headers: {
                 "Authorization": "Bearer " + config.getToken().access_token
             },
+            data:{"imgType":"customerhospital"},
             before: function (obj) {
                 layer.load(); //上传loading
                 //预读本地文件示例,不支持ie8
                 obj.preview(function (index, file, result) {
                     $("#indexImage").html('');
                     $('#indexImage').append('<img src="' + result +
-                        '" width="50px" height="50px" alt="' + file.name +
+                        '" width="110px" height="50px" alt="' + file.name +
                         '" class="layui-upload-img">')
                 });
             },

--
Gitblit v1.8.0