From 0bc4c87fd4ae851a36717d1ce8682ba403625f80 Mon Sep 17 00:00:00 2001 From: xuzijay Date: Mon, 5 Jul 2021 02:52:21 +0000 Subject: [PATCH] rename StepsCard/entry/src/main/js/card2X4/pages/index/index.js --- .../src/main/js/card2X4/pages/index/index.js | 86 ------------------- .../main/js/card2X4/pages/index/index.json | 84 ++++++++++++++++++ 2 files changed, 84 insertions(+), 86 deletions(-) delete mode 100644 StepsCard/entry/src/main/js/card2X4/pages/index/index.js create mode 100644 StepsCard/entry/src/main/js/card2X4/pages/index/index.json diff --git a/StepsCard/entry/src/main/js/card2X4/pages/index/index.js b/StepsCard/entry/src/main/js/card2X4/pages/index/index.js deleted file mode 100644 index 0e94875b..00000000 --- a/StepsCard/entry/src/main/js/card2X4/pages/index/index.js +++ /dev/null @@ -1,86 +0,0 @@ -export default { - data: { - // 线型图数据 - datasets: [ - { - strokeColor: '#CDCACA', - fillColor: '#CDCACA', - data: [ - { - value: 0, - description: '0', - textLocation: 'top', - textColor: '#CDCACA', - pointStyle: { - shape: 'circle', - size: 5, - fillColor: '#FF9C28', - strokeColor: '#FF9C28' - } - }, - { - value: 0, - description: '0', - textLocation: 'top', - textColor: '#CDCACA', - pointStyle: { - shape: 'circle', - size: 5, - fillColor: '#FF9C28', - strokeColor: '#FF9C28' - } - }, - { - value: 0, - description: '0', - textLocation: 'top', - textColor: '#CDCACA', - pointStyle: { - shape: 'circle', - size: 5, - fillColor: '#FF9C28', - strokeColor: '#FF9C28' - } - }, - { - value: 0, - description: '0', - textLocation: 'top', - textColor: '#CDCACA', - pointStyle: { - shape: 'circle', - size: 5, - fillColor: '#FF9C28', - strokeColor: '#FF9C28' - } - } - ], - gradient: true - } - ], - options: { - xAxis: { - min: 0, - max: 3, - display: false, - axisTick: 4 - }, - yAxis: { - min: 0, - max: 1000 - } - }, - steps: 0, - percent: 0, - mileage: 0 - }, - - actions: { - routerEvent: { - action: "router", - bundleName: "com.huawei.cookbook", - abilityName: "com.huawei.cookbook.MainAbility" - } - } -} - diff --git a/StepsCard/entry/src/main/js/card2X4/pages/index/index.json b/StepsCard/entry/src/main/js/card2X4/pages/index/index.json new file mode 100644 index 00000000..3d3c43ee --- /dev/null +++ b/StepsCard/entry/src/main/js/card2X4/pages/index/index.json @@ -0,0 +1,84 @@ + { + "data": { + "datasets": [ + { + "strokeColor": "#CDCACA", + "fillColor": "#CDCACA", + "data": [ + { + "value": 0, + "description": "0", + "textLocation": "top", + "textColor": "#CDCACA", + "pointStyle": { + "shape": "circle", + "size": 5, + "fillColor": "#FF9C28", + "strokeColor": "#FF9C28" + } + }, + { + "value": 0, + "description": "0", + "textLocation": "top", + "textColor": "#CDCACA", + "pointStyle": { + "shape": "circle", + "size": 5, + "fillColor": "#FF9C28", + "strokeColor": "#FF9C28" + } + }, + { + "value": 0, + "description": "0", + "textLocation": "top", + "textColor": "#CDCACA", + "pointStyle": { + "shape": "circle", + "size": 5, + "fillColor": "#FF9C28", + "strokeColor": "#FF9C28" + } + }, + { + "value": 0, + "description": "0", + "textLocation": "top", + "textColor": "#CDCACA", + "pointStyle": { + "shape": "circle", + "size": 5, + "fillColor": "#FF9C28", + "strokeColor": "#FF9C28" + } + } + ], + "gradient": true + } + ], + "options": { + "xAxis": { + "min": 0, + "max": 3, + "display": false, + "axisTick": 4 + }, + "yAxis": { + "min": 0, + "max": 1000 + } + }, + "steps": 0, + "percent": 0, + "mileage": 0 + }, + + "actions": { + "routerEvent": { + "action": "router", + "bundleName": "com.huawei.cookbook", + "abilityName": "com.huawei.cookbook.MainAbility" + } + } +} \ No newline at end of file -- Gitee