Loading

上一页 1 2 3 4 5 6 7 8 ··· 25 下一页
摘要: # 背景 有的时候我们需要前端来实现行和列的拖拽,把想要看的内容往前提, # 效果图 ![](https://img2023.cnblogs.com/blog/724275/202309/724275-20230907234038393-316489796.gif) # 代码 1. 为el-tabl 阅读全文
posted @ 2023-09-07 08:14 ^Mao^ 阅读(601) 评论(0) 推荐(0) 编辑
摘要: # 背景 对接后端或者第三方的时候,后端或第三方要求前端传递base64编码并要求其大小不能大于5KB。 # 思路 1. base64编码和文件大小的关系? https://blog.csdn.net/chenyejunjun/article/details/54924355 2. 用上面的base 阅读全文
posted @ 2023-09-06 22:26 ^Mao^ 阅读(600) 评论(0) 推荐(0) 编辑
摘要: # App.vue ```vue ``` # link.js ```js const links = [ { from: "a", to: "b", }, { from: "b", to: "c", }, { from: "c", to: "d", }, { from: "d", to: "e", 阅读全文
posted @ 2023-09-01 08:12 ^Mao^ 阅读(88) 评论(0) 推荐(0) 编辑
摘要: # App.vue ```vue ``` # nodes.js ```js const nodes = [ { id: "a", text: "a", data: { pic: "https://dss2.baidu.com/6ONYsjip0QIZ8tyhnq/it/u=2308340537,46 阅读全文
posted @ 2023-08-30 23:35 ^Mao^ 阅读(96) 评论(0) 推荐(0) 编辑
摘要: App.vue ```vue ``` ```nodes const nodes = [ { id: "a", text: "a", data: { pic: "https://dss2.baidu.com/6ONYsjip0QIZ8tyhnq/it/u=2308340537,462224207&fm 阅读全文
posted @ 2023-08-28 08:13 ^Mao^ 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 背景 svg作为矢量图,放大不失真,但是如果在vue文件中直接引入svg的话会导致vue文件过长,不友好。想要在组件中使用的时候使用下面的方式来引入svg // svg-name的值就是svg图片的名称 <svg-icon svg-name="xueren" /> 步骤 在components下创建 阅读全文
posted @ 2023-08-26 23:29 ^Mao^ 阅读(409) 评论(0) 推荐(0) 编辑
摘要: # 背景 开发中我们常用`px`作为网页的单位,但是`px`在不同屏幕下不会自适应,这样会导致网页元素在小屏幕下的话会变得相对比较大,在大屏幕下会变得相对比较小 # 解决方案 https://juejin.cn/post/7217999296263553081 https://vant-contri 阅读全文
posted @ 2023-08-23 23:51 ^Mao^ 阅读(154) 评论(0) 推荐(0) 编辑
摘要: # 场景 页面中可能会涉及到流程图,其中涉及到弯曲的箭头,使用普通的css是画不出来的,至少我是没想到办法。 # 效果 ![](https://img2023.cnblogs.com/blog/724275/202308/724275-20230810081216460-539398187.png) 阅读全文
posted @ 2023-08-10 00:11 ^Mao^ 阅读(204) 评论(0) 推荐(0) 编辑
摘要: # 效果 ![](https://img2023.cnblogs.com/blog/724275/202308/724275-20230804080532986-1201902389.png) # emoji网站 https://gitmoji.dev/ # 参考文档 https://blog.cs 阅读全文
posted @ 2023-08-04 08:06 ^Mao^ 阅读(9) 评论(0) 推荐(0) 编辑
摘要: # 效果图 ![](https://img2023.cnblogs.com/blog/724275/202308/724275-20230803231144043-123536658.png) # 代码 ```js var data = [ { name: '数据中心人员专题库', tooltip: 阅读全文
posted @ 2023-08-03 23:12 ^Mao^ 阅读(112) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 25 下一页