摘要: import React, { Component } from 'react'; import * as echart from 'echarts'; import { hexToRgba, compare } from '@/utils/tools'; import styles from '. 阅读全文
posted @ 2022-05-05 15:10 ShirleyHe 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 预览图: import React, { Component } from 'react'; import * as echart from 'echarts'; import { compare } from '@/utils/tools'; import style from './index. 阅读全文
posted @ 2022-03-03 16:51 ShirleyHe 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 预览图: import React, { Component } from 'react'; import * as echart from 'echarts'; import { compare } from '@/utils/tools'; import style from './index. 阅读全文
posted @ 2022-03-03 16:36 ShirleyHe 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 转自 https://www.makeapie.com/editor.html?c=xX9xcKXRjq /************************* pie3D 尝试 更新时间: 2020.10.8 17:12 v1.1 使用组件: grid3D、xAxis3D、yAxis3D、zAxis 阅读全文
posted @ 2022-01-24 17:37 ShirleyHe 阅读(480) 评论(0) 推荐(0) 编辑
摘要: 转自https://www.makeapie.com/editor.html?c=x1-kIyaV6u /************************* pie3D 尝试 更新时间: 2020.8.6 17:12 v1.1 使用组件: grid3D、xAxis3D、yAxis3D、zAxis3D 阅读全文
posted @ 2022-01-24 17:35 ShirleyHe 阅读(2254) 评论(0) 推荐(0) 编辑
摘要: const _ = require('lodash') const path = require('path') const fs = require('fs') const extendRequest = require('request'); const wget = require('wget 阅读全文
posted @ 2021-09-07 11:28 ShirleyHe 阅读(232) 评论(0) 推荐(0) 编辑
摘要: echarts 组件: import React, { Component } from 'react'; import echart from 'echarts'; import { Consumer } from "@/layouts/components/default_layout/defa 阅读全文
posted @ 2020-09-25 14:40 ShirleyHe 阅读(1730) 评论(0) 推荐(0) 编辑
摘要: position: (pt, params, dom, rect, size) => { let yPos = '20%'; let xPos = 0; if(pt[0] < size.viewSize[0] / 2) { xPos = pt[0] + 20 this.changePosition( 阅读全文
posted @ 2020-09-25 14:19 ShirleyHe 阅读(631) 评论(0) 推荐(0) 编辑
摘要: Vue.js自定义组件大致分三步: 一、创建组件文件(**.vue) 二、组件的定义:创建一个组件的调用文件**.js 三、注册组件(全局组件):在main.js引入、应用 最后,就可以在你想用的地方使用这个自定义组件了 最终效果如图: 阅读全文
posted @ 2018-04-20 16:32 ShirleyHe 阅读(308) 评论(0) 推荐(0) 编辑
摘要: npm install rimraf -g rimraf node_modules 阅读全文
posted @ 2018-04-10 16:44 ShirleyHe 阅读(2615) 评论(0) 推荐(0) 编辑