摘要: <html> <head> </head> <body> <div>现在是今年的<span id="daytotal"></span>天————————第<span id="weektotal"></span>周</div> </body> <script> //1.获取本年已经走过的时间 天数 v 阅读全文
posted @ 2021-07-19 17:00 小猴子会上树 阅读(1508) 评论(0) 推荐(0)
摘要: 1. 按照图表中的方式创建 echarts 这种方式是 根据 computed 计算属性的方式来监听数据 渲染echarts 图表 <template> <div class="hello2"> <div class="hello2-top"> <router-link to="/flowto2"> 阅读全文
posted @ 2021-07-07 18:09 小猴子会上树 阅读(567) 评论(0) 推荐(0)
摘要: <vechart :options="realLineOption" /> 文件 存放位置 代码书写方式 以上原理就是利用 computed 监听数据的原理 2. 第二种解决办法 其实 把v-show 改成 v-if 就可以解决100px问题 具体情况 具体分析 阅读全文
posted @ 2021-06-09 20:57 小猴子会上树 阅读(175) 评论(0) 推荐(0)
摘要: 需求是修改列表页面里面弹框弹出来的值 1. 先创建弹框 父组件 主要 dialogVisibleedit ,systemlistedit , systemlist 都是传给子组件的参数 dialogVisibleedits 是与子组件绑定的值 绑定的是子组件里面的操作状态 <emergencyedi 阅读全文
posted @ 2021-01-26 17:45 小猴子会上树 阅读(526) 评论(0) 推荐(0)
摘要: index.vue 文件 <template> <div id="app"> <input type="text" v-model="this.$store.state.count" /> <!-- --> <div>{{ count }}</div> <!-- 双向绑定 --> <input ty 阅读全文
posted @ 2020-12-04 10:27 小猴子会上树 阅读(485) 评论(0) 推荐(0)
摘要: 1.flex 布局 盒子都要加上 display: flex 属性 // Webkit 内核的浏览器,必须加上-webkit前缀.box{ display: flex; }2.flex-direction 属性决定主轴的方向(即项目的排列方向) row | row-reverse | column 阅读全文
posted @ 2020-11-03 23:33 小猴子会上树 阅读(144) 评论(0) 推荐(0)
摘要: <template> <div class="hello"> <div id="app"> <p>mqtt收到的数据:</p> <input type="text" v-model="this.msg" /> </div> </div> </template> <script> import mqt 阅读全文
posted @ 2020-09-15 15:39 小猴子会上树 阅读(521) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-09-14 16:24 小猴子会上树 阅读(224) 评论(0) 推荐(0)
摘要: 1、需要安装三个依赖: npm install -S file-saver xlsx npm install -D script-loader 2,下载两个必要的JS Blob.js / Export2Excel.js 然后在SRC文件夹下新建一个excel文件夹 放入 这两个JS文件 3,在mai 阅读全文
posted @ 2020-09-09 16:16 小猴子会上树 阅读(619) 评论(0) 推荐(0)
摘要: 1.先在router/index.js 文件夹中 2. 在右边建立vue页面 /就是你跳转过去的页面 3. 在主页面<router to=" /"> 在这里 填写 跳转链接 4.路由配置完毕 阅读全文
posted @ 2020-09-08 20:54 小猴子会上树 阅读(267) 评论(0) 推荐(0)