master
赵鹏 2 years ago
parent df82ff0abc
commit 47611d2d89

@ -2287,8 +2287,7 @@ class Information extends CI_Controller
$dataform["TourCode"] = $productCode;
$dataform["CLI_SN"] = $tourdata->clisn;
$dataform["TourName"] = $information->ic_title;
$template_form_tourqi = $this->load->view($template_path . '-form-tourqi', $dataform, true);
$data["template_form_tourqi"] = $template_form_tourqi; //表单模板字符串
}
@ -2376,6 +2375,12 @@ class Information extends CI_Controller
}
}
if ($meta_ct_page_type == "tourdetail") {
$dataform['device'] = $device;
$template_form_tourqi = $this->load->view($template_path . '-form-tourqi', $dataform, true);
$data["template_form_tourqi"] = $template_form_tourqi; //表单模板字符串
}
//两种设备分别调用两种模板 ,静态化
switch ($device) {
case 'mobile':

@ -26,6 +26,7 @@
</div>
</div>
<p><strong>*What's Your Hotel Preference?</strong></p>
<?php if ($device == "pc") { ?>
<div class="flex-row visible-md">
<div class="flex-col-3 col-label">
<input class="mgc" id="r9" name="hoteltype" type="radio" value="5-star" />
@ -40,11 +41,13 @@
<label for="r11">3 Star (Economy)</label>
</div>
</div>
<?php } else { ?>
<div class="visible-xs m-bottom20"><select class="form-control" id="Hotel" name="Hotel">
<option>5 Star (Luxury)</option>
<option selected="selected" value="">4 Star (Comfort)</option>
<option>3 Star (Economy)</option>
</select></div>
<?php } ?>
<textarea rows="2" class="form-control m-bottom15" id="form_additionalrequirements" name="form_additionalrequirements" placeholder="Share your specific needs here, e.g. It's a family trip, anniversary, birthday... "></textarea>
<div class="flex-row">
<div class="flex-col-2 ">

Loading…
Cancel
Save