From 6a69c0fee4b6e1469d0b03b5fc537c86d15601f6 Mon Sep 17 00:00:00 2001 From: vee Date: Thu, 25 Aug 2022 17:52:37 +0800 Subject: [PATCH] =?UTF-8?q?k=E7=BA=BF=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 3 +- pages.json | 13 +- pages/markets/kLine.vue | 864 ++++++++++++++++++++++++++-------------- 3 files changed, 575 insertions(+), 305 deletions(-) diff --git a/main.js b/main.js index 18b371b..87176b5 100644 --- a/main.js +++ b/main.js @@ -11,7 +11,8 @@ import EN from './utils/language/en_US.js' import ZH from './utils/language/zh_TW.js' import VI from './utils/language/vi_VN.js' - +import api from './utils/api.js' +Vue.prototype.$api = api // 自定义底部导航栏 import tabBar from 'components/tabBar/tabBar.vue' Vue.component('tab-bar', tabBar) diff --git a/pages.json b/pages.json index c061971..ae9bbb5 100644 --- a/pages.json +++ b/pages.json @@ -3,32 +3,33 @@ "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" }, "pages": [ //pages数组中第一项表示应用启动页 - // 登陆部分 + // 首页部分 { - "path": "pages/login/index", + "path": "pages/home/index", "style": { "navigationStyle": "custom" } }, + // 登陆部分 { - "path": "pages/login/forget", + "path": "pages/login/index", "style": { "navigationStyle": "custom" } }, { - "path": "pages/login/register", + "path": "pages/login/forget", "style": { "navigationStyle": "custom" } }, - // 首页部分 { - "path": "pages/home/index", + "path": "pages/login/register", "style": { "navigationStyle": "custom" } }, + diff --git a/pages/markets/kLine.vue b/pages/markets/kLine.vue index 3949589..d9a1032 100644 --- a/pages/markets/kLine.vue +++ b/pages/markets/kLine.vue @@ -1,300 +1,568 @@ - - + + - -