会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
远方除了遥远一无所有
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
28
下一页
2023年9月6日
前端实现Base64图片压缩
摘要: # 背景 对接后端或者第三方的时候,后端或第三方要求前端传递base64编码并要求其大小不能大于5KB。 # 思路 1. base64编码和文件大小的关系? https://blog.csdn.net/chenyejunjun/article/details/54924355 2. 用上面的base
阅读全文
posted @ 2023-09-06 22:26 ^Mao^
阅读(1278)
评论(0)
推荐(0)
2023年9月1日
流程图绘制-relation-graph 【尝试3】
摘要: # 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^
阅读(197)
评论(0)
推荐(0)
2023年8月30日
流程图绘制-relation-graph 【尝试2】
摘要: # 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^
阅读(336)
评论(0)
推荐(0)
2023年8月28日
流程图绘制-relation-graph插件
摘要: 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^
阅读(444)
评论(0)
推荐(0)
2023年8月26日
在vue中使用svg
摘要: 背景 svg作为矢量图,放大不失真,但是如果在vue文件中直接引入svg的话会导致vue文件过长,不友好。想要在组件中使用的时候使用下面的方式来引入svg // svg-name的值就是svg图片的名称 <svg-icon svg-name="xueren" /> 步骤 在components下创建
阅读全文
posted @ 2023-08-26 23:29 ^Mao^
阅读(612)
评论(0)
推荐(0)
2023年8月23日
前端页面不同屏幕适配-(postcss-pxtorem插件)
摘要: # 背景 开发中我们常用`px`作为网页的单位,但是`px`在不同屏幕下不会自适应,这样会导致网页元素在小屏幕下的话会变得相对比较大,在大屏幕下会变得相对比较小 # 解决方案 https://juejin.cn/post/7217999296263553081 https://vant-contri
阅读全文
posted @ 2023-08-23 23:51 ^Mao^
阅读(238)
评论(0)
推荐(0)
2023年8月10日
echarts绘制流程图
摘要: # 场景 页面中可能会涉及到流程图,其中涉及到弯曲的箭头,使用普通的css是画不出来的,至少我是没想到办法。 # 效果 
阅读全文
posted @ 2023-08-10 00:11 ^Mao^
阅读(358)
评论(0)
推荐(0)
2023年8月4日
GitHub中提交代码说明时添加emoji小图标
摘要: # 效果  # emoji网站 https://gitmoji.dev/ # 参考文档 https://blog.cs
阅读全文
posted @ 2023-08-04 08:06 ^Mao^
阅读(19)
评论(0)
推荐(0)
2023年8月3日
使用echarts画流程图-2
摘要: # 效果图  # 代码 ```js var data = [ { name: '数据中心人员专题库', tooltip:
阅读全文
posted @ 2023-08-03 23:12 ^Mao^
阅读(183)
评论(0)
推荐(0)
2023年8月2日
使用echarts画流程图-1
摘要: # 场景 流程图中涉及到弯曲的箭头,使用普通的css是画不出来的,至少我是没想到办法。 # 效果图  # 代码 ```j
阅读全文
posted @ 2023-08-02 23:21 ^Mao^
阅读(1226)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
28
下一页
公告