Merge branch 'master' of github.com:hainatravel/information-system

master
赵鹏 2 years ago
commit 06de3435a6

@ -436,6 +436,7 @@
var premium_khomloy_radio = document.getElementById("premium_khomloy");
var premium_heritage_radio = document.getElementById("premium_heritage");
var vip_heritage_radio = document.getElementById("vip_heritage");
var khomloy_ticket_date_november15th = document.getElementById("khomloy_ticket_date_november15th");
var khomloy_ticket_date_november16th = document.getElementById("khomloy_ticket_date_november16th");
@ -581,8 +582,10 @@
ticket_type_premium_heritage_div.style.display = '';
ticket_type_vip_heritage_div.style.display = '';
premium_heritage_radio.checked = true;
currentTicketPrice = parseInt(premium_heritage_radio.getAttribute('data-price'));
premium_heritage_radio.disabled = true;
vip_heritage_radio.checked = true;
currentTicketPrice = parseInt(vip_heritage_radio.getAttribute('data-price'));
adultNumberValue = parseInt(adultNumberNode.value);
calcTotalPrice(currentTicketPrice, adultNumberValue);
}

@ -42,7 +42,7 @@
})(window, document, 'script', 'dataLayer', 'GTM-T75N4LL');</script>
<!-- End Google Tag Manager -->
<!-- Hotjar Tracking Code for https://www.chinahighlights.com/
<!-- Hotjar Tracking Code for https://www.chinahighlights.com/
<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
@ -93,7 +93,7 @@
id="china_yangtze_cruise_2021">Yangtze River Cruise</a></li>
<li class="start-nav-item"><a href="/tour/expats-tours.htm"
id="china_expats_tours_2021">China Expats Tours</a></li>
</ul>
</div>
</li>
@ -583,7 +583,7 @@
<div class="bottompctitle">Featured on</div>
<a href="/aboutus/who-recommended.htm">
<img src="https://data.chinahighlights.com/grey.gif" loader="lazy"
originalsrc="https://images.chinahighlights.com/allpicture/2024/02/c858c422f4aa4702ba62eeeccc29156f_cut_1135x66_241.jpg"
originalsrc="https://images.chinahighlights.com/allpicture/2024/09/9de0624957ca4a0e9a57c8ca19cdbbe8_cut_1145x85_241_1726758492.jpg"
alt="China Highlights was featured on these medias."></a>
</div>
@ -602,20 +602,32 @@
</div>
<script>
(function (w, d, i) {
var navbar = d.getElementById(i);
var prevScrollpos = w.pageYOffset;
w.onscroll = function () {
var currentScrollPos = w.pageYOffset;
if (prevScrollpos > currentScrollPos) {
navbar.style.top = '0';
} else {
navbar.style.top = '-100px';
}
prevScrollpos = currentScrollPos;
}
})(window, document, 'header');
</script>
(function (w, d, i) {
function debounce(func, wait) {
let timeout;
return function() {
const context = this;
const args = arguments;
clearTimeout(timeout);
timeout = setTimeout(() => func.apply(context, args), wait);
};
}
var navbar = d.getElementById(i);
var prevScrollpos = w.pageYOffset;
w.onscroll = debounce(function () {
var currentScrollPos = w.pageYOffset;
if (Math.abs(currentScrollPos - prevScrollpos) > 5) { // 滚动阈值
if (prevScrollpos > currentScrollPos) {
navbar.style.top = '0';
} else {
navbar.style.top = '-100px';
}
prevScrollpos = currentScrollPos;
}
}, 25) // 防止快速滚动时频繁触发
})(window, document, 'header');
</script>
<!--@PRODUCT-JS@-->
<!--@ADDON-JS@-->
@ -754,5 +766,4 @@
<!--@STRUCTURED-DATA-BREADCRUMB-BLOCK@-->
<!--@STRUCTURED-DATA-ARTICLE-BLOCK@-->
</body>
</html>

@ -34,7 +34,7 @@
})(window, document, 'script', 'dataLayer', 'GTM-T75N4LL');</script>
<!-- End Google Tag Manager -->
<!-- Hotjar Tracking Code for https://www.chinahighlights.com/
<!-- Hotjar Tracking Code for https://www.chinahighlights.com/
<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
@ -567,7 +567,6 @@
<div>
<ul>
<li><a href="https://www.viaggio-in-cina.it/" target="_blank" rel="nofollow">Italiano</a></li>
<li><a href="https://www.chinahighlights.ru/" target="_blank" rel="nofollow">Русский</a></li>
<li><a href="https://www.arachina.com/" target="_blank" rel="nofollow">日本語</a></li>
@ -579,9 +578,8 @@
<div class="featureon">
<span class="followtitle">Featured on</span>
<a href="/aboutus/who-recommended.htm"> <img src="https://data.chinahighlights.com/grey.gif" loader="lazy"
originalsrc="https://data.chinahighlights.com/pic/guide/info-template-feature-on.png"
alt="China Higlights is recommended by this social medias." class="img-responsive" width="436px"
height="250px"></a>
originalsrc="https://images.chinahighlights.com/allpicture/2024/09/4954bbb94a4a42e5864192dff2a134f6_cut_600x180_241_1726758550.jpg"
alt="China Higlights is recommended by this social medias." class="img-responsive"></a>
</div>
<div class="featureon">
@ -594,17 +592,29 @@
<script>
(function (w, d, i) {
function debounce(func, wait) {
let timeout;
return function() {
const context = this;
const args = arguments;
clearTimeout(timeout);
timeout = setTimeout(() => func.apply(context, args), wait);
};
}
var navbar = d.getElementById(i);
var prevScrollpos = w.pageYOffset;
w.onscroll = function () {
w.onscroll = debounce(function () {
var currentScrollPos = w.pageYOffset;
if (prevScrollpos > currentScrollPos) {
navbar.style.top = '0';
} else {
navbar.style.top = '-100px';
if (Math.abs(currentScrollPos - prevScrollpos) > 5) { // 滚动阈值
if (prevScrollpos > currentScrollPos) {
navbar.style.top = '0';
} else {
navbar.style.top = '-100px';
}
prevScrollpos = currentScrollPos;
}
prevScrollpos = currentScrollPos;
}
}, 25) // 防止快速滚动时频繁触发
})(window, document, 'header');
</script>
<script>/* memu js https://data.chinahighlights.com/js/mobile-menu.js */
@ -674,8 +684,8 @@
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 25.241375,
"longitude": 110.33852
"latitude": 25.241375,
"longitude": 110.33852
},
"url": "https://www.chinahighlights.com/",
"telephone": "+86 773 2831999",

@ -215,11 +215,11 @@
</aside>
<div class="info_tm_button"><a href="/forms/tailormade?product_code=" id="create_my_trip_button_pc">Create
my trip</a>
</div>
</div>
</div>
<!--PC正文 结束--><!--@ARTICLENEXT@-->
</div>
<!--PC底部-->
<div class="infotailor">
@ -277,7 +277,7 @@
height="100"></div>
<h3>Ensure Your Satisfactory</h3>
<ul class="infolist">
<li>The Top 20% nationwide guides at your service.</li>
<li>The Top 20% nationwide guides at your service.</li>
<li>20% more space on your group's transportation.</li>
<li> 24/7 emergency support.</li>
</ul>
@ -420,20 +420,32 @@
</div>
<script>
(function (w, d, i) {
var navbar = d.getElementById(i);
var prevScrollpos = w.pageYOffset;
w.onscroll = function () {
var currentScrollPos = w.pageYOffset;
if (prevScrollpos > currentScrollPos) {
navbar.style.top = '0';
} else {
navbar.style.top = '-100px';
}
prevScrollpos = currentScrollPos;
}
})(window, document, 'header');
</script>
(function (w, d, i) {
function debounce(func, wait) {
let timeout;
return function() {
const context = this;
const args = arguments;
clearTimeout(timeout);
timeout = setTimeout(() => func.apply(context, args), wait);
};
}
var navbar = d.getElementById(i);
var prevScrollpos = w.pageYOffset;
w.onscroll = debounce(function () {
var currentScrollPos = w.pageYOffset;
if (Math.abs(currentScrollPos - prevScrollpos) > 5) { // 滚动阈值
if (prevScrollpos > currentScrollPos) {
navbar.style.top = '0';
} else {
navbar.style.top = '-100px';
}
prevScrollpos = currentScrollPos;
}
}, 25) // 防止快速滚动时频繁触发
})(window, document, 'header');
</script>
<!--PC底部 结束-->

@ -448,19 +448,31 @@
}
</script>
<script>
<script>
(function (w, d, i) {
function debounce(func, wait) {
let timeout;
return function() {
const context = this;
const args = arguments;
clearTimeout(timeout);
timeout = setTimeout(() => func.apply(context, args), wait);
};
}
var navbar = d.getElementById(i);
var prevScrollpos = w.pageYOffset;
w.onscroll = function () {
w.onscroll = debounce(function () {
var currentScrollPos = w.pageYOffset;
if (prevScrollpos > currentScrollPos) {
navbar.style.top = '0';
} else {
navbar.style.top = '-100px';
if (Math.abs(currentScrollPos - prevScrollpos) > 5) { // 滚动阈值
if (prevScrollpos > currentScrollPos) {
navbar.style.top = '0';
} else {
navbar.style.top = '-100px';
}
prevScrollpos = currentScrollPos;
}
prevScrollpos = currentScrollPos;
}
}, 25) // 防止快速滚动时频繁触发
})(window, document, 'header');
</script>
<!--移动底部 结束-->

Loading…
Cancel
Save