瀏覽代碼

编办选择修改和bootstrap版本更新

laiguoran 3 年之前
父節點
當前提交
9f61cacc1a

文件差異過大導致無法顯示
+ 7043 - 5
lib/bootstrap/bootstrap.min.js


+ 1 - 1
lib/bootstrap/css/bootstrap-submenu.css

@@ -2,7 +2,7 @@
   margin-left: 1px;
 }
 
-.dropdown-submenu .dropleft .dropdown-menu {
+.dropdown-submenu.dropleft .dropdown-menu {
   margin-right: 1px;
 }
 

文件差異過大導致無法顯示
+ 5 - 5
lib/bootstrap/css/bootstrap.min.css


+ 4 - 4
web/users/html/login-ver.html

@@ -26,12 +26,12 @@
             <div class="">
             <div class="row  modal-auto-height">
                 <% for (const ver of versionData) { %>
-                        <div class="col-sm-4 mb-3">
+                        <div class="col-sm-4 mb-4">
                             <div class="card card-block">
                                 <div class="card-body">
-                                    <h3 class="card-title"><%= ver.name %></h3>
-                                    <p class="card-text"><%= ver.description ? ver.description : '介绍内容' %></p>
-                                    <a class="btn btn-primary" href="/boot/<%= ver._id.toString() %>">开始使用</a>
+                                    <h4 class="card-title d-flex justify-content-between"><%= ver.name %>
+                                        <a class="btn btn-sm btn-primary" href="/boot/<%= ver._id.toString() %>">开始使用</a></h4>
+                                    <p class="small mb-0 text-muted"><%= ver.description ? ver.description : '介绍内容' %></p>
                                 </div>
                             </div>
                         </div>

文件差異過大導致無法顯示
+ 2 - 2
web/users/html/login.html


+ 4 - 4
web/users/js/login.js

@@ -540,12 +540,12 @@ function setVersion(versionData) {
     let html = '';
     for (let version of versionData) {
         let description = version.description ? version.description : '介绍内容';
-        let tmpHtml = '<div class="col-sm-6 mb-3">' +
+        let tmpHtml = '<div class="col-sm-4 mb-4">' +
             '<div class="card card-block">' +
             '<div class="card-body">' +
-            '<h3 class="card-title">'+ version.name +'</h3>' +
-            '<p class="card-text">' + description + '</p>' +
-            '<a class="btn btn-primary" href="/boot/'+ version._id.toString() +'">开始使用</a>' +
+            '<h4 class="card-title d-flex justify-content-between">'+ version.name +
+            '<a class="btn btn-sm btn-primary" href="/boot/'+ version._id.toString() +'">开始使用</a></h4>' +
+            '<p class="small mb-0 text-muted">' + description + '</p>' +
             '</div>' +
             '</div>' +
             '</div>';