会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
远方除了遥远一无所有
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
27
下一页
2024年4月18日
申请和审批大致流程
摘要: https://www.eshouhou.cn/support/instructions/238
阅读全文
posted @ 2024-04-18 07:59 ^Mao^
阅读(18)
评论(0)
推荐(0)
2024年4月12日
wangEditor富文本编辑器
摘要: 代码 <template> <div class="app"> <div class="btns"> <el-button type="primary" @click="getContent" >获取编辑器当前输入的内容</el-button > <el-button size="small" ty
阅读全文
posted @ 2024-04-12 08:13 ^Mao^
阅读(82)
评论(0)
推荐(0)
2024年4月10日
canvas签名效果
摘要: 参考文档 https://juejin.cn/post/7031761320596897823 https://github.com/linjc/smooth-signature
阅读全文
posted @ 2024-04-10 08:09 ^Mao^
阅读(17)
评论(0)
推荐(0)
仿金山打字效果
摘要: 背景 需要校验用户输入的内容和我们要求的内容保持一致,比如:签合同的时候需要用户根据我们的内容进行手抄 效果图 实现代码 <template> <div class="app"> <h1> 功能1:根据输入的内容去匹配正文,输入的内容显示在"输入内容"中,如果匹配正确的话则使用绿色标识,错误的的话使
阅读全文
posted @ 2024-04-10 00:17 ^Mao^
阅读(29)
评论(0)
推荐(0)
2024年1月29日
CSS绘制简单的流程图
摘要: 效果图 代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <titl
阅读全文
posted @ 2024-01-29 21:05 ^Mao^
阅读(362)
评论(0)
推荐(0)
2023年12月15日
JS实现一键复制文本
摘要: 背景 实现对table中的某一列文本内容进行复制 代码 需求:表格中只有"姓名"列可以复制,其他列不能复制 <template> <div class="app"> <h1>App Page</h1> <el-table :data="tableData" border style="width:
阅读全文
posted @ 2023-12-15 08:05 ^Mao^
阅读(92)
评论(0)
推荐(0)
2023年11月7日
前端实现Excel导出【xlsx】【xlsx-js-style】
摘要: 最终效果 场景 有的时候我们需要根据服务端返回的数据来导出excel表格 优化一:设置单元格样式 比如:可以调节背景色、字体样式、border xlsx基础库不提供样式设置,可以使用xlsx-js-style库,这个库是xlsx库的fork版本,并添加了样式定义 详细样式可以查看https://gi
阅读全文
posted @ 2023-11-07 21:18 ^Mao^
阅读(1031)
评论(0)
推荐(0)
2023年9月26日
使用Axios来设置请求头(headers)的方法
摘要: 参考文档 https://juejin.cn/post/7067801027549855757#heading-0 https://blog.csdn.net/impossible1994727/article/details/92623174
阅读全文
posted @ 2023-09-26 08:00 ^Mao^
阅读(237)
评论(0)
推荐(0)
2023年9月24日
数字滚动【vue-count-to】
摘要: 效果 背景 在大屏或者其他需要对数字设置千分位的分隔符(比如:151234数字展示成 151,234)或者 数字在变化时进行滚动的变化。 使用 安装 npm i vue-count-to demo <template> <div class="app"> <h1> 当前数值: <countTo :s
阅读全文
posted @ 2023-09-24 16:12 ^Mao^
阅读(288)
评论(0)
推荐(0)
实现不同屏幕自适应【postcss-px-to-viewport】
摘要: 效果图 未转换前: 转换后: 背景 平常开发的时候使用px作为样式单位,但是在不同的屏幕尺寸下不能自适应,我们希望项目中所有使用到的px单位都转换成vw单位 使用步骤 安装 npm i postcss-px-to-viewport -D 在项目根目录下创建postcss.config.js modu
阅读全文
posted @ 2023-09-24 15:43 ^Mao^
阅读(741)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
27
下一页
公告