摘要: 一、使用的工具 https://gitee.com/tywAmblyopia/ToolsUI 二、使用 VUE中使用 -1.拉取代码 -2.将canyou文件夹放到public目录下 -3.在public文件夹下的index.html文件中</head>标签前,引用v1.8以上的jquery.min 阅读全文
posted @ 2023-08-01 14:31 bignewbie 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 前言:可视化大屏开发在前端项目中日益增多,为解决大屏可在尽可能多的设备上都能展示,为此提供以下解决方案,可供参考。 基准屏幕分辨率:1920 * 1080 1.在公共样式文件中,将px按比例计算转为vw和vh @vw: (1/1920) * 100vw; @vh: (1/1080) * 100vh; 阅读全文
posted @ 2023-02-01 14:51 bignewbie 阅读(411) 评论(0) 推荐(0) 编辑
摘要: 1.Vs code商店搜索 Path Intellisense 插件安装 2. 打开设置 - 首选项 - 搜索 Path Intellisense - 打开 settings.json ,添加: "path-intellisense.mappings": { "@": "${workspaceRoo 阅读全文
posted @ 2021-11-29 11:28 bignewbie 阅读(737) 评论(0) 推荐(0) 编辑
摘要: 1.广告组件 <!-- * 滚动广告 *@parmas msg 广告内容 *@parmas height 容器高度 --> <template> <div class="inner" :style="{height:height}"> <ul :class="{marquee_top:animate 阅读全文
posted @ 2021-11-12 11:33 bignewbie 阅读(336) 评论(0) 推荐(0) 编辑
摘要: iPhone不能识别YYYY-MM-DD格式的日期 所以在所有使用到日期转换的情况,需要先把日期中的 " - " replace 成 " / "。但与后端通信、页面之间通信时,建议继续保留YYYY-MM-DD的格式,因为" / "在http传参中需要进行转义。 页面间传递参数使用get方式 页面之间 阅读全文
posted @ 2021-09-06 13:45 bignewbie 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 1. 安装路由 npm i vue-router@next -D 2.安装Vuex npm i vuex@next -D 3.安装sass npm i -D sass 4.vscode 支持 eslint npm install --save-dev eslint eslint-loader bab 阅读全文
posted @ 2021-03-13 14:32 bignewbie 阅读(456) 评论(0) 推荐(0) 编辑
摘要: 1.安装 vue-router@next npm i vue-router@next -D 2.使用步骤 -1. 创建 router.js import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router 阅读全文
posted @ 2021-03-13 14:22 bignewbie 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 1.vite vite 是 Vue 作者开发的一款意图取代webpack的工具 原理:利用 ES6 中 import 会发送请求去加载文件的特点,拦截请求,做一些预编译,减少 webpack 冗余的打包时间 2. 安装 create -vite -app - 1.如果已经安装过旧版,先卸载 npm 阅读全文
posted @ 2021-03-13 14:08 bignewbie 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 1、扩展css3 .css_animation{ height:50px; width:50px; border-radius: 25px; background: rgba(250, 0, 0, 0.9); transform: scale(0); animation: myfirst 3s; a 阅读全文
posted @ 2020-07-29 12:01 bignewbie 阅读(758) 评论(0) 推荐(0) 编辑
摘要: 问题原因:由于百度地图不断渲染DOM的原因导致点过多时,会出现地图卡顿问题 卡顿代码: /** * 向该聚合添加一个标记。 * @param {Marker} marker 要添加的标记。 * @return 无返回值。 */ Cluster.prototype.addMarker = functi 阅读全文
posted @ 2020-07-24 13:03 bignewbie 阅读(2238) 评论(0) 推荐(0) 编辑