会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
欢迎加QQ交流:
加
油
!
2
0
2
3
源远流常,一居一安
博客园
首页
新随笔
联系
订阅
管理
2023年7月11日
vue3 粒子动画 canvas
摘要: <template> <div class=""> <canvas id="canvas"></canvas> </div> </template> <script setup> import { onMounted } from 'vue'; let d const project3D = (x,
阅读全文
posted @ 2023-07-11 23:06 常安·
阅读(340)
评论(0)
推荐(1)
2023年1月11日
2022年终总结
摘要: 2022已经走完。已经 2023/1/11(农历 腊月二十) 了 公司春节安排 在 元旦 就 已 出炉。 今年对所有人来说,应该都是糟糕的一年。 还是说说我自己吧! 先说工作 在2022年里 git 提交 代码 51次 可以看到有很多空白的地方 可以说这个 提交量 和 提交 次数 是非常少的 然后是
阅读全文
posted @ 2023-01-11 10:25 常安·
阅读(106)
评论(1)
推荐(0)
2023年1月3日
日期倒计时
摘要: 效果图: 贴上代码: <!doctype html> <html> <head> <meta charset="utf-8"> <title>新年快乐</title> <style> body{ overflow: hidden; margin: 0; } h1{ position: fixed;
阅读全文
posted @ 2023-01-03 16:01 常安·
阅读(60)
评论(0)
推荐(1)
2022年12月28日
Vue3 富文本编辑器
摘要: 官网 https://www.wangeditor.com/v5/for-frame.html#%E4%BD%BF%E7%94%A8-1 安装: npm install @wangeditor/editor --save npm install @wangeditor/editor-for-vue@
阅读全文
posted @ 2022-12-28 16:51 常安·
阅读(454)
评论(0)
推荐(0)
2022年12月23日
vue3 ref 传参
摘要: 1 子组件 Demo 里: <script setup> import {ref} from 'vue' let ceshi = ref(520) defineExpose({ // 通过 defineExpose 将 子组件 内部 数据 暴露给 父组件 !!!! ceshi }) </script
阅读全文
posted @ 2022-12-23 16:08 常安·
阅读(344)
评论(0)
推荐(0)
vue3 组件传参
摘要: 父传子 父组件 绑定传参( :img_type="img_type") 不绑定只能传字符串 import {defineProps } from 'vue' let props = defineProps({ //子组件接收父组件传递过来的值 img_type: String, }) //视图中直接
阅读全文
posted @ 2022-12-23 09:32 常安·
阅读(101)
评论(0)
推荐(0)
2022年12月20日
Vue3 清空Reactive定义的数组
摘要: shallowRef 定义得数组 清空 let component_list = shallowRef([ {unit: Head, name: 'Head', id: 1}, {unit: TopClass, name: 'TopClass', id: 2}, ]) component_list.
阅读全文
posted @ 2022-12-20 09:48 常安·
阅读(819)
评论(0)
推荐(0)
2022年12月13日
vue3 Element Plus 之 Message 消息提示 提示框 宽度 不对 横排不居中
摘要: 官网地址>> 引入后样式不对截图: 在 App.vue 贴上代码 如下: 附上代码: .el-message__content { width: auto; height: auto; background: none; } 达到期望结果截图:
阅读全文
posted @ 2022-12-13 15:57 常安·
阅读(1359)
评论(0)
推荐(0)
2022年12月9日
css 文字不换行
摘要: .t_nowp {white-space: nowrap;} white-space: nowrap; 使用 white-space: nowrap; 后的期望结果:
阅读全文
posted @ 2022-12-09 17:17 常安·
阅读(56)
评论(0)
推荐(0)
vue3 computed 用法
摘要: <script setup> import { useStore } from 'vuex' import { computed } from 'vue' let store = useStore() let sel = computed(() => store.state.login_index)
阅读全文
posted @ 2022-12-09 14:41 常安·
阅读(67)
评论(0)
推荐(0)
下一页
公告