移动端和桌面端统一使用移动图片

hotfix/paypal-note
Jimmy Liow 2 years ago
parent 2ea74ec96b
commit 8e2d870c96

@ -1690,7 +1690,7 @@ class Information extends CI_Controller
} else { } else {
return false; return false;
} }
$recommand_template = 'mobile_first/ah-next'; $recommand_template = 'mobile_first/ah-next-mobile';
break; break;
case 'pc': case 'pc':
//获取PC的模板如果有的话 //获取PC的模板如果有的话

@ -6,7 +6,7 @@
<?php if(!empty($recommands['Tour A'])){ ?> <?php if(!empty($recommands['Tour A'])){ ?>
<div class="nextarticle"> <div class="nextarticle">
<a href="<?php echo $recommands['Tour A']->ic_url; ?>" id="bottom_tour_a_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy" <a href="<?php echo $recommands['Tour A']->ic_url; ?>" id="bottom_tour_a_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour A']->desktop_photo; ?>" originalsrc="<?php echo $recommands['Tour A']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour A']->ic_title; ?>"></a> class="img-responsive" alt="<?php echo $recommands['Tour A']->ic_title; ?>"></a>
<div class="tournextname"><a href="<?php echo $recommands['Tour A']->ic_url; ?>" id="bottom_tour_a_title_mobile"><?php echo $recommands['Tour A']->ic_title; ?></a></div> <div class="tournextname"><a href="<?php echo $recommands['Tour A']->ic_url; ?>" id="bottom_tour_a_title_mobile"><?php echo $recommands['Tour A']->ic_title; ?></a></div>
@ -18,7 +18,7 @@
<?php if(!empty($recommands['Tour B'])){ ?> <?php if(!empty($recommands['Tour B'])){ ?>
<div class="nextarticle"> <div class="nextarticle">
<a href="<?php echo $recommands['Tour B']->ic_url; ?>" id="bottom_tour_b_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy" <a href="<?php echo $recommands['Tour B']->ic_url; ?>" id="bottom_tour_b_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour B']->desktop_photo; ?>" originalsrc="<?php echo $recommands['Tour B']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour B']->ic_title; ?>"></a> class="img-responsive" alt="<?php echo $recommands['Tour B']->ic_title; ?>"></a>
<div class="tournextname"><a href="<?php echo $recommands['Tour B']->ic_url; ?>" id="bottom_tour_b_title_mobile"><?php echo $recommands['Tour B']->ic_title; ?></a></div> <div class="tournextname"><a href="<?php echo $recommands['Tour B']->ic_url; ?>" id="bottom_tour_b_title_mobile"><?php echo $recommands['Tour B']->ic_title; ?></a></div>
@ -30,7 +30,7 @@
<?php if(!empty($recommands['Tour C'])){ ?> <?php if(!empty($recommands['Tour C'])){ ?>
<div class="nextarticle"> <div class="nextarticle">
<a href="<?php echo $recommands['Tour C']->ic_url; ?>" id="bottom_tour_c_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy" <a href="<?php echo $recommands['Tour C']->ic_url; ?>" id="bottom_tour_c_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour C']->desktop_photo; ?>" originalsrc="<?php echo $recommands['Tour C']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour C']->ic_title; ?>"></a> class="img-responsive" alt="<?php echo $recommands['Tour C']->ic_title; ?>"></a>
<div class="tournextname"><a href="<?php echo $recommands['Tour C']->ic_url; ?>" id="bottom_tour_c_title_mobile"><?php echo $recommands['Tour C']->ic_title; ?></a></div> <div class="tournextname"><a href="<?php echo $recommands['Tour C']->ic_url; ?>" id="bottom_tour_c_title_mobile"><?php echo $recommands['Tour C']->ic_title; ?></a></div>
@ -42,7 +42,7 @@
<?php if(!empty($recommands['Tour D'])){ ?> <?php if(!empty($recommands['Tour D'])){ ?>
<div class="nextarticle"> <div class="nextarticle">
<a href="<?php echo $recommands['Tour D']->ic_url; ?>" id="bottom_tour_d_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy" <a href="<?php echo $recommands['Tour D']->ic_url; ?>" id="bottom_tour_d_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour D']->desktop_photo; ?>" originalsrc="<?php echo $recommands['Tour D']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour D']->ic_title; ?>"></a> class="img-responsive" alt="<?php echo $recommands['Tour D']->ic_title; ?>"></a>
<div class="tournextname"><a href="<?php echo $recommands['Tour D']->ic_url; ?>" id="bottom_tour_d_title_mobile"><?php echo $recommands['Tour D']->ic_title; ?></a></div> <div class="tournextname"><a href="<?php echo $recommands['Tour D']->ic_url; ?>" id="bottom_tour_d_title_mobile"><?php echo $recommands['Tour D']->ic_title; ?></a></div>
@ -56,7 +56,7 @@
<?php if(!empty($recommands['Tour E'])){ ?> <?php if(!empty($recommands['Tour E'])){ ?>
<div class="nextarticle"> <div class="nextarticle">
<a href="<?php echo $recommands['Tour E']->ic_url; ?>" id="bottom_tour_e_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy" <a href="<?php echo $recommands['Tour E']->ic_url; ?>" id="bottom_tour_e_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour E']->desktop_photo; ?>" originalsrc="<?php echo $recommands['Tour E']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour E']->ic_title; ?>"></a> class="img-responsive" alt="<?php echo $recommands['Tour E']->ic_title; ?>"></a>
<div class="tournextname"><a href="<?php echo $recommands['Tour E']->ic_url; ?>" id="bottom_tour_e_title_mobile"><?php echo $recommands['Tour E']->ic_title; ?></a></div> <div class="tournextname"><a href="<?php echo $recommands['Tour E']->ic_url; ?>" id="bottom_tour_e_title_mobile"><?php echo $recommands['Tour E']->ic_title; ?></a></div>
@ -71,7 +71,7 @@
<?php if(!empty($recommands['Tour F'])){ ?> <?php if(!empty($recommands['Tour F'])){ ?>
<div class="nextarticle"> <div class="nextarticle">
<a href="<?php echo $recommands['Tour F']->ic_url; ?>" id="bottom_tour_f_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy" <a href="<?php echo $recommands['Tour F']->ic_url; ?>" id="bottom_tour_f_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour F']->desktop_photo; ?>" originalsrc="<?php echo $recommands['Tour F']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour F']->ic_title; ?>"></a> class="img-responsive" alt="<?php echo $recommands['Tour F']->ic_title; ?>"></a>
<div class="tournextname"><a href="<?php echo $recommands['Tour F']->ic_url; ?>" id="bottom_tour_f_title_mobile"><?php echo $recommands['Tour F']->ic_title; ?></a></div> <div class="tournextname"><a href="<?php echo $recommands['Tour F']->ic_url; ?>" id="bottom_tour_f_title_mobile"><?php echo $recommands['Tour F']->ic_title; ?></a></div>
@ -85,7 +85,7 @@
<?php if(!empty($recommands['Tour G'])){ ?> <?php if(!empty($recommands['Tour G'])){ ?>
<div class="nextarticle"> <div class="nextarticle">
<a href="<?php echo $recommands['Tour G']->ic_url; ?>" id="bottom_tour_g_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy" <a href="<?php echo $recommands['Tour G']->ic_url; ?>" id="bottom_tour_g_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour G']->desktop_photo; ?>" originalsrc="<?php echo $recommands['Tour G']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour G']->ic_title; ?>"></a> class="img-responsive" alt="<?php echo $recommands['Tour G']->ic_title; ?>"></a>
<div class="tournextname"><a href="<?php echo $recommands['Tour G']->ic_url; ?>" id="bottom_tour_g_title_mobile"><?php echo $recommands['Tour G']->ic_title; ?></a></div> <div class="tournextname"><a href="<?php echo $recommands['Tour G']->ic_url; ?>" id="bottom_tour_g_title_mobile"><?php echo $recommands['Tour G']->ic_title; ?></a></div>
@ -99,7 +99,7 @@
<?php if(!empty($recommands['Tour H'])){ ?> <?php if(!empty($recommands['Tour H'])){ ?>
<div class="nextarticle"> <div class="nextarticle">
<a href="<?php echo $recommands['Tour H']->ic_url; ?>" id="bottom_tour_h_image_mobile"><img src="https://data.asiahighlights.com/grey.gif" loader="lazy" <a href="<?php echo $recommands['Tour H']->ic_url; ?>" id="bottom_tour_h_image_mobile"><img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour H']->desktop_photo; ?>" originalsrc="<?php echo $recommands['Tour H']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour H']->ic_title; ?>"></a> class="img-responsive" alt="<?php echo $recommands['Tour H']->ic_title; ?>"></a>
<div class="tournextname"><a href="<?php echo $recommands['Tour H']->ic_url; ?>" id="bottom_tour_h_title_mobile"><?php echo $recommands['Tour H']->ic_title; ?></a></div> <div class="tournextname"><a href="<?php echo $recommands['Tour H']->ic_url; ?>" id="bottom_tour_h_title_mobile"><?php echo $recommands['Tour H']->ic_title; ?></a></div>
@ -120,7 +120,7 @@
<div class="nextarticle"> <div class="nextarticle">
<a href="<?php echo $recommands['Article A']->ic_url; ?>" id="bottom_info_a_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy" <a href="<?php echo $recommands['Article A']->ic_url; ?>" id="bottom_info_a_image_mobile"> <img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article A']->desktop_photo; ?>" originalsrc="<?php echo $recommands['Article A']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article A']->ic_title; ?>"></a> class="img-responsive" alt="<?php echo $recommands['Article A']->ic_title; ?>"></a>
<div class="tournextname"> <div class="tournextname">
@ -135,7 +135,7 @@
<div class="nextarticle"> <div class="nextarticle">
<a href="<?php echo $recommands['Article B']->ic_url; ?>" id="bottom_info_b_image_mobile"></a> <img <a href="<?php echo $recommands['Article B']->ic_url; ?>" id="bottom_info_b_image_mobile"></a> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy" src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article B']->desktop_photo; ?>" originalsrc="<?php echo $recommands['Article B']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article B']->ic_title; ?>"></a> class="img-responsive" alt="<?php echo $recommands['Article B']->ic_title; ?>"></a>
<div class="tournextname"> <div class="tournextname">
@ -151,7 +151,7 @@
<div class="nextarticle"> <div class="nextarticle">
<a href="<?php echo $recommands['Article C']->ic_url; ?>" id="bottom_info_c_image_mobile"> <img <a href="<?php echo $recommands['Article C']->ic_url; ?>" id="bottom_info_c_image_mobile"> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy" src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article C']->desktop_photo; ?>" originalsrc="<?php echo $recommands['Article C']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article C']->ic_title; ?>"></a> class="img-responsive" alt="<?php echo $recommands['Article C']->ic_title; ?>"></a>
<div class="tournextname"> <div class="tournextname">
@ -167,7 +167,7 @@
<div class="nextarticle"> <div class="nextarticle">
<a href="<?php echo $recommands['Article D']->ic_url; ?>" id="bottom_info_d_image_mobile"> <img <a href="<?php echo $recommands['Article D']->ic_url; ?>" id="bottom_info_d_image_mobile"> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy" src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article D']->desktop_photo; ?>" originalsrc="<?php echo $recommands['Article D']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article D']->ic_title; ?>"></a> class="img-responsive" alt="<?php echo $recommands['Article D']->ic_title; ?>"></a>
<div class="tournextname"> <div class="tournextname">
@ -184,7 +184,7 @@
<div class="nextarticle"> <div class="nextarticle">
<a href="<?php echo $recommands['Article E']->ic_url; ?>" id="bottom_info_e_image_mobile"> <img <a href="<?php echo $recommands['Article E']->ic_url; ?>" id="bottom_info_e_image_mobile"> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy" src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article E']->desktop_photo; ?>" originalsrc="<?php echo $recommands['Article E']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article E']->ic_title; ?>"></a> class="img-responsive" alt="<?php echo $recommands['Article E']->ic_title; ?>"></a>
<div class="tournextname"> <div class="tournextname">
@ -201,7 +201,7 @@
<div class="nextarticle"> <div class="nextarticle">
<a href="<?php echo $recommands['Article F']->ic_url; ?>" id="bottom_info_f_image_mobile"> <img <a href="<?php echo $recommands['Article F']->ic_url; ?>" id="bottom_info_f_image_mobile"> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy" src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article F']->desktop_photo; ?>" originalsrc="<?php echo $recommands['Article F']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article F']->ic_title; ?>"></a> class="img-responsive" alt="<?php echo $recommands['Article F']->ic_title; ?>"></a>
<div class="tournextname"> <div class="tournextname">
@ -218,7 +218,7 @@
<div class="nextarticle"> <div class="nextarticle">
<a href="<?php echo $recommands['Article G']->ic_url; ?>" id="bottom_info_g_image_mobile"> <img <a href="<?php echo $recommands['Article G']->ic_url; ?>" id="bottom_info_g_image_mobile"> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy" src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article G']->desktop_photo; ?>" originalsrc="<?php echo $recommands['Article G']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article G']->ic_title; ?>"></a> class="img-responsive" alt="<?php echo $recommands['Article G']->ic_title; ?>"></a>
<div class="tournextname"> <div class="tournextname">
@ -234,7 +234,7 @@
<div class="nextarticle"> <div class="nextarticle">
<a href="<?php echo $recommands['Article H']->ic_url; ?>" id="bottom_info_h_image_mobile"> <img <a href="<?php echo $recommands['Article H']->ic_url; ?>" id="bottom_info_h_image_mobile"> <img
src="https://data.asiahighlights.com/grey.gif" loader="lazy" src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article H']->desktop_photo; ?>" originalsrc="<?php echo $recommands['Article H']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article H']->ic_title; ?>"></a> class="img-responsive" alt="<?php echo $recommands['Article H']->ic_title; ?>"></a>
<div class="tournextname"> <div class="tournextname">

Loading…
Cancel
Save