Browse Source

update form

SyuanYu 1 month ago
parent
commit
558feb422f

+ 3 - 6
layouts/ai-customer/single.html

@@ -360,11 +360,8 @@
             let email = document.querySelector('#emailValue').value; // 電子信箱
             let email = document.querySelector('#emailValue').value; // 電子信箱
             // let demand; // 需求目的
             // let demand; // 需求目的
             let caption = document.querySelector('#captionValue').value; // 需求說明
             let caption = document.querySelector('#captionValue').value; // 需求說明
-
             let lineid = document.querySelector('#lineidValue').value; // 需求說明
             let lineid = document.querySelector('#lineidValue').value; // 需求說明
-
-
-            let date = document.querySelector('#dateValue').value; // 預計活動需求日
+            // let date = document.querySelector('#dateValue').value; // 預計活動需求日
             let agree; // 搜集資料
             let agree; // 搜集資料
             let time; // 填單時間
             let time; // 填單時間
 
 
@@ -400,7 +397,7 @@
                 "email": email,
                 "email": email,
                 "lineid": lineid,
                 "lineid": lineid,
                 "caption": caption,
                 "caption": caption,
-                "date": date,
+                // "date": date,
                 "agree": agree,
                 "agree": agree,
                 "time": time
                 "time": time
             }
             }
@@ -417,7 +414,7 @@
                     "email": email,
                     "email": email,
                     "lineid": lineid,
                     "lineid": lineid,
                     "caption": caption,
                     "caption": caption,
-                    "date": date,
+                    // "date": date,
                     "agree": agree,
                     "agree": agree,
                     "time": time
                     "time": time
                 },
                 },

+ 3 - 6
layouts/partials/form-main.html

@@ -160,11 +160,8 @@
     let email = document.querySelector('#emailValue').value; // 電子信箱
     let email = document.querySelector('#emailValue').value; // 電子信箱
     // let demand; // 需求目的
     // let demand; // 需求目的
     let caption = document.querySelector('#captionValue').value; // 需求說明
     let caption = document.querySelector('#captionValue').value; // 需求說明
-
     let lineid = document.querySelector('#lineidValue').value; // 需求說明
     let lineid = document.querySelector('#lineidValue').value; // 需求說明
-
-
-    let date = document.querySelector('#dateValue').value; // 預計活動需求日
+    // let date = document.querySelector('#dateValue').value; // 預計活動需求日
     let agree; // 搜集資料
     let agree; // 搜集資料
     let time; // 填單時間
     let time; // 填單時間
 
 
@@ -200,7 +197,7 @@
       "email": email,
       "email": email,
       "lineid": lineid,
       "lineid": lineid,
       "caption": caption,
       "caption": caption,
-      "date": date,
+      // "date": date,
       "agree": agree,
       "agree": agree,
       "time": time
       "time": time
     }
     }
@@ -217,7 +214,7 @@
         "email": email,
         "email": email,
         "lineid": lineid,
         "lineid": lineid,
         "caption": caption,
         "caption": caption,
-        "date": date,
+        // "date": date,
         "agree": agree,
         "agree": agree,
         "time": time
         "time": time
       },
       },

+ 3 - 6
layouts/shortcodes/form-main.html

@@ -160,11 +160,8 @@
     let email = document.querySelector('#emailValue').value; // 電子信箱
     let email = document.querySelector('#emailValue').value; // 電子信箱
     // let demand; // 需求目的
     // let demand; // 需求目的
     let caption = document.querySelector('#captionValue').value; // 需求說明
     let caption = document.querySelector('#captionValue').value; // 需求說明
-
     let lineid = document.querySelector('#lineidValue').value; // 需求說明
     let lineid = document.querySelector('#lineidValue').value; // 需求說明
-
-
-    let date = document.querySelector('#dateValue').value; // 預計活動需求日
+    // let date = document.querySelector('#dateValue').value; // 預計活動需求日
     let agree; // 搜集資料
     let agree; // 搜集資料
     let time; // 填單時間
     let time; // 填單時間
 
 
@@ -200,7 +197,7 @@
       "email": email,
       "email": email,
       "lineid": lineid,
       "lineid": lineid,
       "caption": caption,
       "caption": caption,
-      "date": date,
+      // "date": date,
       "agree": agree,
       "agree": agree,
       "time": time
       "time": time
     }
     }
@@ -217,7 +214,7 @@
         "email": email,
         "email": email,
         "lineid": lineid,
         "lineid": lineid,
         "caption": caption,
         "caption": caption,
-        "date": date,
+        // "date": date,
         "agree": agree,
         "agree": agree,
         "time": time
         "time": time
       },
       },

+ 2 - 2
layouts/shortcodes/form.html

@@ -222,7 +222,7 @@
     let demand; // 需求目的
     let demand; // 需求目的
     let caption = document.querySelector('#captionValue').value; // 需求說明
     let caption = document.querySelector('#captionValue').value; // 需求說明
     let budget = document.querySelector('#budgetValue').value; // 預算限制
     let budget = document.querySelector('#budgetValue').value; // 預算限制
-    let date = document.querySelector('#dateValue').value; // 預計活動需求日
+    // let date = document.querySelector('#dateValue').value; // 預計活動需求日
     let agree; // 搜集資料
     let agree; // 搜集資料
     let time; // 填單時間
     let time; // 填單時間
 
 
@@ -262,7 +262,7 @@
         "demand": demand,
         "demand": demand,
         "caption": caption,
         "caption": caption,
         "budget": budget,
         "budget": budget,
-        "date": date,
+        // "date": date,
         "agree": agree,
         "agree": agree,
         "time": time
         "time": time
       },
       },

+ 4 - 1
static/css/style.css

@@ -5278,5 +5278,8 @@
   font-size: 28px;
   font-size: 28px;
 }
 }
 .ai-kiosk #form .news-form .submit-btn {
 .ai-kiosk #form .news-form .submit-btn {
-  margin-top: 0;
+  margin-top: 20px;
+}
+.ai-kiosk #form .form-check-input {
+  margin-top: 0.3rem !important;
 }/*# sourceMappingURL=style.css.map */
 }/*# sourceMappingURL=style.css.map */

File diff suppressed because it is too large
+ 0 - 0
static/css/style.css.map


+ 5 - 1
static/css/style.scss

@@ -5813,8 +5813,12 @@
       }
       }
 
 
       .submit-btn {
       .submit-btn {
-        margin-top: 0;
+        margin-top: 20px;
       }
       }
     }
     }
+
+    .form-check-input {
+      margin-top: .3rem !important;
+    }
   }
   }
 }
 }

Some files were not shown because too many files changed in this diff