进入赋值与跳转

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

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

Loading…
Cancel
Save