diff --git a/application/controllers/information.php b/application/controllers/information.php index 06738757..5b9b714e 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -935,6 +935,15 @@ class Information extends CI_Controller $breadcrumb_structured_data_content, $template); + $tour_form_content = $this->load->view( + $template_path . '-gh-tour-form', + array('information' => $information), + true); + $template = str_replace( + '', + $tour_form_content, + $template); + //替换模板中的标签 $template = str_replace('', $information->ic_seo_title, $template); $template = str_replace('', $information->ic_seo_description, $template); diff --git a/application/views/mobile_first/gh-pc.php b/application/views/mobile_first/gh-pc.php index 8fe9a46f..eb7c80c7 100644 --- a/application/views/mobile_first/gh-pc.php +++ b/application/views/mobile_first/gh-pc.php @@ -155,72 +155,75 @@ height="0" width="0" style="display:none;visibility:hidden">
-
- -
-

Why Travel with Global Highlights

- -
- -
- -
-
- -
-

- -

- -

-

- - - - - - - -
+
+
+

Why Travel with Global Highlights

+
    +
  • Tailor-made experience: All of your ideas/needs will be carefully + considered to create your ideal trip.
  • +
  • Worry-free planning: Every step of your trip, you will be looked + after by your 1:1 travel consultant based in Asia.
  • +
  • No-risk booking: We refund as much as we can and adapt flexibly to + unexpected changes.
  • +
+
+
+ +
+
+

+

+

+

+ + + + +
+
- -
-
+
+
+
@@ -312,28 +315,30 @@ height="0" width="0" style="display:none;visibility:hidden"> function loadScriptByAsync(src) {var asyncScript = document.createElement("script");asyncScript.async = true;asyncScript.crossorigin = "anonymous";asyncScript.src = src;firstScript=document.getElementsByTagName("script")[0];firstScript.parentNode.insertBefore(asyncScript, firstScript);} +((doc, buttonId, contentId, lastContentId) => { + doc.addEventListener('DOMContentLoaded', () => { + var moreButton = doc.getElementById(buttonId); + var contentDiv = doc.getElementById(contentId); + var lastContentDiv = doc.getElementById(lastContentId); + if (moreButton === null || contentDiv === null || lastContentDiv === null) { + console.warn('CHECK MORE config error'); + return; + } + moreButton.addEventListener('click', () => { + moreButton.classList.add('gh-animate-fade-out'); + setTimeout(() => { + moreButton.classList.add('gh-display-none'); + }, 80); + contentDiv.classList.remove('gh-display-none'); + lastContentDiv.classList.add('normal_content'); + setTimeout(() => { + contentDiv.classList.remove('gh-animate-slide-down'); + contentDiv.classList.add('gh-animate-slide-up'); + }, 0); + }); + }); +})(document, 'checkMoreButton', 'moreContentDiv', 'lastContentDiv'); + \ No newline at end of file diff --git a/application/views/mobile_first/gh.php b/application/views/mobile_first/gh.php index 838ea980..a88e31fb 100644 --- a/application/views/mobile_first/gh.php +++ b/application/views/mobile_first/gh.php @@ -116,72 +116,74 @@ height="0" width="0" style="display:none;visibility:hidden">
- -
-

Why Travel with Global Highlights

- -
- -
- -
-
- -
-

- -

- -

-

- - - - - - - -
+
+

Why Travel with Global Highlights

+
    +
  • Tailor-made experience: All of your ideas/needs will be carefully + considered to create your ideal trip.
  • +
  • Worry-free planning: Every step of your trip, you will be looked + after by your 1:1 travel consultant based in Asia.
  • +
  • No-risk booking: We refund as much as we can and adapt flexibly to + unexpected changes.
  • +
+
+
+ +
+
+

+

+

+

+ + + + +
+
- -
-
- +
+
+