| | |
| | | *.ntvs* |
| | | *.njsproj |
| | | *.sln |
| | | *.rar |
| | |
| | | $t('设置') }}{{ |
| | | $t('止盈') }}{{$t('止损') }}</button> |
| | | </div> --> |
| | | <div class="flex-1"> |
| | | <div class="text-grey">{{ $t('强平价格') }}</div> |
| | | <div class="mt-20" :class="[isStyle ? 'textColor1 ' : 'textColor']">{{ item.qiangPing}}</div> |
| | | </div> |
| | | <div> |
| | | <div class="text-grey">ROE</div> |
| | | <div class="mt-20" :class="item.change_ratio / 1 > 0 ? 'text-green' : 'text-red'">{{ item.change_ratio |
| | |
| | | }}{{fomtdata.totalMoney}} |
| | | </div> |
| | | </van-row> |
| | | <van-row gutter="20" class="but-box"> |
| | | <van-row gutter="20" class="but-box" v-if="typeindex == 0"> |
| | | <van-col |
| | | span="8" |
| | | v-for="item in tabList1" |
| | | v-for="item in tabList2" |
| | | :key="item.id" |
| | | @click="routerList(item)" |
| | | > |
| | | <div class="but">{{ item.text }}</div> |
| | | <div class="but" >{{ item.text }}</div> |
| | | </van-col> |
| | | </van-row> |
| | | <van-row gutter="20" class="but-box" v-if="typeindex == 1"> |
| | | <van-col |
| | | span="8" |
| | | v-for="item in tabList1" |
| | | :key="item.id" |
| | | @click="routerList(item)" |
| | | > |
| | | <div class="but" >{{ item.text }}</div> |
| | | </van-col> |
| | | </van-row> |
| | | </header> |
| | | <div class="tabs" v-if="typeindex==0"> |
| | | <div class="tabs-box"> |
| | |
| | | loading: true, |
| | | active: 1, |
| | | typeindex:0, |
| | | tabList2: [ |
| | | { |
| | | id: 4, |
| | | text: this.$t("闪兑"), |
| | | route: "/exchange/exchangePage", |
| | | }, |
| | | { |
| | | id: 5, |
| | | text: this.$t("货币理财"), |
| | | route: "/financialHistory", |
| | | query: { |
| | | type: 0, |
| | | }, |
| | | }, |
| | | { |
| | | id: 6, |
| | | text: this.$t("矿池理财"), |
| | | route: "/financialHistory", |
| | | query: { |
| | | type: 1, |
| | | }, |
| | | }, |
| | | { |
| | | id: 7, |
| | | text: this.$t("划转"), |
| | | route: "/transfer", |
| | | // query: { |
| | | // type: 1, |
| | | // }, |
| | | }, |
| | | ], |
| | | tabList1: [ |
| | | { |
| | | id: 1, |
| | |
| | | id: 2, |
| | | text: this.$t("提币"), |
| | | route: "/withdraw/withdrawPage", |
| | | }, |
| | | { |
| | | id: 4, |
| | | text: this.$t("闪兑"), |
| | | route: "/exchange/exchangePage", |
| | | }, |
| | | { |
| | | id: 5, |
| | | text: this.$t("货币理财"), |
| | | route: "/financialHistory", |
| | | query: { |
| | | type: 0, |
| | | }, |
| | | }, |
| | | { |
| | | id: 6, |
| | | text: this.$t("矿池理财"), |
| | | route: "/financialHistory", |
| | | query: { |
| | | type: 1, |
| | | }, |
| | | }, |
| | | { |
| | | id: 6, |
| | | text: this.$t("划转"), |
| | | route: "/transfer", |
| | | query: { |
| | | type: 1, |
| | | }, |
| | | }, |
| | | } |
| | | ], |
| | | tabList: [ |
| | | { id: 1, text: this.$t("现货") }, |
| | |
| | | return { |
| | | lang: [ |
| | | { title: 'English', key: 'en', image: require('../../assets/image/lang/en-US.png') },//英语 |
| | | { title: '한국인', key: 'ko', image: require('../../assets/image/lang/Korean.png') },//韩语 |
| | | // { title: '한국인', key: 'ko', image: require('../../assets/image/lang/Korean.png') },//韩语 |
| | | { title: 'Deutsch', key: 'de', image: require('../../assets/image/lang/de.png') }, //德语 |
| | | { title: 'Français', key: 'fr', image: require('../../assets/image/lang/French.png') }, //法语 |
| | | { title: 'やまと', key: 'ja', image: require('../../assets/image/lang/Japanese.png') }, //日语 |
| | |
| | | { title: 'Tiếng Việt', key: 'vi', image: require('../../assets/image/lang/vi.png') },//越南语 |
| | | { title: 'Italiano', key: 'it', image: require('../../assets/image/lang/Italy.png') }, //意大利语 |
| | | { title: '繁体中文', key: 'zh-TW', image: require('../../assets/image/lang/hongkong.png') }, |
| | | { title: '简体中文', key: 'zh-CN', image: require('../../assets/image/lang/zh-CN.png') }, |
| | | // { title: '简体中文', key: 'zh-CN', image: require('../../assets/image/lang/zh-CN.png') }, |
| | | ] |
| | | } |
| | | }, |
| | |
| | | </div> |
| | | </div> |
| | | <div style="width: 100%;"> |
| | | <input v-model="amount" :placeholder="$t('请输入数量')" type="number" style="width: 92%;" class="h-100 border-none inputBackground textColor mt-20 pl-20 ml-23" |
| | | <input v-model="amount" :placeholder="$t('请输入数量')" type="number" style="width: 83%;" class="h-100 border-none inputBackground textColor mt-20 pl-20 ml-23" |
| | | @input="onInput" :disabled="disabled" /> |
| | | <span @click="clickall">{{$t('全部')}}</span> |
| | | </div> |
| | | <div class="pages_bot_tps"> |
| | | {{$t('可用数量')}}:{{usdcMoney}} {{bzlist[typeindex]}} |
| | |
| | | this.getwallet() |
| | | }, |
| | | methods: { |
| | | clickall(){ |
| | | this.amount=this.usdcMoney |
| | | }, |
| | | async onSwitch(){ |
| | | var a = this.toptitle |
| | | var b = this.buttitle |