会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
WELCOME TO MY WORLD
————699byte
博客园
首页
新随笔
联系
订阅
管理
2022年4月13日
vite+vue3使用tailwindcss
摘要: 1.通过 npm 安装 Tailwind npm install -D tailwindcss@latest postcss@latest autoprefixer@latest 2.创建您的配置文件 npx tailwindcss init 这将会在您的工程根目录创建一个最小的 tailwind.
阅读全文
posted @ 2022-04-13 17:47 699byte
阅读(1662)
评论(0)
推荐(0)
2022年1月22日
Vue3全局挂载的两种方式(2022-01-22)
摘要: 方式1: import { createApp } from 'vue' import App from './App.vue' import router from './router' const app = createApp(App) app.use(router) app.config.g
阅读全文
posted @ 2022-01-22 11:05 699byte
阅读(1339)
评论(0)
推荐(0)
2021年4月20日
js回到顶部
摘要: document.querySelector(".backTop").addEventListener("click", () => { let el = document.body || document.documentElement el.scrollIntoView({ behavior:
阅读全文
posted @ 2021-04-20 09:52 699byte
阅读(44)
评论(0)
推荐(0)
2021年3月4日
原生组件
摘要: 入口文件 <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-
阅读全文
posted @ 2021-03-04 14:38 699byte
阅读(37)
评论(0)
推荐(0)
2020年12月22日
vue3购物车
摘要: html <template> <div id="cart"> <ul> <li v-for="(item, index) in goods"> <input type="checkbox" v-model="checkArr.arr" :value="item"/> <img :src="item
阅读全文
posted @ 2020-12-22 11:01 699byte
阅读(109)
评论(0)
推荐(0)
2020年12月10日
grid
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>JS Bin</title> </head> <body> <span>fo
阅读全文
posted @ 2020-12-10 16:27 699byte
阅读(59)
评论(0)
推荐(0)
2020年11月10日
快速创建electron程序
摘要: vue add electron-builder
阅读全文
posted @ 2020-11-10 14:06 699byte
阅读(49)
评论(0)
推荐(0)
2020年9月23日
小程序网络请求封装
摘要: let ajaxTimes = 0 export const http = params => { ajaxTimes++; uni.showLoading({ title: "加载中", mask: true, }); return new Promise((resolve, reject) =>
阅读全文
posted @ 2020-09-23 21:04 699byte
阅读(110)
评论(0)
推荐(0)
2020年8月4日
封装axios、判断运行环境、使用qs对data传参进行格式转换、请求头设置、登录过期判断
摘要: import axios from 'axios' import router from "../router"; import 'element-ui/lib/theme-chalk/index.css' import { Message } from "element-ui"; import q
阅读全文
posted @ 2020-08-04 18:13 699byte
阅读(245)
评论(0)
推荐(0)
2020年7月23日
html、css、js刻度时钟
摘要: 在网上看了一些刻度时钟的源码 发现都是有问题的 这里发一份亲测可用的源码 html代码 <div class="clock"> <span class="ntop">12</span> <span class="nright">3</span> <span class="nbottom">6</sp
阅读全文
posted @ 2020-07-23 15:32 699byte
阅读(280)
评论(0)
推荐(0)
下一页
公告