返回顶部

04 2020 档案

摘要:参考:https://www.cnblogs.com/toggle/p/9618331.html https://www.cnblogs.com/tangbuluo/p/11248655.html 需求:用swiper3做一个轮播图,无限循环,滑动时切换序号,点击可进入商品详情页。大概如下 问题代码 阅读全文
posted @ 2020-04-10 22:13 前端-xyq 阅读(4067) 评论(0) 推荐(1) 编辑
摘要:搬运自:https://www.cnblogs.com/WQLong/p/7792174.html 1. 变量的声明 CSS变量声明是字母前加两个横线(--) 例: body{ --Colors:#dfdfdf; --fS16px:16px; } body选择器中声明了Colors和fS16px两个 阅读全文
posted @ 2020-04-08 22:22 前端-xyq 阅读(5873) 评论(0) 推荐(0) 编辑
摘要:参考:https://cloud.tencent.com/developer/article/1449864 我的需求,电脑端微信浏览器不显示滚动条。 css: div::-webkit-scrollbar { //chrome 和Safari,电脑端微信浏览器 width: 0 !importan 阅读全文
posted @ 2020-04-07 20:21 前端-xyq 阅读(2529) 评论(0) 推荐(1) 编辑
摘要:参考:https://blog.csdn.net/whqet/article/details/8881957 效果: html: <span class="s-triangle"><i class="triangelTag">9.0折</i></span> css: .s-triangle { di 阅读全文
posted @ 2020-04-03 11:19 前端-xyq 阅读(547) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.cnblogs.com/mz-2015/p/9577100.html 1. 安装v-touch: (vue2.0之后的要使用next分支才行,之前的使用master分支即可) npm insall vue-touch@next --save 2. main.js中引入, 阅读全文
posted @ 2020-04-02 21:03 前端-xyq 阅读(1639) 评论(0) 推荐(0) 编辑
摘要:效果: 未引入 引入后 我想引入的字体是"din-bold_",首先在assets下新建一文件夹"font"(其他位置也行,根据喜好习惯即可),将字体文件"din-bold_.otf"放入,接下来在需要引入的组件中引入即可。 vue: <template> <div class="hello"> < 阅读全文
posted @ 2020-04-02 20:30 前端-xyq 阅读(4534) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
回到顶部