Browse Source

內容更新

jeter20131220 3 years ago
parent
commit
cb2e52a20f
2 changed files with 5 additions and 6 deletions
  1. 4 4
      about/goto2.js
  2. 1 2
      goto.js

+ 4 - 4
about/goto2.js

@@ -154,8 +154,8 @@ $(document).ready(function () {
                                     <div class="banner-1 col-9 align-self-end pb-3">\
                                     <div class="banner-1 col-9 align-self-end pb-3">\
                                         <div style="font-weight: 900;" class="fs-2">'+ msg[i].WorkName + '</div>\
                                         <div style="font-weight: 900;" class="fs-2">'+ msg[i].WorkName + '</div>\
                                         <p><span class="fs-5">'+ msg[i].DesignerName + '</span>設計師</p>\
                                         <p><span class="fs-5">'+ msg[i].DesignerName + '</span>設計師</p>\
-                                        <button type="button" class="btn border border-white"><a target="_blank" href="tel: '+ msg[i].TollFreeCall + '"><img class="" src="../img/phone.png" alt=""></a>\</button>\
-                                        <button type="button" class="btn border border-white" data-bs-toggle="modal" data-bs-target="#exampleModal">私訊</button>\
+                                        <button type="button" class="btn border border-white"><a target="_blank" href="tel: '+ msg[i].TollFreeCall + '"><img class="" src="../img/002-phone-call.svg" alt=""></a>\</button>\
+                                        <button type="button" class="btn border border-white" data-bs-toggle="modal" data-bs-target="#exampleModal"><img class="" src="../img/001-blogging.svg" alt=""></button>\
                                     </div>\
                                     </div>\
                                     <div class="banner-2 col-3 row justify-content-end px-0">\
                                     <div class="banner-2 col-3 row justify-content-end px-0">\
                                     </div>\
                                     </div>\
@@ -173,8 +173,8 @@ $(document).ready(function () {
                             <div class="bannerm-1 col-5 order-3 col-lg-5 order-2 text-white text-start pb-3">\
                             <div class="bannerm-1 col-5 order-3 col-lg-5 order-2 text-white text-start pb-3">\
                                 <div class="banner1-1 pt-3 pb-1" style="font-weight: 900;">'+ msg[i].WorkName + '</div>\
                                 <div class="banner1-1 pt-3 pb-1" style="font-weight: 900;">'+ msg[i].WorkName + '</div>\
                                 <p class=""><span class="fs-5">'+ msg[i].DesignerName + '</span>設計師</p>\
                                 <p class=""><span class="fs-5">'+ msg[i].DesignerName + '</span>設計師</p>\
-                                <button type="button" class="btn border border-white"><a target="_blank" href="tel: '+ msg[i].TollFreeCall + '"><img class="" src="../img/phone.png" alt=""></a>\</button>\
-                                <button type="button" class="btn border border-white" data-bs-toggle="modal" data-bs-target="#exampleModal">私訊</button>\
+                                <button type="button" class="btn border border-white"><a target="_blank" href="tel: '+ msg[i].TollFreeCall + '"><img class="" src="../img/002-phone-call.svg" alt=""></a>\</button>\
+                                <button type="button" class="btn border border-white" data-bs-toggle="modal" data-bs-target="#exampleModal"><img class="" src="../img/001-blogging.svg" alt=""></button>\
                              </div>\
                              </div>\
                         </div>';
                         </div>';
 
 

+ 1 - 2
goto.js

@@ -256,7 +256,7 @@ function funcTest4() {
                 <p><span class="fs-5">'+ deslist2.DesignerName + '</span>設計師</p>\
                 <p><span class="fs-5">'+ deslist2.DesignerName + '</span>設計師</p>\
               </a>\
               </a>\
               <button type="button" class="btn border border-white"><a target="_blank" href="tel: '+ deslist2.TollFreeCall + '"><img class="" src="img/002-phone-call.svg" alt=""></a>\</button>\
               <button type="button" class="btn border border-white"><a target="_blank" href="tel: '+ deslist2.TollFreeCall + '"><img class="" src="img/002-phone-call.svg" alt=""></a>\</button>\
-          <button type="button" class="btn border border-white" data-bs-toggle="modal" data-bs-target="#exampleModal"><img class="" src="img/001-blogging.svg" alt=""></button>\
+              <button type="button" class="btn border border-white" data-bs-toggle="modal" data-bs-target="#exampleModal"><img class="" src="img/001-blogging.svg" alt=""></button>\
             </div>\
             </div>\
             <div class="banner-2 col-7 order-2 col-lg-2 order-3 px-0 mx-0">\
             <div class="banner-2 col-7 order-2 col-lg-2 order-3 px-0 mx-0">\
             <a class="desbutton" data-info="'+ deslist2.id + '" href="./about/index.html?id='+ deslist2.id + '"><img class="img-fluid" src="' + deslist2.Designerimg + '" alt=""></a>\
             <a class="desbutton" data-info="'+ deslist2.id + '" href="./about/index.html?id='+ deslist2.id + '"><img class="img-fluid" src="' + deslist2.Designerimg + '" alt=""></a>\
@@ -306,7 +306,6 @@ function get_data(id) {
   })
   })
       .done(function (msg) {
       .done(function (msg) {
           for (var i = 0; i < msg.length; i++) {
           for (var i = 0; i < msg.length; i++) {
-            
               if (msg[i].id == id) {
               if (msg[i].id == id) {
                 A =msg[i]
                 A =msg[i]
               }
               }