j1ack 3 years ago
parent
commit
aacf804534
  1. 2
      components/kline/kline.vue
  2. 6
      components/kline/tradingView/chartConfig.js
  3. 1
      pages/markets/kLine.vue

2
components/kline/kline.vue

@ -185,6 +185,8 @@
.tab { .tab {
display: flex; display: flex;
background: #000000; background: #000000;
position: absolute;
width:100%;
.item { .item {
height: 64rpx; height: 64rpx;
line-height: 64rpx; line-height: 64rpx;

6
components/kline/tradingView/chartConfig.js

@ -36,9 +36,11 @@ var chartConfig = {
//禁用功能 //禁用功能
disabled_features: [ // 需要屏蔽掉的 参考 https://tradingview.gitee.io/featuresets/ disabled_features: [ // 需要屏蔽掉的 参考 https://tradingview.gitee.io/featuresets/
"widget_logo", //LOGO "widget_logo", //LOGO
//"header_resolutions", "header_resolutions",
"left_toolbar", "left_toolbar",
//"header_screenshot", "header_screenshot",
"header_chart_type",
"header_settings",
"header_fullscreen_button", "header_fullscreen_button",
"header_undo_redo", "header_undo_redo",
"header_indicators", "header_indicators",

1
pages/markets/kLine.vue

@ -470,6 +470,7 @@
.tab { .tab {
display: flex; display: flex;
background: #000000; background: #000000;

Loading…
Cancel
Save