12 2020 档案

摘要:html元素 <div v-show="toastFlag == '0'"> //弹窗1 </div> <div v-show="toastFlag == '1'"> //弹窗2 </div> <div v-show="toastFlag == '2'"> //弹窗3 </div> async st 阅读全文
posted @ 2020-12-18 16:30 lzhflzjx 阅读(580) 评论(0) 推荐(0) 编辑
摘要:{ "Print to console": { "prefix": "vue", "body": [ "<template>", " <div>\n", " </div>", "</template>\n", "<script>", "export default {", " name:'',", 阅读全文
posted @ 2020-12-18 14:28 lzhflzjx 阅读(147) 评论(0) 推荐(0) 编辑
摘要://设置一个最外层元素 .home { height:100vh, overflow:srocll; } 阅读全文
posted @ 2020-12-18 14:09 lzhflzjx 阅读(528) 评论(0) 推荐(0) 编辑
摘要:定义动画 @keyframes rotatefresh { from { transform: rotate(0deg) } to { transform: rotate(360deg); transition: all 0.6s; } } //调用动画 //display: inline-bloc 阅读全文
posted @ 2020-12-15 19:32 lzhflzjx 阅读(63) 评论(0) 推荐(0) 编辑
摘要:<template> <div class=''></div> <img :src="icon" alt=""> </template> <script> export default { data(){ return{ // 加require即可 icon:require('../assets/i 阅读全文
posted @ 2020-12-11 14:41 lzhflzjx 阅读(260) 评论(0) 推荐(0) 编辑
摘要://使用window.location.href = linkUrl;【或者使window.location.replace()来替代当前的url】; 参考地址:https://www.cnblogs.com/tangjiao/p/10287640.html 阅读全文
posted @ 2020-12-02 18:03 lzhflzjx 阅读(333) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示