• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
you1you
博客园 首页 新随笔 管理

随笔分类 -  h5 vue

 
预加载图片
该文被密码保护。
posted @ 2019-10-26 20:13 you1you
趋势线
该文被密码保护。
posted @ 2019-10-26 19:50 you1you
封装一个拖拽
摘要:export default { bind: function (el, binding, vnode) { const docEl = document.documentElement const move = function (e) { e.preventDefault() if (e.targetTouches.length === 1) { ... 阅读全文
posted @ 2019-10-25 13:34 you1you
svg使用
摘要:Vue.component('XSvg', () => import('./abc-svg')) <x-svg icon-name="personl" height="24" @click.native="" > <icon-personl /> </x-svg> <x-svg icon-name= 阅读全文
posted @ 2019-10-24 11:34 you1you
vue 安装插件
摘要:https://www.cnblogs.com/mengfangui/p/9046525.html 阅读全文
posted @ 2019-10-19 18:45 you1you
水波效果
摘要:.download-app { position: fixed; bottom: 0; left: 0; z-index: 20; color: #fff; font-size: 24px; overflow: hidden; width: 100%; height: 84px; background: url("../../../../assets/images/base/wave_bg.png 阅读全文
posted @ 2019-10-17 16:30 you1you
vue 换肤
摘要:/* eslint-disable */ // 设置文件 import setting from "@/setting.js"; const themeList = setting.theme.list; export default { namespaced: true, state: { // 主题 list: themeList, // 现在激活的主题 这应该是一个名字 不是对象 activ 阅读全文
posted @ 2019-10-14 21:35 you1you
websocket vue
摘要:/* eslint-disable */ let tt; let count = 1; let lockReconnect = false; function isJsonString(str) { try { if (typeof JSON.parse(str) === "object") { return true; } } catch (e) { } ... 阅读全文
posted @ 2019-10-14 21:30 you1you
 


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3