随笔分类 - 资源
摘要:播放器播放条 斗鱼、Youtobe等 https://web-streaming.github.io/ppbar/ 使用 使用 ppbar,需要导入 ProgressBar 类和 ppbar 的样式。 import ProgressBar from 'ppbar'; import 'ppbar/di
阅读全文
摘要:<template> <div class="count-to-wrapper"> <slot name="left"/> <p class="content-outer"><span :class="['count-to-count-text', countClass]" :id="counter
阅读全文
摘要:$(function () { const models = [ {id: 1, title: 'hello', parent: 0}, {id: 3, title: 'hello', parent: 1}, {id: 4, title: 'hello', parent: 3}, {id: 5, t
阅读全文
摘要:<template> <div :id="`drawer_container_${id}`"> <el-drawer :id="id+'_drawer'" :wrapperClosable="false" @close="onClose" v-if="isShowDraw" :visible.syn
阅读全文
摘要:var url = interfaceURL; var backUrl = interfaceBackURL; var hardBackUrl = hardDataURL; var cacheTime = 10day; Ajax({ url: url, backurl: backUrl, succe
阅读全文
摘要:animate.css 最有名的动画效果库 magic.css css 动画效果库 类似 animate.css popmotion 一个函数式声明前端动画库 NES.css 任天堂主题风格 css 库 particles.js 前端实现颗粒粒子的动画效果库,比较炫酷,但相对的也比较吃性能 Pape
阅读全文
摘要:1.普通滚动 <div class="info"> <transition name="slide" mode="out-in"> <div class="con" v-if="number == 0" key="money"> <div>发射心心得奖金</div> <div class="mone
阅读全文
摘要:1.文字渐变color:#DBA465; background-image: linear-gradient(to bottom, #fffefc 20%, #fdd050); -webkit-background-clip: text; background-clip: text; -webkit
阅读全文
摘要:display: flex; flex-wrap: nowrap; margin-bottom: 30px; margin-top: 15px; box-sizing: border-box; -ms-overflow-style: none; overflow: -moz-scrollbars-n
阅读全文
摘要:/** * covert canvas to image * and save the image file */ export const Canvas2Image = function () { // check if support sth. var $support = function (
阅读全文
摘要:引入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
阅读全文
摘要:原文:https://github.com/zhongDZ/zhongdz.github.com/issues/37 这里收集了许多移动端上遇到的各种坑与相对解决方案 ##工具类网站 HTML5 与 CSS3 技术应用评估 各种奇妙的hack 几乎所有设备的屏幕尺寸与像素密度表 移动设备参数表 io
阅读全文
摘要:1.锚点链接 2.document.getElementById(rewardid).scrollIntoView(); 3. Math.easeout = function (A, B, rate, callback) { if (A == B || typeof A != 'number') {
阅读全文
摘要:<template> <div id="root"> <nav-con id="nav" ref="nav" :title="'他们送上了祝福'"></nav-con> <div class="container" :class="{'container-ipx': ipx,'container-i
阅读全文
摘要:html, body, ul, li, p, h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; } ::-webkit-scrollbar { display: none; } ul, li { list-style: none; } html { height: 100%; min-height: 100%; } b...
阅读全文
摘要:http_path = ''; /** * 是否相等 */ function equals(obj1, obj2) { if (obj1 == obj2) return true; if (typeof (obj1) == "undefined" || obj1 == null || typeof
阅读全文
摘要:moment.js 时间函数库 query-string url参数解析库 https://github.com/peunzhang/pageResponse 移动端响应 适用滑屏 简单页面 https://zh.javascript.info/ https://chokcoco.github.io
阅读全文
摘要:## normalize.css 中文版 normalize.css 原地址:http://necolas.github.io/normalize.css/reset 太暴力了,这个 normalize 相对要温柔很多。译文与原文中空了一行。
阅读全文
摘要:内容 UI组件 开发框架 实用库 服务端 辅助工具 应用实例 Demo示例 UI组件 element ★13489 - 饿了么出品的Vue2的web UI工具套件 Vux ★8133 - 基于Vue和WeUI的组件库 iview ★6634 - 基于 Vuejs 的开源 UI 组件库 mint-ui
阅读全文