Quellcode durchsuchen

修改老年模式

wch vor 2 Jahren
Ursprung
Commit
eae39b17e2
1 geänderte Dateien mit 5 neuen und 3 gelöschten Zeilen
  1. 5 3
      ruoyi-admin/src/main/resources/templates/index-topnav-zlb.html

+ 5 - 3
ruoyi-admin/src/main/resources/templates/index-topnav-zlb.html

@@ -104,11 +104,11 @@
                 <div class="col-sm-6" style="margin-top: 6px;">
                     <ul class="">
                         <li style="margin-right:0px;float: right; ">
-                            <button style="color: white;background: #1790FF;margin-left: 5px;border-radius: 4px" id="older" title="进入老年版" onclick="olderChange('olderHide')"> &nbsp;老年版&nbsp;</button>
-                            <button   style="display: none;color: white;background: #1790FF;margin-left: 5px;border-radius: 4px" id="olderHide" title="进入常规版" onclick="olderChange('olderShow')" > &nbsp;常规版&nbsp;</button>
+                            <button style="color: white;background: #1790FF;margin-left: 5px;border-radius: 4px;padding: 9px 13px;" id="older" title="进入老年版" onclick="olderChange('olderHide')"> &nbsp;老年版&nbsp;</button>
+                            <button   style="display: none;color: white;background: #1790FF;margin-left: 5px;border-radius: 4px;padding: 9px 13px" id="olderHide" title="进入常规版" onclick="olderChange('olderShow')" > &nbsp;常规版&nbsp;</button>
                         </li>
                         <li >
-                            <a href="javascript:void(0)" style="float:right;background-color: #1790FF;color: white;" id="cniil_wza">&nbsp;网站无障碍&nbsp;</a>
+                            <a href="javascript:void(0)" style="float:right;background-color: #1790FF;color: white;border-radius: 4px;padding: 9px 13px" id="cniil_wza">&nbsp;网站无障碍&nbsp;</a>
                         </li >
                     </ul>
                 </div>
@@ -359,6 +359,8 @@ $(function() {
     if(olderFlag =='olderShow') {
         $('#older').show();
         $('*').css("font-size",18);
+        $("#older").css("font-size",12);
+        $("#cniil_wza").css("font-size",12);
         $('.wap-title').css("font-size",18.72);
         $("#olderHide").hide();
     }else {