上一页 1 2 3 4 5 6 7 ··· 32 下一页
摘要: 1.文字渐变color:#DBA465; background-image: linear-gradient(to bottom, #fffefc 20%, #fdd050); -webkit-background-clip: text; background-clip: text; -webkit 阅读全文
posted @ 2020-11-16 12:37 创业男生 阅读(188) 评论(0) 推荐(1) 编辑
摘要: display: flex; flex-wrap: nowrap; margin-bottom: 30px; margin-top: 15px; box-sizing: border-box; -ms-overflow-style: none; overflow: -moz-scrollbars-n 阅读全文
posted @ 2020-10-13 16:30 创业男生 阅读(168) 评论(0) 推荐(0) 编辑
摘要: /** * covert canvas to image * and save the image file */ export const Canvas2Image = function () { // check if support sth. var $support = function ( 阅读全文
posted @ 2020-07-27 15:17 创业男生 阅读(897) 评论(0) 推荐(0) 编辑
摘要: 原因:es6 不兼容 1. object.assign babel不会处理默认 npm install babel-plugin-transform-object-assign npm install babel-plugin-transform-object-rest-spread 2.项目第三方 阅读全文
posted @ 2020-07-21 19:39 创业男生 阅读(163) 评论(0) 推荐(1) 编辑
摘要: 引入sdk <script src="https://xxxx/xxx/jweixin-1.6.0.js"></script> var ctx = window; var param = {}; ctx.__mm_getWeixinSign = function(resp){ if (resp.ec 阅读全文
posted @ 2020-07-04 16:43 创业男生 阅读(233) 评论(0) 推荐(0) 编辑
摘要: const path = require('path'); const cwd = process.cwd(); const VueLoaderPlugin = require('vue-loader/lib/plugin'); const { getHtmlWebpackPlugins, getE 阅读全文
posted @ 2020-06-28 15:06 创业男生 阅读(361) 评论(0) 推荐(0) 编辑
摘要: <template> <div ref="wrapper"> <slot></slot> </div> </template> <script type="text/ecmascript-6"> import BScroll from 'better-scroll' export default { 阅读全文
posted @ 2020-06-17 14:25 创业男生 阅读(495) 评论(0) 推荐(0) 编辑
摘要: 原文:https://github.com/zhongDZ/zhongdz.github.com/issues/37 这里收集了许多移动端上遇到的各种坑与相对解决方案 ##工具类网站 HTML5 与 CSS3 技术应用评估 各种奇妙的hack 几乎所有设备的屏幕尺寸与像素密度表 移动设备参数表 io 阅读全文
posted @ 2020-06-17 12:33 创业男生 阅读(435) 评论(0) 推荐(0) 编辑
摘要: 系统自带webview里的注意点 1.IOS端:active不生效 常见效果长按按钮状态发生变化,比如切换src等,用:active再方便不过,可是可是。。。 解决方案:body标签里绑定个<body ontouchstart=""></body>,可写js绑定 2.IOS端:div,span,p. 阅读全文
posted @ 2020-06-17 12:00 创业男生 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 1. -webkit-overflow-scrolling:touch是什么? MDN上是这样定义的: -webkit-overflow-scrolling 属性控制元素在移动设备上是否使用滚动回弹效果.auto: 使用普通滚动, 当手指从触摸屏上移开,滚动会立即停止。touch: 使用具有回弹效果 阅读全文
posted @ 2020-06-17 11:32 创业男生 阅读(543) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 32 下一页