新增行业关键词的接口需要后台api之后添加一个/front
| | |
| | | // 模拟后端数据返回 |
| | | this.fetchData(); |
| | | |
| | | //自动获取省市区的地址 |
| | | // this.getloution() |
| | | |
| | | }, |
| | | onReady () { |
| | | //这里的 750 对应 css .charts 的 width |
| | |
| | | |
| | | onMounted () { |
| | | setTimeout(() => { |
| | | let self = this; //这里一定要转换一下,涉及到this指向问题 |
| | | let self = this; |
| | | uni.canvasToTempFilePath({ |
| | | x: 0, |
| | | y: 0, |
| | |
| | | }, |
| | | |
| | | //行业关键词 |
| | | // getDashboardList |
| | | getDashboard: function() { |
| | | // let that = this; |
| | | getDashboardList().then(res => { |
| | | this.list=res.data |
| | | // that.imgUrls = res.data.list; |
| | | setTimeout(() => { |
| | | this.showSkeleton = false |
| | | }, 1000) |
| | | }); |
| | | }, |
| | | |
| | | |
| | | |
| | | //标题显示的数据(今日查询) |