增加表单项

hotfix/paypal-note
赵鹏 4 years ago
parent b6fcf2e021
commit 68430b5763

@ -861,8 +861,8 @@ class Information extends CI_Controller
//主样式表,内联模式
//$apiweb="http://202.103.68.104"; //本地测试
$apiweb = "https://data.chinatravel.com";
$apiweb="http://202.103.68.104"; //本地测试
//$apiweb = "https://data.chinatravel.com";
if ($device == "mobile") {
$cssUrl = $apiweb . "/css/newcss3/base.css?v=".time();
} else {
@ -984,6 +984,14 @@ class Information extends CI_Controller
$data["clisn"] = $tourdata->clisn;
}
//表单页
if (in_array($meta_ct_page_type, array("customize", "contactus"))){
$productType=$meta_ct_page_type;
$addonJs .= '<script src="'.$apiweb.'/js/mobile-first/form.js"></script>';
$data["ADDONCSS"] .= '<link href="' . $apiweb . '/css/newcss3/flatpickr.css" rel="stylesheet" />';
}
$data["productType"] = $productType;
$data["productCode"] = $productCode;

@ -897,9 +897,15 @@
<option value="attractionindex" <?php echo get_meta($information->ic_id, 'meta_ct_page_type') === 'attractionindex' ? 'selected' : false; ?>>
城市景点首页
</option>
<option value="weatherpage" <?php echo get_meta($information->ic_id, 'meta_ct_page_weather') === 'weatherpage' ? 'selected' : false; ?>>
<option value="weatherpage" <?php echo get_meta($information->ic_id, 'meta_ct_page_type') === 'weatherpage' ? 'selected' : false; ?>>
城市天气页面
</option>
<option value="customize" <?php echo get_meta($information->ic_id, 'meta_ct_page_type') === 'customize' ? 'selected' : false; ?>>
Customize表单
</option>
<option value="contactus" <?php echo get_meta($information->ic_id, 'meta_ct_page_type') === 'contactus' ? 'selected' : false; ?>>
ContactUs表单
</option>
</select>
</div>
<div class="col-sm-6">

Loading…
Cancel
Save