Ver código fonte

调整医疗范围没有的时候图标位置

hurugang 4 anos atrás
pai
commit
6e2af672cf
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/main/resources/static/js/mz/clinic.js

+ 2 - 2
src/main/resources/static/js/mz/clinic.js

@@ -304,7 +304,7 @@ function contentMethod() {
             '                        class="btn btn-primary">' +
             '                    医疗范本' +
             '                </button>' +
-            '                <div style="height: calc(100% - 44px);border: 1px solid #DDDDDD;overflow-y: auto;margin-top: 5px;width: 100%;">' +
+            '                <div style="height: calc(100% - 44px);border: 1px solid #DDDDDD;overflow-y: auto;margin-top: 5px;width: 100%;position: relative;">' +
             '                    <form class="form-horizontal form-label-left mz-fixed-form" novalidate autocomplete="off"' +
             '                          style="height: 100%;overflow-y: auto;width: 100%;" id="TemplateData">' +
             '                    </form>' +
@@ -505,7 +505,7 @@ function fitTemplateData() {
     if (!$("#" + popoverId).hasClass("in")) {
         return;
     }
-    var emptyHtml = '<img src="/thmz/images/no-recommend.png" style="height: 120px;position: absolute;top: 50%;transform: translateY(-50%);margin-left: -30px;">';
+    var emptyHtml = '<img src="/thmz/images/no-recommend.png" style="height: 120px;position: absolute;top: 50%;transform: translateY(-50%);margin-left: -30px;margin-left: 145px;">';
     $.ajax({
         type: "GET",
         url: '/thmz/getTemplate',