Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chenjinxinlove/cityselect
基于微信小程序的城市选择
https://github.com/chenjinxinlove/cityselect
Last synced: about 4 hours ago
JSON representation
基于微信小程序的城市选择
- Host: GitHub
- URL: https://github.com/chenjinxinlove/cityselect
- Owner: chenjinxinlove
- Created: 2017-01-04T00:39:21.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-29T07:39:22.000Z (almost 6 years ago)
- Last Synced: 2024-02-13T10:07:15.699Z (9 months ago)
- Language: JavaScript
- Size: 131 KB
- Stars: 192
- Watchers: 10
- Forks: 64
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### 微信小程序城市选择器
没有加搜索,请自行添加搜索##### 1、安装
git clone [email protected]:chenjinxinlove/citySelect.git
cd citySelect/
npm install 是基于gulp,需要安装依赖,支持es6语法
dist设置为微信小程序目录,src开发目录,添加IDE认识微信的文件,css基于sass
![image](http://www.chenjinxinlove.com/cdn/qiniu/QQ%E5%9B%BE%E7%89%8720170110085147.png)
##### 2、npm run dev 启动#### 3、处理城市列表的js脚本在/node/process.js
node process 执行![image](http://objheplwd.bkt.clouddn.com/656810557821000725.jpg)