最新下载
24小时阅读排行榜
- 1 如何使用 Go pprof 获取函数调用次数(Hit Count)而非执行时长
- 2 如何将嵌套数组数据按顺序注入同名类的多个 DOM 元素中
- 3 如何将嵌套数组数据按顺序注入同名 class 的多个 DOM 元素中
- 4 VueJS 中等待所有 API 请求完成后再渲染表单的完整解决方案
- 5 Go 中类型别名与指针方法接收器的隐式转换陷阱详解
- 6 Swiper 10 自动轮播不因点击暂停的正确配置方法
- 7 如何在滚动时为粘性定位容器内的标题逐个触发动画效果
- 8 Ubuntu 16.04 上安装 php7.2-curl 失败的完整解决方案
- 9 如何在 CGO 中安全地将 C 结构体数组传递到 Go 并正确切片访问
- 10 Swiper 10 自动播放不因点击暂停的完整解决方案
- 11 VueJS 中优雅等待多个 API 请求完成的完整实践指南
- 12 如何正确初始化依赖注入容器以避免属性值为 null
- 13 Ubuntu 16.04 下正确安装 php7.2-curl 扩展的完整指南
- 14 Ubuntu 16.04 上安装 php7.2-curl 的完整解决方案
- 15 Go 中原子操作与内存序:为何没有 memory_order 控制及替代方案
最新教程
-
- Node.js 教程
- 16159 2025-08-28
-
- CSS3 教程
- 1546658 2025-08-27
-
- Rust 教程
- 23293 2025-08-27
-
- Vue 教程
- 25761 2025-08-22
-
- PostgreSQL 教程
- 22240 2025-08-21
-
- Git 教程
- 9223 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; }
