浏览代码

feat: 处理小米红米K40点击输入框,确定按钮消失的问题

Damon 9 月之前
父节点
当前提交
6742abd7d0
共有 2 个文件被更改,包括 13 次插入3 次删除
  1. 6 3
      index.html
  2. 7 0
      resource/css/amazeui.min.css

+ 6 - 3
index.html

@@ -20,8 +20,8 @@
         <!-- LOGO -->
         <div class="am-u-sm-12 am-text-center">
             <i class="am-icon-wifi myapp-login-logo"></i>
-            <br>
-            <br>
+            <!-- <br>
+            <br> -->
             <div><b class="title">配置设备Wi-Fi</b></div>
             <span class="wi-fi-front font-color" id="UUID">UUID: </span>
 
@@ -37,6 +37,7 @@
                         <input id="WiFiName" type="text" value="" class="myapp-login-input-text am-form-field"
                             placeholder="请输入您的Wi-Fi账号" required="required">
                     </div>
+
                     <div class="am-form-group am-form-icon">
                         <i class="am-icon-lock"></i>
                         <input id="WiFiPwd" type="password" class="myapp-login-input-text am-form-field"
@@ -53,7 +54,9 @@
                     <span class="wi-fi-front">不支持酒店、机场等需要认证的Wi-Fi网络。</span>
                 </div></br>
 
-                <button id="confirm" class="myapp-login-form-submit am-btn am-btn-primary am-btn-block">确 定</button>
+                <!-- am-btn  am_btn_more-->
+                <button id="confirm" class="myapp-login-form-submit am_btn_more am-btn-primary am-btn-block">确
+                    定</button>
 
             </form>
         </div>

+ 7 - 0
resource/css/amazeui.min.css

@@ -1707,6 +1707,13 @@ pre code {
     transition: background-color .3s ease-out, border-color .3s ease-out
 }
 
+.am_btn_more {
+    padding: .5em 1em;
+    font-weight: 400;
+    line-height: 1.2;
+    border: 1px solid transparent;
+}
+
 .am-btn-block,
 legend {
     display: block;