上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页
摘要: 1、如下图: 改成: 在el-table 里面插入 <template slot="empty"> <span style="color: #969799;">No more data</span> </template>即可 <el-table :data="tableData" style="w 阅读全文
posted @ 2020-12-01 13:41 小蘑菇123 阅读(4670) 评论(0) 推荐(0) 编辑
摘要: 1、html: <div class="header"> <ul> <li>home</li> <li>WINgo</li> <li>my</li> </ul> </div> 2、css:(父元素设置 display:flex ,子元素设置 flex: 1,) .header ul{ font-si 阅读全文
posted @ 2020-11-23 15:05 小蘑菇123 阅读(1936) 评论(0) 推荐(0) 编辑
摘要: 1、例:宽度我设置的是25%,按理来说,应该是4个排列的,实际上如下图: 2、因为:是由于 HTML 的标签之间,存在着间距,当显示页面时,浏览器会移除源代码中多余的空格和空行,所有连续的空格或空行都会被算作一个空格。需要注意的是,HTML 代码中的所有连续的空行(换行)也被显示为一个空格,此为 “ 阅读全文
posted @ 2020-11-23 11:45 小蘑菇123 阅读(844) 评论(0) 推荐(0) 编辑
摘要: 1、在 el-table中,设置table的唯一标识:row-key="id",在复选框列中,设置 reserve-selection ,设置为 true 时,则点击分页的时候,根据table中的 row-key ,来保留之前选中的数据, <!-- 表格控件 --> <el-table :data= 阅读全文
posted @ 2020-10-29 15:51 小蘑菇123 阅读(1927) 评论(0) 推荐(1) 编辑
摘要: 1、在 src 里面,新建 store 文件夹,里面分别再创建 modules 文件夹、getters.js 和 index.js : 2、modules 里面,创建 print.js: const state={ goodsForeNo: '' } const mutations = { STOR 阅读全文
posted @ 2020-10-21 14:45 小蘑菇123 阅读(1482) 评论(0) 推荐(0) 编辑
摘要: 1、例如: <1-- 选择证件图片 --><ul class="upload-imgs"> <!-- imgLen 为选择几张图片,当前设置了选择一张后隐藏选择按钮 --> <li v-if="imgLen == 1 ? false : true"> <input type="file" class 阅读全文
posted @ 2020-10-20 16:40 小蘑菇123 阅读(1179) 评论(0) 推荐(0) 编辑
摘要: 1、例如:输入起止时间,获取以下内容 2、方法如下: getYearAndMonth(start, end) { let month; const result = []; const newResult = []; const starts = start.split('-'); const en 阅读全文
posted @ 2020-10-15 14:36 小蘑菇123 阅读(589) 评论(0) 推荐(0) 编辑
摘要: 1、template: <div style="text-align: initial;margin-top: 20px;"> <el-upload :class="{hide:hideUpload}" action= '' list-type="picture-card" :auto-upload 阅读全文
posted @ 2020-09-29 14:35 小蘑菇123 阅读(3313) 评论(0) 推荐(0) 编辑
摘要: 1、template: <el-upload action= '' list-type="picture-card" :auto-upload="false" :show-file-list='true' :file-list="certificates" :on-preview="showimg" 阅读全文
posted @ 2020-09-24 17:01 小蘑菇123 阅读(1915) 评论(0) 推荐(0) 编辑
摘要: 1、在登录页同级目录下,新建滑块验证页面 JcRange.vue: 2、JcRange.vue: <template> <div ref="dragVerify" class="drag_verify" :style="dragVerifyStyle" @mousemove="dragMoving" 阅读全文
posted @ 2020-09-24 09:59 小蘑菇123 阅读(637) 评论(3) 推荐(1) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页