摘要: <PlayListCard class="card-item" v-for="item in playlists" :key="item.id" :id="item.id" :img="item.coverImgUrl" :name="item.name" :desc="`播放量:${item.pl 阅读全文
posted @ 2020-06-16 14:54 haha-uu 阅读(984) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/8350b611e5bb 阅读全文
posted @ 2020-06-15 15:36 haha-uu 阅读(323) 评论(0) 推荐(0) 编辑
摘要: DOM部分: <el-dialog title="登录" :visible.sync="loginDialogVisible" width="30%"> <!-- 登录方式 --> <div class="login-type"> <div v-for="item in loginType" :ke 阅读全文
posted @ 2020-06-12 14:34 haha-uu 阅读(2914) 评论(0) 推荐(0) 编辑
摘要: 参考链接: https://blog.csdn.net/ddx2019/article/details/104972089/ 阅读全文
posted @ 2020-06-11 21:17 haha-uu 阅读(3334) 评论(0) 推荐(0) 编辑
摘要: @mixin text-ellipsis() { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } @mixin text-ellipsis-multi($line) { display: -webkit-box; o 阅读全文
posted @ 2020-06-11 15:54 haha-uu 阅读(238) 评论(0) 推荐(0) 编辑
摘要: cli-4的脚手架配置 因为组件的引用,经常会遇到import * from '../../../components/common/***.vue‘这样的引入格式,太复杂了,所以可以在vue里面配置路径别名 首先在最外层,和package.json同级目录里面新建一个vue.config.js作为 阅读全文
posted @ 2020-06-11 15:49 haha-uu 阅读(2637) 评论(0) 推荐(0) 编辑
摘要: position: absolute; top: 0; left: 0; bottom: 0 overflow: hidden; 阅读全文
posted @ 2020-06-09 18:30 haha-uu 阅读(1236) 评论(0) 推荐(0) 编辑
摘要: click 类型:Boolean 默认值:false 作用:better-scroll 默认会阻止浏览器的原生 click 事件。当设置为 true,better-scroll 会派发一个 click 事件,我们会给派发的 event 参数加一个私有属性 _constructed,值为 true。 阅读全文
posted @ 2020-06-09 17:35 haha-uu 阅读(786) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/HSHS/p/7943161.html 阅读全文
posted @ 2020-06-09 16:40 haha-uu 阅读(397) 评论(0) 推荐(0) 编辑
摘要: 实现效果: 代码:第一张图的效果 <transition name="fold"> <div class="shopcart-list" v-show="listShow"> <div class="list-header"> <h1>购物车</h1> <span>清空</span> </div> 阅读全文
posted @ 2020-06-08 15:16 haha-uu 阅读(481) 评论(0) 推荐(0) 编辑