diff --git a/application/controllers/information.php b/application/controllers/information.php index 604e2083..685ef01f 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -636,6 +636,15 @@ class Information extends CI_Controller } } + // 天气预报模板 + $weather_forecast_content = $this->load->view( + $template_path . '-weather-forecast', + array(), + true); + $template = str_replace( + '', + $weather_forecast_content, + $template); //火车票搜索框添加 -- zp if ($information->is_parent_id == "278008234") { diff --git a/application/views/mobile_first/ch-weather-forecast.php b/application/views/mobile_first/ch-weather-forecast.php new file mode 100644 index 00000000..c5f8692f --- /dev/null +++ b/application/views/mobile_first/ch-weather-forecast.php @@ -0,0 +1,163 @@ +
+
+
+ Today
+ ... +... +![]() ... +Humidity: ... +Wind: ... + |
+
+
+
+ Tomorrow
+ ... +... +![]() ... +Humidity: ... +Wind: ... + |
+
+
+
+ Forcast2
+ ... +... +![]() ... +Humidity: ... +Wind: ... + |
+
+
+
+ Forcast3
+ ... +... +![]() ... +Humidity: ... +Wind: ... + |
+
+
+
+ Forcast4
+ ... +... +![]() ... +Humidity: ... +Wind: ... + |
+
+
+
+ Forcast5
+ ... +... +![]() ... +Humidity: ... +Wind: ... + |
+