欢迎加QQ交流:
2
0
2
3
上一页 1 2 3 4 5 6 ··· 17 下一页
摘要: 当前视图: 我要做的是将 Total 类似的 英文 改为 中文 1. 在组件里引入 ElConfigProvider 组件 和中文包 // ElConfigProvider 组件 import { ElConfigProvider } from 'element-plus' // 引入中文包 imp 阅读全文
posted @ 2022-12-08 15:24 常安· 阅读(645) 评论(0) 推荐(0) 编辑
摘要: <style> html { filter: grayscale(1); } </style> 原色: 使用 filter: grayscale(1); 后: 阅读全文
posted @ 2022-12-07 17:05 常安· 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 1. npm 安装 npm install echarts --save 2. 使用 <template> <div> <div id="myChart123" :style="{width: '1500px', height: '550px'}"></div> </div> </template> 阅读全文
posted @ 2022-12-06 18:35 常安· 阅读(663) 评论(0) 推荐(0) 编辑
摘要: 1.在 node_modules 里找到 vue-count-to 2. 将 vue-count-to src 文件夹 里的 3 个文件 放到 自己 src components 里 调用 ( 我这里用 count-to 文件包裹起来的) 3. 删除package.json内的 "vue-count 阅读全文
posted @ 2022-12-06 11:42 常安· 阅读(432) 评论(1) 推荐(0) 编辑
摘要: 因为比较简单先说解决方法: 用一个 div 把 过渡到的 代码(组件代码) 包起来即可 详情: 用到 transition: (提升用户体验组件动画) 警告信息: 过渡的 组件 代码: 解决:(用div 把所有 代码包起来) 期望结果: 由于vue3 支持碎片写法没错,但是 transition 内 阅读全文
posted @ 2022-12-06 10:10 常安· 阅读(243) 评论(0) 推荐(0) 编辑
摘要: document.onkeydown = e => { // login() 登录事件 if(e.key == 'Enter') login() } 阅读全文
posted @ 2022-12-05 16:21 常安· 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 1. watch监听 import { watch} from 'vue' import {useRouter} from 'vue-router' let router = useRouter() watch(() =>router.currentRoute._value,(m,n)=> { co 阅读全文
posted @ 2022-12-02 18:27 常安· 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 使用场景: 提一下vue2 用法>> 下面回到正题 vue3 用法 1 安装包: npm install @icon-park/vue-next --save 2 字节跳动图标库取图地址>> 3 用法: <template> <div class="mm"> <!-- 使用 --> <home-tw 阅读全文
posted @ 2022-12-02 15:51 常安· 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 场景: 用到技术: vue vite element plus 我这里是 修改 element plus css 需要用到 这里先说 root 变量用法及声明。 1. 静态文件 创建一个 public.css 文件 :root { --hoverc: #fe4800; --hoverbgc: #fe 阅读全文
posted @ 2022-12-01 17:23 常安· 阅读(1915) 评论(0) 推荐(0) 编辑
摘要: 安装 vuex npm i vuex@next -S // 安装最新vuex store/index.js import { createStore } from 'vuex' export default createStore({ state: { login_index: 0, // 变量 } 阅读全文
posted @ 2022-11-30 09:42 常安· 阅读(76) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 17 下一页