From 4293acd19644bbaa974ad60ae00edaaee0ef7e62 Mon Sep 17 00:00:00 2001
From: zhaoxing <zhaoxing@shsening.com>
Date: 星期一, 18 九月 2023 21:10:50 +0800
Subject: [PATCH] 调整样式
---
mobile/road_search.html | 21 ++++++++++++++++++---
1 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/mobile/road_search.html b/mobile/road_search.html
index 706107a..49f1e3b 100644
--- a/mobile/road_search.html
+++ b/mobile/road_search.html
@@ -141,7 +141,7 @@
<thead>
<tr style="background:#304b80; color: #fff;">
<th width="50">搴忓彿</th>
- <th width="80">
+ <th width="90">
<select id="regionSelect" style="width: 100%; background: #304b80; border: none;">
<option value="">涓婃捣甯�</option>
<option value="榛勬郸鍖�">榛勬郸鍖�</option>
@@ -162,8 +162,8 @@
<option value="鏅檧鍖�">鏅檧鍖�</option>
</select>
</th>
- <th style="width: calc(100% - 212px); overflow: hidden; text-overflow: ellipsis;" id="newname_a">鍚嶇О</th>
- <th width="80"><select style="width: 100%; background: #304b80; border: none;" id="qindex_selection"></select></th>
+ <th style="width: calc(100% - 232px); overflow: hidden; text-overflow: ellipsis;" id="newname_a">鍚嶇О</th>
+ <th width="90"><select style="width: 100%; background: #304b80; border: none;" id="qindex_selection"></select></th>
</tr>
</thead>
<tbody class="am-u-sm-12" id="searchInfo" style="cursor: pointer;">
@@ -177,6 +177,21 @@
</div>
</div>
<script type="text/javascript" src="js/widget_search_view.js"></script>
+ <script type="text/javascript">
+ // options.forEach(element => $("#qindex_selection").append("<option value='" + element + "'>" + element + "</option>"));
+ $("#qindex_selection").find("option[value=pm25]").text("PM鈧�.鈧�");
+ $("#qindex_selection").find("option[value=pm10]").text("PM鈧佲個");
+ $("#qindex_selection").find("option[value=no]").text("NO");
+ $("#qindex_selection").find("option[value=nox]").text("NO鈧�");
+ $("#qindex_selection").find("option[value=no2]").text("NO鈧�");
+ $("#qindex_selection").find("option[value=co]").text("CO");
+ $("#qindex_selection").find("option[value=so2]").text("SO鈧�");
+ $("#qindex_selection").find("option[value=o3]").text("O鈧�");
+ $("#qindex_selection").find("option[value=o31]").text("O鈧冣倎");
+ $("#qindex_selection").find("option[value=o38]").text("O鈧冣倛");
+ $("#qindex_selection").find("option[value=aqi]").text("AQI");
+ $("#qindex_selection").find("option[value=tsp]").text("TSP");
+ </script>
<!--閬撹矾鏌ヨ 缁撴潫-->
</body>
--
Gitblit v1.9.1