去掉addthis改为互动图标。

hotfix/paypal-note
赵鹏 2 years ago
parent 38a6bf0721
commit 9c63d62fb6

@ -1835,8 +1835,10 @@ class Information extends CI_Controller
$data["PRODUCTJS"] = "";
$data["ISPRODUCT"] = "no"; //判断是否是产品页
$data["addthis_widget"] = "";
$data["FloatIcon"]=""; //浮动图标替代addthis
if (empty(get_meta($information->ic_id, 'meta_product_code'))) {
$data["addthis_widget"] = $this->load->view($template_path . '-add-this', false, true); //社媒代码addthis
//$data["addthis_widget"] = $this->load->view($template_path . '-add-this', false, true); //社媒代码addthis
$data["FloatIcon"]="<div class=\"fixed-tm\"><a href=\"/forms/customize.html\" >Create My Trip</a></div>";
} else {
// $data["PRODUCTJS"] = '<script src="https://data.chinatravel.com/js/mobile-first/flatpickr.js"></script>';
$data["ISPRODUCT"] = "yes";

@ -215,6 +215,7 @@
</main>
<!---mian end---->
<?php if (!in_array($productType,array("customize","contactus"))) { // 预订表单不显示 ?>
<?php echo $FloatIcon ?>
<!---tailor made star---->
<div class="content-tm">
<div class="opacity-content">

@ -212,6 +212,7 @@
</main>
<!--main end-->
<?php if (!in_array($productType,array("customize","contactus"))) { // 预订表单不显示 ?>
<?php echo $FloatIcon ?>
<!---tailor made star---->
<div class="content-tm">
<div class="opacity-content">

Loading…
Cancel
Save