摘要:
1.下载路由 npm i router-react-dom --S 2.引入 import {Link,Route} from 'react-router-dom' 3.使用Link标签 <Link to='/'>Home</Link> 4.路由展示 exact 精准匹配路由component={H 阅读全文
摘要:
<html> </head> <script> function clickTime() { var text_ = document.form.text_; text_.value++; var T = setInterval(() => { text_.value = "0"; clearInt 阅读全文
摘要:
给body添加样式: cursor:url(https://images.cnblogs.com/cnblogs_com/wulicute-TS/1592188/o_191116084034o_micon2.png),auto; 阅读全文
摘要:
layui样式 点击下载 下载后解压到static文件夹中,可利用 iframe引入vue使用, <iframe name="child" id="child" src="../../../static/fcup/index.html" width="1200" height="880" frame 阅读全文
摘要:
看下效果图是不是你想要的: 首先你要有一个vue的vue-quill-editor:不会的可以到我的另一篇查看:另一篇 下载:点击下载quill-title.js放入根目录的static文件夹中引入组件中 import { addQuillTitle } from "../../static/qui 阅读全文
摘要:
下载: npm install vue-quill-editor --savevue3:npm install @vueup/vue-quill@alpha --save main.js中引入 //富文本编辑器 import VueQuillEditor from 'vue-quill-editor 阅读全文
摘要:
overflow: hidden; //超出的文本隐藏 text-overflow: ellipsis; //溢出用省略号显示 white-space: nowrap; //溢出不换行 阅读全文
摘要:
数据存储 ① sessionStorage : sessionStorage.setItem("key", value); 或者 sessionStorage.key="value"; ② localStorage : localStorage.setItem("key", value);或者loc 阅读全文
摘要:
html: <span class="kuang" disabled>www.baidu.com</span> <span class="button" data-clipboard-text="www.baidu.com" @click="copy">复制邀请码</span> vue: <span 阅读全文
摘要:
background-image: url("image/img"), url("image/img"); background-repeat: no-repeat, no-repeat; background-position: 138px 18px, 33px 6px; 阅读全文