返回顶部
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 25 下一页
摘要: 参考:https://www.cnblogs.com/toggle/p/9618331.html https://www.cnblogs.com/tangbuluo/p/11248655.html 需求:用swiper3做一个轮播图,无限循环,滑动时切换序号,点击可进入商品详情页。大概如下 问题代码 阅读全文
posted @ 2020-04-10 22:13 前端-xyq 阅读(4284) 评论(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 阅读(6006) 评论(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 阅读(2550) 评论(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 阅读(558) 评论(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 阅读(1663) 评论(0) 推荐(0)
摘要: 效果: 未引入 引入后 我想引入的字体是"din-bold_",首先在assets下新建一文件夹"font"(其他位置也行,根据喜好习惯即可),将字体文件"din-bold_.otf"放入,接下来在需要引入的组件中引入即可。 vue: <template> <div class="hello"> < 阅读全文
posted @ 2020-04-02 20:30 前端-xyq 阅读(4575) 评论(0) 推荐(0)
摘要: 效果: vue: <template> <div v-cloak> <button @click="openConfirm">点击</button> <div class="confirmLayercovering" id="confirmLayercovering"> <div class="co 阅读全文
posted @ 2020-03-27 11:47 前端-xyq 阅读(8441) 评论(0) 推荐(0)
摘要: 参考:https://www.cnblogs.com/yangwang12345/p/7840253.html 合并列——colspan 合并行——rowspan 合并行的时候,比如rowspan="2",它的下一行tr会少一列;合并列的时候 colspan="2",此行的列会少一列 示意图: ht 阅读全文
posted @ 2020-03-26 13:27 前端-xyq 阅读(3358) 评论(0) 推荐(0)
摘要: 参考:https://www.cnblogs.com/chaoyueqi/p/9174297.html 效果: html: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>demo</title> <style> table.t 阅读全文
posted @ 2020-03-17 10:46 前端-xyq 阅读(6035) 评论(0) 推荐(0)
摘要: 参考: https://blog.csdn.net/github_38469481/article/details/72758385 我的需求:手风琴折叠列表,点击行a打开折叠,但是行上某一元素b有ng-click事件change()。点击行时会触发打开折叠 + change()事件。 原因: b的 阅读全文
posted @ 2020-03-16 14:44 前端-xyq 阅读(1698) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 25 下一页