上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页
摘要: 固定布局:全部使用像素设置大小; 流式布局:盒子设置百分比,可随页面改变大小,但是字体的大小无法更改 弹性布局(flex布局):根据基准大小,改变字体或页面的大小 响应式布局:根据页面的大小自动调整 自适应布局:先预设一些布局模板,根据机型去判断展示哪个模板 可以给body设置 min-width= 阅读全文
posted @ 2022-02-24 13:18 埃菲尔上的加菲猫 阅读(33) 评论(0) 推荐(0)
摘要: axios 使用post传参 1.后台接收JavaBean格式 方法一:let adminInfo=JSON.parse(JSON.stringify(list));//需要转成json对象 http({ url: '/dic-code/edit', method: 'post', headers: 阅读全文
posted @ 2022-02-24 13:17 埃菲尔上的加菲猫 阅读(28) 评论(0) 推荐(0)
摘要: let d = new Date(val)//生日val:1999-01-01 let t = d.getTime(d) // 转换为时间戳 var t1 = Date.parse(new Date());//获取当前时间戳 let t2 = t1 - t;//计算时间戳之差 t2 = t2 / 1 阅读全文
posted @ 2022-02-22 13:35 埃菲尔上的加菲猫 阅读(140) 评论(0) 推荐(0)
摘要: 1.克隆项目后报错 克隆项目步骤 1.下载依赖 yarn install 2.运行yarn serve 如果报错 运行:yarn run 之后选择dev 2.'vue-cli-service' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 因为没有node_modules 运行yarn i 阅读全文
posted @ 2022-02-17 13:07 埃菲尔上的加菲猫 阅读(32) 评论(0) 推荐(0)
摘要: //清空uploadFrom对象 personMesssage:{ name:'', //姓名 birthday:'', //出生日期 educationBackground:'', //学历 sex:'', //性别 age:'', //年龄 }, Object.keys(this.personM 阅读全文
posted @ 2022-02-16 13:47 埃菲尔上的加菲猫 阅读(865) 评论(0) 推荐(0)
摘要: /deep/.el-input__inner::placeholder { color: #606266; } 阅读全文
posted @ 2022-01-25 16:01 埃菲尔上的加菲猫 阅读(392) 评论(0) 推荐(0)
摘要: <template> <div> <div v-for="(item, index) in nameoptions" :class="{ active: index == isActive }" @click="checkItem(index)" :key="item.name" > {{ item 阅读全文
posted @ 2022-01-25 15:29 埃菲尔上的加菲猫 阅读(1213) 评论(0) 推荐(0)
摘要: :class="index tableIndex-1 ? 'trBac' : ''" :style="{background:(bacFlag 'search'?'#10A6B4':'')}" 对象写法: html :style="{color:(index==0?conFontColor:'#00 阅读全文
posted @ 2022-01-24 15:51 埃菲尔上的加菲猫 阅读(681) 评论(0) 推荐(0)
摘要: 封装的js文件 import Vue from 'vue'; import bigPic from '../assets/images/bigChange.png'; // v-dialogDrag: 弹窗拖拽属性 Vue.directive('dialogDrag', { bind(el, bin 阅读全文
posted @ 2022-01-20 10:17 埃菲尔上的加菲猫 阅读(734) 评论(0) 推荐(0)
摘要: 使用过滤器 在input框中 <el-input v-model="searchValue" @input="projectSearch"><i slot="suffix" class="el-input__icon el-icon-search"></i></el-input> methods中有 阅读全文
posted @ 2022-01-20 09:29 埃菲尔上的加菲猫 阅读(146) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页