上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页
摘要: 1、html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>会议 阅读全文
posted @ 2020-05-18 09:21 夏小夏吖 阅读(630) 评论(0) 推荐(0) 编辑
摘要: 以下代码直接复制到vue文件中即可用 一、template代码 <template> <div class="orderIndex"> <div class="orderTop"> <div class="orderSearch"> <div class="searchBox"> <form> <i 阅读全文
posted @ 2020-05-15 01:28 夏小夏吖 阅读(653) 评论(0) 推荐(0) 编辑
摘要: 直接看代码。 1、template中的代码 <ul class="tab" :style="{height: tabheight}"> <li ref="iWidth" v-for="(item,index) in tabList" :key="index" :class="{'on': check 阅读全文
posted @ 2020-05-15 00:22 夏小夏吖 阅读(4764) 评论(0) 推荐(0) 编辑
摘要: 一、首先html部分 <div class="avatar"> <img :src="docUrl ? docUrl : default_img" alt /> </div> 二、在JS中,根据请求回来的数据是null:{}或者有数据来判断头像显示,并引入本地静态图片 <script> export 阅读全文
posted @ 2020-05-11 10:42 夏小夏吖 阅读(1834) 评论(0) 推荐(1) 编辑
摘要: 一、关于js常用的代码片段 { // Place your 全局 snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and // description. Add com 阅读全文
posted @ 2020-05-11 10:17 夏小夏吖 阅读(2929) 评论(1) 推荐(4) 编辑
摘要: 例一、使用混合mixins中的变量来定义一个n行文本溢出隐藏的公用样式。 1、创建mixins.scss文件 //文本n行溢出隐藏 @mixin ellipsisBasic($clamp:2) { overflow: hidden; text-overflow: ellipsis; display: 阅读全文
posted @ 2020-05-09 10:06 夏小夏吖 阅读(3868) 评论(0) 推荐(0) 编辑
摘要: 打包之前,在vue.config.js中配置:publickPath 而且,public文件夹下的index.html引用reset.css可试用以下方式: <link rel="stylesheet" href="<%= BASE_URL %>css/reset.css"> 再执行npm run 阅读全文
posted @ 2020-03-16 13:31 夏小夏吖 阅读(3900) 评论(0) 推荐(0) 编辑
摘要: 一、关于手机 1、vconsole 阅读全文
posted @ 2019-12-17 15:44 夏小夏吖 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 就像这种情况,经过多番请教跟尝试,找到一个能解决这个问题的方法,但可能有点笨重。就是在当前弹框里,设置offset的值,里边的值可以随意写,然后再下边给弹框追加一个样式即可。 阅读全文
posted @ 2019-09-19 14:13 夏小夏吖 阅读(833) 评论(0) 推荐(2) 编辑
摘要: 参考网址: https://www.cnblogs.com/pingfan1990/p/5447404.html https://www.cnblogs.com/liangshaojiang/p/9013912.html 此段代码过于灵敏~不推荐使用 阅读全文
posted @ 2019-09-09 15:57 夏小夏吖 阅读(853) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页