35b57b01f82a5f7a05fb692080c80b9e44a69aa5..416ef077b916de27c88439d2fb679691e85df743
3 days ago 李凌
1
416ef0 diff | tree
3 days ago 李凌
Merge branch 'new2.10' of http://124.156.157.155:8060/r/dg/dabao_wap into n...
ad0348 diff | tree
3 days ago jhzh
123
2b8199 diff | tree
2026-04-29 jhzh
1
4c4096 diff | tree
2026-03-16 jhzh
充值列表增加动态获取充值类型选择
52db64 diff | tree
7 files modified
1 files added
153 ■■■■■ changed files
debug.log 2 ●●●●● patch | view | raw | blame | history
src/assets/img/img_log_home.png patch | view | raw | blame | history
src/axios/api.js 3 ●●●●● patch | view | raw | blame | history
src/page/bankCard1/index.vue 7 ●●●● patch | view | raw | blame | history
src/page/home/help_fwxy.vue 2 ●●● patch | view | raw | blame | history
src/page/kline/components/kLine.vue 95 ●●●●● patch | view | raw | blame | history
src/page/kline/index.vue 12 ●●●● patch | view | raw | blame | history
src/page/user/recharge.vue 32 ●●●● patch | view | raw | blame | history
debug.log
New file
@@ -0,0 +1,2 @@
[0409/112117.885:ERROR:third_party\crashpad\crashpad\util\win\registration_protocol_win.cc:108] CreateFile: 系统找不到指定的文件。 (0x2)
[0409/112134.788:ERROR:third_party\crashpad\crashpad\util\win\registration_protocol_win.cc:108] CreateFile: 系统找不到指定的文件。 (0x2)
src/assets/img/img_log_home.png

src/axios/api.js
@@ -305,6 +305,9 @@
export function siteGetPayInfo(options) {
  return post("/api/site/getPayInfo.do", options);
}
export function getPayOptionList(options) {
  return post("/api/site/getPayOptionList.do", options);
}
export function getYebInfo(options) {
  return post("/api/echo/queryEcho.do", options);
}
src/page/bankCard1/index.vue
@@ -14,12 +14,7 @@
        <span>{{ $t('关于我们') }}</span>
      </div>
      <div class="bank_name">
        Greenback Capital Limited, a globally qualified financial advisory firm incorporated in the Dubai International
        Financial Centre (DIFC), is a CAT 3C company. It focuses on long-term capital appreciation through the stocks
        and equity-related securities of companies with a strong competitive advantage in their respective industries
        and undergoing structural transformation. These companies are expected to achieve a compound annual return of
        approximately 25% over the fund's holding period. Greenback Capital Limited is regulated by the Dubai Financial
        Services Authority (DFSA) and holds a Capital Markets Services (CMS) license.
        NALANDA CAPITAL PTE LTD is a leading global financial advisory firm registered at 65 Chulia Street, OCBC Centre, Singapore, and is a CAT 3C company. The firm focuses on achieving long-term capital appreciation through investments in stocks and equity-related securities of companies with strong competitive advantages in their respective industries and undergoing structural transformation. These companies are expected to achieve a compound annual return of approximately 25% over the fund's holding period. NALANDA CAPITAL PTE LTD is regulated by the Securities and Futures Commission of India (SEBI) and holds a Capital Markets Services (CMS) license.
      </div>
    </div>
  </div>
src/page/home/help_fwxy.vue
@@ -2,7 +2,7 @@
  <div class="privacy-policy">
    <headers :mess="loginWay" />
    <div class="texta" >Section 1: Introduction</div>
    <div class="text">This agreement is entered into by Greenback Capital Limited to AMBARA CAPITAL (hereinafter referred to as "the Company") and the registered account holder (hereinafter referred to as "the Client"). The purpose of this agreement is to define the responsibilities and obligations of both parties in relation to trading in the Indian stock market. By registering an account online and agreeing to this agreement, the Client automatically consents to all services provided by the Company and the regulatory terms governing these services, while acknowledging compliance with the applicable laws and regulations of the Indian</div>
    <div class="text">This agreement is entered into by NALANDA CAPITAL PTE LTD to AMBARA CAPITAL (hereinafter referred to as "the Company") and the registered account holder (hereinafter referred to as "the Client"). The purpose of this agreement is to define the responsibilities and obligations of both parties in relation to trading in the Indian stock market. By registering an account online and agreeing to this agreement, the Client automatically consents to all services provided by the Company and the regulatory terms governing these services, while acknowledging compliance with the applicable laws and regulations of the Indian</div>
    <div class="texta">Section 2: Account Registration and Service Regulation</div>
    <div class="text">1.The Client must provide accurate and truthful personal information (including but not limited to name, contact details, identification documents, etc.) during the registration process for identity verification, account management, and compliance checks. The Client agrees that the Company has the right to verify the registration details and assess the Client's eligibility in accordance with internal policies. Accounts will be suspended or canceled if false information is provided.</div>
    <div class="text">2.Automatic Agreement to Service Regulations
src/page/kline/components/kLine.vue
@@ -46,6 +46,19 @@
  HQChart.Chart.MARKET_SUFFIX_NAME.GetMarketStatus = function(symbol) {
    return 2;
  }; // 一直交易
  // HQChart 各数据接口均需纳入轮询(IsAutoUpdate 无效);切换 tab 后通常只触发历史类请求
  const POLL_REQUEST_TYPES = new Set([
    "MinuteChartContainer::RequestMinuteData",
    "MinuteChartContainer::RequestHistoryMinuteData",
    "KLineChartContainer::RequestHistoryData",
    "KLineChartContainer::RequestRealtimeData",
    "KLineChartContainer::RequestFlowCapitalData",
    "KLineChartContainer::ReqeustHistoryMinuteData",
    "KLineChartContainer::RequestMinuteRealtimeData",
  ]);
  const REFRESH_INTERVAL = 10000;
  function DefaultData() {}
  DefaultData.GetMinuteOption = function() {
@@ -60,7 +73,7 @@
      ],
      Symbol: "AAPL.usa",
      IsAutoUpdate: true, // 是自动更新数据
      IsAutoUpdate: false,
      AutoUpdateFrequency: 20000,
      DayCount: 1, // 1 最新交易日数据 >1 多日走势图
      IsShowRightMenu: false, // 是否显示右键菜单
@@ -894,7 +907,7 @@
        // { Index: 'MACD', Modify: true, Change: true, Close: false }
      ],
      Symbol: "600015.sh",
      IsAutoUpdate: true, // 是自动更新数据
      IsAutoUpdate: false,
      AutoUpdateFrequency: 15000,
      IsApiPeriod: true,
      IsShowRightMenu: false, // 是否显示右键菜单
@@ -1074,7 +1087,8 @@
        VolChartHeight: 10,
        chartType: "kline",
        timerss: null,
        refreshHandlers: {},
        refreshTimer: null,
        isShow: false,
        xData: [],
      };
@@ -1128,13 +1142,10 @@
      // 自适应K线图
      var elementResizeDetectorMaker = require("element-resize-detector");
      // 创建实例,无参数
      var erd = elementResizeDetectorMaker(); // 使用默认选项(将使用基于对象的方法)。
      // 创建实例带参数
      // 使用基于超快速滚动的方法。
      // 这是推荐的策略。
      elementResizeDetectorMaker({
      this.erd = elementResizeDetectorMaker({
        // var erdUltraFast = elementResizeDetectorMaker({
        strategy: "scroll",
        callOnAdd: true, // callOnAdd选项,用于确定在添加侦听器时是否应调用它们。默认为true。
@@ -1146,7 +1157,7 @@
      var self = this;
      // 侦听元素的调整大小事件,并使用元素作为调整大小事件的参数来调用侦听器函数。传递给函数的选项将
      // 覆盖实例选项
      erd.listenTo(this.$refs["rightContent"], function(element) {
      this.erd.listenTo(this.$refs["rightContent"], function(element) {
        var width = element.offsetWidth;
        var height = element.offsetHeight;
        self.tableHeight = height - 10; // 将监听到的宽高进行赋值
@@ -1156,10 +1167,36 @@
      });
    },
    beforeDestroy() {
      clearInterval(this.timerss); // 在组件销毁前清除定时器
      this.timerss = null
      this.stopRefreshTimer();
      if (this.erd && this.$refs.rightContent) {
        this.erd.uninstall(this.$refs.rightContent);
        this.erd = null;
      }
      window.onresize = null;
    },
    methods: {
      resetRefreshHandlers() {
        this.refreshHandlers = {};
      },
      startRefreshTimer() {
        if (this.refreshTimer) {
          return;
        }
        this.refreshTimer = setInterval(() => {
          Object.values(this.refreshHandlers).forEach(({ data, callback }) => {
            EastMoney.HQData.NetworkFilter(data, callback);
          });
        }, REFRESH_INTERVAL);
      },
      stopRefreshTimer() {
        if (this.refreshTimer) {
          clearInterval(this.refreshTimer);
          this.refreshTimer = null;
        }
        this.refreshHandlers = {};
      },
      OnSize() {
        var width = this.$refs.right.clientWidth;
@@ -1248,6 +1285,7 @@
        this.IsShowRightMenu = isShowRightMenu;
        this.Symbol = symbol;
        this.resetRefreshHandlers();
        this.Chart.ChangeSymbol(this.Symbol);
        this.KLineChart.ChangeSymbol(this.Symbol);
      },
@@ -1269,6 +1307,7 @@
        //分时额外处理才注释的
        this.chartType = type;
        this.KLinePeriodIndex = index;
        this.resetRefreshHandlers();
        this.KLineChart.ChangePeriod(item.ID);
      },
@@ -1277,6 +1316,7 @@
        item // K线复权
      ) {
        this.KLineRightIndex = index;
        this.resetRefreshHandlers();
        this.KLineChart.ChangeRight(item.ID);
      },
@@ -1299,37 +1339,14 @@
        callback // 第3方数据替换接口
      ) {
        EastMoney.HQData.Log("[HQChartDemo::NetworkFilter] data", data);
        // console.log(data.Name,123123);
        EastMoney.HQData.NetworkFilter(data, callback);
        this.timerss = setInterval(() => {
          switch (data.Name) {
            // 分时图数据对接
            case "MinuteChartContainer::RequestMinuteData":
              EastMoney.HQData.NetworkFilter(data, callback);
              break;
            case "MinuteChartContainer::RequestHistoryMinuteData":
              EastMoney.HQData.NetworkFilter(data, callback);
              break;
            case "KLineChartContainer::RequestHistoryData": // 日线全量数据下载
              EastMoney.HQData.NetworkFilter(data, callback);
              break;
            case "KLineChartContainer::RequestRealtimeData": // 日线实时数据更新
              EastMoney.HQData.NetworkFilter(data, callback);
              break;
            case "KLineChartContainer::RequestFlowCapitalData": // 流通股本
              EastMoney.HQData.NetworkFilter(data, callback);
              break;
            case "KLineChartContainer::ReqeustHistoryMinuteData": // 分钟全量数据下载
              EastMoney.HQData.NetworkFilter(data, callback);
              break;
            case "KLineChartContainer::RequestMinuteRealtimeData": // 分钟增量数据更新
              EastMoney.HQData.NetworkFilter(data, callback);
              break;
          }
        }, 10000);
        if (!POLL_REQUEST_TYPES.has(data.Name)) {
          return;
        }
        // 始终更新为最新 callback,避免切换 tab 后仍用旧周期参数轮询
        this.refreshHandlers[data.Name] = { data, callback };
        this.startRefreshTimer();
      },
      handleSelect(key, keyPath) {
src/page/kline/index.vue
@@ -494,13 +494,19 @@
    this.getNohknews();
  },
  beforeDestroy() {
    this.clearInterval(this.timer); // 在组件销毁前清除定时器
    this.clearStockTimer();
  },
  // beforeDestroy() {
  //   this.Klinetype = false;
  //   window.clearInterval()
  // },
  methods: {
    clearStockTimer() {
      if (this.timer) {
        clearInterval(this.timer);
        this.timer = null;
      }
    },
    async getHknews() {
      await api.queryIndexNews().then((res) => {
        if (res.status === 0) {
@@ -649,7 +655,7 @@
      }
    },
    handleBackaa() {
      clearInterval(this.timer);
      this.clearStockTimer();
      window.localStorage.removeItem("kLine");
      this.$router.go(-1);
    },
@@ -665,7 +671,7 @@
      });
    },
    goBuy(index) {
      clearInterval(this.timer);
      this.clearStockTimer();
      this.$router.push({
        path: "/TradingBuy",
        query: {
src/page/user/recharge.vue
@@ -38,11 +38,14 @@
          <div style="font-size: 12px;">
            If you encounter any deposit problems, please contact online customer service
          </div>
          <div style="display: flex;justify-content: space-between;align-items: center;margin-top: 20px;">
            <div class="payclass" @click="paytype=0" :style="paytype==0?'border: 1px solid #1989FA;':'border: 1px solid  #e5e8ed;'">Pay</div>
            <div class="payclass" @click="paytype=2" :style="paytype==2?'border: 1px solid #1989FA;':'border: 1px solid  #e5e8ed;'">Pay 1</div>
            <div class="payclass" @click="paytype=1"  :style="paytype==1?'border: 1px solid #1989FA;':'border: 1px solid  #e5e8ed;'">Pay 2</div>
            <!-- <div class="payclass" @click="paytype=3"  :style="paytype==3?'border: 1px solid #1989FA;':'border: 1px solid  #e5e8ed;'">Pay 3</div> -->
          <div style="display: flex;justify-content: space-between;align-items: center;margin-top: 20px;flex-wrap: wrap;gap: 10px;">
            <div
              v-for="(item, index) in payOptionList"
              :key="index"
              class="payclass"
              @click="paytype = item.param"
              :style="paytype === item.param ? 'border: 1px solid #1989FA;' : 'border: 1px solid #e5e8ed;'"
            >{{ item.name }}</div>
          </div>
          <van-button class="but" type="primary" style="margin-top: 1.04rem; margin-bottom: 1.04rem"
            @click="selCzFns">{{ $t("hj172") }}</van-button>
@@ -60,6 +63,7 @@
  import apiUrl from "@/axios/api.url.js";
  import {
    siteGetPayInfo,
    getPayOptionList,
    selCzFn,
    thirdPartyRecharge
  } from "../../axios/api";
@@ -77,6 +81,7 @@
    },
    mounted() {
      this.getPayInfos();
      this.fetchPayOptionList();
    },
    // getPayInfo
    data() {
@@ -99,7 +104,8 @@
        rechargeAccountActions: rechargeAccountActions,
        showBtn: true,
        imgStatus: false,
        paytype: 0,
        payOptionList: [],
        paytype: null,
        form: {
          img1key: "",
        },
@@ -119,9 +125,12 @@
        this.judgeValue();
      },
      async selCzFns() {
        if (this.paytype === null || this.paytype === undefined) {
          return Notify(this.$t("請選擇充值金額") || "Please select a payment method");
        }
        const res = await thirdPartyRecharge({
          tradeAmoun: this.value,
          type:this.paytype
          type: this.paytype
        });
        console.log(res);
        if (res.status == 0) {
@@ -148,6 +157,15 @@
        // }
        //  Notify("请上传文件");
      },
      async fetchPayOptionList() {
        const res = await getPayOptionList();
        if (res.status === 0 && res.data && Array.isArray(res.data)) {
          this.payOptionList = res.data;
          if (this.payOptionList.length > 0 && this.paytype === null) {
            this.paytype = this.payOptionList[0].param;
          }
        }
      },
      async getPayInfos() {
        const res = await siteGetPayInfo();
        if (res.status === 0) {