最新下载
24小时阅读排行榜
- 1 如何在 PHP 中生成指定日期范围内每周特定星期几的所有日期
- 2 PHP 中生成指定周几的周期性日期序列(如每周一、每周三等)
- 3 Jupyter Notebook 自动保存机制详解:无需手动保存也能安心下载
- 4 如何正确使用 :last-of-type 选择器实现“按类名选取最近子元素”
- 5 Go 中 quit 通道在二叉树遍历(Walk)中的作用详解
- 6 Go 中 quit 通道在二叉树遍历中的作用:优雅终止协程以实现高效同步
- 7 Python 实现带降级机制的缓存:网络不可靠时返回过期数据
- 8 如何在 Django 中正确使用 CKEditor 并保存富文本内容
- 9 JavaScript 表单事件绑定失败的常见原因及修复方案
- 10 如何正确使用 :last-of-type 选择器定位特定类的最后一个直接子元素
- 11 PHPMailer SMTP 配置在 OVH 服务器上的正确实践
- 12 如何让网格容器中的子元素显示渐变背景,而容器空白区域保持白色
- 13 Go语言中函数返回指针时的地址理解与常见误区
- 14 Go 中二叉树遍历的 quit 通道:如何优雅终止协程并避免资源泄漏
- 15 如何让异步调用代码更清晰易读
最新教程
-
- Node.js 教程
- 16098 2025-08-28
-
- CSS3 教程
- 1546496 2025-08-27
-
- Rust 教程
- 23239 2025-08-27
-
- Vue 教程
- 25709 2025-08-22
-
- PostgreSQL 教程
- 22192 2025-08-21
-
- Git 教程
- 9177 2025-08-21
代码片段:
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/Popt.js"></script>
<script type="text/javascript" src="js/city.json.js"></script>
<script type="text/javascript" src="js/citySet.js"></script>
<style type="text/css">
* { -ms-word-wrap: break-word; word-wrap: break-word; }
html { -webkit-text-size-adjust: none; text-size-adjust: none; }
html, body {height:99%;width:99%; }
.wrap{width:464px;height:34px;margin:20px auto;border:0;position:relative;}
.input{position:absolute;top:0;left:0;width:457px;margin:0;padding-left:5px;height:30px;line-height:30px;font-size:12px;border:1px solid #c9cacb;}
s{position:absolute;top:1px;right:0;width:32px;height:32px;background:url("img/arrow.png") no-repeat;}
._citys { width: 450px; display: inline-block; border: 2px solid #eee; padding: 5px; position: relative; }
._citys span { color: #05920a; height: 15px; width: 15px; line-height: 15px; text-align: center; border-radius: 3px; position: absolute; right: 10px; top: 10px; border: 1px solid #05920a; cursor: pointer; }
._citys0 { width: 95%; height: 34px; line-height: 34px; display: inline-block; border-bottom: 2px solid #05920a; padding: 0px 5px; font-size:14px; font-weight:bold; margin-left:6px; }
._citys0 li { display: inline-block; line-height: 34px; font-size: 15px; color: #888; width: 80px; text-align: center; cursor: pointer; }
._citys1 { width: 100%; display: inline-block; padding: 10px 0; }
._citys1 a { width: 83px; height: 35px; display: inline-block; background-color: #f5f5f5; color: #666; margin-left: 6px; margin-top: 3px; line-height: 35px; text-align: center; cursor: pointer; font-size: 12px; border-radius: 5px; overflow: hidden; }
._citys1 a:hover { color: #fff; background-color: #05920a; }
.AreaS { background-color: #05920a !important; color: #fff !important; }
