会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
深海里的星星i
博客园
首页
博问
闪存
新随笔
管理
上一页
1
2
3
4
5
6
···
16
下一页
2023年8月9日
uniapp自动引入 vue3(ref, toRefs, reactive...), uni-app
摘要: 1. 装包 npm i unplugin-auto-import --save-dev 2. 在项目的 vue.config.js 中引入并使用 import { defineConfig } from 'vite' import uni from '@dcloudio/vite-plugin-un
阅读全文
posted @ 2023-08-09 09:50 深海里的星星i
阅读(787)
评论(0)
推荐(0)
编辑
2023年4月25日
使用vant4+vw创建webapp项目
摘要: 包来源 自动引入 vue/vue-router/vuex 等api (ref, toRefs....) npm i unplugin-auto-import --save-dev vant按需导入的插件 npm i unplugin-vue-components -D 使用vw布局替换px单位插件
阅读全文
posted @ 2023-04-25 15:31 深海里的星星i
阅读(127)
评论(0)
推荐(0)
编辑
2023年3月31日
覆盖ElementPlus样式theme
摘要: import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import path from 'path' import AutoImport from 'unplugin-auto-import/vite' im
阅读全文
posted @ 2023-03-31 09:36 深海里的星星i
阅读(455)
评论(0)
推荐(0)
编辑
2023年3月16日
使用 column-count 和 column-gap 属性实现瀑布流, 以及下拉加载更多数据模拟
摘要: 结果如图 源码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" con
阅读全文
posted @ 2023-03-16 15:56 深海里的星星i
阅读(128)
评论(0)
推荐(0)
编辑
在 vue3 中使用 crpperjs 做头像裁剪
摘要: 1. 安装 npm install cropperjs 2. 引入 import 'cropperjs/dist/cropper.css'; import Cropper from 'cropperjs'; 3. 裁剪 4. 完整组件 App.vue <template> <div> <img re
阅读全文
posted @ 2023-03-16 15:11 深海里的星星i
阅读(281)
评论(0)
推荐(0)
编辑
2023年3月3日
css 渐变色字
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi
阅读全文
posted @ 2023-03-03 14:21 深海里的星星i
阅读(10)
评论(0)
推荐(0)
编辑
2023年3月1日
mysql中使用 when then 格式化查询结果
摘要: mysql> select * from user; + + + + | id | name | sex | + + + + | 1 | 张三 | 1 | | 2 | 李四 | 1 | | 3 | 张珊 | 0 | + + + + 3 rows in set (0.00 sec) 使用 when 和
阅读全文
posted @ 2023-03-01 11:23 深海里的星星i
阅读(249)
评论(0)
推荐(0)
编辑
2022年12月11日
217行javascript代码实现五子棋游戏
摘要: html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" conten
阅读全文
posted @ 2022-12-11 20:46 深海里的星星i
阅读(145)
评论(0)
推荐(0)
编辑
2022年12月5日
javascrpt 监听元素变化的两个API
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content
阅读全文
posted @ 2022-12-05 09:43 深海里的星星i
阅读(34)
评论(0)
推荐(0)
编辑
2022年12月3日
GB2312常见中文转拼音
摘要: 1. 用到的文件(库) demo.js // GB2312编码常用中文unicode对照表 const zhToUnicode = { a: "\u554a\u963f\u9515", ai: "\u57c3\u6328\u54ce\u5509\u54c0\u7691\u764c\u853c\u77
阅读全文
posted @ 2022-12-03 11:51 深海里的星星i
阅读(1315)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
···
16
下一页