摘要: 1 js部分 // 本次开发场景2880*1080 配合css 2 mounted () { 3 this.pageResize() 4 window.onresize = () => { 5 setTimeout(() => { 6 this.pageResize() 7 }, 200) 8 } 阅读全文
posted @ 2021-06-15 10:22 Jim-vue 阅读(426) 评论(0) 推荐(0)
摘要: // 表单 listData (val) { // console.log(val) this.config.data = [] val.forEach(item => { // ['<span style="color:rgba(255,255,255,0.80);">item.title</sp 阅读全文
posted @ 2021-06-15 10:08 Jim-vue 阅读(231) 评论(0) 推荐(0)
摘要: 1 见代码 option = { 2 color: [ 3 '#00A5FF', 4 ' #00F1A1' 5 ], 6 tooltip: { 7 show: false, 8 trigger: 'item' 9 }, 10 series: [ 11 { 12 name: '访问来源', 13 ty 阅读全文
posted @ 2021-06-15 09:48 Jim-vue 阅读(695) 评论(0) 推荐(0)
摘要: class MyWebSocket { constructor (sid) { this.sid = sid this.ws = null this.timeOut = 15000 // 超时时间为6s this.timeOutTimer = null this.serverTimeOutObj = 阅读全文
posted @ 2021-06-15 09:37 Jim-vue 阅读(584) 评论(0) 推荐(0)