Browse Source

首页弹窗修改

yanym 1 year ago
parent
commit
475012e864

+ 3 - 1
suishenbang-admin/src/main/resources/templates/system/alertConfiguration/add.html

@@ -12,9 +12,10 @@
         <div class="form-group">
             <label class="col-sm-3 control-label">弹框类型:</label>
             <div class="col-sm-3">
-                <select title="请选择" id="alertType" name="alertType" class="form-control m-b selectpicker" th:with="type=${@dict.getType('alert_configuration_type')}">
+                <select style="margin-bottom: 10px;" title="请选择" id="alertType" name="alertType" class="form-control m-b selectpicker" th:with="type=${@dict.getType('alert_configuration_type')}">
                     <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                 </select>
+                <span style="font-size: 12px;color: #999999;">切换类型后需要重新配置信息</span>
             </div>
         </div>
         <div class="form-group" id="alertImageItem">
@@ -24,6 +25,7 @@
                 <div class="action">
                     <input type="file" class="" name="avatar" id="avatar" accept="image/*" value="上传"/>
                 </div>
+                <span style="font-size: 12px;color: #999999">建议图片宽度260px,高度300px</span>
             </div>
         </div>
         <div class="form-group" id="alertContentItem">

+ 3 - 1
suishenbang-admin/src/main/resources/templates/system/alertConfiguration/edit.html

@@ -12,11 +12,12 @@
             <div class="form-group">
                 <label class="col-sm-3 control-label">弹框类型:</label>
                 <div class="col-sm-8">
-                    <select name="alertType" id="alertType" class="form-control m-b"
+                    <select style="margin-bottom: 10px;" name="alertType" id="alertType" class="form-control m-b"
                             th:with="type=${@dict.getType('alert_configuration_type')}">
                         <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"
                                 th:field="*{alertType}"></option>
                     </select>
+                    <span style="font-size: 12px;color: #999999;">切换类型后需要重新配置信息</span>
                 </div>
             </div>
             <div class="form-group" id="alertImageItem">
@@ -26,6 +27,7 @@
                     <div class="action">
                         <input type="file" class="" name="avatar" id="avatar" accept="image/*" value="上传"/>
                     </div>
+                    <span style="font-size: 12px;color: #999999">建议图片宽度260px,高度300px</span>
                 </div>
             </div>
             <div class="form-group" id="alertContentItem">