| | |
| | | <template> |
| | | <div class="user_page"> |
| | | <div class="content"> |
| | | <div class="top_icon"> |
| | | <div class="left_icon"> |
| | | <div> |
| | | <img src="../../assets/img/img_log_home.png" |
| | | style="width: 40px;height: 40px;border-radius: 50px;" /> |
| | | </div> |
| | | <div class="top_box"> |
| | | <div class="top_box_top" style="font-weight: 600;">{{userInfo.realName}}</div> |
| | | <div class="top_box_top" style="margin-top: 2px;">ID:{{userInfo.id}}</div> |
| | | </div> |
| | | </div> |
| | | <div class="right_icon"> |
| | | <div style="justify-content: flex-end;" @click="goToTopUp()"> |
| | | <img src="@/assets/img/shezhia.png" alt /> |
| | | </div> |
| | | <!-- <div style="justify-content: flex-end;"> |
| | | <a href="https://t.me/Mc1992023" target="_blank"> |
| | | <img style="width: 0.5rem;height: 0.5rem;" src="@/assets/img/kefu.png" alt /> |
| | | </a> |
| | | </div> --> |
| | | <!-- <div @click="goOnline" style="justify-content: flex-end;"> |
| | | <img style="width: 0.5rem;height: 0.5rem;" src="@/assets/img/kefu.png" alt /> |
| | | </div> --> |
| | | </div> |
| | | </div> |
| | | <div class="users" @click="goWall()" style="display:none"> |
| | | <div class="left_tou"> |
| | | <div class="left_tx"> |
| | | <div> |
| | | <img src="@/assets/img/eslogo.png" alt /> |
| | | </div> |
| | | </div> |
| | | <div class="right_name"> |
| | | <span>{{ userInfo.realName ? userInfo.realName : userInfo.phone }}</span> |
| | | </div> |
| | | </div> |
| | | <div class="right_go"> |
| | | <img src="@/assets/img/youjiantou.png" alt /> |
| | | </div> |
| | | </div> |
| | | <div class="center_card"> |
| | | <div style="display: flex;flex-direction: column;"> |
| | | <div class="keyon"> |
| | | <span>{{ $t('usertop') }}</span> |
| | | </div> |
| | | <div class="num_price" v-if="userInfo.length == 0"> |
| | | ₹0 |
| | | </div> |
| | | </div> |
| | | <div class="user_page DINPro"> |
| | | <div class="content"> |
| | | <!-- <div class="top_icon"> |
| | | <div class="left_icon"> |
| | | <div> |
| | | <img |
| | | src="../../assets/img/img_log_home.png" |
| | | style="width: 40px; height: 40px; border-radius: 50px" |
| | | /> |
| | | </div> |
| | | <div class="top_box"> |
| | | <div class="top_box_top" style="font-weight: 600"> |
| | | {{ userInfo.realName }} |
| | | </div> |
| | | <div class="top_box_top" style="margin-top: 2px"> |
| | | ID:{{ userInfo.phone }} |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="right_icon"> |
| | | <div style="justify-content: flex-end" @click="goToTopUp()"> |
| | | <img src="@/assets/img/shezhia.png" alt /> |
| | | </div> |
| | | </div> |
| | | </div> --> |
| | | <div class="userbox"> |
| | | <img style="width: 59px;height: 59px;margin-bottom: 20px;" src="@/assets/img/aass.png"/> |
| | | <div style="margin-bottom: 10px;font-size: 15px;">{{ userInfo.phone }}</div> |
| | | <div style="margin-bottom: 20px;display: flex;"> |
| | | <div >UID:{{ userInfo.id }} |
| | | </div> |
| | | <div :style="userInfo.isActive==2?'color:#16B06E;margin-left: 10px;':'color:#C8302F;margin-left: 10px;'">{{userInfo.isActive==2?$t('hj203'):$t('hj204')}}</div> |
| | | </div> |
| | | </div> |
| | | <div class="sfrz"> |
| | | <div class="sfrz_left"> |
| | | <img src="@/assets/img/shiminga.png"/> |
| | | <div style="margin-left: 5px;">{{$t('hj246')}}</div> |
| | | </div> |
| | | <div class="sfrz_right" @click="$router.push('/authentications')"> |
| | | {{userInfo.isActive==2?$t('hj203'):$t('hj204')}} |
| | | </div> |
| | | </div> |
| | | <div> |
| | | <div style="margin-top: 20px;color: #fff;border-radius: 4px;width: max-content;padding: 8px 16px;background-color: #185546;margin-left: 15px;margin-bottom: 20px;"> |
| | | {{$t('日股')}} |
| | | </div> |
| | | </div> |
| | | <div class="content-box"> |
| | | <van-row class="van-row-box"> |
| | | <van-col span="20"> |
| | | <div class="content-all"> |
| | | <span>{{ $t("賬戶總資產") }}(JPY)</span> |
| | | </div> |
| | | <div class="number-all"> |
| | | <showHide :text="asstesAll" :flg="xy" /> |
| | | </div> |
| | | </van-col> |
| | | <van-col span="4" style="display: flex; justify-content: flex-end"> |
| | | <!-- <van-icon |
| | | @click="$router.push('/rechargelist')" |
| | | name="orders-o" |
| | | size="20" |
| | | /> --> |
| | | <i @click="xy = !xy" class="iconfont xy"></i> |
| | | </van-col> |
| | | </van-row> |
| | | |
| | | <!-- <van-row style="margin-top: 16px"> |
| | | <van-col span="8" style="display: flex; justify-content: center"> |
| | | <van-button @click="$router.push('/recharge')" class="btn-two" type="primary"> |
| | | {{ $t("hj172") }} |
| | | </van-button> |
| | | </van-col> |
| | | <van-col span="8" style="display: flex; justify-content: center"> |
| | | <van-button |
| | | @click="$router.push('/RechargeSure')" |
| | | class="btn-two" |
| | | type="default" |
| | | >{{ $t("提款") }}</van-button |
| | | > |
| | | </van-col> --> |
| | | <!-- <van-col span="8" style="display: flex; justify-content: center"> |
| | | <van-button |
| | | @click="leverShow = true" |
| | | class="btn-two" |
| | | type="default" |
| | | > |
| | | {{ $t("申请杠杠") }} |
| | | </van-button> |
| | | </van-col> --> |
| | | </van-row> |
| | | |
| | | <div class="num_price" v-if="userInfo.length != 0"> |
| | | <p class="account">{{regexNum($store.state.userInfo.totalAssets)}}</p> |
| | | </div> |
| | | <van-dialog |
| | | v-model="leverShow" |
| | | :title="$t('申请杠杠')" |
| | | show-cancel-button |
| | | :cancelButtonText="$t('取消')" |
| | | :confirmButtonText="$t('确认')" |
| | | @confirm="confirmLever" |
| | | > |
| | | <van-radio-group v-model="radio"> |
| | | <van-cell-group> |
| | | <van-cell title="1X" clickable @click="radio = '1'"> |
| | | <template #right-icon> |
| | | <van-radio name="1" /> |
| | | </template> |
| | | </van-cell> |
| | | <van-cell title="2X" clickable @click="radio = '2'"> |
| | | <template #right-icon> |
| | | <van-radio name="2" /> |
| | | </template> |
| | | </van-cell> |
| | | <van-cell title="5X" clickable @click="radio = '5'"> |
| | | <template #right-icon> |
| | | <van-radio name="5" /> |
| | | </template> |
| | | </van-cell> |
| | | <van-cell title="10X" clickable @click="radio = '10'"> |
| | | <template #right-icon> |
| | | <van-radio name="10" /> |
| | | </template> |
| | | </van-cell> |
| | | </van-cell-group> |
| | | </van-radio-group> |
| | | </van-dialog> |
| | | </div> |
| | | <div class="content-list-box"> |
| | | <div class="price"> |
| | | <div class="price_box"> |
| | | <div class="price_box_title">{{$t('hometips')}}</div> |
| | | <div class="price_box_txt">{{asstesAll}}</div> |
| | | </div> |
| | | <div class="price_box"> |
| | | <div class="price_box_title">{{$t('日股冻结')}}</div> |
| | | <div class="price_box_txt">0.00</div> |
| | | </div> |
| | | <div class="price_box"> |
| | | <div class="price_box_title">{{$t('累計盈虧')}}</div> |
| | | <div class="price_box_txt">{{moneyList[0].cumulativeProfitAndLoss}}</div> |
| | | </div> |
| | | <div class="price_box"> |
| | | <div class="price_box_title">{{$t('浮動盈虧')}}</div> |
| | | <div class="price_box_txt">{{moneyList[0].profitAndLoss}}</div> |
| | | </div> |
| | | <div class="price_box"> |
| | | <div class="price_box_title">{{$t('待补金额')}}</div> |
| | | <div class="price_box_txt">{{moneyList[0].amountToBeCovered}}</div> |
| | | </div> |
| | | <div class="price_box"> |
| | | <div class="price_box_title">{{$t('hj48')}}</div> |
| | | <div class="price_box_txt">{{moneyList[0].availableBalance}}</div> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="divider div-shrink"></div> --> |
| | | <!-- <van-tabs |
| | | line-width="22px" |
| | | swipe-threshold="2" |
| | | offset-top="20px" |
| | | @change="tabsChange" |
| | | > |
| | | <van-tab |
| | | v-model="active" |
| | | v-for="(item, index) in listAsstes" |
| | | :title="item.title" |
| | | :key="index" |
| | | :name="item.title" |
| | | > |
| | | <ul class="money"> |
| | | <li style="text-align: left"> |
| | | <div class="li-title"> |
| | | {{ item.title1 }}({{ item.symbolCode }}) |
| | | </div> |
| | | <div class="li-USDT"> |
| | | <div class="DINPro"> |
| | | {{ item.symbol }} |
| | | {{ item.availableBalance }} |
| | | </div> |
| | | </div> |
| | | </li> |
| | | <li> |
| | | <div class="li-title"> |
| | | {{ item.title2 }}({{ item.symbolCode }}) |
| | | </div> |
| | | <div class="li-USDT"> |
| | | <div class="DINPro"> |
| | | {{ item.symbol }} |
| | | {{ item.freezeMoney }} |
| | | </div> |
| | | </div> |
| | | </li> |
| | | <li> |
| | | <div class="li-title"> |
| | | {{ $t("待补金额") }}({{ item.symbolCode }}) |
| | | </div> |
| | | <div class="li-USDT"> |
| | | <div class="DINPro"> |
| | | {{ item.symbol }} |
| | | {{ item.amountToBeCovered }} |
| | | </div> |
| | | </div> |
| | | </li> |
| | | </ul> |
| | | </van-tab> |
| | | </van-tabs> --> |
| | | <div class="btnsss"> |
| | | <div class="btn_box" v-for="(item,index) in btnlist" :key="index" @click="gotorush(item.url)"> |
| | | <img class="btn_box_img" :src="item.img"/> |
| | | <div class="btn_box_txt">{{item.txt}}</div> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="title_box"> |
| | | <div class="title_box_left">{{$t('titxt')}}</div> |
| | | <div class="title_box_right">{{$t('titxta')}}</div> |
| | | </div> |
| | | <div class="title_box" style="margin-top: 15px;"> |
| | | <div class="title_box_left" style="color: #000;">{{$store.state.userInfo.userAmtToUsdt}}</div> |
| | | <div class="title_box_right" style="color: #000;">{{$store.state.userInfo.userIndexAmt}}</div> |
| | | </div> |
| | | <div class="box1_bottom"> |
| | | <div class="btn2" @click="gotoa(1)">{{$t('btn1')}}</div> |
| | | <div class="btn1" @click="gotoa(2)">{{$t('btn2')}}</div> |
| | | <div class="btn1" @click="gotoa(3)">{{$t('btn3')}}</div> |
| | | </div> |
| | | </div> |
| | | <div class="cd_box"> |
| | | <div class="cd_box_top"> |
| | | <img src="../../../static/img/ydgq.png" style="width: 17px;height: 17px;border-radius: 50px;margin-right: 5px;"/> |
| | | {{$t('hhhh')}}</div> |
| | | <div class="cd_box_body"> |
| | | <div class="cd_box_body_letf">{{$t('kygp')}}</div> |
| | | <div class="cd_box_body_right"> |
| | | <div class="cd_box_body_right_top">₹ {{$store.state.userInfo.userAmt}}</div> |
| | | <div class="cd_box_body_right_bottom">≈ ${{$store.state.userInfo.userAmtToUsdt}}</div> |
| | | </div> |
| | | </div> |
| | | <div class="cd_box_body"> |
| | | <div class="cd_box_body_letf">{{$t('djgp')}}</div> |
| | | <div class="cd_box_body_right"> |
| | | <div class="cd_box_body_right_top">₹ {{$store.state.userInfo.allFreezAmt}}</div> |
| | | <div class="cd_box_body_right_bottom">≈ ${{$store.state.userInfo.allFreezAmtToUsdt}}</div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="cd_box"> |
| | | <div class="cd_box_top"> |
| | | <img src="../../../static/img/usgq.png" style="width: 17px;height: 17px;border-radius: 50px;margin-right: 5px;"/> |
| | | {{$t('hhaa')}}</div> |
| | | <div class="cd_box_body"> |
| | | <div class="cd_box_body_letf">{{$t('uszh1')}}</div> |
| | | <div class="cd_box_body_right"> |
| | | <div class="cd_box_body_right_top">${{$store.state.userInfo.userIndexAmt}}</div> |
| | | </div> |
| | | </div> |
| | | <div class="cd_box_body"> |
| | | <div class="cd_box_body_letf">{{$t('uszh2')}}</div> |
| | | <div class="cd_box_body_right"> |
| | | <div class="cd_box_body_right_top">${{$store.state.userInfo.usAllFreezAmt}}</div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <setting style="width: auto;"></setting> |
| | | <div style="width: 100%;height: 100px;"></div> |
| | | <!-- <div class="path" > |
| | | <div class="path_box" v-for="(item,index) in iconlist" :key="index" @click="nato(item.path)"> |
| | | <div class="path_img"> |
| | | <img alt :src="item.icon"/> |
| | | </div> |
| | | <div class="path_txt">{{item.title}}</div> |
| | | </div> |
| | | </div> --> |
| | | |
| | | |
| | | |
| | | |
| | | </div> |
| | | <div style="width: 100%;height: 100px;"></div> |
| | | <van-popup v-model="settingDialog" position="bottom" :style="{ height: '40%' }"> |
| | | <div class="setting_content"> |
| | | <div class="old_password"> |
| | | <div class="left_titles"> |
| | | <span>{{ $t('hj150') + ':' }}</span> |
| | | </div> |
| | | <div class="right_password_input"> |
| | | <input type="password" v-model="oldPassword" /> |
| | | </div> |
| | | </div> |
| | | <div class="old_password"> |
| | | <div class="left_titles"> |
| | | <span>{{ $t('hj151') + ':' }}</span> |
| | | </div> |
| | | <div class="right_password_input"> |
| | | <input type="password" v-model="newPassword" /> |
| | | </div> |
| | | </div> |
| | | <div class="old_password"> |
| | | <div class="left_titles"> |
| | | <span>{{ $t('hj152') + ':' }}</span> |
| | | </div> |
| | | <div class="right_password_input"> |
| | | <input type="password" v-model="cirNewPassword" /> |
| | | </div> |
| | | </div> |
| | | <div class="btn_setting" @click="changeLoginPsd()"> |
| | | <span>{{ $t('hj153') }}</span> |
| | | </div> |
| | | </div> |
| | | </van-popup> |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <Language ref="language" @onChange="onChange" /> |
| | | <van-popup v-model="settingDialog" position="bottom" :style="{ height: '40%' }"> |
| | | <div class="setting_content"> |
| | | <div class="old_password"> |
| | | <div class="left_titles"> |
| | | <span>{{ $t("hj150") + ":" }}</span> |
| | | </div> |
| | | <div class="right_password_input"> |
| | | <input type="password" v-model="oldPassword" /> |
| | | </div> |
| | | </div> |
| | | <div class="old_password"> |
| | | <div class="left_titles"> |
| | | <span>{{ $t("hj151") + ":" }}</span> |
| | | </div> |
| | | <div class="right_password_input"> |
| | | <input type="password" v-model="newPassword" /> |
| | | </div> |
| | | </div> |
| | | <div class="old_password"> |
| | | <div class="left_titles"> |
| | | <span>{{ $t("hj152") + ":" }}</span> |
| | | </div> |
| | | <div class="right_password_input"> |
| | | <input type="password" v-model="cirNewPassword" /> |
| | | </div> |
| | | </div> |
| | | <div class="btn_setting" @click="changeLoginPsd()"> |
| | | <span>{{ $t("hj153") }}</span> |
| | | </div> |
| | | </div> |
| | | </van-popup> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import * as api from '@/axios/api' |
| | | import { |
| | | Toast, |
| | | MessageBox |
| | | } from 'mint-ui' |
| | | import { |
| | | isNull, |
| | | pwdReg |
| | | } from '@/utils/utils' |
| | | import * as api from "@/axios/api"; |
| | | import { Toast, MessageBox } from "mint-ui"; |
| | | import { isNull, pwdReg } from "@/utils/utils"; |
| | | import showHide from "@/components/showHide"; |
| | | import Vue from "vue"; |
| | | import { Notify } from "vant"; |
| | | import Language from "@/components/Language/index.vue"; |
| | | import setting from "./setting.vue" |
| | | |
| | | export default { |
| | | name: 'newUser', |
| | | data() { |
| | | return { |
| | | name: '大狗子', |
| | | selectUserFlag: true, |
| | | settingDialog: false, |
| | | oldPassword: '', // 旧密码 |
| | | newPassword: '', // 新密码 |
| | | cirNewPassword: '', // 确认新密码 |
| | | userInfo: [], |
| | | onlineService: '' |
| | | } |
| | | }, |
| | | components: {}, |
| | | created() { |
| | | this.getUserInfo() |
| | | this.getInfoSite() |
| | | }, |
| | | methods: { |
| | | yebclick() { |
| | | this.$router.push('/yeb') |
| | | }, |
| | | regexNum(str) { |
| | | console.log(str); |
| | | str = str.toString() |
| | | if (str.indexOf(".") == -1) { |
| | | str = str + ".00" |
| | | } |
| | | export default { |
| | | name: "newUser", |
| | | components: { showHide,Language,setting }, |
| | | data() { |
| | | return { |
| | | pswDialog: false, |
| | | leverShow: false, |
| | | radio: "1", |
| | | // 显示隐藏 |
| | | xy: true, |
| | | listAsstes: [ |
| | | { |
| | | title: this.$t("日股資產"), |
| | | title3: this.$t("日股總資產"), |
| | | title1: this.$t("日股可用"), |
| | | title2: this.$t("日股冻结"), |
| | | accectType: "JP", |
| | | symbolCode: "JPY", |
| | | symbol: "¥", |
| | | }, |
| | | ], |
| | | active: this.$t("日股資產"), |
| | | name: "", |
| | | btnlist:[ |
| | | { |
| | | img:require('../../assets/img/chongzhi.svg'), |
| | | txt:this.$t('hj172'), |
| | | url:'/recharge' |
| | | }, |
| | | { |
| | | img:require('../../assets/img/tixian.svg'), |
| | | txt:this.$t('hj177'), |
| | | url:'/RechargeSure' |
| | | }, |
| | | { |
| | | img:require('../../assets/img/bank_card.svg'), |
| | | txt:this.$t('hj247'), |
| | | url:'/banklist' |
| | | }, |
| | | { |
| | | img:require('../../assets/img/mingxi.svg'), |
| | | txt:this.$t('明细'), |
| | | url:'/Record' |
| | | }, |
| | | { |
| | | img:require('../../assets/img/mykefu.svg'), |
| | | txt:this.$t('kf'), |
| | | url:'' |
| | | }, |
| | | { |
| | | img:require('../../assets/img/userrz.svg'), |
| | | txt:this.$t('hj203'), |
| | | url:'/authentications' |
| | | } |
| | | ], |
| | | selectUserFlag: true, |
| | | settingDialog: false, |
| | | oldPassword: "", // 旧密码 |
| | | newPassword: "", // 新密码 |
| | | cirNewPassword: "", // 确认新密码 |
| | | userInfo: [], |
| | | onlineService: "", |
| | | moneyList: [], |
| | | asstesAll: "0.00", |
| | | iconlist:[{ |
| | | icon:require('../../assets/img/usericon.png'), |
| | | path:'/bankCard1', |
| | | title: this.$t("关于我们"), |
| | | }, |
| | | { |
| | | icon:require('../../assets/img/usericon.png'), |
| | | path:'/banklist', |
| | | title: this.$t("hj147"), |
| | | }, |
| | | { |
| | | icon:require('../../assets/img/usericon.png'), |
| | | path:'/mm', |
| | | title: this.$t("hj144"), |
| | | }, |
| | | { |
| | | icon:require('../../assets/img/usericon.png'), |
| | | path:'/authentications', |
| | | title: this.$t("hj146"), |
| | | }, |
| | | // { |
| | | // icon:require('../../assets/img/usericon.png'), |
| | | // path:'/banklist', |
| | | // title: this.$t("ysmrz"), |
| | | // }, |
| | | { |
| | | icon:require('../../assets/img/usericon.png'), |
| | | path:'/yy', |
| | | title: this.$t("yy"), |
| | | }, |
| | | { |
| | | icon:require('../../assets/img/usericon.png'), |
| | | path:'/tc', |
| | | title: this.$t("hj148"), |
| | | }, |
| | | ], |
| | | language: "", |
| | | }; |
| | | }, |
| | | created() { |
| | | this.getUserInfo(); |
| | | this.getMoneyData(); |
| | | this.getInfoSite(); |
| | | }, |
| | | methods: { |
| | | clicklang() { |
| | | this.$refs.language.settingDialog = true; |
| | | }, |
| | | onChange(e) { |
| | | this.language = e; |
| | | this.active = this.$t("日股資產") |
| | | this.listAsstes=[ |
| | | { |
| | | title: this.$t("日股資產"), |
| | | title3: this.$t("日股總資產"), |
| | | title1: this.$t("日股可用"), |
| | | title2: this.$t("日股冻结"), |
| | | accectType: "JP", |
| | | symbolCode: "JPY", |
| | | symbol: "¥", |
| | | }, |
| | | ] |
| | | this.iconlist = [{ |
| | | icon:require('../../assets/img/usericon.png'), |
| | | path:'/bankCard1', |
| | | title: this.$t("关于我们"), |
| | | }, |
| | | { |
| | | icon:require('../../assets/img/usericon.png'), |
| | | path:'/banklist', |
| | | title: this.$t("hj147"), |
| | | }, |
| | | { |
| | | icon:require('../../assets/img/usericon.png'), |
| | | path:'/mm', |
| | | title: this.$t("hj144"), |
| | | }, |
| | | { |
| | | icon:require('../../assets/img/usericon.png'), |
| | | path:'/authentications', |
| | | title: 'KYC', |
| | | }, |
| | | // { |
| | | // icon:require('../../assets/img/usericon.png'), |
| | | // path:'/banklist', |
| | | // title: this.$t("ysmrz"), |
| | | // }, |
| | | { |
| | | icon:require('../../assets/img/usericon.png'), |
| | | path:'/yy', |
| | | title: this.$t("yy"), |
| | | }, |
| | | { |
| | | icon:require('../../assets/img/usericon.png'), |
| | | path:'/tc', |
| | | title: this.$t("hj148"), |
| | | }, |
| | | ] |
| | | }, |
| | | nato(path){ |
| | | if(path=='/mm'){ |
| | | this.goToSettings() |
| | | }else if (path=='/yy'){ |
| | | this.clicklang() |
| | | }else if (path == '/tc'){ |
| | | this.handleOutLoginClick() |
| | | }else{ |
| | | this.$router.push(path); |
| | | } |
| | | }, |
| | | async toRegister() { |
| | | // 注销登陆 |
| | | window.localStorage.removeItem("USERTOKEN"); // 清空本地存储 USERTOKEN字段 |
| | | this.clearCookie(); |
| | | let data = await api.logout(); |
| | | if (data.status === 0) { |
| | | // Toast(data.msg) |
| | | this.undataToken(null); |
| | | this.$router.push("/login"); |
| | | } else { |
| | | Toast(data.msg); |
| | | } |
| | | this.$router.push("/login"); |
| | | }, |
| | | gotorush(e){ |
| | | // if(e=='/recharge'){ |
| | | // Toast(this.$t('请联系客服')); |
| | | // }else |
| | | if(e==''){ |
| | | // window.open('https://lin.ee/7I7cvGD', '_blank'); |
| | | // window.open('https://lin.ee/69mzBfD', '_blank'); |
| | | window.open(this.onlineService); |
| | | }else{ |
| | | this.$router.push(e); |
| | | } |
| | | }, |
| | | handleOutLoginClick() { |
| | | // 退出登录 |
| | | MessageBox.confirm(this.$t("hj149"), this.$t(""), { |
| | | confirmButtonText: this.$t("qr"), |
| | | cancelButtonText: this.$t("hj106"), |
| | | }) |
| | | .then(() => { |
| | | this.toRegister(); |
| | | }) |
| | | .catch(() => {}); |
| | | }, |
| | | // 申请杠杠 |
| | | async confirmLever() { |
| | | const res = await api.applyLever({ lever: this.radio }); |
| | | if (res.status === 0) { |
| | | Notify({ |
| | | type: "success", |
| | | message: this.$t("申请杠杠成功,请联系客服!"), |
| | | }); |
| | | } else { |
| | | Notify({ type: "warning", message: res.msg }); |
| | | } |
| | | }, |
| | | kefu() { |
| | | this.$store.commit("elAlertShow", { |
| | | elAlertShow: true, |
| | | elAlertText: this.$t("当前充值渠道已关闭请选择在线客服进行充值。") |
| | | }); |
| | | // window.open(this.onlineService); |
| | | }, |
| | | async getMoneyData() { |
| | | let data = await api.getMoney(); |
| | | if (data.status === 0) { |
| | | // 判断是否登录 |
| | | this.moneyList = data.data; |
| | | data.data.map((item) => { |
| | | this.listAsstes.map((items) => { |
| | | if (item.accectType === items.accectType) { |
| | | Vue.set(items, "availableBalance", item.availableBalance); |
| | | Vue.set(items, "availableBalanceUSD", item.availableBalanceUSD); |
| | | Vue.set(items, "freezeMoney", item.freezeMoney); |
| | | Vue.set(items, "freezeMoneyUSD", item.freezeMoneyUSD); |
| | | Vue.set(items, "symbol", item.symbol); |
| | | Vue.set(items, "symbolCode", item.symbolCode); |
| | | Vue.set(items, "amountToBeCovered", item.amountToBeCovered); |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | var newStr = str.split('.') |
| | | var point = newStr[1] |
| | | const arr = data.data.filter((item) => item.accectType === "JP"); |
| | | this.asstesAll = arr[0].totalMoney; |
| | | } |
| | | }, |
| | | tabsChange(e) { |
| | | console.log(e); |
| | | }, |
| | | yebclick() { |
| | | this.$router.push("/yeb"); |
| | | }, |
| | | regexNum(str) { |
| | | console.log(str); |
| | | str = str.toString(); |
| | | if (str.indexOf(".") == -1) { |
| | | str = str + ".00"; |
| | | } |
| | | |
| | | if (point.length < 2) { |
| | | point = point + "0" |
| | | } |
| | | var moneyPoint = newStr[0] |
| | | if (moneyPoint.length <= 3) { |
| | | return moneyPoint + "." + point |
| | | } else { |
| | | var mPoint = moneyPoint.substr(moneyPoint.length - 3, moneyPoint.length) |
| | | var twoPoint = moneyPoint.substr(0, moneyPoint.length - 3) |
| | | var endString = twoPoint.toString().replace(/(\d)(?=(\d{2})+(?!\d))/g, '$1,') |
| | | return endString + "," + mPoint + '.' + point; |
| | | var newStr = str.split("."); |
| | | var point = newStr[1]; |
| | | |
| | | } |
| | | }, |
| | | goOnline() { |
| | | if (navigator.vibrate) { |
| | | // 支持 |
| | | navigator.vibrate([55]) |
| | | } |
| | | this.$router.push('/service') |
| | | }, |
| | | async getInfoSite() { |
| | | let data = await api.getInfoSite() |
| | | if (data.status === 0) { |
| | | this.onlineService = data.data.onlineService |
| | | } else { |
| | | Toast(data.msg) |
| | | } |
| | | }, |
| | | goWall() { |
| | | if (this.userInfo.length === 0) { |
| | | this.$store.commit('dialogVisible', true) |
| | | return |
| | | } |
| | | this.$router.push('/wallet') |
| | | }, |
| | | gotoa(e){ |
| | | if (this.userInfo.length === 0) { |
| | | this.$store.commit('dialogVisible', true) |
| | | return |
| | | } |
| | | if(e==1){ |
| | | this.$router.push('/wallet') |
| | | }else if(e==2){ |
| | | this.$router.push('/tixian') |
| | | }else{ |
| | | |
| | | this.$router.push('/transfers') |
| | | } |
| | | |
| | | }, |
| | | subclick() { |
| | | this.$router.push('/SubDK') |
| | | }, |
| | | subaclick() { |
| | | this.$router.push('/tixian') |
| | | }, |
| | | handleZh() { |
| | | this.selectUserFlag = !this.selectUserFlag |
| | | if (point.length < 2) { |
| | | point = point + "0"; |
| | | } |
| | | var moneyPoint = newStr[0]; |
| | | if (moneyPoint.length <= 3) { |
| | | return moneyPoint + "." + point; |
| | | } else { |
| | | var mPoint = moneyPoint.substr( |
| | | moneyPoint.length - 3, |
| | | moneyPoint.length |
| | | ); |
| | | var twoPoint = moneyPoint.substr(0, moneyPoint.length - 3); |
| | | var endString = twoPoint |
| | | .toString() |
| | | .replace(/(\d)(?=(\d{2})+(?!\d))/g, "$1,"); |
| | | return endString + "," + mPoint + "." + point; |
| | | } |
| | | }, |
| | | goOnline() { |
| | | if (navigator.vibrate) { |
| | | // 支持 |
| | | navigator.vibrate([55]); |
| | | } |
| | | this.$router.push("/service"); |
| | | }, |
| | | async getInfoSite() { |
| | | let data = await api.getInfoSite(); |
| | | if (data.status === 0) { |
| | | this.onlineService = data.data.onlineService; |
| | | } else { |
| | | Toast(data.msg); |
| | | } |
| | | }, |
| | | goWall() { |
| | | if (this.userInfo.length === 0) { |
| | | this.$store.commit("dialogVisible", true); |
| | | return; |
| | | } |
| | | this.$router.push("/wallet"); |
| | | }, |
| | | gotoa(e) { |
| | | if (this.userInfo.length === 0) { |
| | | this.$store.commit("dialogVisible", true); |
| | | return; |
| | | } |
| | | if (e == 1) { |
| | | this.$router.push("/wallet"); |
| | | } else if (e == 2) { |
| | | this.$router.push("/tixian"); |
| | | } else { |
| | | this.$router.push("/transfers"); |
| | | } |
| | | }, |
| | | subclick() { |
| | | this.$router.push("/SubDK"); |
| | | }, |
| | | subaclick() { |
| | | this.$router.push("/tixian"); |
| | | }, |
| | | handleZh() { |
| | | this.selectUserFlag = !this.selectUserFlag; |
| | | |
| | | if (this.userInfo.length === 0) { |
| | | this.$store.commit('dialogVisible', true) |
| | | return |
| | | } |
| | | if (navigator.vibrate) { |
| | | // 支持 |
| | | navigator.vibrate([55]) |
| | | } |
| | | }, |
| | | async getUserInfo() { |
| | | // 获取用户信息 |
| | | let data = await api.getUserInfo() |
| | | if (data.status === 0) { |
| | | // 判断是否登录 |
| | | this.$store.commit('dialogVisible', false) |
| | | this.$store.state.userInfo = data.data |
| | | this.userInfo = data.data |
| | | } else { |
| | | this.$store.commit('dialogVisible', true) |
| | | } |
| | | }, |
| | | goToTopUp() { |
| | | // if (this.userInfo.length === 0) { |
| | | // this.$store.commit('dialogVisible', true) |
| | | // return |
| | | // } |
| | | // if (navigator.vibrate) { |
| | | // // 支持 |
| | | // navigator.vibrate([55]) |
| | | // } |
| | | this.$router.push('/setting') |
| | | }, |
| | | handleOutLoginClick() { |
| | | // 退出登录 |
| | | MessageBox.confirm(this.$t('hj149') + '?', this.$t('hj165'), { |
| | | confirmButtonText: this.$t('hj161'), |
| | | cancelButtonText: this.$t('hj106') |
| | | }).then(() => { |
| | | this.toRegister() |
| | | }).catch(() => { |
| | | |
| | | }) |
| | | }, |
| | | goToSettings() { |
| | | if (this.userInfo.length === 0) { |
| | | this.$store.commit('dialogVisible', true) |
| | | return |
| | | } |
| | | // 每次打开dialog 清空密码数据 |
| | | this.settingDialog = !this.settingDialog |
| | | if (this.settingDialog) { |
| | | this.oldPassword = '' |
| | | this.newPassword = '' |
| | | this.cirNewPassword = '' |
| | | } |
| | | }, |
| | | handleGoToTransfer() { |
| | | if (this.userInfo.length === 0) { |
| | | this.$store.commit('dialogVisible', true) |
| | | return |
| | | } |
| | | this.$router.push('/transfers') |
| | | }, |
| | | handleGoToAuthentication() { |
| | | if (this.userInfo.length === 0) { |
| | | this.$store.commit('dialogVisible', true) |
| | | return |
| | | } |
| | | this.$router.push('/authentications') |
| | | }, |
| | | handleGoToAuthenticationaz() { |
| | | if (this.userInfo.length === 0) { |
| | | this.$store.commit('dialogVisible', true) |
| | | return |
| | | } |
| | | this.$router.push('/download') |
| | | }, |
| | | handleGoToBankCard() { |
| | | if (this.userInfo.length === 0) { |
| | | this.$store.commit('dialogVisible', true) |
| | | return |
| | | } |
| | | this.$router.push('/bankCard') |
| | | }, |
| | | async toRegister() { |
| | | // 注销登陆 |
| | | window.localStorage.removeItem('USERTOKEN') // 清空本地存储 USERTOKEN字段 |
| | | this.clearCookie() |
| | | let data = await api.logout() |
| | | if (data.status === 0) { |
| | | // Toast(data.msg) |
| | | this.$router.push('/login') |
| | | } else { |
| | | Toast(data.msg) |
| | | } |
| | | this.$router.push('/login') |
| | | }, |
| | | async changeLoginPsd() { |
| | | // 修改密码 |
| | | if ( |
| | | isNull(this.oldPassword) || |
| | | isNull(this.newPassword) || |
| | | isNull(this.cirNewPassword) |
| | | ) { |
| | | Toast(this.$t('hj154')) |
| | | this.settingDialog = false |
| | | } else if (!pwdReg(this.newPassword)) { |
| | | Toast(this.$t('hj19')) |
| | | this.settingDialog = false |
| | | } else { |
| | | // 修改密码 |
| | | if (this.newPassword === this.cirNewPassword) { |
| | | let opts = { |
| | | oldPwd: this.oldPassword, |
| | | newPwd: this.newPassword |
| | | } |
| | | let data = await api.changePassword(opts) |
| | | if (data.status === 0) { |
| | | this.changeLoginPsdBox = false |
| | | Toast(data.msg) |
| | | this.settingDialog = false |
| | | } else { |
| | | Toast(data.msg) |
| | | this.settingDialog = false |
| | | } |
| | | } else { |
| | | Toast(this.$t('hj155')) |
| | | this.settingDialog = false |
| | | } |
| | | } |
| | | if (navigator.vibrate) { |
| | | // 支持 |
| | | navigator.vibrate([55]) |
| | | } |
| | | } |
| | | }, |
| | | |
| | | } |
| | | if (this.userInfo.length === 0) { |
| | | this.$store.commit("dialogVisible", true); |
| | | return; |
| | | } |
| | | if (navigator.vibrate) { |
| | | // 支持 |
| | | navigator.vibrate([55]); |
| | | } |
| | | }, |
| | | async getUserInfo() { |
| | | // 获取用户信息 |
| | | let data = await api.getUserInfodata(); |
| | | if (data.status === 0) { |
| | | // 判断是否登录 |
| | | this.$store.commit("dialogVisible", false); |
| | | this.$store.state.userInfo = data.data; |
| | | this.userInfo = data.data; |
| | | } else { |
| | | this.$store.commit("dialogVisible", true); |
| | | } |
| | | }, |
| | | goToTopUp() { |
| | | // if (this.userInfo.length === 0) { |
| | | // this.$store.commit('dialogVisible', true) |
| | | // return |
| | | // } |
| | | // if (navigator.vibrate) { |
| | | // // 支持 |
| | | // navigator.vibrate([55]) |
| | | // } |
| | | this.$router.push("/setting"); |
| | | }, |
| | | // handleOutLoginClick() { |
| | | // // 退出登录 |
| | | // MessageBox.confirm(this.$t(""), this.$t("hj165"), { |
| | | // confirmButtonText: this.$t("qr"), |
| | | // cancelButtonText: this.$t("hj106"), |
| | | // }) |
| | | // .then(() => { |
| | | // this.toRegister(); |
| | | // }) |
| | | // .catch(() => {}); |
| | | // }, |
| | | goToSettings() { |
| | | if (this.userInfo.length === 0) { |
| | | this.$store.commit("dialogVisible", true); |
| | | return; |
| | | } |
| | | // 每次打开dialog 清空密码数据 |
| | | this.settingDialog = !this.settingDialog; |
| | | if (this.settingDialog) { |
| | | this.oldPassword = ""; |
| | | this.newPassword = ""; |
| | | this.cirNewPassword = ""; |
| | | } |
| | | }, |
| | | handleGoToTransfer() { |
| | | if (this.userInfo.length === 0) { |
| | | this.$store.commit("dialogVisible", true); |
| | | return; |
| | | } |
| | | this.$router.push("/transfers"); |
| | | }, |
| | | handleGoToAuthentication() { |
| | | if (this.userInfo.length === 0) { |
| | | this.$store.commit("dialogVisible", true); |
| | | return; |
| | | } |
| | | this.$router.push("/authentications"); |
| | | }, |
| | | handleGoToAuthenticationaz() { |
| | | if (this.userInfo.length === 0) { |
| | | this.$store.commit("dialogVisible", true); |
| | | return; |
| | | } |
| | | this.$router.push("/download"); |
| | | }, |
| | | handleGoToBankCard() { |
| | | if (this.userInfo.length === 0) { |
| | | this.$store.commit("dialogVisible", true); |
| | | return; |
| | | } |
| | | this.$router.push("/bankCard"); |
| | | }, |
| | | async toRegister() { |
| | | // 注销登陆 |
| | | window.localStorage.removeItem("USERTOKEN"); // 清空本地存储 USERTOKEN字段 |
| | | this.clearCookie(); |
| | | let data = await api.logout(); |
| | | if (data.status === 0) { |
| | | // Toast(data.msg) |
| | | this.$router.push("/login"); |
| | | } else { |
| | | Toast(data.msg); |
| | | } |
| | | this.$router.push("/login"); |
| | | }, |
| | | async changeLoginPsd() { |
| | | // 修改密码 |
| | | if ( |
| | | isNull(this.oldPassword) || |
| | | isNull(this.newPassword) || |
| | | isNull(this.cirNewPassword) |
| | | ) { |
| | | Toast(this.$t("hj154")); |
| | | this.settingDialog = false; |
| | | } else if (!pwdReg(this.newPassword)) { |
| | | Toast(this.$t("hj19")); |
| | | this.settingDialog = false; |
| | | } else { |
| | | // 修改密码 |
| | | if (this.newPassword === this.cirNewPassword) { |
| | | let opts = { |
| | | oldPwd: this.oldPassword, |
| | | newPwd: this.newPassword, |
| | | }; |
| | | let data = await api.changePassword(opts); |
| | | if (data.status === 0) { |
| | | this.changeLoginPsdBox = false; |
| | | Toast(data.msg); |
| | | this.settingDialog = false; |
| | | } else { |
| | | Toast(data.msg); |
| | | this.settingDialog = false; |
| | | } |
| | | } else { |
| | | Toast(this.$t("hj155")); |
| | | this.settingDialog = false; |
| | | } |
| | | } |
| | | if (navigator.vibrate) { |
| | | // 支持 |
| | | navigator.vibrate([55]); |
| | | } |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | <style scoped lang="less"> |
| | | .top_box_top{ |
| | | color: #fff; |
| | | font-size: 0.4rem; |
| | | } |
| | | .top_box{ |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: center; |
| | | // align-items: center; |
| | | margin-left: 15px; |
| | | } |
| | | .left_icon{ |
| | | display: flex; |
| | | } |
| | | .btn2 { |
| | | font-size: 0.4rem; |
| | | text-align: center; |
| | | width: 120px; |
| | | padding: 0.17074rem 0.222222rem; |
| | | border-radius: 25px; |
| | | background: #409eff; |
| | | color: #fff; |
| | | } |
| | | .sfrz_right{ |
| | | background: #185546; |
| | | padding: 8px 16px; |
| | | border-radius: 4px; |
| | | color: #fff; |
| | | } |
| | | .sfrz_left{ |
| | | display: flex; |
| | | color: #276048; |
| | | } |
| | | .sfrz{ |
| | | // margin-top: 10px; |
| | | background: #e8f4f0; |
| | | padding: 0.422rem 15px; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | } |
| | | .userbox{ |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | margin-top: 60px; |
| | | } |
| | | .btn_box_txt{ |
| | | font-size: .346667rem; |
| | | color: #185546; |
| | | font-family: Arial, sans-serif; |
| | | } |
| | | .btn_box_img{ |
| | | width: .64rem; |
| | | height: .64rem; |
| | | margin-bottom: .16rem; |
| | | } |
| | | .btn_box{ |
| | | margin-top: .373333rem; |
| | | width: 31%; |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | background: #fff; |
| | | padding: .32rem 0; |
| | | } |
| | | .btnsss{ |
| | | margin: 0px 20px; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | } |
| | | .path_txt{ |
| | | text-align: center; |
| | | } |
| | | .path_img{ |
| | | |
| | | .btn1 { |
| | | width: 120px; |
| | | font-size: 0.4rem; |
| | | text-align: center; |
| | | padding: 0.17074rem 0.222222rem; |
| | | border-radius: 25px; |
| | | border: 1px solid #dcdfe9; |
| | | color: #0d0d0d; |
| | | } |
| | | img{ |
| | | width: 55px; |
| | | height: 55px; |
| | | margin-bottom: 10px; |
| | | } |
| | | } |
| | | .path_box{ |
| | | width: 25%; |
| | | display: flex; |
| | | // justify-content: center; |
| | | align-items: center; |
| | | flex-direction: column; |
| | | margin-bottom: 20px; |
| | | } |
| | | .path{ |
| | | margin: 0 20px; |
| | | margin-top: 20px; |
| | | padding: 20px 0; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | border-radius: 12px; |
| | | box-shadow: 2px 2px 8px 2px rgba(0, 0, 0, 0.2); |
| | | } |
| | | /deep/ .van-button--primary { |
| | | background-color: #0066ed; |
| | | } |
| | | /deep/ .van-tab { |
| | | min-width: 2.66667rem; |
| | | height: 1.17333rem; |
| | | font-style: normal; |
| | | font-weight: 400; |
| | | font-size: 0.37333rem; |
| | | text-align: center; |
| | | color: #687284; |
| | | box-sizing: border-box; |
| | | position: relative; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | line-height: 1; |
| | | } |
| | | /deep/ .van-tab--active { |
| | | color: #2c2e3b; |
| | | } |
| | | /deep/ .van-tabs--line .van-tabs__wrap { |
| | | height: auto; |
| | | } |
| | | /deep/ .van-tabs__line { |
| | | background-color: #0066ed; |
| | | // height: auto; |
| | | } |
| | | .xy { |
| | | font-size: 28px; |
| | | color: #cfd0d2; |
| | | margin-left: 10px; |
| | | cursor: pointer; |
| | | } |
| | | .money { |
| | | font-family: "DINPro", serif; |
| | | width: 100%; |
| | | max-width: 25.6rem; |
| | | li { |
| | | width: 100%; |
| | | max-width: 25.6rem; |
| | | height: 1.54667rem; |
| | | border-bottom: 0.02667rem solid #e5e8ed; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | padding: 0 0.4rem; |
| | | box-sizing: border-box; |
| | | text-align: right; |
| | | .li-title { |
| | | font-style: normal; |
| | | font-weight: 500; |
| | | font-size: 0.37333rem; |
| | | color: #2d2f3c; |
| | | text-align: left; |
| | | } |
| | | .li-USDT { |
| | | min-width: 180px; |
| | | text-align: right; |
| | | font-style: normal; |
| | | font-weight: 500; |
| | | font-size: 0.37333rem; |
| | | color: #2d2f3c; |
| | | line-height: 28px; |
| | | } |
| | | } |
| | | } |
| | | .price_box_txt{ |
| | | color:#000; |
| | | font-size: 24px; |
| | | font-weight: bold; |
| | | } |
| | | .price_box_title{ |
| | | color:#858093; |
| | | margin-bottom: 15px; |
| | | } |
| | | .price_box{ |
| | | background-color: #E8F4F0; |
| | | display: flex; |
| | | flex-direction: column; |
| | | width: 48.9%; |
| | | border-radius: 6px; |
| | | margin-bottom: 12px; |
| | | padding: .37rem .373333rem; |
| | | } |
| | | .price{ |
| | | margin:12px 15px; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | justify-content: space-between; |
| | | } |
| | | .content-list-box { |
| | | // width: 100%; |
| | | // min-height: calc(100vh - 6rem); |
| | | // margin:12px 15px; |
| | | // background-color: #fff; |
| | | .divider { |
| | | width: 100%; |
| | | height: 0.13333rem; |
| | | background: #f1f1f1; |
| | | } |
| | | } |
| | | .content-box { |
| | | width: 100%; |
| | | // min-height: 5.52rem; |
| | | // background: #ffffff; |
| | | // box-shadow: 0 0.16rem 0.32rem #eaeaea99; |
| | | padding: 0.4rem; |
| | | box-sizing: border-box; |
| | | // border-top-left-radius: 0.4rem; |
| | | // border-top-right-radius: 0.4rem; |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: space-between; |
| | | .content-title { |
| | | font-family: "DINPro", serif; |
| | | line-height: 28px; |
| | | font-style: normal; |
| | | font-weight: 400; |
| | | font-size: 0.32rem; |
| | | color: #14181f; |
| | | } |
| | | .btn-two { |
| | | font-style: normal; |
| | | font-weight: 400; |
| | | font-size: 0.37333rem; |
| | | line-height: 0.37333rem; |
| | | width: 88%; |
| | | height: 0.8rem; |
| | | border: 0.01333rem solid #cfd0d2; |
| | | border-radius: 0.05333rem; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | padding: 0.13333rem; |
| | | box-sizing: border-box; |
| | | overflow: hidden; |
| | | } |
| | | } |
| | | .van-row-box { |
| | | .content-all { |
| | | font-style: normal; |
| | | font-weight: 400; |
| | | font-size: 0.32rem; |
| | | color: #14181f; |
| | | display: flex; |
| | | line-height: 28px; |
| | | // align-items: center; |
| | | } |
| | | .number-all { |
| | | font-size: 32px; |
| | | font-family: "DINPro", serif; |
| | | line-height: 38px; |
| | | } |
| | | } |
| | | |
| | | .box1_bottom { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | padding-top: 27px; |
| | | // padding-bottom: 10px; |
| | | } |
| | | .top_box_top { |
| | | color: #fff; |
| | | font-size: 0.4rem; |
| | | } |
| | | .top_box { |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: center; |
| | | // align-items: center; |
| | | margin-left: 15px; |
| | | } |
| | | .left_icon { |
| | | display: flex; |
| | | } |
| | | .btn2 { |
| | | font-size: 0.4rem; |
| | | text-align: center; |
| | | width: 120px; |
| | | padding: 0.17074rem 0.222222rem; |
| | | border-radius: 25px; |
| | | background: #409eff; |
| | | color: #fff; |
| | | } |
| | | |
| | | .title_box_left { |
| | | width: 50%; |
| | | font-size: 0.4rem; |
| | | } |
| | | .btn1 { |
| | | width: 120px; |
| | | font-size: 0.4rem; |
| | | text-align: center; |
| | | padding: 0.17074rem 0.222222rem; |
| | | border-radius: 25px; |
| | | border: 1px solid #dcdfe9; |
| | | color: #0d0d0d; |
| | | } |
| | | |
| | | .title_box_right { |
| | | width: 50%; |
| | | font-size: 0.4rem; |
| | | } |
| | | .box1_bottom { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | padding-top: 27px; |
| | | // padding-bottom: 10px; |
| | | } |
| | | |
| | | .green { |
| | | color: #028f52 !important; |
| | | } |
| | | .title_box_left { |
| | | width: 50%; |
| | | font-size: 0.4rem; |
| | | } |
| | | |
| | | .cd_box { |
| | | display: flex; |
| | | flex-direction: column; |
| | | background: #fff; |
| | | border: 0.5px solid #e5e5e5; |
| | | border-radius: 8px; |
| | | margin-top: 17px; |
| | | box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .3); |
| | | } |
| | | .cd_box_body{ |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | border-radius: 8px 8px 0 0; |
| | | padding:18px 8px; |
| | | font-size: 0.4rem; |
| | | font-weight: 500; |
| | | } |
| | | .cd_box_top{ |
| | | display: flex; |
| | | align-items: center; |
| | | background: #f5f5f5; |
| | | border-radius: 8px 8px 0 0; |
| | | padding:18px 8px; |
| | | font-size: 0.4rem; |
| | | font-weight: 500; |
| | | } |
| | | .title_box_right { |
| | | width: 50%; |
| | | font-size: 0.4rem; |
| | | } |
| | | |
| | | .red { |
| | | color: #b60c0d !important; |
| | | } |
| | | .green { |
| | | color: #028f52 !important; |
| | | } |
| | | |
| | | .top_box { |
| | | display: flex; |
| | | } |
| | | .cd_box { |
| | | display: flex; |
| | | flex-direction: column; |
| | | background: #fff; |
| | | border: 0.5px solid #e5e5e5; |
| | | border-radius: 8px; |
| | | margin-top: 17px; |
| | | box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.3); |
| | | } |
| | | .cd_box_body { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | border-radius: 8px 8px 0 0; |
| | | padding: 18px 8px; |
| | | font-size: 0.4rem; |
| | | font-weight: 500; |
| | | } |
| | | .cd_box_top { |
| | | display: flex; |
| | | align-items: center; |
| | | background: #f5f5f5; |
| | | border-radius: 8px 8px 0 0; |
| | | padding: 18px 8px; |
| | | font-size: 0.4rem; |
| | | font-weight: 500; |
| | | } |
| | | |
| | | .title_box { |
| | | display: flex; |
| | | font-size: 10px; |
| | | color: #9ea3ae; |
| | | } |
| | | .red { |
| | | color: #b60c0d !important; |
| | | } |
| | | |
| | | .user_page { |
| | | width: 100%; |
| | | height: calc(100% - 1.3rem); |
| | | background: linear-gradient(to bottom, #3160FD, #ffffff); |
| | | .top_box { |
| | | display: flex; |
| | | } |
| | | |
| | | .content { |
| | | width: 100%; |
| | | height: 100%; |
| | | padding: 0 0.3rem; |
| | | .title_box { |
| | | display: flex; |
| | | font-size: 10px; |
| | | color: #9ea3ae; |
| | | } |
| | | |
| | | .top_icon { |
| | | width: 100%; |
| | | height: 1.5rem; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | // padding: 20px 0; |
| | | .right_icon { |
| | | width: 17%; |
| | | height: 50%; |
| | | display: flex; |
| | | .user_page { |
| | | width: 100%; |
| | | height: calc(100% - 1.3rem); |
| | | background: #F8FAF9; |
| | | |
| | | >div { |
| | | width: 100%; |
| | | height: 100%; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | .content { |
| | | width: 100%; |
| | | height: 100%; |
| | | |
| | | img { |
| | | width: 0.6rem; |
| | | height: 0.6rem; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | .top_icon { |
| | | width: 100%; |
| | | height: 1.5rem; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | padding: 0 0.3rem; |
| | | .right_icon { |
| | | width: 17%; |
| | | height: 50%; |
| | | display: flex; |
| | | |
| | | .users { |
| | | width: 100%; |
| | | height: 1.7949rem; |
| | | background: #fff; |
| | | border-radius: 0.15rem; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | > div { |
| | | width: 100%; |
| | | height: 100%; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | |
| | | .left_tou { |
| | | width: 80%; |
| | | height: 70%; |
| | | display: flex; |
| | | img { |
| | | width: 0.6rem; |
| | | height: 0.6rem; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .left_tx { |
| | | width: 20%; |
| | | height: 100%; |
| | | margin-left: 0.3rem; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | .users { |
| | | width: 100%; |
| | | height: 1.7949rem; |
| | | background: #fff; |
| | | border-radius: 0.15rem; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | |
| | | >div { |
| | | width: 1rem; |
| | | height: 1rem; |
| | | border-radius: 50%; |
| | | overflow: hidden; |
| | | background: rgb(211, 211, 211); |
| | | .left_tou { |
| | | width: 80%; |
| | | height: 70%; |
| | | display: flex; |
| | | |
| | | img { |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | } |
| | | } |
| | | .left_tx { |
| | | width: 20%; |
| | | height: 100%; |
| | | margin-left: 0.3rem; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | |
| | | .right_name { |
| | | width: 80%; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | font-size: 0.4415rem; |
| | | > div { |
| | | width: 1rem; |
| | | height: 1rem; |
| | | border-radius: 50%; |
| | | overflow: hidden; |
| | | background: rgb(211, 211, 211); |
| | | |
| | | span { |
| | | font-weight: 600; |
| | | } |
| | | } |
| | | } |
| | | img { |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .right_go { |
| | | width: 20%; |
| | | height: 70%; |
| | | display: flex; |
| | | justify-content: flex-end; |
| | | align-items: center; |
| | | padding-right: 0.2rem; |
| | | .right_name { |
| | | width: 80%; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | font-size: 0.4415rem; |
| | | |
| | | img { |
| | | width: 0.6rem; |
| | | height: 0.6rem; |
| | | } |
| | | } |
| | | } |
| | | span { |
| | | font-weight: 600; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .center_card { |
| | | width: 100%; |
| | | box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .3); |
| | | // height: 5.3846rem; |
| | | background: #fff; |
| | | // background-image: linear-gradient(to right bottom, #ffffff, #dfedfc); |
| | | // background-image: linear-gradient(to right, #ffffff , #dfedfc); |
| | | // margin-top: 0.5rem; |
| | | border-radius: 0.15rem; |
| | | padding: 0.5rem 0.4rem; |
| | | .right_go { |
| | | width: 20%; |
| | | height: 70%; |
| | | display: flex; |
| | | justify-content: flex-end; |
| | | align-items: center; |
| | | padding-right: 0.2rem; |
| | | |
| | | .keyon { |
| | | width: 100%; |
| | | font-size: 0.359rem; |
| | | display: flex; |
| | | align-items: center; |
| | | color: #3d4144; |
| | | // font-weight: 600; |
| | | // justify-content: center; |
| | | padding-bottom: 0.2rem; |
| | | img { |
| | | width: 0.6rem; |
| | | height: 0.6rem; |
| | | } |
| | | } |
| | | } |
| | | |
| | | span { |
| | | // font-weight: 600; |
| | | font-size: 0.4rem; |
| | | } |
| | | } |
| | | .center_card { |
| | | width: 100%; |
| | | box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.3); |
| | | // height: 5.3846rem; |
| | | background: #fff; |
| | | // background-image: linear-gradient(to right bottom, #ffffff, #dfedfc); |
| | | // background-image: linear-gradient(to right, #ffffff , #dfedfc); |
| | | // margin-top: 0.5rem; |
| | | border-radius: 0.15rem; |
| | | padding: 0.5rem 0.4rem; |
| | | |
| | | .num_price { |
| | | width: 100%; |
| | | // height: 0.6667rem; |
| | | margin-top: 0.1rem; |
| | | display: flex; |
| | | // align-items: center; |
| | | // justify-content: center; |
| | | // font-size: 0.5528rem; |
| | | padding-bottom: 0.3rem; |
| | | .keyon { |
| | | width: 100%; |
| | | font-size: 0.359rem; |
| | | display: flex; |
| | | align-items: center; |
| | | color: #3d4144; |
| | | // font-weight: 600; |
| | | // justify-content: center; |
| | | padding-bottom: 0.2rem; |
| | | |
| | | span { |
| | | font-weight: 600; |
| | | font-size: 0.4rem; |
| | | } |
| | | } |
| | | span { |
| | | // font-weight: 600; |
| | | font-size: 0.4rem; |
| | | } |
| | | } |
| | | |
| | | .account { |
| | | font-size: 0.6rem; |
| | | font-weight: 600; |
| | | } |
| | | .num_price { |
| | | width: 100%; |
| | | // height: 0.6667rem; |
| | | margin-top: 0.1rem; |
| | | display: flex; |
| | | // align-items: center; |
| | | // justify-content: center; |
| | | // font-size: 0.5528rem; |
| | | padding-bottom: 0.3rem; |
| | | |
| | | .yk { |
| | | width: 100%; |
| | | height: 0.5rem; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | span { |
| | | font-weight: 600; |
| | | font-size: 0.4rem; |
| | | } |
| | | } |
| | | |
| | | >div { |
| | | width: 33%; |
| | | height: 100%; |
| | | color: #97989d; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | .account { |
| | | font-size: 0.6rem; |
| | | font-weight: 600; |
| | | } |
| | | |
| | | .orenge { |
| | | // color: rgb(216, 141, 1) !important; |
| | | } |
| | | } |
| | | .yk { |
| | | width: 100%; |
| | | height: 0.5rem; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | |
| | | .yk.es { |
| | | margin-top: 0.3rem; |
| | | } |
| | | > div { |
| | | width: 33%; |
| | | height: 100%; |
| | | color: #97989d; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | |
| | | .yk.as { |
| | | font-size: 0.4033rem; |
| | | margin-top: 0.1rem; |
| | | .orenge { |
| | | // color: rgb(216, 141, 1) !important; |
| | | } |
| | | } |
| | | |
| | | span { |
| | | color: #000; |
| | | font-weight: 600; |
| | | } |
| | | .yk.es { |
| | | margin-top: 0.3rem; |
| | | } |
| | | |
| | | .bzz { |
| | | // color: #4ea364; |
| | | } |
| | | } |
| | | .yk.as { |
| | | font-size: 0.4033rem; |
| | | margin-top: 0.1rem; |
| | | |
| | | .btns { |
| | | width: 100%; |
| | | height: 1.2821rem; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | border-radius: 0.25rem; |
| | | background: #2d6ae9; |
| | | font-size: 0.4015rem; |
| | | color: #fff; |
| | | margin-top: 0.35rem; |
| | | span { |
| | | color: #000; |
| | | font-weight: 600; |
| | | } |
| | | |
| | | span { |
| | | font-weight: 600; |
| | | } |
| | | } |
| | | .bzz { |
| | | // color: #4ea364; |
| | | } |
| | | } |
| | | |
| | | .active { |
| | | background: #4ea364; |
| | | } |
| | | } |
| | | .btns { |
| | | width: 100%; |
| | | height: 1.2821rem; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | border-radius: 0.25rem; |
| | | background: #2d6ae9; |
| | | font-size: 0.4015rem; |
| | | color: #fff; |
| | | margin-top: 0.35rem; |
| | | |
| | | .jy { |
| | | width: 100%; |
| | | height: 1.5rem; |
| | | border-radius: 0.2rem; |
| | | background: #fff; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | padding: 0 0.3rem; |
| | | margin-top: 0.3rem; |
| | | span { |
| | | font-weight: 600; |
| | | } |
| | | } |
| | | |
| | | .left_gn { |
| | | // width: 40%; |
| | | height: 60%; |
| | | display: flex; |
| | | .active { |
| | | background: #4ea364; |
| | | } |
| | | } |
| | | |
| | | .l_icon { |
| | | // width: 30%; |
| | | height: 100%; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | .jy { |
| | | width: 100%; |
| | | height: 1.5rem; |
| | | border-radius: 0.2rem; |
| | | background: #fff; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | padding: 0 0.3rem; |
| | | margin-top: 0.3rem; |
| | | |
| | | img { |
| | | width: 0.5041rem; |
| | | height: 0.5041rem; |
| | | } |
| | | } |
| | | .left_gn { |
| | | // width: 40%; |
| | | height: 60%; |
| | | display: flex; |
| | | |
| | | .r_title { |
| | | // width: 70%; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | font-size: 0.4046rem; |
| | | color: #404040; |
| | | padding-left: 0.3rem; |
| | | .l_icon { |
| | | // width: 30%; |
| | | height: 100%; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | |
| | | span { |
| | | font-weight: 600; |
| | | } |
| | | } |
| | | } |
| | | img { |
| | | width: 0.5041rem; |
| | | height: 0.5041rem; |
| | | } |
| | | } |
| | | |
| | | .right_gos { |
| | | // width: 20%; |
| | | height: 60%; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: flex-end; |
| | | .r_title { |
| | | // width: 70%; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | font-size: 0.4046rem; |
| | | color: #404040; |
| | | padding-left: 0.3rem; |
| | | |
| | | img { |
| | | width: 0.6rem; |
| | | height: 0.6rem; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | span { |
| | | font-weight: 600; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .setting_content { |
| | | width: 100%; |
| | | height: 5rem; |
| | | padding: 0.3rem; |
| | | .right_gos { |
| | | // width: 20%; |
| | | height: 60%; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: flex-end; |
| | | |
| | | .old_password { |
| | | width: 100%; |
| | | height: 1rem; |
| | | background: rgb(243, 243, 243); |
| | | border-radius: 0.15rem; |
| | | display: flex; |
| | | margin-top: 0.5rem; |
| | | img { |
| | | width: 0.6rem; |
| | | height: 0.6rem; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .left_titles { |
| | | width: 25%; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | padding-left: 0.2rem; |
| | | .setting_content { |
| | | width: 100%; |
| | | height: 5rem; |
| | | padding: 0.3rem; |
| | | |
| | | // justify-content: flex-end; |
| | | span { |
| | | font-weight: 600; |
| | | } |
| | | } |
| | | .old_password { |
| | | width: 100%; |
| | | height: 1rem; |
| | | background: rgb(243, 243, 243); |
| | | border-radius: 0.15rem; |
| | | display: flex; |
| | | margin-top: 0.5rem; |
| | | |
| | | .right_password_input { |
| | | width: 80%; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | .left_titles { |
| | | width: 25%; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | padding-left: 0.2rem; |
| | | |
| | | input { |
| | | width: 100%; |
| | | height: 100%; |
| | | padding-left: 0.2rem; |
| | | } |
| | | } |
| | | } |
| | | // justify-content: flex-end; |
| | | span { |
| | | font-weight: 600; |
| | | } |
| | | } |
| | | |
| | | .btn_setting { |
| | | width: 100%; |
| | | height: 1.3rem; |
| | | border-radius: 0.15rem; |
| | | background: #2d6ae9; |
| | | color: #fff; |
| | | font-size: 0.4615rem; |
| | | margin-top: 0.5rem; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | .right_password_input { |
| | | width: 80%; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | |
| | | span { |
| | | font-weight: 600; |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | | input { |
| | | width: 100%; |
| | | height: 100%; |
| | | padding-left: 0.2rem; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .btn_setting { |
| | | width: 100%; |
| | | height: 1.3rem; |
| | | border-radius: 0.15rem; |
| | | background: #2d6ae9; |
| | | color: #fff; |
| | | font-size: 0.4615rem; |
| | | margin-top: 0.5rem; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | |
| | | span { |
| | | font-weight: 600; |
| | | } |
| | | } |
| | | } |
| | | /deep/ .el-upload__input { |
| | | display: none !important; |
| | | } |
| | | input[type="file"] { |
| | | display: none !important; |
| | | } |
| | | </style> |