yyh
yyh
# 微信分享过程中遇到的问题总结(SPA/history模式) > [微信接口demo](http://203.195.235.76/jssdk/) ----- ## 开发文档 + [微信开发文档](https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141115) + [微信网页鉴权](https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421140842) + [微信开发论坛](http://qydev.weixin.qq.com/qa/index.php?qa=js-%E6%8E%A5-%E5%8F%A3) ## 微信调整  ## 微信JS-SDK(此总结仅使用与**SPA/History**模式下) + ### 使用微信JS-SDK步骤:(这里简单说明一下,具体步骤详解看[微信JS-SDK说明文档](https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141115)) 1. 去微信公众平台设置’js接口安全域名‘ 2. 引入js接口文件 + 引入链接:`http://res.wx.qq.com/open/js/jweixin-1.2.0.js` + 加载模块:`npm install...
## 文档流顺序 + [层叠上下文](http://www.zhangxinxu.com/wordpress/2016/01/understand-css-stacking-context-order-z-index/)   ## 脱离文档流: + `float` + `position: absolute` + `position: fixed` ## 1.浮动元素有什么特征?对父容器、其他浮动元素、普通元素、文字分别有什么影响? 浮动元素的特征:首先脱离文档正常流,根据设置的浮动方式向左或向右浮动,直到遇所处容器的的边框或其它浮动元素。 对父容器的影响:会使父容器高度塌陷; 对其它浮动元素的影响:会阻止其它浮动元素继续移动; 对普通元素的影响:普通元素就像感知不到浮动元素的存在,浮动元素会覆盖住普通元素; 对文字的影响:文字能够感知到浮动元素,会环绕浮动元素按顺序显示; ## 2. 清除浮动指什么? 如何清除浮动? 两种以上方法 清除浮动:浮动会造成的父容器塌陷,造成页面布局破坏;因此通过清除浮动来解决; 清除浮动方法:...
+ mac ``` brew install postgresql brew services start postgresql ``` ``` creater user postgres password 'postgres' ``` [https://www.jianshu.com/p/e7bc2ea02c5c](https://www.jianshu.com/p/e7bc2ea02c5c) [http://www.postgres.cn/docs/10/tutorial-createdb.html](http://www.postgres.cn/docs/10/tutorial-createdb.html) -------------  ------ [sqlyog](https://github.com/webyog/sqlyog-community/wiki/Downloads)
[SortableJS](https://github.com/SortableJS) [element ui 的sortableJs封装](https://github.com/WakuwakuP/element-ui-el-table-draggable#readme) ------------------- ```js 拖拽下面的方块到上面任意容器中 #demo1 { margin: 20px; } #demo1 .panel-list { overflow: hidden; list-style: none; margin: 0; padding: 0; } #demo1 .panel-item { float: left; margin-right:...
[windows QGIS](https://www.qgis.org/zh-Hans/site/forusers/download.html) [教程](https://www.osgeo.cn/qgis-tutorial/index.html) mac ArcGis [http://geojson.io/](http://geojson.io/) [阿里云全国行政边界矢量数据](http://datav.aliyun.com/tools/atlas/#&lat=31.840232667909365&lng=104.2822265625&zoom=4) ---- [resium](https://cesium.com/index.html) [resium中文](http://cesium.xin/wordpress/) [resium react](https://github.com/darwin-education/resium) [awesome resium](https://github.com/ZhiminXu/AwesomeCesium)
+ [react-map-gl](https://visgl.github.io/react-map-gl/docs) + [react-mapbox-gl](http://alex3165.github.io/react-mapbox-gl/) + [vue-mapbox](https://soal.github.io/vue-mapbox/) ___ + [demo](https://codepen.io/anisart/pen/wYpwpb) ```js this.map.querySourceFeatures("land-circulation-source", { // sourceLayer: "land-circulation-layer", // 暂时未知 filter: ["==", "name", county], // name: 当前查询到的数据列表中的属性, county: 过滤值 })); ``` + [mapbox...
## vscode 插件 [1. 正则](https://marketplace.visualstudio.com/items?itemName=russell.any-rule) [2. 文件管理](https://marketplace.visualstudio.com/items?itemName=alefragnani.project-manager) [3. 变量格式转换](https://marketplace.visualstudio.com/items?itemName=wmaurer.change-case) ## npm 工具包 [1. git commit 信息提示提交](https://github.com/commitizen/cz-cli) [2. 列出无用module 删除](https://npkill.js.org/)
[sqlyog gui](https://github.com/webyog/sqlyog-community)
### input 标签在 iOS 上唤起软键盘,键盘收回后页面不回落(部分情况页面看上去已经回落,实际结构并未回落) input 焦点失焦后,ios 软键盘收起,但没有触发 window resize,导致实际页面 dom 仍然被键盘顶上去--错位。解决办法:全局监听 input 失焦事件,当触发事件后,将 body 的 scrollTop 设置为 0。 ``` document.addEventListener('focusout', () => { document.body.scrollTop = 0; }); ``` ###...
[wampserver](https://sourceforge.net/projects/wampserver/files/) -------- [安装](https://blog.csdn.net/coreyC/article/details/80340199?depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-2&utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-2) -------------------- [redis 官网](https://redis.io/download) [redis 下载页](http://download.redis.io/releases/) -------------------- [其他下载源](https://windows.php.net/downloads/pecl/releases/redis/) -------------------- [https://www.jianshu.com/p/c1d3d33519e1](https://www.jianshu.com/p/c1d3d33519e1) [适配教程](https://www.zhihu.com/question/19760722/answer/26680996) ------------php集成环境推荐----------- [https://www.php.cn/toutiao-362311.html](https://www.php.cn/toutiao-362311.html) [https://blog.csdn.net/Zhihua_W/article/details/70670055](https://blog.csdn.net/Zhihua_W/article/details/70670055)