随笔分类 -  vue

摘要:<FormItem label="成立时间" prop="establishedTime"> <DatePicker type="date" :value="enterpriseForm.establishedTime" @on-change="getestablishedTime" placeho 阅读全文
posted @ 2022-06-07 15:56 abcByme 阅读(333) 评论(0) 推荐(0)
摘要:<FormItem label="您的评价" prop="level" v-if="typeModal == 3"> <Rate v-model="shenhemodal.level" clearable /> </FormItem> shenhemodal: { level: 0, }, leve 阅读全文
posted @ 2022-05-25 17:49 abcByme 阅读(67) 评论(0) 推荐(0)
摘要:var vprojectEndTime = (rule, value, callback) => { if (value "") { callback(new Error("请输入结束时间")); } else if (value <= this.parkItemForm.projectStartT 阅读全文
posted @ 2022-05-19 16:49 abcByme 阅读(215) 评论(1) 推荐(0)
摘要:nextBtn(formName) { const { projectId, type, account, userName, contactWay, email, password, againPassword, } = this.ruleForm; if ( projectId && type 阅读全文
posted @ 2022-05-19 14:28 abcByme 阅读(21) 评论(0) 推荐(0)
摘要:<p> <span>手机号:</span> {{ telShow ? changetel(userInfo.contactWay) : userInfo.contactWay }} <i class="showTel" @click="showTelClick(userInfo.contactWay 阅读全文
posted @ 2022-05-19 10:53 abcByme 阅读(35) 评论(1) 推荐(0)
摘要:需要把数据返回到父页面,父页面接收到数据后调用 this.$refs.formValidate.validateField('XXXX') 来重新校验表单,因为已经收到数据,所以校验通过,红色提示文字就会消失 例如 <FormItem label="图标1:" prop="iconFirst" re 阅读全文
posted @ 2022-05-18 11:17 abcByme 阅读(689) 评论(0) 推荐(0)
摘要:if (window !== top) { top.location.href = "a"; } else { window.location.href = "b"; } 其实就是 top.location.href 和 window.location.href 的区别 阅读全文
posted @ 2022-04-19 17:19 abcByme 阅读(538) 评论(0) 推荐(0)
摘要:在跳转iframe的时候 把 iframe 存储下来刷新后判断是否存在保存的iframe如果有 就赋值 sliderClick(i, item) { this.sIndex = item.id; this.toggleSlider = true; this.iframeId = item.id; t 阅读全文
posted @ 2022-04-19 16:22 abcByme 阅读(813) 评论(0) 推荐(0)
摘要:<div class="basicInfo-box"> <div v-for="(item, index) in baoxiulist" class="sub-list"> <div> <p>2022-04-09 17:25:22</p> <p>王丽:提交报修单</p> </div> <div v- 阅读全文
posted @ 2022-04-09 14:42 abcByme 阅读(317) 评论(0) 推荐(0)
摘要:来自 :https://blog.csdn.net/qq_37041819/article/details/116597572 侵删 1.引入element-ui upload组件 <el-upload class="avatar-uploader" :headers="myHeaders" :ac 阅读全文
posted @ 2021-12-13 17:06 abcByme 阅读(1340) 评论(1) 推荐(0)
摘要:<template> <div class="department-container"> <p>栏目管理</p> <div style="display: flex; margin: 10px 0"> <Button type="primary" @click="addNew">新增栏目</But 阅读全文
posted @ 2021-12-13 17:00 abcByme 阅读(183) 评论(0) 推荐(0)
摘要:{{ listIndex == 2 ? item.name == "填报时间" ? "填报周期" : item.name : item.name }} <span>{{ chartDataType == 1 ? "园区经济排行" : chartDataType == 2 ? "园区能耗排行" : " 阅读全文
posted @ 2021-10-29 10:06 abcByme 阅读(193) 评论(0) 推荐(0)
摘要:var websock = null; var globalCallback = null; // 初始化weosocket function initWebSocket() { // ws地址 -->这里是你的请求路径 // var ws = `ws://192.168.79.185:8089/p 阅读全文
posted @ 2021-08-18 10:01 abcByme 阅读(410) 评论(0) 推荐(0)
摘要:<template> <div class="container"> <div class="earth-container"> <div class="earth-item-box"> <div class="earth-item"></div> </div> <div class="earth- 阅读全文
posted @ 2021-08-06 14:21 abcByme 阅读(1081) 评论(1) 推荐(1)
摘要:https://www.jianshu.com/p/a2a7d3a9cf2b 侵删 1、安装vue-seamless-scroll npm install vue-seamless-scroll --save 2、引入组件 <vue-seamless-scroll></vue-seamless-sc 阅读全文
posted @ 2021-08-04 11:24 abcByme 阅读(1264) 评论(0) 推荐(0)
摘要:来自 https://www.cnblogs.com/tuspring/p/9801603.html 侵删 vue-countTo是一个无依赖,轻量级的vue组件,可以自行覆盖easingFn。 你可以设置 startVal 和 endVal,它会自动判断计数或倒计时。支持vue-ssr。vue-c 阅读全文
posted @ 2021-08-03 11:25 abcByme 阅读(352) 评论(0) 推荐(0)
摘要:来自:https://www.cnblogs.com/taohuaya/p/10274993.html#%E5%A6%82%E4%BD%95%E5%9C%A8vue-cli3.0%E4%B8%AD%E4%BD%BF%E7%94%A8postcss-plugin-px2rem%C2%A0%E6%8F% 阅读全文
posted @ 2021-07-28 11:12 abcByme 阅读(331) 评论(0) 推荐(0)
摘要:来自 https://www.jb51.net/article/174637.htm 侵删 1.cnpm install postcss-pxtorem -D安装postcss-pxtorem,此插件如果你用的是webpack的话只要进行安装即可,不需要另外进行配置,此插件是对px进行转换。 2.新 阅读全文
posted @ 2021-07-28 10:08 abcByme 阅读(500) 评论(2) 推荐(0)
摘要:let current = this.$router.history.current; this.activeIndex = current.path; if (current.meta.parent) { this.activeIndex = current.meta.parent; } 阅读全文
posted @ 2021-07-23 15:14 abcByme 阅读(667) 评论(0) 推荐(0)
摘要:<el-carousel trigger="click" class="gwbox-carouselBox left-sub2-carouselBox" :autoplay="false" > <el-carousel-item class="gwbox-carouselBox-child" v-f 阅读全文
posted @ 2021-07-23 10:25 abcByme 阅读(554) 评论(0) 推荐(0)