10 files modified
1 files deleted
| | |
| | | hj221: "Welcome back", |
| | | hj222: "Log in using your mobile phone number", |
| | | hj223: "Don’t have an account yet? Register!", |
| | | hj224: "front page", |
| | | hj224: "home", |
| | | hj225: "trade", |
| | | hj226: "position", |
| | | hj227: "mine", |
| | |
| | | 平臺: "platform", |
| | | 申購記錄: "Subscription records", |
| | | 資訊: "information", |
| | | 数字货币: "digital currency", |
| | | 数字货币: "DC", |
| | | 马股: "MY stocks", |
| | | 美股: "US stocks", |
| | | 名稱: "name", |
| | |
| | | icon: require("@/assets/ico/english.png"), |
| | | lang: "zh-CN", |
| | | }, |
| | | { text: "繁体中文", icon: require("@/assets/ico/tw.png"), lang: "tw" }, |
| | | { text: "हिंदी", icon: require("@/assets/ico/india.png"), lang: "en" }, |
| | | { text: "한국인", icon: require("@/assets/ico/india.png"), lang: "hy" }, |
| | | { |
| | |
| | | lang: "ry", |
| | | }, |
| | | |
| | | { text: "繁体中文", icon: require("@/assets/ico/tw.png"), lang: "tw" }, |
| | | ], |
| | | // language, |
| | | Logo, |
| | |
| | | .title { |
| | | // color: red; |
| | | font-size: 18px; |
| | | padding: 10px 20px 10px; |
| | | // padding: 10px 20px 10px; |
| | | } |
| | | /deep/ .van-tabs--line .van-tabs__wrap { |
| | | height: 50px; |
| | |
| | | <div style="margin-right: 10px">{{ language }}</div> |
| | | </div> |
| | | </div> |
| | | <van-popup |
| | | v-model="settingDialog" |
| | | position="bottom" |
| | | :style="{ height: '35%' }" |
| | | @close="popClose" |
| | | > |
| | | <div |
| | | class="lang_box" |
| | | v-for="(item, index) in actions" |
| | | :key="index" |
| | | @click="qkclick(item)" |
| | | > |
| | | <div |
| | | :class="$i18n.locale == item.lang ? 'lang_box_txt' : 'lang_box_txta'" |
| | | > |
| | | <van-popup v-model="settingDialog" position="bottom" :style="{ height: '35%' }" @close="popClose"> |
| | | <div class="lang_box" v-for="(item, index) in actions" :key="index" @click="qkclick(item)"> |
| | | <div :class="$i18n.locale == item.lang ? 'lang_box_txt' : 'lang_box_txta'"> |
| | | {{ item.text }} |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | <script> |
| | | import * as api from "@/axios/api"; |
| | | import { Toast, MessageBox } from "mint-ui"; |
| | | import { isNull, pwdReg } from "@/utils/utils"; |
| | | import { mapMutations } from "vuex"; |
| | | import { Notify } from "vant"; |
| | | import { |
| | | Toast, |
| | | MessageBox |
| | | } from "mint-ui"; |
| | | import { |
| | | isNull, |
| | | pwdReg |
| | | } from "@/utils/utils"; |
| | | import { |
| | | mapMutations |
| | | } from "vuex"; |
| | | import { |
| | | Notify |
| | | } from "vant"; |
| | | |
| | | export default { |
| | | name: "newUser", |
| | |
| | | userInfo: [], |
| | | onlineService: "", |
| | | language: "", |
| | | actions: [ |
| | | { |
| | | actions: [{ |
| | | text: "English", |
| | | icon: require("@/assets/ico/english.png"), |
| | | lang: "zh-CN", |
| | | }, |
| | | { text: "हिंदी", icon: require("@/assets/ico/india.png"), lang: "en" }, |
| | | { text: "한국인", icon: require("@/assets/ico/india.png"), lang: "hy" }, |
| | | { |
| | | text: "हिंदी", |
| | | icon: require("@/assets/ico/india.png"), |
| | | lang: "en" |
| | | }, |
| | | { |
| | | text: "한국인", |
| | | icon: require("@/assets/ico/india.png"), |
| | | lang: "hy" |
| | | }, |
| | | { |
| | | text: "ภาษาไทย", |
| | | icon: require("@/assets/ico/india.png"), |
| | |
| | | lang: "ry", |
| | | }, |
| | | |
| | | { text: "繁体中文", icon: require("@/assets/ico/tw.png"), lang: "tw" }, |
| | | { |
| | | text: "繁体中文", |
| | | icon: require("@/assets/ico/tw.png"), |
| | | lang: "tw" |
| | | }, |
| | | ], |
| | | }; |
| | | }, |
| | |
| | | |
| | | this.pswDialog = false; |
| | | this.settingDialog = false; |
| | | Notify({ type: "success", message: this.$t("密码修改成功") }); |
| | | Notify({ |
| | | type: "success", |
| | | message: this.$t("密码修改成功") |
| | | }); |
| | | this.toRegister() |
| | | } else { |
| | | Toast(data.msg); |
| | | this.settingDialog = false; |
| | |
| | | .right_gos_txt { |
| | | margin-right: 15px; |
| | | } |
| | | |
| | | .setting_content { |
| | | width: 100%; |
| | | height: 5rem; |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | .lang_box_txta { |
| | | width: 100%; |
| | | height: 100px; |
| | |
| | | line-height: 100px; |
| | | border-bottom: 1px solid #ecf5ff; |
| | | } |
| | | |
| | | .lang_box_txt { |
| | | width: 100%; |
| | | height: 100px; |
| | |
| | | border-bottom: 1px solid #ecf5ff; |
| | | color: #2196f3; |
| | | } |
| | | |
| | | .lang_box { |
| | | width: 100%; |
| | | display: flex; |
| | |
| | | align-items: center; |
| | | flex-direction: column; |
| | | } |
| | | |
| | | .btn_s_box { |
| | | border: none; |
| | | background: #409eff; |
| | |
| | | font-weight: 600; |
| | | margin: 40px 20px 0 20px; |
| | | } |
| | | |
| | | .btn_s { |
| | | width: 100%; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | } |
| | | |
| | | .jy { |
| | | width: 100%; |
| | | height: 1.5rem; |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | body { |
| | | background-color: #f8f8f8; |
| | | } |
| | |
| | | height: 2rem; |
| | | display: flex; |
| | | background-color: #fff; |
| | | |
| | | > div { |
| | | width: 10%; |
| | | height: 100%; |
| | |
| | | elAlertType: "success", |
| | | }); |
| | | this.getUserInfo(); |
| | | this.$router.push("/warehouse?index=0"); |
| | | var buyType = '' |
| | | if (this.tabsCurrentIndex == 0) { |
| | | buyType = 1; |
| | | } else { |
| | | buyType = 0; |
| | | } |
| | | if(this.bayType=='US'){ |
| | | |
| | | this.$router.push("/warehouse?index=1&buyType="+buyType); |
| | | }else if(this.bayType=='MAS'){ |
| | | this.$router.push("/warehouse?index=0&buyType="+buyType); |
| | | }else { |
| | | this.$router.push("/warehouse"); |
| | | } |
| | | } else { |
| | | if (data.msg.indexOf("不在交易时段内") > -1) { |
| | | this.$store.commit("elAlertShow", { |
| | |
| | | created() { |
| | | this.getMoneys(); |
| | | }, |
| | | mounted(){ |
| | | if(this.$route.query.index=='0'){ |
| | | this.onClick({name:4}) |
| | | }else if(this.$route.query.index=='1'){ |
| | | this.onClick({name:2}) |
| | | }else{ |
| | | |
| | | } |
| | | }, |
| | | methods: { |
| | | itemClick() { |
| | | this.$refs.dataListref.getList(this.activeObj.laber); |
| | |
| | | } |
| | | }, |
| | | onClick(e) { |
| | | console.log(e); |
| | | this.active = e.name; |
| | | this.activeObj = e; |
| | | this.getMoneys(); |
| | |
| | | </div> |
| | | </div> |
| | | <van-row> |
| | | <van-col span="12"> |
| | | <van-col span="8"> |
| | | <div style="text-align: left"> |
| | | <div class="sport-content-title2">{{ $t("盈虧") }} (USD)</div> |
| | | <div class="sport-content-text" style="color: #d04b64"> |
| | | {{ item.profitAndLose }} |
| | | </div> |
| | | </div></van-col |
| | | </div> |
| | | </van-col |
| | | > |
| | | <van-col span="12"> |
| | | <van-col span="8"> |
| | | <div style="text-align: center"> |
| | | <div class="sport-content-title2">{{ $t("hj141") }} (USD)</div> |
| | | <div class="sport-content-text2">{{ item.profitAndLoseParent }}</div> |
| | | </div> |
| | | </van-col> |
| | | <van-col span="8"> |
| | | <div style="text-align: right"> |
| | | <div class="sport-content-title2">{{ $t("倉位(股)") }}</div> |
| | | <div class="sport-content-text">{{ item.orderNum }}</div> |
| | |
| | | <div> |
| | | <div class="dz-title" v-if="rechargeAccountData.key !== undefined"> |
| | | <div>{{ $t("可用餘額") }}</div> |
| | | <div class="balance-text"> |
| | | <div class="balance-text" v-if="rechargeAccountData.key=='US'"> |
| | | {{ availableBalanceUSD }} USD |
| | | <!-- {{ symbolCode }} --> |
| | | </div> |
| | | <div class="balance-text" v-else> |
| | | {{ availableBalanceUSD }} MYR |
| | | <!-- {{ symbolCode }} --> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <van-button |