| | |
| | | "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", |
| | |
| | | "yebjl": "基金記錄", |
| | | "周期": "週期", |
| | | "天": "天", |
| | | "市场": "市場" |
| | | "市场": "市場", |
| | | "请选择提现金额": "請選擇提現金額" |
| | | } |
| | |
| | | "subdk": "Beantragung eines Darlehens", |
| | | "周期": "Zyklus", |
| | | "天": "Tag", |
| | | "市场": "Markt" |
| | | "市场": "Markt", |
| | | "请选择提现金额": "Bitte wählen Sie den Auszahlungsbetrag aus" |
| | | } |
| | |
| | | "周期": "cycle", |
| | | "yeb": "fund", |
| | | "天": "day", |
| | | "市场": "market" |
| | | "市场": "market", |
| | | "请选择提现金额": "Please select the withdrawal amount" |
| | | } |
| | |
| | | "yebjl": "Enregistrement du Fonds", |
| | | "周期": "Le cycle", |
| | | "天": "Jours", |
| | | "市场": "Le marché" |
| | | "市场": "Le marché", |
| | | "请选择提现金额": "Veuillez sélectionner un montant de retrait" |
| | | } |
| | |
| | | "yebjl": "फंड रिकॉर्ड्स", |
| | | "周期": "चक्र", |
| | | "天": "आसमान", |
| | | "市场": "बाज़ार" |
| | | "市场": "बाज़ार", |
| | | "请选择提现金额": "कृपया निकासी राशि का चयन करें" |
| | | } |
| | |
| | | "yebjl": "基金レコード", |
| | | "周期": "サイクル", |
| | | "天": "日", |
| | | "市场": "市場" |
| | | "市场": "市場", |
| | | "请选择提现金额": "現金引き出し金額を選択してください" |
| | | } |
| | |
| | | "yebjl": "기금 기록", |
| | | "周期": "주기", |
| | | "天": "일", |
| | | "市场": "시장" |
| | | "市场": "시장", |
| | | "请选择提现金额": "현금 인출 금액을 선택하십시오." |
| | | } |
| | |
| | | "yebjl": "บันทึกกองทุน", |
| | | "周期": "ระยะเวลา", |
| | | "天": "วัน", |
| | | "市场": "ตลาด" |
| | | "市场": "ตลาด", |
| | | "请选择提现金额": "กรุณาเลือกจำนวนเงินที่ถอน" |
| | | } |
| | |
| | | "申购结束时间": "申购结束时间", |
| | | "周期": "周期", |
| | | "市场": "市场", |
| | | "配售结束时间": "配售结束时间" |
| | | "配售结束时间": "配售结束时间", |
| | | "请选择提现金额": "请选择提现金额" |
| | | } |
| | |
| | | this.getUserInfo(); |
| | | this.getInfoSite(); |
| | | this.getNewsList(1); |
| | | this.getNewsList(2); |
| | | this.getArtList(); |
| | | this.getBanner(); |
| | | |
| | |
| | | <div |
| | | class="hqchart" |
| | | id="hqchart_minute" |
| | | ref="kline" |
| | | ref="mychart" |
| | | v-show="chartType == 'minute'" |
| | | ></div> |
| | | <div |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import * as echarts from "echarts"; |
| | | |
| | | import _ from "lodash"; |
| | | import HQChart from "hqchart"; |
| | | import "hqchart/src/jscommon/umychart.resource/css/tools.css"; |
| | |
| | | VolChartHeight: 10, |
| | | chartType: "kline", |
| | | isShow: false, |
| | | xData: [], |
| | | }; |
| | | }, |
| | | created() { |
| | |
| | | }, |
| | | |
| | | mounted() { |
| | | this.initEcharts(); |
| | | this.offHeight = this.$refs["rightContent"].offsetHeight; |
| | | this.OnSize(); |
| | | this.SetChartStyle(); |
| | |
| | | }, |
| | | |
| | | 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 |
| | |
| | | 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( |
| | |
| | | }); |
| | | if (res.status === 0) { |
| | | Notify({ type: "success", message: res.msg }); |
| | | this.loadings = false; |
| | | this.fromData.value = ""; |
| | | } else { |
| | | Notify({ type: "warning", message: res.msg }); |
| | | } |
| | |
| | | <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">{{ |