Browse Source

功能修正

jeter20131220 3 years ago
parent
commit
bf360dc62b

+ 3 - 0
.vscode/settings.json

@@ -0,0 +1,3 @@
+{
+    "liveServer.settings.port": 5501
+}

+ 1 - 1
desktopB/goto.js

@@ -100,7 +100,7 @@ $(".contact-form1").submit(function (e) {
         console.log('送出失敗: ' + jqXHR.responseText);
       }
     });
-  return flase;
+  return false;
 });
 
 $("*").each(function (index, element) {

+ 1 - 1
desktopB/index.html

@@ -288,7 +288,7 @@
                     <div id="form-right">
                         <div id="fb_login">
                             <button id="fb-button"  ><img src="./img/logo/facebook.png" alt="">
-                                <p><span style="padding-right:5vw; font-size: 25px;">|</span>使用fb填入信箱與姓名</p>
+                                <p><span style="padding-right:4vw; font-size: 25px;">|</span>使用fb填入信箱與姓名</p>
                             </button>
                             <span id="FB_STATUS_2"></span>
                         </div>

+ 5 - 0
desktopB/style.css

@@ -366,6 +366,7 @@ body .arrow:hover {
 
 #contact-us #contact-form #form-right #fb-button p {
   line-height: 40px;
+  color: #626262;
 }
 
 #contact-us #contact-form #form-right #fb-button img {
@@ -388,6 +389,10 @@ body .arrow:hover {
           filter: invert(100%) sepia(100%) saturate(19%) hue-rotate(334deg) brightness(106%) contrast(106%);
 }
 
+#contact-us #contact-form #form-right #fb-button:hover p {
+  color: #fff;
+}
+
 #contact-us #contact-form #form-right a {
   text-decoration: none;
   color: #ee751b;

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


+ 4 - 0
desktopB/style.scss

@@ -316,6 +316,7 @@ body {
                 position: relative;
                p{
                 line-height: 40px;
+                color:#626262;
                }
                 img {
                     position: absolute;
@@ -332,6 +333,9 @@ body {
                         filter: invert(100%) sepia(100%) saturate(19%) hue-rotate(334deg) brightness(106%)
                             contrast(106%);
                     }
+                    p{
+                        color:#fff;
+                        }
                 }
             }
             a {

+ 1 - 73
mobileB/goto.js

@@ -25,79 +25,7 @@ $(".feedback-slider1").slick({
   
     return o;
   };
-  // // email 格式檢查
-  // $(document).ready(function () {
-  
-  //   //E-MAIL格式檢查
-
-  //   $("body").on("change", "#email", function () {
-
-  //     $Emailchecking = IsEmail($("#email").val());
-
-
-  //     if ($Emailchecking == false) {
-
-  //       alert("請填寫正確的E-MAIL格式");
-
-  //       // $("#email").blur(); //離開焦點
-
-  //     }
-
-  //   })
-
-  //   function IsEmail(email) {
-
-  //     var regex = /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
-
-  //     if (!regex.test(email)) {
-
-  //       return false;
-
-  //     } else {
-
-  //       return true;
-
-  //     }
-
-  //   }
-
-  // });
-  // // phone 格式檢查
-  // $(document).ready(function () {
-
-  //   //phone格式檢查
-
-  //   $("body").on("change", "#phone", function () {
-
-  //     $Phonechecking = IsPhone($("#phone").val());
-
-  //     if ($Phonechecking == false) {
-
-  //       alert("請填寫正確的手機格式");
-
-  //       // $("#email").blur(); //離開焦點
-
-  //     }
-
-  //   })
-
-  //   function IsPhone(phone) {
-
-  //     var regex =/^[09]{2}[0-9]{8}$/;
-
-  //     if (!regex.test(phone)) {
-
-  //       return false;
-
-  //     } else {
-
-  //       return true;
-
-  //     }
-
-  //   }
-
-  // });
+ 
   
   $(".contact-form1").submit(function (e) {
     /*	var formRef = $('#form1').serializeArray();

+ 1 - 1
mobileB/style.css

@@ -430,7 +430,7 @@ body .arrow:hover {
   position: absolute;
   right: 2vw;
   font-weight: normal;
-  color: #000;
+  color: #626262;
 }
 
 @media screen and (max-width: 1024px) {

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


+ 1 - 1
mobileB/style.scss

@@ -335,7 +335,7 @@ body {
                 position: absolute;
                 right: 2vw;
                 font-weight: normal;
-                color:#000;
+                color:#626262;
                 @media screen and(max-width:$table) {
                     top: 2vw;
                     right: 10vw;

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