进入赋值与跳转

master
unclekh 4 years ago
parent b21b800e26
commit 7c8e98773a
  1. 60
      src/pages/entry.vue

@ -7,34 +7,34 @@
<div class="usdItem wechat">
<!-- 跳转到交易中心,携带交易对 -->
<a href="javascript:;">
<p>初始资金100000CNY</p>
<p>可用资金100000CNY</p>
<p>全部资金100000CNY</p>
<p>初始资金{{ userTimeMoneyDto.wxPayInit }} CNY</p>
<p>可用资金{{ userTimeMoneyDto.wxPay }} CNY</p>
<p>全部资金{{ tatolPrice }} CNY</p>
</a>
</div>
<div class="usdItem alipay">
<!-- 跳转到交易中心,携带交易对 -->
<a href="javascript:;">
<p>初始资金100000CNY</p>
<p>可用资金100000CNY</p>
<p>全部资金100000CNY</p>
<p>初始资金{{ userTimeMoneyDto.aliPayInit }} CNY</p>
<p>可用资金{{ userTimeMoneyDto.aliPay }} CNY</p>
<p>全部资金{{ tatolPrice }} CNY</p>
</a>
</div>
<div class="usdItem bank">
<!-- 跳转到交易中心,携带交易对 -->
<a href="javascript:;">
<p>初始资金100000CNY</p>
<p>可用资金100000CNY</p>
<p>全部资金100000CNY</p>
<p>初始资金{{ userTimeMoneyDto.bankCardInit }}CNY</p>
<p>可用资金{{ userTimeMoneyDto.bankCard }} CNY</p>
<p>全部资金{{ tatolPrice }} CNY</p>
</a>
</div>
</div>
<div class="usdList tabs">
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tabs v-model="activeName">
<el-tab-pane label="BTC" name="BTC">
<div class="tabs-flex">
<div class="flex-1">
<p>总资产: 0</p>
<p>总资产: {{ userTimeMoneyDto.btc }}</p>
<p>0 CNY</p>
</div>
<div class="flex-1">
@ -54,7 +54,7 @@
<el-tab-pane label="USDT" name="USDT">
<div class="tabs-flex">
<div class="flex-1">
<p>总资产: 0</p>
<p>总资产: {{ userTimeMoneyDto.usdt }}</p>
<p>0 CNY</p>
</div>
<div class="flex-1">
@ -74,7 +74,7 @@
<el-tab-pane label="EOS" name="EOS">
<div class="tabs-flex">
<div class="flex-1">
<p>总资产: 0</p>
<p>总资产: {{ userTimeMoneyDto.eos }}</p>
<p>0 CNY</p>
</div>
<div class="flex-1">
@ -94,7 +94,7 @@
<el-tab-pane label="ETH" name="ETH">
<div class="tabs-flex">
<div class="flex-1">
<p>总资产: 0</p>
<p>总资产: {{ userTimeMoneyDto.eth }}</p>
<p>0 CNY</p>
</div>
<div class="flex-1">
@ -113,32 +113,32 @@
</el-tab-pane>
</el-tabs>
</div>
<a href="javascript:;" class="entry-btn">
<a href="javascript:;" class="entry-btn" @click="goIndex">
<img src="../images/entry/btn.png" />
</a>
<!-- <div class="usdList">
<!-- <div class="usdList">
<div class="usdItem" element-loading-background="rgba(0, 0, 0, 0.2)">
<!-- 跳转到交易中心,携带交易对 --/>
&lt;!&ndash; 跳转到交易中心,携带交易对 &#45;&#45;/>
<a href="javascript:;">
<p>微信 <i class="el-icon-star-off"></i></p>
<p>初始资金{{ userTimeMoneyDto.wxPayInit}} CNY</p>
<p>余额{{ userTimeMoneyDto.wxPay }} CNY</p>
<p>可用资金{{ userTimeMoneyDto.wxPay }} CNY</p>
</a>
</div>
<div class="usdItem" element-loading-background="rgba(0, 0, 0, 0.2)">
<!-- 跳转到交易中心,携带交易对 --/>
&lt;!&ndash; 跳转到交易中心,携带交易对 &#45;&#45;/>
<a href="javascript:;">
<p>支付宝 <i class="el-icon-star-off"></i></p>
<p>初始资金{{ userTimeMoneyDto.aliPayInit}} CNY</p>
<p>余额{{ userTimeMoneyDto.aliPay }} CNY</p>
<p>可用资金{{ userTimeMoneyDto.aliPay }} CNY</p>
</a>
</div>
<div class="usdItem" element-loading-background="rgba(0, 0, 0, 0.2)">
<!-- 跳转到交易中心,携带交易对 --/>
&lt;!&ndash; 跳转到交易中心,携带交易对 &#45;&#45;/>
<a href="javascript:;">
<p>银行卡 <i class="el-icon-star-off"></i></p>
<p>初始资金{{ userTimeMoneyDto.bankCardInit}} CNY</p>
<p>余额{{ userTimeMoneyDto.bankCard }} CNY</p>
<p>可用资金{{ userTimeMoneyDto.bankCard }} CNY</p>
</a>
</div>
</div>
@ -146,16 +146,16 @@
<div class="usdList tabs">
<el-tabs v-model="activeName">
<el-tab-pane label="BTC" name="BTC"
>余额{{ userTimeMoneyDto.btc }} <br/><br/> 总额{{tatolPrice}} CNY <br/><br/> 地址{{userTimeMoneyDto.assessUserId}}</el-tab-pane
>可用资金{{ userTimeMoneyDto.btc }} <br/><br/> 总额{{tatolPrice}} CNY <br/><br/> 地址{{userTimeMoneyDto.assessUserId}}</el-tab-pane
>
<el-tab-pane label="USDT" name="USDT"
>余额{{ userTimeMoneyDto.usdt }} <br/><br/> 总额{{tatolPrice}} CNY <br/><br/> 地址{{userTimeMoneyDto.assessUserId}}</el-tab-pane
>可用资金{{ userTimeMoneyDto.usdt }} <br/><br/> 总额{{tatolPrice}} CNY <br/><br/> 地址{{userTimeMoneyDto.assessUserId}}</el-tab-pane
>
<el-tab-pane label="EOS" name="EOS"
>余额{{ userTimeMoneyDto.eos }} <br/><br/> 总额{{tatolPrice}} CNY <br/><br/> 地址{{userTimeMoneyDto.assessUserId}}</el-tab-pane
>可用资金{{ userTimeMoneyDto.eos }} <br/><br/> 总额{{tatolPrice}} CNY <br/><br/> 地址{{userTimeMoneyDto.assessUserId}}</el-tab-pane
>
<el-tab-pane label="ETH" name="ETH"
>余额{{ userTimeMoneyDto.eth }} <br/><br/> 总额{{tatolPrice}} CNY <br/><br/> 地址{{userTimeMoneyDto.assessUserId}}</el-tab-pane
>可用资金{{ userTimeMoneyDto.eth }} <br/><br/> 总额{{tatolPrice}} CNY <br/><br/> 地址{{userTimeMoneyDto.assessUserId}}</el-tab-pane
>
</el-tabs>
</div>-->
@ -183,6 +183,9 @@ export default {
Footer,
},
methods: {
goIndex() {
window.open('/', '_blank');
},
getUSDTPrie() {
getLeftPrice().then(res => {
this.USDTPrie = res.data.data;
@ -314,8 +317,8 @@ export default {
justify-content: space-between;
.usdItem {
width: 128px;
height: 122px;
width: 166px;
height: 158px;
position: relative;
background-size: cover;
@ -330,6 +333,7 @@ export default {
}
a {
display: block;
margin-top: 85px;
}
p {
font-family: NotoSansHans-DemiLight;

Loading…
Cancel
Save