摘要: http://cesium.xin/wordpress/archives/16.html 阅读全文
posted @ 2024-07-07 19:27 ladybug7 阅读(1) 评论(0) 推荐(0) 编辑
摘要: { let a = 10; var b = 1; } a // ReferenceError: a is not defined b // 1 for 循环的计数器,就很适合使用 let 命令。 for (let i = 0; i < 10; i++) { // ... } console.log( 阅读全文
posted @ 2024-07-07 14:30 ladybug7 阅读(1) 评论(0) 推荐(0) 编辑
摘要: echarts5中默认标签颜色不会跟数据项颜色保持一致,而是全都是黑色。想要实现label颜色和它的数据项颜色一致,需要手动继承颜色,设置label{ color: 'inherit'}即可解决label标签颜色与数据项颜色一致。 https://echarts.apache.org/example 阅读全文
posted @ 2024-07-05 17:09 ladybug7 阅读(1) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="ting-scroll"> <dv-scroll-board :config="config" style="height:370px;" /> </div> </template> <script> export default { data() { 阅读全文
posted @ 2024-06-25 09:43 ladybug7 阅读(2) 评论(0) 推荐(0) 编辑
摘要: function (data,params){ // const myChart = this.myChart; const yearData = [2020, 2021, 2022, 2023, 2024, 2025] const personData3 = [1020, 1132, 1101, 阅读全文
posted @ 2024-06-25 08:48 ladybug7 阅读(2) 评论(0) 推荐(0) 编辑
摘要: function(data, params) { var img = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMYAAADGCAYAAACJm/9dAAABS2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFj 阅读全文
posted @ 2024-06-25 07:40 ladybug7 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 前言: 主屏幕的组件,会被其他屏幕共用。主屏幕通常放“选项卡”、“公共头部”、“公共尾部”等组件。 通过选项卡实现屏幕切换时有两种方式。 注:默认展示的屏幕可以用定时器实现。 方式一:利用 js 代码实现 (params, refs) => { $glob.group = '屏幕ID' } 方式二: 阅读全文
posted @ 2024-06-23 23:56 ladybug7 阅读(2) 评论(0) 推荐(0) 编辑
摘要: function (data, params) { const myChart = this.myChart; const twoYearData = [17, 45, 4, 34, 23, 54] const threeYearData = [11, 35, 9, 24, 12, 50] cons 阅读全文
posted @ 2024-06-21 22:39 ladybug7 阅读(2) 评论(0) 推荐(0) 编辑
摘要: function (data, params) { const myChart = this.myChart; let _data = []; if (data.length && data[1]) { _data = [ { value: data[1].count, name: '硕士' }, 阅读全文
posted @ 2024-06-21 22:37 ladybug7 阅读(2) 评论(0) 推荐(0) 编辑
摘要: function (data,params){ // const myChart = this.myChart; const yearData2 = [2020, 2021, 2022, 2023, 2024, 2025]; const personData2 = [820, 932, 901, 9 阅读全文
posted @ 2024-06-21 20:56 ladybug7 阅读(2) 评论(0) 推荐(0) 编辑