From da3a6fc24d47d0bf29994008c6c1b1aa486b2039 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Tue, 21 Dec 2021 11:44:58 +0800 Subject: [PATCH 01/23] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=A4=A9=E6=B0=94?= =?UTF-8?q?=E6=97=A5=E6=9C=9F=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/views/mobile_first/ch-weather-forecast.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/views/mobile_first/ch-weather-forecast.php b/application/views/mobile_first/ch-weather-forecast.php index 8c1cb510..dcdd1bb3 100644 --- a/application/views/mobile_first/ch-weather-forecast.php +++ b/application/views/mobile_first/ch-weather-forecast.php @@ -91,7 +91,7 @@ var weekMap = new Array("SUN.", "MON.", "TUE.", "WED.", "THU.", "FRI.", "SAT."); var monthMap = new Array("Jan.", "Feb.", "Mar.", "Apr.", "May.", "Jun.", "Jul.", "Aug.", "Sept.", "Oct.", "Nov.", "Dec."); function formatDate(date) { - return monthMap[(date.getMonth())] + date.getDate() + '.'; + return monthMap[(date.getMonth())] + ' ' + date.getDate(); } function formatWeek(date) { return weekMap[date.getDay()]; From d4be2fa01cc9255d2565a0b4bdec66936b07676d Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Tue, 21 Dec 2021 14:35:14 +0800 Subject: [PATCH 02/23] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=9C=80=E9=AB=98?= =?UTF-8?q?=E6=B8=A9=E5=BA=A6=E5=92=8C=E6=9C=80=E4=BD=8E=E6=B8=A9=E5=BA=A6?= =?UTF-8?q?=E7=9A=84=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/views/mobile_first/ch-weather-forecast.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/views/mobile_first/ch-weather-forecast.php b/application/views/mobile_first/ch-weather-forecast.php index dcdd1bb3..4d4be41a 100644 --- a/application/views/mobile_first/ch-weather-forecast.php +++ b/application/views/mobile_first/ch-weather-forecast.php @@ -165,9 +165,9 @@ fetch(forecastUrl) // document.getElementById('forecastWeek' + number).innerText = formatWeek(currentDate); document.getElementById('forecastDate' + number).innerText = formatDate(currentDate); document.getElementById('forecastTemperature' + number).innerText = - Math.round(firstDay.main.temp) + '~' + Math.round(lastDay.main.temp) + '°C'; + Math.round(firstDay.main.temp) + ' ~ ' + Math.round(lastDay.main.temp) + '°C'; document.getElementById('forecastFahrenheit' + number).innerText = - Math.round(convertToF(firstDay.main.temp)) + '~' + Math.round(convertToF(lastDay.main.temp)) + '℉'; + Math.round(convertToF(firstDay.main.temp)) + ' ~ ' + Math.round(convertToF(lastDay.main.temp)) + '℉'; document.getElementById('forecastIcon' + number).src = 'https://data.chinahighlights.com/image/weather/icon-weather/' + firstDay.weather[0].icon + '.png'; document.getElementById('forecastCondition' + number).innerText = firstDay.weather[0].main; document.getElementById('forecastHumidity' + number).innerText = 'Humidity: ' + firstDay.main.humidity + '%'; From c819616f0775333e5b1b19bc7f8eba91aab5fa81 Mon Sep 17 00:00:00 2001 From: Ling Date: Wed, 22 Dec 2021 14:29:13 +0800 Subject: [PATCH 03/23] =?UTF-8?q?CT=E5=BA=95=E9=83=A8=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/mobile_first/chinatravel.php | 24 +++++++++---------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/application/views/mobile_first/chinatravel.php b/application/views/mobile_first/chinatravel.php index a8c16d4d..dd282e57 100644 --- a/application/views/mobile_first/chinatravel.php +++ b/application/views/mobile_first/chinatravel.php @@ -209,9 +209,15 @@
+
-
- +
- -
-
- +