摘要: 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)
摘要: 方式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)
摘要: document.querySelector(".backTop").addEventListener("click", () => { let el = document.body || document.documentElement el.scrollIntoView({ behavior: 阅读全文
posted @ 2021-04-20 09:52 699byte 阅读(44) 评论(0) 推荐(0)
摘要: 入口文件 <!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)
摘要: 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)
摘要: <!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)
摘要: vue add electron-builder 阅读全文
posted @ 2020-11-10 14:06 699byte 阅读(49) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: 在网上看了一些刻度时钟的源码 发现都是有问题的 这里发一份亲测可用的源码 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)