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
阅读全文
摘要:{ "Print to console": { "prefix": "vue", "body": [ "<template>", " <div>\n", " </div>", "</template>\n", "<script>", "export default {", " name:'',",
阅读全文
摘要://设置一个最外层元素 .home { height:100vh, overflow:srocll; }
阅读全文
摘要:定义动画 @keyframes rotatefresh { from { transform: rotate(0deg) } to { transform: rotate(360deg); transition: all 0.6s; } } //调用动画 //display: inline-bloc
阅读全文
摘要:<template> <div class=''></div> <img :src="icon" alt=""> </template> <script> export default { data(){ return{ // 加require即可 icon:require('../assets/i
阅读全文
摘要://使用window.location.href = linkUrl;【或者使window.location.replace()来替代当前的url】; 参考地址:https://www.cnblogs.com/tangjiao/p/10287640.html
阅读全文