zzzz
2024-04-24 fde4daf5bf6ace15c3f78eb3bb5b9dbdad763674
first
16 files modified
33290 ■■■■ changed files
package-lock.json 18114 ●●●●● patch | view | raw | blame | history
package.json 2 ●●● patch | view | raw | blame | history
src/locales/cht.json 3 ●●●● patch | view | raw | blame | history
src/locales/de.json 3 ●●●● patch | view | raw | blame | history
src/locales/en.json 3 ●●●● patch | view | raw | blame | history
src/locales/fra.json 3 ●●●● patch | view | raw | blame | history
src/locales/hi.json 3 ●●●● patch | view | raw | blame | history
src/locales/jp.json 3 ●●●● patch | view | raw | blame | history
src/locales/kor.json 3 ●●●● patch | view | raw | blame | history
src/locales/th.json 3 ●●●● patch | view | raw | blame | history
src/locales/zh.json 3 ●●●● patch | view | raw | blame | history
src/page/home/home.vue 1 ●●●● patch | view | raw | blame | history
src/page/kline/components/kLine.vue 83 ●●●●● patch | view | raw | blame | history
src/page/list/favorites/data.list.vue 2 ●●●●● patch | view | raw | blame | history
src/page/user/recharge-sure.vue 2 ●●● patch | view | raw | blame | history
yarn.lock 15059 ●●●● patch | view | raw | blame | history
package-lock.json
Diff too large
package.json
@@ -16,7 +16,7 @@
    "bootstrap": "^4.4.1",
    "chokidar": "^3.3.0",
    "clipboard": "^2.0.11",
    "echarts": "^4.5.0",
    "echarts": "^4.9.0",
    "element-resize-detector": "^1.2.4",
    "element-ui": "^2.13.0",
    "express": "^4.18.2",
src/locales/cht.json
@@ -568,5 +568,6 @@
  "yebjl": "基金記錄",
  "周期": "週期",
  "天": "天",
  "市场": "市場"
  "市场": "市場",
  "请选择提现金额": "請選擇提現金額"
}
src/locales/de.json
@@ -563,5 +563,6 @@
  "subdk": "Beantragung eines Darlehens",
  "周期": "Zyklus",
  "天": "Tag",
  "市场": "Markt"
  "市场": "Markt",
  "请选择提现金额": "Bitte wählen Sie den Auszahlungsbetrag aus"
}
src/locales/en.json
@@ -575,5 +575,6 @@
  "周期": "cycle",
  "yeb": "fund",
  "天": "day",
  "市场": "market"
  "市场": "market",
  "请选择提现金额": "Please select the withdrawal amount"
}
src/locales/fra.json
@@ -563,5 +563,6 @@
  "yebjl": "Enregistrement du Fonds",
  "周期": "Le cycle",
  "天": "Jours",
  "市场": "Le marché"
  "市场": "Le marché",
  "请选择提现金额": "Veuillez sélectionner un montant de retrait"
}
src/locales/hi.json
@@ -574,5 +574,6 @@
  "yebjl": "फंड रिकॉर्ड्स",
  "周期": "चक्र",
  "天": "आसमान",
  "市场": "बाज़ार"
  "市场": "बाज़ार",
  "请选择提现金额": "कृपया निकासी राशि का चयन करें"
}
src/locales/jp.json
@@ -564,5 +564,6 @@
  "yebjl": "基金レコード",
  "周期": "サイクル",
  "天": "日",
  "市场": "市場"
  "市场": "市場",
  "请选择提现金额": "現金引き出し金額を選択してください"
}
src/locales/kor.json
@@ -564,5 +564,6 @@
  "yebjl": "기금 기록",
  "周期": "주기",
  "天": "일",
  "市场": "시장"
  "市场": "시장",
  "请选择提现金额": "현금 인출 금액을 선택하십시오."
}
src/locales/th.json
@@ -564,5 +564,6 @@
  "yebjl": "บันทึกกองทุน",
  "周期": "ระยะเวลา",
  "天": "วัน",
  "市场": "ตลาด"
  "市场": "ตลาด",
  "请选择提现金额": "กรุณาเลือกจำนวนเงินที่ถอน"
}
src/locales/zh.json
@@ -563,5 +563,6 @@
  "申购结束时间": "申购结束时间",
  "周期": "周期",
  "市场": "市场",
  "配售结束时间": "配售结束时间"
  "配售结束时间": "配售结束时间",
  "请选择提现金额": "请选择提现金额"
}
src/page/home/home.vue
@@ -482,7 +482,6 @@
    this.getUserInfo();
    this.getInfoSite();
    this.getNewsList(1);
    this.getNewsList(2);
    this.getArtList();
    this.getBanner();
src/page/kline/components/kLine.vue
@@ -51,7 +51,7 @@
          <div
            class="hqchart"
            id="hqchart_minute"
            ref="kline"
            ref="mychart"
            v-show="chartType == 'minute'"
          ></div>
          <div
@@ -67,6 +67,8 @@
</template>
<script>
import * as echarts from "echarts";
import _ from "lodash";
import HQChart from "hqchart";
import "hqchart/src/jscommon/umychart.resource/css/tools.css";
@@ -1014,6 +1016,7 @@
      VolChartHeight: 10,
      chartType: "kline",
      isShow: false,
      xData: [],
    };
  },
  created() {
@@ -1033,6 +1036,7 @@
  },
  mounted() {
    this.initEcharts();
    this.offHeight = this.$refs["rightContent"].offsetHeight;
    this.OnSize();
    this.SetChartStyle();
@@ -1074,6 +1078,70 @@
  },
  methods: {
    // 横坐标数据处理
    initxData() {
      for (let i = 0; i < this.klineData.length; i++) {
        this.xData[i] = this.klineData[i].datetime;
      }
    },
    // 数据计算以及拆分,将json数据转为数组数据
    splitData(jsonData) {
      const hourData = [];
      for (let i = 0; i < jsonData.length; i++) {
        hourData.push([
          i,
          jsonData[i].price,
          jsonData[i].increase,
          jsonData[i].volume,
          jsonData[i].ratio,
          jsonData[i].amount,
          jsonData[i].datetime,
        ]);
      }
      this.hourData = hourData;
    },
    initEcharts() {
      const option = {
        // 横坐标数据配置
        xAxis: [
          {
            type: "category",
            data: this.xData,
            boundaryGap: false,
            axisLine: { onZero: false },
            splitLine: { show: false },
            min: "dataMin",
            max: "dataMax",
          },
        ],
        // 纵坐标配置
        yAxis: [
          {
            scale: true,
            splitArea: {
              show: true,
            },
          },
        ],
        //图形数据配置:
        series: [
          {
            type: "line",
            data: this.hourData,
            symbol: "none", //无标记图案
            lineStyle: {
              width: 1,
            },
          },
        ],
      };
      const myChart = echarts.init(this.$refs.mychart); // 图标初始化
      myChart.setOption(option); // 渲染页面
      //随着屏幕大小调节图表
      window.addEventListener("resize", () => {
        myChart.resize();
      });
    },
    OnSize() {
      var width = this.$refs.right.clientWidth;
      // var rightTab = this.$refs.rightTab
@@ -1175,11 +1243,14 @@
      item,
      type // K线周期
    ) {
      // if (index !== 0) {  //分时额外处理才注释的
      this.chartType = type;
      this.KLinePeriodIndex = index;
      this.KLineChart.ChangePeriod(item.ID);
      // }
      if (index !== 0) {
        //分时额外处理才注释的
        this.chartType = type;
        this.KLinePeriodIndex = index;
        this.KLineChart.ChangePeriod(item.ID);
      } else {
        this.chartType = "minute";
      }
    },
    OnClickKLineRightMenu(
src/page/list/favorites/data.list.vue
@@ -229,6 +229,8 @@
      });
      if (res.status === 0) {
        Notify({ type: "success", message: res.msg });
        this.loadings = false;
        this.fromData.value = "";
      } else {
        Notify({ type: "warning", message: res.msg });
      }
src/page/user/recharge-sure.vue
@@ -47,7 +47,7 @@
        <div class="main-title">{{ $t("請選擇銀行卡") }}</div>
        <van-cell is-link :title="bankCard.bankNo || $t('請選擇')" />
      </div>
      <div class="main-title">{{ $t("請選擇充值金額") }}</div>
      <div class="main-title">{{ $t("请选择提现金额") }}</div>
      <div class="white-input">
        <input type="number" :value="value" @input="inputValue" />
        <span class="myr" @click="value = availableBalanceUSD">{{
yarn.lock
Diff too large