删除密码显示

master
huan.xu 4 years ago
parent 4ea9391e3d
commit f896222f56
  1. 25
      src/api/app.js
  2. 119
      src/components/balances/banlanes-tabds.vue
  3. 126
      src/components/balances/bibi-balances/bibi-balances-table.vue
  4. 2
      src/components/common/header.vue
  5. 76
      src/pages/entry.vue
  6. 5
      src/pages/router.js
  7. 5
      src/router.js
  8. 8
      src/views/personal/profile.vue

@ -1,17 +1,18 @@
export const c2cApi = 'https://www.zhixinchains.com/otc'; //法币
export const btcApi = 'https://www.zhixinchains.com/btc'; //BTC钱包
export const eosApi = 'https://www.zhixinchains.com/eos'; //EOS钱包
export const ethApi = 'https://www.zhixinchains.com/eth'; //ETH钱包
export const cctApi = 'https://www.zhixinchains.com/cct'; //币币
export const currencyApi = 'https://www.zhixinchains.com/currency'; //行情
export const jgimApi = 'https://www.zhixinchains.com/imjg'; //聊天
export const sysconfApi = 'https://www.zhixinchains.com/sysconf'; //行情
export const userApi = 'https://www.zhixinchains.com/user'; //用户
export const c2cApi = 'http://121.37.29.24/otc'; //法币
export const btcApi = 'http://121.37.29.24/btc'; //BTC钱包
export const eosApi = 'http://121.37.29.24/eos'; //EOS钱包
export const ethApi = 'http://121.37.29.24/eth'; //ETH钱包
export const cctApi = 'http://121.37.29.24/cct'; //币币
export const currencyApi = 'http://121.37.29.24/currency'; //行情
export const jgimApi = 'http://121.37.29.24/imjg'; //聊天
export const sysconfApi = 'http://121.37.29.24/sysconf'; //行情
export const userApi = 'http://121.37.29.24/user'; //用户
export const FILE_URL = 'https://file.zhixinchains.com/'; //图片地址
export const FILE_URL = 'http://121.37.29.24/res/'; //图片地址
export const yyyfApi = 'https://www.zhixinchains.com/yyyfuser'; //用户
export const yyyfUrl = 'http://www.iyyyf.com/'; //以渔有方地址
export const yyyfApi = 'http://121.37.29.24/yyyfuser'; //用户
export const yyyfUrl = 'http://113.98.59.231:8800/yyyf-server-app'; //以渔有方url
// export const c2cApi = 'https://c2c.flamex.io'; //法币
// export const btcApi = 'https://btc.flamex.io'; //BTC钱包

@ -78,19 +78,19 @@
<el-button type="text" class="white size">o.oooooo</el-button>
</div>-->
<div>
<!-- 充值
<!-- 充值 -->
<span
class="blue"
@click="handleTableActionClick('deposit', itembtc)"
type="text"
>{{ $t('balances.table.header_last_recharge') }}</span
> -->
<!-- 提币
>
<!-- 提币 -->
<span
@click="handleTableActionClick('withdrawal', itembtc)"
type="text"
>{{ $t('balances.table.header_last_mention') }}</span
> -->
>
<!-- 划转 -->
<span
@click="handleTableActionClick('transfer', itembtc)"
@ -148,18 +148,18 @@
</div>
<div>
<!-- 充值
<!-- 充值 -->
<span
@click="handleTableActionClick('deposit', itemETH)"
type="text"
>{{ $t('balances.table.header_last_recharge') }}</span
>-->
<!-- 提币
>
<!-- 提币 -->
<span
@click="handleTableActionClick('withdrawal', itemETH)"
type="text"
>{{ $t('balances.table.header_last_mention') }}</span
> -->
>
<!-- 划转 -->
<span
@click="handleTableActionClick('transfer', itemETH)"
@ -216,18 +216,18 @@
}}</span>
</div>
<div>
<!-- 充值
<!-- 充值 -->
<span
@click="handleTableActionClick('deposit', item)"
type="text"
>{{ $t('balances.table.header_last_recharge') }}</span
>-->
<!-- 提币
>
<!-- 提币 -->
<span
@click="handleTableActionClick('withdrawal', item)"
type="text"
>{{ $t('balances.table.header_last_mention') }}</span
> -->
>
<!-- 划转 -->
<span
@click="handleTableActionClick('transfer', item)"
@ -261,99 +261,13 @@
</el-col>
</el-row>
<!-- 判断是否有记录 ,无则显示 -->
<el-row v-else class="cec-table gundong"
>
<el-col
class="cec-title" >
<!-- 币种 -->
<div>
<span type="text" style="cursor: default;">BTC</span>
</div>
<!-- 可用 -->
<el-row v-else class="no-data1">
<el-col class="no-data">
<div>
<span type="text" class="white size">0</span>
</div>
<!-- 冻结 -->
<div>
<span type="text" class="white size">0</span>
</div>
<div>
<!-- 充值 -->
<span
class="blue" type="text">-</span>
<img src="../../assets/home/ic_shuju.png" alt />
</div>
<div>{{ $t('balances.table.header_nodata') }}</div>
</el-col>
<el-col
class="cec-title" >
<!-- 币种 -->
<div>
<span type="text" style="cursor: default;">ETH</span>
</div>
<!-- 可用 -->
<div>
<span type="text" class="white size">0</span>
</div>
<!-- 冻结 -->
<div>
<span type="text" class="white size">0</span>
</div>
<div>
<!-- 充值 -->
<span
class="blue" type="text">-</span>
</div>
</el-col>
<el-col
class="cec-title" >
<!-- 币种 -->
<div>
<span type="text" style="cursor: default;">EOS</span>
</div>
<!-- 可用 -->
<div>
<span type="text" class="white size">0</span>
</div>
<!-- 冻结 -->
<div>
<span type="text" class="white size">0</span>
</div>
<div>
<!-- 充值 -->
<span
class="blue" type="text">-</span>
</div>
</el-col>
<el-col
class="cec-title" >
<!-- 币种 -->
<div>
<span type="text" style="cursor: default;">USDT</span>
</div>
<!-- 可用 -->
<div>
<span type="text" class="white size">0</span>
</div>
<!-- 冻结 -->
<div>
<span type="text" class="white size">0</span>
</div>
<div>
<!-- 充值 -->
<span
class="blue" type="text">-</span>
</div>
</el-col>
</el-row>
</div>
<!-- </main> -->
@ -768,7 +682,6 @@ export default {
// btcusdt
if (this.USDTPrie[i].currencyPair == 'BTC-USDT') {
// console.log(this.USDTPrie[i].amount);
//
this.btcPrice = this.btcMang * this.USDTPrie[i].amount;
// console.log('btc'+this.btcPrice);
}

@ -76,19 +76,19 @@
}}</span>
</div>
<div>
<!-- 充值 -->
<!-- 充值
<span
class="blue"
@click="handleTableActionClick('deposit', itembtc)"
type="text"
>{{ $t('balances.table.header_last_recharge') }}</span
>
<!-- 提币 -->
>-->
<!-- 提币
<span
@click="handleTableActionClick('withdrawal', itembtc)"
type="text"
>{{ $t('balances.table.header_last_mention') }}</span
>
> -->
<!-- 划转 -->
<span
@click="handleTableActionClick('transfer', itembtc)"
@ -146,18 +146,18 @@
</div>
<div>
<!-- 充值 -->
<!-- 充值x
<span
@click="handleTableActionClick('deposit', itemOtcETH)"
type="text"
>{{ $t('balances.table.header_last_recharge') }}</span
>
<!-- 提币 -->
> -->
<!-- 提币
<span
@click="handleTableActionClick('withdrawal', itemOtcETH)"
type="text"
>{{ $t('balances.table.header_last_mention') }}</span
>
>-->
<!-- 划转 -->
<span
@click="handleTableActionClick('transfer', itemOtcETH)"
@ -214,18 +214,18 @@
}}</span>
</div>
<div>
<!-- 充值 -->
<!-- 充值
<span
@click="handleTableActionClick('deposit', item)"
type="text"
>{{ $t('balances.table.header_last_recharge') }}</span
>
<!-- 提币 -->
>-->
<!-- 提币
<span
@click="handleTableActionClick('withdrawal', item)"
type="text"
>{{ $t('balances.table.header_last_mention') }}</span
>
> -->
<!-- 划转 -->
<span
@click="handleTableActionClick('transfer', item)"
@ -259,105 +259,19 @@
</el-col>
</el-row>
<!-- 判断是否有记录 ,无则显示 -->
<el-row v-else class="cec-table gundong"
>
<el-col
class="cec-title" >
<!-- 币种 -->
<el-row v-else class="no-data1">
<el-col class="no-data">
<div>
<span type="text" style="cursor: default;">BTC</span>
</div>
<!-- 可用 -->
<div>
<span type="text" class="white size">0</span>
</div>
<!-- 冻结 -->
<div>
<span type="text" class="white size">0</span>
</div>
<div>
<!-- 充值 -->
<span
class="blue" type="text">-</span>
</div>
</el-col>
<el-col
class="cec-title" >
<!-- 币种 -->
<div>
<span type="text" style="cursor: default;">ETH</span>
</div>
<!-- 可用 -->
<div>
<span type="text" class="white size">0</span>
</div>
<!-- 冻结 -->
<div>
<span type="text" class="white size">0</span>
</div>
<div>
<!-- 充值 -->
<span
class="blue" type="text">-</span>
<img src="../../../assets/home/ic_shuju.png" alt />
</div>
<div>{{ $t('balances.table.header_nodata') }}</div>
</el-col>
<el-col
class="cec-title" >
<!-- 币种 -->
<div>
<span type="text" style="cursor: default;">EOS</span>
</div>
<!-- 可用 -->
<div>
<span type="text" class="white size">0</span>
</div>
<!-- 冻结 -->
<div>
<span type="text" class="white size">0</span>
</div>
<div>
<!-- 充值 -->
<span
class="blue" type="text">-</span>
</div>
</el-col>
<el-col
class="cec-title" >
<!-- 币种 -->
<div>
<span type="text" style="cursor: default;">USDT</span>
</div>
<!-- 可用 -->
<div>
<span type="text" class="white size">0</span>
</div>
<!-- 冻结 -->
<div>
<span type="text" class="white size">0</span>
</div>
<div>
<!-- 充值 -->
<span
class="blue" type="text">-</span>
</div>
</el-col>
</el-row>
</div>
<!-- </main> -->
</div>
<!-- 充值 -->
<!-- 充值
<el-dialog
:title="$t('balances.table.header_last_recharge')"
width="745px"
@ -365,8 +279,8 @@
>
<BibiBalancesDeposit :taInfo="tatoo"></BibiBalancesDeposit>
</el-dialog>
<!-- 提币 -->
-->
<!-- 提币
<el-dialog
:title="$t('balances.table.header_last_mention')"
width="745px"
@ -375,7 +289,7 @@
>
<BibiBalancesWithdrawal :tiInfo="titoo"></BibiBalancesWithdrawal>
</el-dialog>
-->
<!-- 划转 -->
<el-dialog
:title="$t('balances.table.header_between')"

@ -356,6 +356,7 @@ export default {
},
created() {
if (window.location.href.indexOf('/#/studyGrade?issueId=') == -1) {
let yyyfToken = localStorage.getItem('yyyfToken');
this.isSubmit = localStorage.getItem('isSubmit') == 'true' ? true : false;
if (yyyfToken == '' || yyyfToken == undefined) {
@ -413,6 +414,7 @@ export default {
}
}
}
}
},
methods: {

@ -40,7 +40,8 @@
<div class="tabs-flex">
<div class="flex-1">
<p>总资产: {{ userTimeMoneyDto.btc }}</p>
<p>{{btcRMBCount}} CNY</p>
<p>{{ btcRMBCount }} CNY</p>
<p>提币地址{{ userTimeMoneyDto.assessUserId }}</p>
</div>
<!-- <div class="flex-1">
<p>总资产: 0</p>
@ -60,7 +61,8 @@
<div class="tabs-flex">
<div class="flex-1">
<p>总资产: {{ userTimeMoneyDto.usdt }}</p>
<p>{{usdtRMBCount}} CNY</p>
<p>{{ usdtRMBCount }} CNY</p>
<p>提币地址{{ userTimeMoneyDto.assessUserId }}</p>
</div>
<!-- <div class="flex-1">
<p>总资产: 0</p>
@ -80,7 +82,8 @@
<div class="tabs-flex">
<div class="flex-1">
<p>总资产: {{ userTimeMoneyDto.eos }}</p>
<p>{{eosRMBCount}} CNY</p>
<p>{{ eosRMBCount }} CNY</p>
<p>提币地址{{ userTimeMoneyDto.assessUserId }}</p>
</div>
<!-- <div class="flex-1">
<p>总资产: 0</p>
@ -100,7 +103,8 @@
<div class="tabs-flex">
<div class="flex-1">
<p>总资产: {{ userTimeMoneyDto.eth }}</p>
<p>{{ethRMBCount}} CNY</p>
<p>{{ ethRMBCount }} CNY</p>
<p>提币地址{{ userTimeMoneyDto.assessUserId }}</p>
</div>
<!-- <div class="flex-1">
<p>总资产: 0</p>
@ -119,7 +123,7 @@
</el-tabs>
</div>
<a href="javascript:;" class="entry-btn" @click="goIndex">
<img src="../images/entry/btn.png"/>
<img src="../images/entry/btn.png" />
</a>
<!-- <div class="usdList">
<div class="usdItem" element-loading-background="rgba(0, 0, 0, 0.2)">
@ -169,16 +173,16 @@
</template>
<script>
import NavHeader from '@/components/common/header';
import Footer from '@/components/common/footer';
import {getUserTimeMoneyDto} from '@/api/yyyf';
import {getLeftPrice} from '@/api/currency.js';
import {submit, reStart} from '@/api/yyyf';
import {logOut} from '@/api/user';
import {signUp, signIn} from '@/api/user';
import {yyyfUrl} from '@/api/app.js';
export default {
import NavHeader from '@/components/common/header';
import Footer from '@/components/common/footer';
import {getUserTimeMoneyDto} from '@/api/yyyf';
import {getLeftPrice} from '@/api/currency.js';
import {submit, reStart} from '@/api/yyyf';
import {logOut} from '@/api/user';
import {signUp, signIn} from '@/api/user';
import {yyyfUrl} from '@/api/app.js';
export default {
name: 'entry',
data() {
return {
@ -195,8 +199,7 @@
btcRMBCount: 0,
usdtRMBCount: 0,
eosRMBCount: 0,
ethRMBCount: 0
ethRMBCount: 0,
};
},
components: {
@ -213,7 +216,7 @@
} else {
ths.$message.warning({
message: res.data.msg,
onClose: function () {
onClose: function() {
ths.closeWindow();
},
});
@ -253,7 +256,7 @@
}
});
},
winOpen: function () {
winOpen: function() {
if (this.newwin != undefined) {
if (
navigator.userAgent.indexOf('Firefox') != -1 ||
@ -273,7 +276,7 @@
'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=yes, height=600,width=1100,left=180,top=100'
);
},
closeWindow: function () {
closeWindow: function() {
if (
navigator.userAgent.indexOf('Firefox') != -1 ||
navigator.userAgent.indexOf('Chrome') != -1
@ -328,7 +331,7 @@
goIndex() {
this.winOpen();
},
submitExam: function () {
submitExam: function() {
let self = this;
//
if (!self.isSubmit) {
@ -341,7 +344,7 @@
if (res.data.code === 200) {
this.$message.success({
message: '提交成功',
onClose: function () {
onClose: function() {
if (self.reqType == 0) {
self.closeWindow();
} else {
@ -354,14 +357,14 @@
} else {
this.$message.warning({
message: res.data.msg,
onClose: function () {
onClose: function() {
self.closeWindow();
},
});
}
});
},
reStartTest: function () {
reStartTest: function() {
let self = this;
//
if (!self.isSubmit) {
@ -375,7 +378,7 @@
if (res.data.code === 200) {
this.$message.success({
message: '重新开始成功',
onClose: function () {
onClose: function() {
let signParams = {
tel: res.data.data.tel,
nickName: res.data.data.nickName,
@ -390,7 +393,7 @@
} else {
this.$message.warning({
message: res.data.msg,
onClose: function () {
onClose: function() {
self.closeWindow();
},
});
@ -448,7 +451,10 @@
ths.ethRMBCount = ethCount * cnyAmount;
let digitWallet =
ths.btcRMBCount + ths.usdtRMBCount + ths.eosRMBCount + ths.ethRMBCount;
ths.btcRMBCount +
ths.usdtRMBCount +
ths.eosRMBCount +
ths.ethRMBCount;
let total =
digitWallet +
@ -481,11 +487,11 @@
ths.reqType = localStorage.getItem('reqType');
}
},
};
};
</script>
<style scoped lang="scss">
.entry-wrapper {
.entry-wrapper {
.entry-content {
background: url(../images/entry/bg.jpg);
background-size: cover;
@ -528,9 +534,9 @@
padding: 24px;
margin: 0;
}
}
}
.paylist {
.paylist {
position: relative;
&::before {
@ -544,9 +550,9 @@
left: 40px;
background-size: cover;
}
}
}
.usdList {
.usdList {
margin: 0 auto;
width: 815px;
margin-top: 110px;
@ -658,11 +664,11 @@
font-size: 10px;
font-weight: normal;
font-stretch: normal;
line-height: 15px;
line-height: 6px;
letter-spacing: 0px;
color: #08c7cf;
}
}
}
}
}
</style>

@ -24,6 +24,11 @@ export default new Router({
name: 'entry',
component: () => import('./entry.vue'),
},
{
path: './studyGrade',
name: 'studyGrade',
component: () => import('./studyGrade.vue'),
},
// {
// path: './entrustdetail',
// name: 'entrustdetail',

@ -58,6 +58,11 @@ export default new Router({
name: 'entry',
component: () => import('./pages/entry'),
},
{
path: '/studyGrade',
name: 'studyGrade',
component: () => import('./pages/studyGrade'),
},
{
path: '/about',
name: 'about',

@ -40,19 +40,19 @@
</div>
</div>
<div class="secondaryBox majorBoxStyle">
<!--<div class="secondaryBox majorBoxStyle">
<div class="profileContent">
<span class="secondaryTitle"
>{{ $t('personal.profile.basicInfo.loginPasswrod') }}</span
>
<span class="secondaryCont">*********</span>
<!-- <router-link to="/profile/change-password">
&lt;!&ndash; <router-link to="/profile/change-password">
<div class="btnRemake">
{{ $t('personal.profile.basicInfo.changePasswordBtn') }}
</div>
</router-link>-->
</div>
</router-link>&ndash;&gt;
</div>
</div>-->
</div>
<div class="loginHistory" :style="{height: calac + 'px'}">

Loading…
Cancel
Save