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 @@
-
-
-
- {{ 'BTC/USDT' }}
-
-
-
-
-
-
-
- Market trades
-
-
-
- {{ i18n.Quantity }}
- {{ i18n.BuyingPrice }}
-
-
-
- 0.87897874
- {{ item }}
-
-
-
-
-
-
- {{ i18n.Quantity }}
- {{ i18n.SellPrice20 }}
-
-
-
- 0.87897874
- {{ item }}
-
-
-
-
-
-
-
-
-
-
-
- {{ i18n.open }}
-
-
-
- {{ i18n.close }}
-
-
-
-
-
-
+
+
+
+ {{ 'BTC/USDT' }}
+
+
+
+
+
+
+
+
+ Market trades
+
+
+
+ {{ i18n.Quantity }}
+ {{ i18n.BuyingPrice }}
+
+
+
+ 0.87897874
+ {{ item }}
+
+
+
+
+
+
+ {{ i18n.Quantity }}
+ {{ i18n.SellPrice20 }}
+
+
+
+ 0.87897874
+ {{ item }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ i18n.open }}
+
+
+
+ {{ i18n.close }}
+
+
+
+
+
+
-
-