@ -0,0 +1,52 @@ |
|||
page{ |
|||
background-color: #fafafa; |
|||
} |
|||
.aaa{ |
|||
background-color: #fafafa !important; |
|||
} |
|||
.main{ |
|||
padding: 0 24rpx; |
|||
margin-top: 80rpx; |
|||
} |
|||
.main_con{ |
|||
padding: 0 24rpx; |
|||
background-color: #fff; |
|||
border-radius: 24rpx; |
|||
padding-bottom: 160rpx; |
|||
} |
|||
.flex{ |
|||
display: flex; |
|||
justify-content: space-between; |
|||
align-items: center; |
|||
} |
|||
.main_con .item{ |
|||
padding: 32rpx 0; |
|||
border-bottom: 2rpx solid #F5F5F5; |
|||
margin-bottom: 48rpx; |
|||
} |
|||
.main_con .item .imgcon .img{ |
|||
width: 54rpx; |
|||
height: 54rpx; |
|||
margin-right: 24rpx; |
|||
} |
|||
.flex2{ |
|||
display: flex; |
|||
align-items: center; |
|||
} |
|||
.main_con .item2{ |
|||
margin-bottom: 50rpx; |
|||
} |
|||
.main_con .item2 .title{ |
|||
} |
|||
.main_con .item2 .input{ |
|||
height: 100rpx; |
|||
border-bottom: 2rpx solid #F5F5F5; |
|||
} |
|||
.main_con .btn{ |
|||
line-height: 96rpx; |
|||
background-color: #E9ECF5; |
|||
text-align: center; |
|||
color: #fff; |
|||
border-radius: 32rpx; |
|||
margin-top: 120rpx; |
|||
} |
@ -0,0 +1,70 @@ |
|||
<template> |
|||
<view class="maintoP"> |
|||
<navigation :showBack="true" :bgnum="true" class="aaa"> |
|||
<text class="big_title"> |
|||
Add collection |
|||
</text> |
|||
</navigation> |
|||
<view class="main"> |
|||
<view class="main_con"> |
|||
<view class="flex item"> |
|||
<view class="imgcon flex2"> |
|||
<image src="../../../../static/tongyonh/bye.png" mode="aspectFit" class="img"></image> |
|||
<text class="tex1">ETH</text> |
|||
</view> |
|||
<view class="text1"> |
|||
TStUWD...mBmh |
|||
</view> |
|||
</view> |
|||
<view class="item2"> |
|||
<view class="title"> |
|||
Contract address |
|||
</view> |
|||
<input type="text" value="" class="input" placeholder-style="color:#BEBEBE;fontSize:14px" placeholder="Please enter the contract address"/> |
|||
</view> |
|||
<view class="item2"> |
|||
<view class="title"> |
|||
Token ID |
|||
</view> |
|||
<input type="text" value="" class="input" placeholder-style="color:#BEBEBE;fontSize:14px" placeholder="Please enter token ID"/> |
|||
</view> |
|||
<view class="btn"> |
|||
Confirm |
|||
</view> |
|||
</view> |
|||
|
|||
</view> |
|||
|
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import cont from "@/components/navigation/navigation.vue" |
|||
import token from "@/utils/TokenUtil" |
|||
export default { |
|||
data() { |
|||
return { |
|||
|
|||
} |
|||
}, |
|||
|
|||
onLoad() { |
|||
|
|||
|
|||
|
|||
}, |
|||
methods: { |
|||
|
|||
|
|||
|
|||
}, |
|||
|
|||
}; |
|||
</script> |
|||
<style scoped> |
|||
|
|||
</style> |
|||
|
|||
<style> |
|||
@import './index.css'; |
|||
</style> |
@ -0,0 +1,27 @@ |
|||
.renYou2{ |
|||
width: 48rpx; |
|||
height: 48rpx; |
|||
position: absolute; |
|||
right: 30rpx; |
|||
} |
|||
.main{ |
|||
margin-top: 50rpx; |
|||
padding: 0 24rpx; |
|||
} |
|||
.main .item{ |
|||
background-color: #F2F2F2; |
|||
border-radius: 8rpx; |
|||
padding: 24rpx; |
|||
} |
|||
.main .item .top{ |
|||
margin-bottom: 20rpx; |
|||
font-size: 32rpx; |
|||
display: flex; |
|||
align-items: center; |
|||
word-break: break-word; |
|||
} |
|||
.main .item .top .img{ |
|||
width: 48rpx; |
|||
height: 48rpx; |
|||
margin-right: 16rpx; |
|||
} |
@ -0,0 +1,57 @@ |
|||
<template> |
|||
<view class="maintoP"> |
|||
<navigation :showBack="true" :bgnum="true"> |
|||
<image src="../../../../static/tongyonh/IconGroup.png" mode="aspectFit" class="renYou2" slot="logo"></image> |
|||
<text class="big_title"> |
|||
Binance NFT |
|||
</text> |
|||
</navigation> |
|||
<view class="main"> |
|||
<view class="item"> |
|||
<view class="top"> |
|||
<image src="../../../../static/tongyonh/bye.png" mode="aspectFit" class="img"></image> |
|||
0x0Cc6...08E9 |
|||
</view> |
|||
<view class="top"> |
|||
合约:0xf7a2...490a |
|||
</view> |
|||
<view class="top"> |
|||
ID:624869217469673946369844112959321786979269186132 |
|||
</view> |
|||
</view> |
|||
|
|||
</view> |
|||
|
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import cont from "@/components/navigation/navigation.vue" |
|||
import token from "@/utils/TokenUtil" |
|||
export default { |
|||
data() { |
|||
return { |
|||
|
|||
} |
|||
}, |
|||
|
|||
onLoad() { |
|||
|
|||
|
|||
|
|||
}, |
|||
methods: { |
|||
|
|||
|
|||
|
|||
}, |
|||
|
|||
}; |
|||
</script> |
|||
<style scoped> |
|||
|
|||
</style> |
|||
|
|||
<style> |
|||
@import './index.css'; |
|||
</style> |
@ -0,0 +1,54 @@ |
|||
.maintoP{ |
|||
margin-top: 100rpx; |
|||
} |
|||
/* .aaa{ |
|||
background: #FAFAFA !important; |
|||
} */ |
|||
/* page { |
|||
background: #FAFAFA; |
|||
} */ |
|||
.main{ |
|||
padding: 0 48rpx; |
|||
margin-top: 50rpx; |
|||
background: #fff; |
|||
} |
|||
.title{ |
|||
height: 150rpx; |
|||
display: flex; |
|||
align-items: center; |
|||
font-size: 32rpx; |
|||
border-bottom: 2rpx solid #F6F8FD; |
|||
} |
|||
.flex{ |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: space-between; |
|||
} |
|||
.flex2{ |
|||
display: flex; |
|||
} |
|||
|
|||
.main_con .item .left .img{ |
|||
width: 80rpx; |
|||
height: 80rpx; |
|||
} |
|||
.main_con .item{ |
|||
height: 150rpx; |
|||
border-bottom: 2rpx solid #F6F8FD; |
|||
border-radius: 24rpx; |
|||
|
|||
} |
|||
.main_con .item .img{ |
|||
width: 48rpx; |
|||
height: 48rpx; |
|||
} |
|||
.main_con .textcon{ |
|||
margin-left: 20rpx; |
|||
} |
|||
.main_con .textcon .text1{ |
|||
font-size: 30rpx; |
|||
} |
|||
.main_con .textcon .text2{ |
|||
font-size: 24rpx; |
|||
color: #999; |
|||
} |
@ -0,0 +1,75 @@ |
|||
<template> |
|||
<view class="maintoP"> |
|||
<navigation :showBack="true" :bgnum="true" class="aaa"> |
|||
NFT collection |
|||
</navigation> |
|||
<view class="main"> |
|||
<view class="main_con"> |
|||
<view class="item flex"> |
|||
<view class="left flex2"> |
|||
<image src="../../../static/tongyonh/bye.png" mode="aspectFit" class="img"></image> |
|||
<view class="textcon"> |
|||
<view class="text1"> |
|||
Binance NFT |
|||
</view> |
|||
<view class="text2"> |
|||
0 collections |
|||
</view> |
|||
</view> |
|||
</view> |
|||
|
|||
</view> |
|||
|
|||
<view class="item flex"> |
|||
<view class="left flex2"> |
|||
<image src="../../../static/tongyonh/bye.png" mode="aspectFit" class="img"></image> |
|||
<view class="textcon"> |
|||
<view class="text1"> |
|||
Binance NFT |
|||
</view> |
|||
<view class="text2"> |
|||
0 collections |
|||
</view> |
|||
</view> |
|||
</view> |
|||
|
|||
</view> |
|||
</view> |
|||
|
|||
<tab-bar :selectActive="2"></tab-bar> |
|||
|
|||
</view> |
|||
|
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import cont from "@/components/navigation/navigation.vue" |
|||
import token from "@/utils/TokenUtil" |
|||
export default { |
|||
data() { |
|||
return { |
|||
|
|||
} |
|||
}, |
|||
|
|||
onLoad() { |
|||
|
|||
|
|||
|
|||
}, |
|||
methods: { |
|||
|
|||
|
|||
|
|||
}, |
|||
|
|||
}; |
|||
</script> |
|||
<style scoped> |
|||
|
|||
</style> |
|||
|
|||
<style> |
|||
@import './index.css'; |
|||
</style> |
@ -0,0 +1,182 @@ |
|||
.renYou2{ |
|||
width: 48rpx; |
|||
height: 48rpx; |
|||
position: absolute; |
|||
right: 30rpx; |
|||
} |
|||
.main{ |
|||
padding: 0 24rpx; |
|||
margin-top: 60rpx; |
|||
} |
|||
.item{ |
|||
margin-top: 30rpx; |
|||
} |
|||
.inputcon{ |
|||
position: relative; |
|||
height: auto; |
|||
margin-top: 20rpx; |
|||
background-color:#fff; |
|||
} |
|||
.inputcon .input{ |
|||
width: 80%; |
|||
padding-left: 30rpx; |
|||
line-height: 60rpx; |
|||
border-radius: 16rpx; |
|||
} |
|||
.inputcon .img{ |
|||
width: 48rpx; |
|||
height: 48rpx; |
|||
position: absolute; |
|||
top: 50%; |
|||
right: 40rpx; |
|||
transform: translateY(-50%); |
|||
} |
|||
.inputcon2{ |
|||
height: auto; |
|||
margin-top: 20rpx; |
|||
} |
|||
.inputcon2 .input_con{ |
|||
} |
|||
.inputcon2 .input_con .input2{ |
|||
padding: 0 40rpx; |
|||
height: 190rpx; |
|||
font-size: 75rpx; |
|||
background-color: #fff; |
|||
border-radius: 16rpx; |
|||
border-bottom: 2rpx solid #F4F7FE; |
|||
} |
|||
.inputcon2 .input_con .input1{ |
|||
padding: 0 40rpx; |
|||
height: 100rpx; |
|||
background-color: #fff; |
|||
border-radius: 0 0 16rpx 16rpx; |
|||
} |
|||
.flex{ |
|||
display: flex; |
|||
justify-content: space-between; |
|||
} |
|||
.all{ |
|||
color: #5B53FF; |
|||
} |
|||
.aaa{ |
|||
background-color: #fafafa !important; |
|||
} |
|||
.minitem{ |
|||
padding: 0 30rpx; |
|||
height: 100rpx; |
|||
background-color:#fff; |
|||
border-radius: 16rpx; |
|||
align-items: center; |
|||
} |
|||
.item .rimg{ |
|||
width: 24rpx; |
|||
height: 24rpx; |
|||
} |
|||
page { |
|||
background-color: #FAFAFA !important; |
|||
} |
|||
.main .btn{ |
|||
line-height: 96rpx; |
|||
background-color: #5B53FF; |
|||
text-align: center; |
|||
color: #fff; |
|||
border-radius: 32rpx; |
|||
margin-top: 50rpx; |
|||
} |
|||
|
|||
|
|||
.ac .bottom_con{ |
|||
position: absolute; |
|||
bottom: 0; |
|||
z-index: 9999; |
|||
} |
|||
.bottom_con{ |
|||
width: 100%; |
|||
background-color:#F7F8FA; |
|||
padding: 0 24rpx; |
|||
border-radius: 16rpx 16rpx 0 0; |
|||
padding-bottom: 40rpx; |
|||
} |
|||
.title_con{ |
|||
padding: 30rpx 0; |
|||
text-align: center; |
|||
color: #7A7A81; |
|||
} |
|||
.money_con{ |
|||
background-color: #fff; |
|||
padding: 0 30rpx; |
|||
padding-top: 70rpx; |
|||
border-radius: 16rpx 16rpx 0 0; |
|||
} |
|||
.money_con .money{ |
|||
display: flex; |
|||
justify-content: center; |
|||
align-items: center; |
|||
} |
|||
.money_con .money .tex1{ |
|||
font-size: 64rpx; |
|||
margin-right: 10rpx; |
|||
} |
|||
.money_con .img{ |
|||
width: 48rpx; |
|||
height: 48rpx; |
|||
position: absolute; |
|||
left: 12rpx; |
|||
top: 24rpx; |
|||
} |
|||
.money_con .img2{ |
|||
width: 28rpx; |
|||
height: 28rpx; |
|||
position: absolute; |
|||
left: 32rpx; |
|||
top: 32rpx; |
|||
} |
|||
.money_con .money .tex2{ |
|||
font-size: 42rpx; |
|||
} |
|||
.money_con .money .text{ |
|||
|
|||
} |
|||
.info_con{ |
|||
margin-top: 40rpx; |
|||
} |
|||
.info_con .item{ |
|||
display: flex; |
|||
padding-bottom: 24rpx; |
|||
border-bottom: 2rpx solid #DDDDDD; |
|||
} |
|||
.info_con .item:last-child{ |
|||
border-bottom: none; |
|||
} |
|||
.info_con .item .text1{ |
|||
color: #9B9C9E; |
|||
margin-right: 50rpx; |
|||
} |
|||
.info_con .item .text2{ |
|||
word-break: break-word; |
|||
} |
|||
.bottom_con .btn{ |
|||
line-height: 96rpx; |
|||
background-color: #5B53FF; |
|||
text-align: center; |
|||
color: #fff; |
|||
border-radius: 32rpx; |
|||
margin-top: 50rpx; |
|||
} |
|||
.money_con2{ |
|||
height: 400rpx; |
|||
} |
|||
.btn2{ |
|||
line-height: 96rpx; |
|||
background-color: #E9ECF5; |
|||
text-align: center; |
|||
color: #fff; |
|||
border-radius: 32rpx; |
|||
margin-top: 50rpx; |
|||
} |
|||
.btncolor{ |
|||
background-color: #5B53FF; |
|||
} |
|||
.btncolor2{ |
|||
background-color: #E9ECF5; |
|||
} |
@ -0,0 +1,244 @@ |
|||
<template> |
|||
<view class="ac"> |
|||
<navigation :showBack="true" :bgnum="true" class="aaa"> |
|||
<text class="big_title"> |
|||
{{info.coinList[0].name}} Transfer |
|||
</text> |
|||
<image src="../../../../static/tongyonh/erwei.png" mode="aspectFit" class="renYou2" slot="logo" |
|||
@click="chooseImage()"></image> |
|||
</navigation> |
|||
<view class="main"> |
|||
<view class="item"> |
|||
<view class="title"> |
|||
Collection address |
|||
</view> |
|||
<view class="inputcon"> |
|||
<input type="text" value="" :placeholder="addValue" placeholder-style="color:#D0D0D2" class="input" v-model="toAddress"/> |
|||
<image src="../../../../static/tongyonh/lu.png" mode="aspectFit" class="img" @click="goAddress"></image> |
|||
</view> |
|||
</view> |
|||
<view class="item"> |
|||
<view class="title flex"> |
|||
<text>Amount of Money</text> |
|||
<text class="all" @click="toAll">ALL</text> |
|||
</view> |
|||
<view class="inputcon2"> |
|||
<view class="input_con"> |
|||
<input type="text" value="" placeholder="0" placeholder-style="color:#D0D0D2" class="input2" v-model="toValue"/> |
|||
<!-- <input type="text" value="" placeholder="Remark" placeholder-style="color:#D0D0D2" class="input1"/> --> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
<!-- <view class="item minitem flex"> |
|||
<text>Miner's fee</text> |
|||
<view class="imgcon"> |
|||
<image src="../../../../static/tongyonh/chevron_right_24px.png" mode="aspectFit" class="rimg"></image> |
|||
</view> |
|||
</view> --> |
|||
<view class="btn" @click="next"> |
|||
Next step |
|||
</view> |
|||
|
|||
|
|||
</view> |
|||
|
|||
<view class="bottom_con" v-if="show"> |
|||
<view class="title_con"> |
|||
Payment details |
|||
</view> |
|||
<view class="money_con"> |
|||
<image src="../../../../static/tongyonh/xg.png" mode="aspectFit" class="img" @click="show=false"></image> |
|||
<view class="money"> |
|||
<text class="tex1">{{toValue}}</text> |
|||
<text class="tex2">{{info.coinList[0].name}}</text> |
|||
</view> |
|||
<view class="info_con"> |
|||
<view class="item"> |
|||
<text class="text1">Payment information</text> |
|||
<text class="text2">{{info.coinList[0].name}} transfer</text> |
|||
</view> |
|||
<view class="item"> |
|||
<text class="text1">Collection address</text> |
|||
<text class="text2">{{toAddress}}</text> |
|||
</view> |
|||
<view class="item"> |
|||
<text class="text1">Payment address</text> |
|||
<text class="text2">{{info.address}}</text> |
|||
</view> |
|||
</view> |
|||
|
|||
</view> |
|||
<view class="btn" @click="toNext"> |
|||
Next step |
|||
</view> |
|||
</view> |
|||
|
|||
|
|||
<view class="bottom_con" v-if="show2"> |
|||
<view class="title_con"> |
|||
Password |
|||
</view> |
|||
<view class="money_con money_con2"> |
|||
<image src="../../../../static/tongyonh/Vector.png" mode="aspectFit" class="img2" @click="back"></image> |
|||
<u-input placeholder="Wallet password" v-model="value" :type="type" :border="border" :password-icon="passwordIcon" @input="btnco()" /> |
|||
</view> |
|||
<view class="btn2" :class="btntype?'btncolor':'btncolor2'" @click="confirm()"> |
|||
Next step |
|||
</view> |
|||
</view> |
|||
|
|||
|
|||
|
|||
<u-mask :show="show" z-index="10"></u-mask> |
|||
<u-mask :show="show2" z-index="10"></u-mask> |
|||
</view> |
|||
|
|||
|
|||
|
|||
|
|||
</template> |
|||
|
|||
<script> |
|||
import cont from "@/components/navigation/navigation.vue" |
|||
export default { |
|||
data() { |
|||
return { |
|||
btntype:false, |
|||
addValue:'', |
|||
info:{}, |
|||
toAddress:'', |
|||
toValue:null, |
|||
show:false, |
|||
show2:false, |
|||
value: '', |
|||
type: 'password', |
|||
passwordIcon: true, |
|||
border: true, |
|||
} |
|||
}, |
|||
methods: { |
|||
toNext(){ |
|||
this.show=false; |
|||
this.show2=true; |
|||
}, |
|||
back(){ |
|||
this.show2=false; |
|||
this.show=true |
|||
}, |
|||
btnco(){ |
|||
if(this.value.length==0){ |
|||
this.btntype=false; |
|||
return; |
|||
} |
|||
this.btntype=true; |
|||
}, |
|||
toAll(){ |
|||
this.toValue=this.info.balance |
|||
}, |
|||
succ(a,b){ |
|||
console.log(a,4545) |
|||
console.log(b,45646) |
|||
}, |
|||
next(){ |
|||
if(this.toAddress==''){ |
|||
uni.showToast({ |
|||
title: 'Transfer receiving address cannot be blank', |
|||
icon: 'none', |
|||
duration: 1500 |
|||
}) |
|||
return |
|||
} |
|||
if(this.toValue==null){ |
|||
uni.showToast({ |
|||
title: 'Please enter the transfer amount', |
|||
icon: 'none', |
|||
duration: 1500 |
|||
}) |
|||
return |
|||
} |
|||
if(this.toValue<=0){ |
|||
uni.showToast({ |
|||
title: 'The transfer amount cannot be less than or equal to zero', |
|||
icon: 'none', |
|||
duration: 1500 |
|||
}) |
|||
return |
|||
} |
|||
this.show=true; |
|||
|
|||
}, |
|||
confirm(){ |
|||
if(this.value!=this.info.password){ |
|||
uni.showToast({ |
|||
title: 'Password error', |
|||
icon: 'none', |
|||
duration: 1500 |
|||
}) |
|||
return |
|||
} |
|||
if(this.info.coinList[0].xname=='Ethereum'){ |
|||
this.$EthUtil.transaction(this.info.address,this.toAddress,this.toValue,this.info.privateKey).then((res) => { |
|||
console.log(res,'钱包') |
|||
this.show2=false; |
|||
uni.reLaunch({ |
|||
url:'../transfer2/index' |
|||
}) |
|||
}).catch(err => { |
|||
console.log(err) |
|||
}) |
|||
|
|||
} |
|||
if(this.info.coinList[0].xname=='TRON'){ |
|||
this.$TronUtil.sendTransaction(this.info.address,this.info.privateKey,this.toAddress,this.toValue,).then((res) => { |
|||
uni.showToast({ |
|||
title: 'Successfully', |
|||
icon: 'success', |
|||
duration: 1500 |
|||
}) |
|||
this.show2=false; |
|||
uni.reLaunch({ |
|||
url:'../transfer2/index' |
|||
}) |
|||
}).catch(err => { |
|||
uni.showToast({ |
|||
title: err, |
|||
icon: 'none', |
|||
duration: 1500 |
|||
}) |
|||
}) |
|||
|
|||
} |
|||
}, |
|||
goAddress(){ |
|||
uni.navigateTo({ |
|||
url:'../address/index' |
|||
}) |
|||
}, |
|||
// 唤醒摄像头 |
|||
chooseImage() { |
|||
var _this = this |
|||
uni.chooseImage({ |
|||
count: 1, //默认9 |
|||
sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有 |
|||
sourceType: ['album', 'camera'], //从相册选择、摄像头 |
|||
success: function(res) { |
|||
_this.imgShow = res.tempFilePaths[0] |
|||
} |
|||
}); |
|||
// ass() |
|||
}, |
|||
}, |
|||
onLoad(option) { |
|||
const item = JSON.parse(option.item); |
|||
this.info=item; |
|||
this.addValue=this.info.coinList[0].xname+' Address' |
|||
} |
|||
}; |
|||
</script> |
|||
<style scoped> |
|||
|
|||
</style> |
|||
|
|||
<style> |
|||
@import './index.css'; |
|||
</style> |
@ -0,0 +1,185 @@ |
|||
.renYou{ |
|||
width: 48rpx; |
|||
height: 48rpx; |
|||
position: absolute; |
|||
right: 30rpx; |
|||
} |
|||
.big_title{ |
|||
font-size: 48rpx; |
|||
} |
|||
|
|||
.main .money_con{ |
|||
display: block; |
|||
width:95%; |
|||
margin: 0 auto; |
|||
margin-top: 50rpx; |
|||
margin-bottom: 50rpx; |
|||
height: 320rpx; |
|||
background-image: linear-gradient(to right, #FF820C , #FFB606); |
|||
padding: 40rpx 50rpx; |
|||
border-radius: 24rpx; |
|||
} |
|||
.textcon1{ |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: space-between; |
|||
line-height: 56rpx; |
|||
} |
|||
.textcon1 .text1{ |
|||
color: #fff; |
|||
font-size: 56rpx ; |
|||
} |
|||
.textcon1 .text1 .text2{ |
|||
color: #fff; |
|||
font-size: 32rpx ; |
|||
} |
|||
.textcon1 .img1{ |
|||
width: 100rpx; |
|||
height: 110rpx; |
|||
} |
|||
.textcon1 .v1{ |
|||
|
|||
} |
|||
.textcon1 .v1 .t1{ |
|||
color: #fff; |
|||
font-size: 32rpx; |
|||
} |
|||
.textcon1 .v1 .t2{ |
|||
color: #fff; |
|||
font-size: 24rpx; |
|||
} |
|||
.textcon1 .v2{ |
|||
margin-right: 100rpx; |
|||
} |
|||
.select_con{ |
|||
width: 100%; |
|||
padding-bottom: 260rpx; |
|||
} |
|||
.select_con .select{ |
|||
margin: 0 12px; |
|||
border-radius: 30rpx; |
|||
background-color: #fff; |
|||
box-shadow: 0 0 30px #EBEEF1; |
|||
} |
|||
/deep/ .u-tabs{ |
|||
border-bottom: 2rpx solid #F6F8FD; |
|||
border-radius: 30rpx 30rpx 0 0; |
|||
} |
|||
.select_con .item1{ |
|||
display: flex; |
|||
justify-content: space-between; |
|||
padding-top: 60rpx; |
|||
padding-bottom: 50rpx; |
|||
border-bottom: 2rpx solid #F6F8FD; |
|||
padding-left: 40rpx; |
|||
padding-right: 24rpx; |
|||
} |
|||
.select_con .item1 .lef_con{ |
|||
display: flex; |
|||
align-items: center; |
|||
} |
|||
.select_con .item1 .lef_con .img1{ |
|||
width: 48rpx; |
|||
height: 48rpx; |
|||
} |
|||
.select_con .item1 .lef_con .textcon{ |
|||
margin-left: 24rpx; |
|||
} |
|||
.select_con .item1 .lef_con .textcon .text1{ |
|||
font-size: 32rpx; |
|||
} |
|||
.select_con .item1 .lef_con .textcon .text2{ |
|||
font-size: 24rpx; |
|||
color: #999; |
|||
} |
|||
|
|||
.select_con .item1 .rig_con .text1{ |
|||
font-size: 32rpx; |
|||
} |
|||
.select_con .item1 .rig_con .img1{ |
|||
width: 28rpx; |
|||
height: 20rpx; |
|||
float: right; |
|||
margin-top: 20rpx; |
|||
} |
|||
.select_con .item1 .rig_con .img2{ |
|||
width: 28rpx; |
|||
height: 40rpx; |
|||
float: right; |
|||
margin-top: 20rpx; |
|||
} |
|||
.btnconn{ |
|||
position: fixed; |
|||
bottom: 0; |
|||
background-color: #fff; |
|||
padding: 24rpx 24rpx; |
|||
width: 100%; |
|||
display: flex; |
|||
justify-content: space-between; |
|||
} |
|||
.btnconn .btn{ |
|||
width: 334rpx; |
|||
line-height: 96rpx; |
|||
border-radius: 30rpx; |
|||
border: 2rpx solid #5B53FF; |
|||
text-align: center; |
|||
display: flex; |
|||
align-items: center; |
|||
color:#5B53FF; |
|||
justify-content: center; |
|||
font-size: 34rpx; |
|||
position: relative; |
|||
} |
|||
.active{ |
|||
color: #fff !important; |
|||
background-color: #5B53FF; |
|||
} |
|||
.btnconn .btn .img1{ |
|||
width: 48rpx; |
|||
height: 48rpx; |
|||
|
|||
} |
|||
|
|||
.arrow-up-left{ |
|||
width: 48rpx; |
|||
height: 48rpx; |
|||
position: absolute; |
|||
top: 50%; |
|||
transform: translateY(-50%); |
|||
left: 68rpx; |
|||
} |
|||
.btn13{ |
|||
margin-left: 40rpx; |
|||
} |
|||
|
|||
.main .money_con{ |
|||
margin-top: 32rpx; |
|||
background-image: linear-gradient(to right, #6441CF , #877BFE); |
|||
height: 320rpx; |
|||
padding: 40rpx 36rpx; |
|||
position: relative; |
|||
border-radius: 24rpx; |
|||
} |
|||
.main .money_con2{ |
|||
margin-top: 32rpx; |
|||
background-image: linear-gradient(to right, #FF820C , #FFB606); |
|||
height: 320rpx; |
|||
padding: 40rpx 36rpx; |
|||
position: relative; |
|||
border-radius: 24rpx; |
|||
} |
|||
.main .money_con3{ |
|||
margin-top: 32rpx; |
|||
background-image: linear-gradient(to right, #B6162A , #F96D7D); |
|||
height: 320rpx; |
|||
padding: 40rpx 36rpx; |
|||
position: relative; |
|||
border-radius: 24rpx; |
|||
} |
|||
|
|||
.select_con .item1 .rig_con .text1 text{ |
|||
margin-left: 10rpx; |
|||
} |
|||
/deep/ .u-empty { |
|||
padding: 30px !important; |
|||
} |
@ -0,0 +1,337 @@ |
|||
<template> |
|||
<view class=""> |
|||
<navigation :showBack="true" :bgnum="true"> |
|||
<text class="big_title" v-if="userObject.coinList[0].xname=='Bitcoin'"> |
|||
BTC |
|||
</text> |
|||
<text class="big_title" v-if="userObject.coinList[0].xname=='Ethereum'"> |
|||
ETH |
|||
</text> |
|||
<text class="big_title" v-if="userObject.coinList[0].xname=='TRON'"> |
|||
TRX |
|||
</text> |
|||
</navigation> |
|||
<view class="main"> |
|||
<view class="money_con" |
|||
:class="{'money_con': userObject.coinList[0].xname=='Ethereum', 'money_con2': userObject.coinList[0].xname=='Bitcoin', 'money_con3': userObject.coinList[0].xname=='TRON'}"> |
|||
<view class="textcon1"> |
|||
<text class="text1"> |
|||
<view class="" v-if="userObject.coinList[0].xname=='Bitcoin'"> |
|||
{{this.infoWallet.balance}} BTC |
|||
</view> |
|||
<view class="" v-if="userObject.coinList[0].xname=='Ethereum'"> |
|||
0.00 ETH |
|||
</view> |
|||
<view class="" v-if="userObject.coinList[0].xname=='TRON'"> |
|||
0.00 TRX |
|||
</view> |
|||
<text class="text2">≈ $0.0</text> |
|||
</text> |
|||
<image src="../../../../static/tongyonh/ethereum.png" mode="aspectFit" class="img1" |
|||
v-if="userObject.coinList[0].xname=='Ethereum'"></image> |
|||
<image src="../../../../static/tongyonh/Frame28.png" mode="aspectFit" class="img1" |
|||
v-if="userObject.coinList[0].xname=='Bitcoin'"></image> |
|||
<image src="../../../../static/tongyonh/tronicon.png" mode="aspectFit" class="img1" |
|||
v-if="userObject.coinList[0].xname=='TRON'"></image> |
|||
</view> |
|||
<view class="textcon1"> |
|||
<view class="v1"> |
|||
<view class="t1"> |
|||
0.0 |
|||
</view> |
|||
<view class="t2"> |
|||
Existing balance |
|||
</view> |
|||
</view> |
|||
<view class="v1 v2"> |
|||
<view class="t1"> |
|||
0.0 |
|||
</view> |
|||
<view class="t2"> |
|||
Freeze balance |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
|
|||
<view class="select_con"> |
|||
<view class="select"> |
|||
<u-tabs height="120" bar-width="172" active-color="#6F69FF" inactive-color="#A3AED0" :list="list" |
|||
:is-scroll="false" :current="current" @change="change"></u-tabs> |
|||
|
|||
<u-empty text="No content" mode="list" v-if="showInfo"></u-empty> |
|||
|
|||
<view class="" v-if="!showInfo"> |
|||
|
|||
<view class="item1" v-for="(item,index) in trxs" v-if="current==1&&item.outputs.address!=address" |
|||
@click="goDetail(item,index)"> |
|||
<view class="lef_con"> |
|||
<image src="../../../../static/tongyonh/arrow-up-left_1.png" mode="aspectFit" |
|||
v-if="item.outputs.address!=address" class="img1"></image> |
|||
<view class="textcon"> |
|||
|
|||
<view class="text1" v-if="item.outputs.address!=address"> |
|||
{{item.outputs[0].address}} |
|||
</view> |
|||
<view class="text2"> |
|||
{{item.time}} |
|||
</view> |
|||
</view> |
|||
</view> |
|||
<view class="rig_con"> |
|||
<view class="text1"> |
|||
|
|||
<text class="text1" v-if="item.outputs.address!=address"> |
|||
<text>-</text> |
|||
{{item.outputs[0].value}} |
|||
</text> |
|||
<text class=""> |
|||
{{item.network}} |
|||
</text> |
|||
|
|||
|
|||
|
|||
</view> |
|||
<image src="../../../../static/tongyonh/Shape.png" mode="aspectFit" class="img1"> |
|||
</image> |
|||
</view> |
|||
</view> |
|||
|
|||
|
|||
<view class="item1" v-for="(item,index) in trxs" v-if="current==0" |
|||
@click="goDetail(item,index)"> |
|||
<view class="lef_con"> |
|||
|
|||
<image src="../../../../static/tongyonh/arrow-up-left.png" mode="aspectFit" class="img1" |
|||
v-if="item.outputs.address==address"></image> |
|||
<image src="../../../../static/tongyonh/arrow-up-left_1.png" mode="aspectFit" |
|||
v-if="item.outputs.address!=address" class="img1"></image> |
|||
<view class="textcon"> |
|||
<view class="text1" v-if="item.outputs.address==address"> |
|||
{{item.inputs[0].address}} |
|||
</view> |
|||
<view class="text1" v-if="item.outputs.address!=address"> |
|||
{{item.outputs[0].address}} |
|||
</view> |
|||
<view class="text2"> |
|||
{{item.time}} |
|||
</view> |
|||
</view> |
|||
</view> |
|||
<view class="rig_con"> |
|||
<view class="text1"> |
|||
<text class="text1" v-if="item.outputs.address==address"> |
|||
<text>+</text> |
|||
{{item.inputs[0].value}} |
|||
</text> |
|||
<text class="text1" v-if="item.outputs.address!=address"> |
|||
<text>-</text> |
|||
{{item.outputs[0].value}} |
|||
</text> |
|||
<text class=""> |
|||
{{item.network}} |
|||
</text> |
|||
|
|||
|
|||
|
|||
</view> |
|||
<image src="../../../../static/tongyonh/Shape.png" mode="aspectFit" class="img1"> |
|||
</image> |
|||
</view> |
|||
</view> |
|||
|
|||
<view class="item1" v-for="(item,index) in trxs" v-if="current==2&&item.outputs.address==address" |
|||
@click="goDetail(item,index)"> |
|||
<view class="lef_con"> |
|||
|
|||
<image src="../../../../static/tongyonh/arrow-up-left.png" mode="aspectFit" class="img1" |
|||
v-if="item.outputs.address==address"></image> |
|||
|
|||
<view class="textcon"> |
|||
<view class="text1" v-if="item.outputs.address==address"> |
|||
{{item.inputs[0].address}} |
|||
</view> |
|||
|
|||
<view class="text2"> |
|||
{{item.time}} |
|||
</view> |
|||
</view> |
|||
</view> |
|||
<view class="rig_con"> |
|||
<view class="text1"> |
|||
<text class="text1" v-if="item.outputs.address==address"> |
|||
<text>+</text> |
|||
{{item.inputs[0].value}} |
|||
</text> |
|||
|
|||
<text class=""> |
|||
{{item.network}} |
|||
</text> |
|||
|
|||
|
|||
|
|||
</view> |
|||
<image src="../../../../static/tongyonh/Shape.png" mode="aspectFit" class="img1"> |
|||
</image> |
|||
</view> |
|||
</view> |
|||
|
|||
</view> |
|||
</view> |
|||
|
|||
</view> |
|||
|
|||
|
|||
<view class="btnconn"> |
|||
<view class="btn active" @click="goSend"> |
|||
<image src="../../../../static/tongyonh/arrow-up-leftw.png" mode="aspectFit" class="arrow-up-left"> |
|||
</image> |
|||
Send |
|||
</view> |
|||
<view class="btn" @click="goReceive"> |
|||
<image src="../../../../static/tongyonh/arrow-up-leftp.png" mode="aspectFit" class="arrow-up-left"> |
|||
</image> |
|||
<text class="btn13">Receive</text> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import cont from "@/components/navigation/navigation.vue" |
|||
import api from '@/utils/api' |
|||
import index from '@/utils/index.js' |
|||
export default { |
|||
data() { |
|||
return { |
|||
// 拿账单的address |
|||
coinInfo: {}, |
|||
trxs: [], |
|||
trxs2: [], |
|||
address: '', |
|||
userObject: {}, |
|||
showInfo: false, |
|||
list: [{ |
|||
name: 'All' |
|||
}, { |
|||
name: 'Send' |
|||
}, { |
|||
name: 'Receive', |
|||
}], |
|||
infoWallet: {}, |
|||
current: 0, |
|||
pageSize: 10, |
|||
pageNum: 1, |
|||
param: { |
|||
'address': '', |
|||
'pageNum': 1, |
|||
'pageSize': 10, |
|||
} |
|||
} |
|||
}, |
|||
methods: { |
|||
goSend() { |
|||
uni.navigateTo({ |
|||
url: '/pages/menu/sendToken/transfer2/index' |
|||
}) |
|||
}, |
|||
goReceive() { |
|||
let itemm = JSON.stringify(this.infoWallet) |
|||
uni.navigateTo({ |
|||
url: '/pages/menu/sendToken/index?item=' + itemm |
|||
}) |
|||
}, |
|||
goDetail(item, index) { |
|||
let itemm = JSON.stringify(this.trxs2[index]) |
|||
uni.navigateTo({ |
|||
url: '/pages/menu/transction/detail2/index?item=' + itemm |
|||
}) |
|||
|
|||
}, |
|||
change(index) { |
|||
console.log(index) |
|||
this.current = index; |
|||
console.log(this.current) |
|||
|
|||
}, |
|||
getInfo() { |
|||
this.param.address = this.address2 |
|||
const post = api.addressbtc( |
|||
this.param |
|||
) |
|||
post.then(res => { |
|||
this.trxs2 = res.data.data[0].txs |
|||
}) |
|||
}, |
|||
// 拿btc账单 |
|||
getWalletInfo() { |
|||
if (this.infoWallet.coinList[0].xname == 'Bitcoin') { |
|||
// this.address = item.address |
|||
// this.address2 = item.address |
|||
this.address2 = '14sA8jqYQgMRQV9zUtGFvpeMEw7YDn77SK'; |
|||
this.address = '14sA8jqYQgMRQV9zUtGFvpeMEw7YDn77SK'; |
|||
this.param.address = this.address |
|||
this.userObject = this.infoWallet |
|||
const post = api.addressbtc( |
|||
this.param |
|||
) |
|||
post.then(res => { |
|||
if (res.data.code == 404) { |
|||
this.showInfo = true; |
|||
return; |
|||
} |
|||
if (res.data.data[0].network == 'BTC') { |
|||
this.trxs = res.data.data[0].txs |
|||
console.log(this.trxs, 7777) |
|||
for (var i = 0; i < this.trxs.length; i++) { |
|||
for (var j = 0; j < this.trxs[i].inputs.length; j++) { |
|||
this.trxs[i].inputs[j].address = this.trxs[i].inputs[j].address.substring(0, |
|||
6) + '...' + this.trxs[i].inputs[j].address.substring(30, this.trxs[i] |
|||
.inputs[j].address.length); |
|||
this.trxs[i].inputs[j].value = parseFloat(this.trxs[i].inputs[j].value) |
|||
.toFixed(5) |
|||
|
|||
} |
|||
this.trxs[i].time = index.formatyymmddhhmmss(this.trxs[i].time); |
|||
} |
|||
for (var i = 0; i < this.trxs.length; i++) { |
|||
for (var j = 0; j < this.trxs[i].outputs.length; j++) { |
|||
if (this.trxs[i].outputs[j].address != undefined) { |
|||
this.trxs[i].outputs[j].address = this.trxs[i].outputs[j].address |
|||
.substring(0, 6) + '...' + this.trxs[i].outputs[j].address.substring( |
|||
30, this.trxs[i].outputs[j].address.length); |
|||
this.trxs[i].outputs[j].value = parseFloat(this.trxs[i].outputs[j].value) |
|||
.toFixed(5) |
|||
} |
|||
} |
|||
} |
|||
} |
|||
|
|||
}) |
|||
this.address = this.address.substring(0, 6) + '...' + this.address.substring(30, this.address.length); |
|||
this.getInfo() |
|||
} |
|||
} |
|||
}, |
|||
onLoad(option) { |
|||
const item = JSON.parse(option.item); |
|||
this.infoWallet = item |
|||
this.getWalletInfo(); |
|||
|
|||
}, |
|||
onReachBottom() { |
|||
this.param.pageSize += 5; |
|||
this.getWalletInfo() |
|||
} |
|||
}; |
|||
</script> |
|||
<style scoped> |
|||
page { |
|||
background: #FAFAFA; |
|||
} |
|||
</style> |
|||
|
|||
<style> |
|||
@import './index.css'; |
|||
</style> |
@ -0,0 +1,109 @@ |
|||
.main{ |
|||
padding: 0 26rpx; |
|||
padding-bottom: 100rpx; |
|||
} |
|||
.main_con{ |
|||
background-color: #fff; |
|||
border-radius: 26rpx; |
|||
padding-left: 26rpx; |
|||
padding-right: 40rpx; |
|||
margin-top: 98rpx; |
|||
box-shadow: 0 10rpx 30rpx 10rpx #EAEDF0; |
|||
position: relative; |
|||
} |
|||
.main_con .title{ |
|||
text-align: center; |
|||
color: #6AD6A8; |
|||
font-size: 36rpx; |
|||
padding-top: 100rpx; |
|||
} |
|||
.flex{ |
|||
display: flex; |
|||
justify-content: space-between; |
|||
align-items: center; |
|||
} |
|||
.main_con .title_con{ |
|||
padding-top: 60rpx; |
|||
padding-bottom: 34rpx; |
|||
border-bottom: 2rpx solid #F6F8FD; |
|||
} |
|||
.main_con .title_con .text1{ |
|||
font-size: 40rpx; |
|||
font-size: 500; |
|||
} |
|||
.main_con .item{ |
|||
padding: 34rpx 0; |
|||
border-bottom: 2rpx solid #F6F8FD; |
|||
} |
|||
.main_con .item .text1{ |
|||
font-size: 28rpx; |
|||
color: #7D87A6; |
|||
} |
|||
.main_con .item .text2{ |
|||
font-size: 32rpx; |
|||
margin-top: 8rpx; |
|||
word-wrap: break-word; |
|||
} |
|||
.main_con .item .text2 .img{ |
|||
width: 48rpx; |
|||
height: 48rpx; |
|||
margin-left: 12rpx; |
|||
vertical-align: middle; |
|||
} |
|||
.goto{ |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
font-size: 28rpx; |
|||
color: #2F80ED; |
|||
padding: 60rpx 0 !important; |
|||
} |
|||
.yuan{ |
|||
width: 114rpx; |
|||
height: 114rpx; |
|||
border-radius: 50%; |
|||
background-color: #fff; |
|||
position: absolute; |
|||
top:-50rpx; |
|||
left: 50%; |
|||
transform: translateX(-50%); |
|||
} |
|||
.yuan .img1{ |
|||
width: 82rpx; |
|||
height: 82rpx; |
|||
position: absolute; |
|||
top: 50%; |
|||
left: 50%; |
|||
transform: translate(-50%,-50%); |
|||
} |
|||
.sett{ |
|||
width: 95%; |
|||
position: absolute; |
|||
bottom: -270rpx; |
|||
left: 50%; |
|||
transform: translateX(-50%); |
|||
z-index: 999; |
|||
} |
|||
.sett .top{ |
|||
background-color: #fff; |
|||
border-radius: 26rpx; |
|||
} |
|||
.sett .top .item{ |
|||
line-height: 120rpx; |
|||
text-align: center; |
|||
font-size: 34rpx; |
|||
color: #47548C; |
|||
border-bottom: 2rpx solid #A3AED0; |
|||
} |
|||
.sett .top .item:last-child{ |
|||
border-bottom: none; |
|||
} |
|||
.sett .cancel{ |
|||
line-height: 120rpx; |
|||
text-align: center; |
|||
border-radius: 26rpx; |
|||
background-color: #fff; |
|||
font-size: 34rpx; |
|||
color: #5B53FF; |
|||
margin-top: 30rpx; |
|||
} |
@ -0,0 +1,128 @@ |
|||
<template> |
|||
<view class=""> |
|||
<navigation :showBack="true" :bgnum="true"> |
|||
<text class="big_title"> |
|||
Transaction details |
|||
</text> |
|||
</navigation> |
|||
<view class="main"> |
|||
<view class="main_con"> |
|||
<view class="yuan"> |
|||
<image src="../../../../static/tongyonh/check-circle.png" mode="aspectFit" class="img1"></image> |
|||
</view> |
|||
<view class="title"> |
|||
Confirmed |
|||
</view> |
|||
<view class="title_con flex"> |
|||
<view class="text1"> |
|||
Amount |
|||
</view> |
|||
<view class="text1"> |
|||
{{info.value}} {{info.network}} |
|||
</view> |
|||
</view> |
|||
<view class="item"> |
|||
<view class="text1"> |
|||
Time |
|||
</view> |
|||
<view class="text2"> |
|||
{{info.time}} |
|||
</view> |
|||
</view> |
|||
<view class="item"> |
|||
<view class="text1"> |
|||
Tx Fee |
|||
</view> |
|||
<view class="text2"> |
|||
{{info.fee}} {{info.network}} |
|||
</view> |
|||
</view> |
|||
<view class="item"> |
|||
<view class="text1"> |
|||
Transaction ID |
|||
</view> |
|||
<view class="text2"> |
|||
{{info.txid}} |
|||
<image src="../../../../static/tongyonh/copy_24px.png" mode="aspectFit" class="img" @click="show = true"></image> |
|||
</view> |
|||
</view> |
|||
<view class="item"> |
|||
<view class="text1"> |
|||
Send address (me) |
|||
</view> |
|||
<view class="text2"> |
|||
{{info.outputs[0].address}} |
|||
<image src="../../../../static/tongyonh/copy_24px.png" mode="aspectFit" class="img"></image> |
|||
</view> |
|||
</view> |
|||
<view class="item"> |
|||
<view class="text1"> |
|||
Receiving address (others) |
|||
</view> |
|||
<view class="text2"> |
|||
{{info.inputs[0].address}} |
|||
<image src="../../../../static/tongyonh/copy_24px.png" mode="aspectFit" class="img"></image> |
|||
</view> |
|||
</view> |
|||
<view class="item goto"> |
|||
Go to your browser for more information |
|||
</view> |
|||
</view> |
|||
<view class="sett" v-if="show"> |
|||
<view class="top"> |
|||
<view class="item"> |
|||
Copy address |
|||
</view> |
|||
<view class="item"> |
|||
Add to Address Book |
|||
</view> |
|||
</view> |
|||
<view class="cancel" @click="show = false"> |
|||
Cancel |
|||
</view> |
|||
</view> |
|||
<u-mask :show="show" z-index="10"></u-mask> |
|||
|
|||
</view> |
|||
|
|||
|
|||
|
|||
|
|||
</view> |
|||
|
|||
|
|||
|
|||
</template> |
|||
|
|||
<script> |
|||
import cont from "@/components/navigation/navigation.vue" |
|||
import index from '@/utils/index.js' |
|||
export default { |
|||
data() { |
|||
return { |
|||
show: false, |
|||
info:{}, |
|||
} |
|||
}, |
|||
methods: { |
|||
|
|||
}, |
|||
onLoad(option) { |
|||
const item = JSON.parse(option.item); |
|||
console.log(item,78788) |
|||
this.info=item |
|||
this.info.time = index.formatyymmddhhmmss33(this.info.time); |
|||
|
|||
} |
|||
}; |
|||
</script> |
|||
<style scoped> |
|||
page { |
|||
background: #FAFAFA; |
|||
|
|||
} |
|||
</style> |
|||
|
|||
<style> |
|||
@import './index.css'; |
|||
</style> |
@ -0,0 +1,54 @@ |
|||
.maintoP{ |
|||
margin-top: 100rpx; |
|||
} |
|||
/* .aaa{ |
|||
background: #FAFAFA !important; |
|||
} */ |
|||
/* page { |
|||
background: #FAFAFA; |
|||
} */ |
|||
.main{ |
|||
padding: 0 48rpx; |
|||
margin-top: 50rpx; |
|||
background: #fff; |
|||
} |
|||
.title{ |
|||
height: 150rpx; |
|||
display: flex; |
|||
align-items: center; |
|||
font-size: 32rpx; |
|||
border-bottom: 2rpx solid #F6F8FD; |
|||
} |
|||
.flex{ |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: space-between; |
|||
} |
|||
.flex2{ |
|||
display: flex; |
|||
} |
|||
|
|||
.main_con .item .left .img{ |
|||
width: 80rpx; |
|||
height: 80rpx; |
|||
} |
|||
.main_con .item{ |
|||
height: 150rpx; |
|||
border-bottom: 2rpx solid #F6F8FD; |
|||
border-radius: 24rpx; |
|||
|
|||
} |
|||
.main_con .item .img{ |
|||
width: 48rpx; |
|||
height: 48rpx; |
|||
} |
|||
.main_con .textcon{ |
|||
margin-left: 20rpx; |
|||
} |
|||
.main_con .textcon .text1{ |
|||
font-size: 30rpx; |
|||
} |
|||
.main_con .textcon .text2{ |
|||
font-size: 24rpx; |
|||
color: #999; |
|||
} |
@ -0,0 +1,90 @@ |
|||
<template> |
|||
<view class="maintoP"> |
|||
<navigation :showBack="true" :bgnum="true" class="aaa"> |
|||
Add token |
|||
</navigation> |
|||
<view class="main"> |
|||
|
|||
<view class="title"> |
|||
Hot assets |
|||
</view> |
|||
<view class="main_con"> |
|||
<view class="item flex"> |
|||
<view class="left flex2"> |
|||
<image src="../../../../static/tongyonh/bye.png" mode="aspectFit" class="img"></image> |
|||
<view class="textcon"> |
|||
<view class="text1"> |
|||
LON |
|||
</view> |
|||
<view class="text2"> |
|||
3KbDfh...uW8W9YsUS |
|||
</view> |
|||
</view> |
|||
</view> |
|||
|
|||
<image src="../../../../static/tongyonh/IconGroup.png" mode="aspectFit" class="img"></image> |
|||
</view> |
|||
|
|||
<view class="item flex"> |
|||
<view class="left flex2"> |
|||
<image src="../../../../static/tongyonh/bye.png" mode="aspectFit" class="img"></image> |
|||
<view class="textcon"> |
|||
<view class="text1"> |
|||
LON |
|||
</view> |
|||
<view class="text2"> |
|||
3KbDfh...uW8W9YsUS |
|||
</view> |
|||
</view> |
|||
</view> |
|||
|
|||
<image src="../../../../static/tongyonh/IconGroup.png" mode="aspectFit" class="img"></image> |
|||
</view> |
|||
</view> |
|||
|
|||
|
|||
|
|||
</view> |
|||
|
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import cont from "@/components/navigation/navigation.vue" |
|||
import token from "@/utils/TokenUtil" |
|||
export default { |
|||
data() { |
|||
return { |
|||
|
|||
} |
|||
}, |
|||
|
|||
onLoad() { |
|||
|
|||
var _self = this; |
|||
uni.request({ |
|||
url: 'http://wallet-api.weirui0755.com/api/contract/getContractInfoList?chainName=ETH', //请求接口 |
|||
header: { |
|||
'content-type': 'application/x-www-form-urlencoded', //自定义请求头信息 |
|||
}, |
|||
success: (res) => { |
|||
console.log(res,111) |
|||
} |
|||
}); |
|||
|
|||
}, |
|||
methods: { |
|||
|
|||
|
|||
|
|||
}, |
|||
|
|||
}; |
|||
</script> |
|||
<style scoped> |
|||
|
|||
</style> |
|||
|
|||
<style> |
|||
@import './index.css'; |
|||
</style> |
Before Width: | Height: | Size: 709 B After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 235 B After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 692 B |
After Width: | Height: | Size: 638 B |
After Width: | Height: | Size: 5.0 KiB |
@ -1 +1 @@ |
|||
https://ide.dcloud.net.cn/build/download/be4eb480-3e4f-11ec-9ac3-33fd5f5b8cb1 |
|||
https://ide.dcloud.net.cn/build/download/7f5439d0-3e5a-11ec-a595-9f7faa4d5fb0 |
@ -1 +1 @@ |
|||
b1kWame9yBmby5SJKXZdMiBIfIZ7jYUx3ZnXt20I8klef9B7ZTIAFKtSJZT7FZLk+ftZh/JUWGSf//GVWFLmBaBDjcoQXo3oporxPdS2GelSgnavNzJTMUf9jwq5cXCH3jw6RJqTxTwECXfxwlxjReAQh1RDgEdvlsyNjWaXSB/JzpOS9SURRrs7HsIq/kUt5aExBW+7qASFM0t7Z1/D9NtZHij12DnrPKhn0jGkw5yE1eKAgRo/4Yf5c3rjExJMoz0iKb4ky/Gns2rOi3izSUs0TYuOYQ5mPk4XxaIX2nirHGD1QbLClOb1pD7kq4cwSM/mGkBNj2szuSKfEoh+ExGdl+eCkwR4rvXtm1weP3a4poVyrgGgEMe0cNeTeEvj9sTvi4Zk9e3u0rbZXE0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bTSmiXVXsgy89VWoXmaFcrD28K5kIc4QxVNuXpUrIvwX/JeQrKl+j+9vvhEDoWcHVqDTVy0U+zQ42Z7vnFz7y51mJUDxpFFa6jIxCJuJ8P01XAy9fn2pEFeMvP1UIMFlAHakorH71jocZegKzZLbuuMkqO8X77NCVdlHcQQIAHQG0Sm6BDCs14IWgW6kKJaPDCfZH7Lm89wUZAAtk6E6H+EvKAsXObmiRM83I4YxBqYwtCboZkPh2yThyAIscsU8OYS0AYxjs5TRecyanOPXz9bCcgrrl9hxXmbx+GUpLSgJlhJVSrj/rpaMtGcywi5lAlaL3gTWgtzi2PX9zNquQKrfKD4bi5v7bTyTCz+Hu2vWa0b5XRgv8WL43/MMrZmo5L383Tr7P6uvw4b1QhCjTD/JBtvUlQUjlLkCwQzc3Vz/4D9l30pHA9c1TebTeEpbmKn24KksmfMQqMub+RLsHqGBrxu7l4zYqR0gmHxU2EYnmQBqdAGYCrGrxzQnTiY5oKb/5JsyJJ3NmMRsg0YbYI9Jg0uPz7b6RhBTMaJLSYkOCax9fXgAcRpx0udrKjDxgoqAq1HWadiFlzYZ9bDs3js+bQ5c9ZJkGEdm5VbviJBGTDzU/9A2XXF83rf4qaffy26YfqV104pA3rcz9WVOq6iPFMhv4ZqgJqXwtamLNTbFEMXNB9FNgZzoSDB3RsnjYRCd89f8yztQQ4/GpbrMglur |
@ -1 +1 @@ |
|||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__1ECBEE1","name":"BITCOOO","version":{"name":"1.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#fff"},"compatible":{"ignoreVersion":true},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"icon-android-hdpi.png","xhdpi":"icon-android-xhdpi.png","xxhdpi":"icon-android-xxhdpi.png","xxxhdpi":"icon-android-xxxhdpi.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","proapp@2x":"unpackage/res/icons/167x167.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png"},"prerendered":"false"}},"splashscreen":{"androidStyle":"default","iosStyle":"default"},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"packagename":"uni.UNI1ECBEE1","password":"owEUXhIlikr8dyWwHO6U9A==","aliasname":"jack501","keystore":"google-keystore","custompermissions":true},"apple":{"devices":"universal"},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}},"orientation":["portrait-primary"]},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.2.12","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"launch_path":"__uniappview.html","adid":"127964190008"}} |
|||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__1ECBEE1","name":"BITCOOO","version":{"name":"1.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#fff"},"compatible":{"ignoreVersion":true},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"icon-android-hdpi.png","xhdpi":"icon-android-xhdpi.png","xxhdpi":"icon-android-xxhdpi.png","xxxhdpi":"icon-android-xxxhdpi.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","proapp@2x":"unpackage/res/icons/167x167.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png"},"prerendered":"false"}},"splashscreen":{"androidStyle":"default","iosStyle":"default"},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"packagename":"com.bitcooo","password":"owEUXhIlikr8dyWwHO6U9A==","aliasname":"jack501","keystore":"google-keystore","custompermissions":true},"apple":{"devices":"universal"},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}},"orientation":["portrait-primary"]},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.2.12","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"launch_path":"__uniappview.html","adid":"127964190008"}} |
Before Width: | Height: | Size: 235 B After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 235 B After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.1 KiB |
@ -1,8 +1,8 @@ |
|||
|
|||
var isReady=false;var onReadyCallbacks=[]; |
|||
var isServiceReady=false;var onServiceReadyCallbacks=[]; |
|||
var __uniConfig = {"pages":["pages/register/index","pages/menu/backUp/index","pages/menu/index/index","pages/register/index","pages/menu/wallet/cwallet/index","pages/menu/backUp/transPawKeyOut/index","pages/menu/backUp/transPawMan/index","pages/menu/backUp/backUpWord/index","pages/menu/backUp/backUp5/index","pages/menu/backUp/backUp4/index","pages/menu/market/index","pages/menu/backUp/transPaw/index","pages/menu/address/backUp/index","pages/menu/backUp/backUp2/index","pages/menu/wallet/add/index","pages/menu/backUp/backUp3/index","pages/menu/backUp/reSuccessful","pages/menu/wallet/mwallet/manage/index","pages/menu/sendToken/addAddress/index","pages/menu/sendToken/addAddress2/index","pages/menu/profile/index","pages/menu/address/index","pages/menu/sendToken/address/index","pages/menu/sendToken/transfer/index","pages/menu/sendToken/enPassword/index","pages/menu/setting/index","pages/menu/wallet/mwallet/index","pages/menu/transction/detail/index","pages/menu/sendToken/index","pages/menu/address/addressMangement/index","pages/menu/token/btc/index","pages/menu/wallet/index","pages/menu/load/index","pages/menu/discover/index","pages/menu/address/showKey/index","pages/menu/setting/payPassword/index","pages/menu/setting/addBtcNode/index","pages/menu/setting/btcNodeSetting/index","pages/menu/setting/nodeSetting/index","pages/menu/setting/currency/index","pages/menu/setting/lang/index","pages/menu/about/index","pages/menu/about/Privacy/index","pages/menu/about/terms/index","pages/menu/address/improtKey/index"],"window":{"navigationBarTextStyle":"black","navigationBarBackgroundColor":"#fff","style":{"app-plus":{"titleNView":false}}},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"BITCOOO","compilerVersion":"3.2.12","entryPagePath":"pages/register/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}}; |
|||
var __uniRoutes = [{"path":"/pages/register/index","meta":{"isQuit":true},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/index/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/wallet/cwallet/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/transPawKeyOut/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/transPawMan/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/backUpWord/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/backUp5/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/backUp4/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/market/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/transPaw/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/address/backUp/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/backUp2/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/wallet/add/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/backUp3/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/reSuccessful","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/wallet/mwallet/manage/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/sendToken/addAddress/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/sendToken/addAddress2/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/profile/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/address/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/sendToken/address/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/sendToken/transfer/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/sendToken/enPassword/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/setting/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/wallet/mwallet/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/transction/detail/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/sendToken/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/address/addressMangement/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/token/btc/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/wallet/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/load/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/discover/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/address/showKey/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/setting/payPassword/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/setting/addBtcNode/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/setting/btcNodeSetting/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/setting/nodeSetting/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/setting/currency/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/setting/lang/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/about/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/about/Privacy/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/about/terms/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/address/improtKey/index","meta":{},"window":{"navigationStyle":"custom"}}]; |
|||
var __uniConfig = {"pages":["pages/menu/collection/addCollection/index","pages/menu/collection/collectionDetail/index","pages/menu/collection/index","pages/register/index","pages/menu/token/btctrue/index","pages/menu/sendToken/transfer2/index","pages/menu/wallet/otherCoin/index","pages/menu/index/index","pages/menu/backUp/index","pages/menu/wallet/cwallet/index","pages/menu/backUp/transPawKeyOut/index","pages/menu/backUp/transPawMan/index","pages/menu/backUp/backUpWord/index","pages/menu/backUp/backUp5/index","pages/menu/backUp/backUp4/index","pages/menu/market/index","pages/menu/backUp/transPaw/index","pages/menu/address/backUp/index","pages/menu/backUp/backUp2/index","pages/menu/wallet/add/index","pages/menu/backUp/backUp3/index","pages/menu/backUp/reSuccessful","pages/menu/wallet/mwallet/manage/index","pages/menu/sendToken/addAddress/index","pages/menu/sendToken/addAddress2/index","pages/menu/profile/index","pages/menu/address/index","pages/menu/sendToken/address/index","pages/menu/sendToken/transfer/index","pages/menu/sendToken/enPassword/index","pages/menu/setting/index","pages/menu/wallet/mwallet/index","pages/menu/transction/detail2/index","pages/menu/transction/detail/index","pages/menu/sendToken/index","pages/menu/address/addressMangement/index","pages/menu/token/btc/index","pages/menu/wallet/index","pages/menu/load/index","pages/menu/discover/index","pages/menu/address/showKey/index","pages/menu/setting/payPassword/index","pages/menu/setting/addBtcNode/index","pages/menu/setting/btcNodeSetting/index","pages/menu/setting/nodeSetting/index","pages/menu/setting/currency/index","pages/menu/setting/lang/index","pages/menu/about/index","pages/menu/about/Privacy/index","pages/menu/about/terms/index","pages/menu/address/improtKey/index"],"window":{"navigationBarTextStyle":"black","navigationBarBackgroundColor":"#fff","style":{"app-plus":{"titleNView":false}}},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"BITCOOO","compilerVersion":"3.2.12","entryPagePath":"pages/menu/collection/addCollection/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}}; |
|||
var __uniRoutes = [{"path":"/pages/menu/collection/addCollection/index","meta":{"isQuit":true},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/collection/collectionDetail/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/collection/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/register/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/token/btctrue/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/sendToken/transfer2/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/wallet/otherCoin/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/index/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/wallet/cwallet/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/transPawKeyOut/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/transPawMan/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/backUpWord/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/backUp5/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/backUp4/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/market/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/transPaw/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/address/backUp/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/backUp2/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/wallet/add/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/backUp3/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/backUp/reSuccessful","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/wallet/mwallet/manage/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/sendToken/addAddress/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/sendToken/addAddress2/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/profile/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/address/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/sendToken/address/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/sendToken/transfer/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/sendToken/enPassword/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/setting/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/wallet/mwallet/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/transction/detail2/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/transction/detail/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/sendToken/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/address/addressMangement/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/token/btc/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/wallet/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/load/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/discover/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/address/showKey/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/setting/payPassword/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/setting/addBtcNode/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/setting/btcNodeSetting/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/setting/nodeSetting/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/setting/currency/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/setting/lang/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/about/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/about/Privacy/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/about/terms/index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/menu/address/improtKey/index","meta":{},"window":{"navigationStyle":"custom"}}]; |
|||
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); |
|||
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); |
|||
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}}); |
|||
|
Before Width: | Height: | Size: 709 B After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 235 B After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 692 B |
After Width: | Height: | Size: 638 B |
After Width: | Height: | Size: 5.0 KiB |
@ -0,0 +1,75 @@ |
|||
.main_con{ |
|||
padding: 0 24rpx; |
|||
padding-bottom: 250rpx; |
|||
} |
|||
.main_con .title{ |
|||
padding-top: 36rpx; |
|||
padding-bottom: 28rpx; |
|||
font-size: 36rpx; |
|||
font-weight: 500; |
|||
color: #0F1828; |
|||
} |
|||
.main{ |
|||
background-color: #fff; |
|||
border-radius: 15rpx; |
|||
padding: 0 24rpx; |
|||
box-shadow: 0 20rpx 20rpx 20rpx #ECEFF2; |
|||
} |
|||
.flex{ |
|||
display: flex; |
|||
justify-content: space-between; |
|||
} |
|||
|
|||
.title_item{ |
|||
padding-top: 32rpx; |
|||
padding-bottom: 20rpx; |
|||
border-bottom: 2rpx solid #F4F7FE; |
|||
color: #7D87A6; |
|||
font-size: 26rpx; |
|||
} |
|||
.title_item .imgcon{ |
|||
|
|||
} |
|||
.green{ |
|||
background-color: #6FCF97; |
|||
} |
|||
.red{ |
|||
background-color: #EB5757; |
|||
} |
|||
.main .item{ |
|||
border-bottom: 2rpx solid #F4F7FE; |
|||
padding-top: 40rpx; |
|||
padding-bottom: 32rpx; |
|||
} |
|||
.main .item .text2{ |
|||
color: #0F1828; |
|||
font-size: 30rpx; |
|||
font-weight: 500; |
|||
} |
|||
.main .item .text2 .t1{ |
|||
color: #7D87A6; |
|||
font-size: 28rpx; |
|||
} |
|||
.main .item .btn{ |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
border-radius: 8rpx; |
|||
color: #fff; |
|||
font-size: 30rpx; |
|||
height: 80rpx; |
|||
width: 176rpx; |
|||
} |
|||
|
|||
.main .item .btn .img1{ |
|||
width: 48rpx; |
|||
height: 48rpx; |
|||
} |
|||
.Colorimg{ |
|||
display: block; |
|||
width: 24rpx; |
|||
height: 24rpx; |
|||
} |
|||
.title_item .imgcon{ |
|||
margin-left: 14rpx; |
|||
} |
@ -0,0 +1,25 @@ |
|||
import Vue from 'vue'; |
|||
import qs from 'qs' |
|||
const api = { |
|||
//---------------------------------account---------------------------------
|
|||
siteInfo: () => Vue.prototype.$axios.get('/api/home/siteInfo'), |
|||
// address: (params) => Vue.prototype.$axios.post('/api/eth/address',params),
|
|||
appVersion: (params) => Vue.prototype.$axios.get('/api/home/versionUpgrade?'+qs.stringify(params)), |
|||
address: (params) => Vue.prototype.$axios.get('/eth/api/eth/address/normal/'+params.address+'/'+params.pageNum+'/'+params.pageSize), |
|||
// appVersion: (params) => Vue.prototype.$axios.get('/api/home/versionUpgrade?'+qs.stringify(params))
|
|||
// addressbtc: (params) => Vue.prototype.$axios.get('/btc/api/address/btc/?'+qs.stringify(params)),
|
|||
addressbtc: (params) => Vue.prototype.$axios.get('/btc/api/address/btc/'+params.address+'/'+params.pageNum+'/'+params.pageSize), |
|||
addresstrx: (params) => Vue.prototype.$axios.get('/trx/api/trx/address/normal/'+params.address+'/'+params.pageNum+'/'+params.pageSize), |
|||
|
|||
// 拿btc余额
|
|||
getBtcBalance: () => Vue.prototype.$axios.get('/btc/api/address/balancetrend/btc/1AgypUbAc4joKjsiVd66mtemwXgFKXWa1R'), |
|||
getOtherCoin: (params) => Vue.prototype.$axios.get('/api/contract/getContractInfoList/ETH'), |
|||
// 质押地址
|
|||
// getPledgeAddress: (params) => Vue.prototype.$axios.get('/api/identity/getPledgeAddress/'+params),
|
|||
|
|||
//--------------------------------- free ---------------------------------
|
|||
|
|||
} |
|||
|
|||
|
|||
export default api |
@ -0,0 +1,220 @@ |
|||
import Vue from 'vue' |
|||
import axios from 'axios' |
|||
import qs from 'qs' |
|||
import md5 from 'js-md5'; |
|||
import constant from './constant.js'; |
|||
|
|||
// #ifdef H5
|
|||
let baseURL = constant.H5 |
|||
let key = constant.H5_KEY |
|||
// #endif
|
|||
// #ifdef APP-PLUS
|
|||
let baseURL = constant.APP |
|||
let key = constant.APP_KEY |
|||
// #endif
|
|||
const service = axios.create({ |
|||
withCredentials: true, |
|||
crossDomain: true, |
|||
baseURL, |
|||
timeout: 160000 |
|||
}) |
|||
|
|||
// request拦截器,在请求之前做一些处理
|
|||
// service.interceptors.request.use(
|
|||
// config => {
|
|||
// // console.log('showDialog' + Vue.prototype.$showDialog)
|
|||
// if (Vue.prototype.$showDialog) {
|
|||
// uni.showLoading({
|
|||
// title: 'loading',
|
|||
// mask: true
|
|||
// })
|
|||
// }
|
|||
// const ticket = uni.getStorageSync('ticket')
|
|||
// let dataStr = [];
|
|||
// if (config.method == 'get') {
|
|||
// if (config.url.split('?').length > 1) {
|
|||
// dataStr = config.url.split('?')[1].split('&');
|
|||
// }
|
|||
|
|||
// }
|
|||
// if (config.method == 'post') {
|
|||
// dataStr = qs.stringify(config.data).split('&');
|
|||
// // dataStr = JSON.stringify(config.data);
|
|||
// // dataStr = config.data;
|
|||
|
|||
// // dataStr = config.data.name;
|
|||
|
|||
// }
|
|||
// config.data = {};
|
|||
// dataStr.forEach(function(e) {
|
|||
// console.log(e,666666)
|
|||
// config.data[e.split('=')[0]] = e.split('=')[1];
|
|||
// });
|
|||
// // console.log(ticket)
|
|||
// if (ticket != '') {
|
|||
// config.data['ticket'] = ticket
|
|||
// }
|
|||
// var keys = [];
|
|||
// let sign = '';
|
|||
// for (var k in config.data)
|
|||
// keys.push(k);
|
|||
// keys.sort(function(a, b) {
|
|||
// return a < b ? -1 : 1;
|
|||
// })
|
|||
// // console.log("keys===========");
|
|||
// keys.forEach(function(e) {
|
|||
// if (config.data[e] || config.data[e] == '') {
|
|||
// sign += e + '=' + config.data[e] + '&'
|
|||
// }
|
|||
|
|||
// });
|
|||
|
|||
// // console.log("签名参数===========");
|
|||
// // console.log(config.url);
|
|||
// // console.log(sign + key);
|
|||
// sign = md5(sign + key);
|
|||
// // console.log("提交参数===========");
|
|||
// // console.log(qs.stringify(config.data));
|
|||
// if (config.method == 'post') {
|
|||
// // console.log(config.data,666666)
|
|||
// config.data['sign'] = sign
|
|||
// config.data = qs.stringify(config.data)
|
|||
// // config.data = config.data.replace(/(\w+)\s*, \s*(\w+)/, "$2 $1");
|
|||
// // if(config.url == ){
|
|||
|
|||
// // #ifdef H5
|
|||
// if(config.url=='/api/index/goodsList'){
|
|||
// config.data = config.data.replaceAll('20', "");
|
|||
// config.data = config.data.replaceAll('26', "");
|
|||
// config.data = config.data.replaceAll('2F', "/");
|
|||
// config.data = config.data.replaceAll('28', "");
|
|||
// config.data = config.data.replaceAll('29', "");
|
|||
// // config.data = config.data.replaceAll('%C2%AE', "®");
|
|||
// }
|
|||
// // #endif
|
|||
// // #ifdef APP-PLUS
|
|||
// if(config.url=='/api/index/goodsList'){
|
|||
// config.data = config.data.replace(new RegExp('20',"gm"), "");
|
|||
// config.data = config.data.replace(new RegExp('26',"gm"), "");
|
|||
// config.data = config.data.replace(new RegExp('2F',"gm"), "/");
|
|||
// config.data = config.data.replace(new RegExp('28',"gm"), "");
|
|||
// config.data = config.data.replace(new RegExp('29',"gm"), "");
|
|||
// // config.data = config.data.replaceAll('%C2%AE', "®");
|
|||
// }
|
|||
// // #endif
|
|||
|
|||
|
|||
// // config.data = config.data.replaceAll('2528',"(");
|
|||
// // config.data = config.data.replaceAll('2529',")");
|
|||
// // config.data = config.data.replaceAll('252',"%2F");
|
|||
|
|||
// // }
|
|||
|
|||
// }
|
|||
// if (config.method == 'get') {
|
|||
// if (ticket != '') {
|
|||
// config.url = config.url + '&ticket=' + ticket + '&sign=' + sign
|
|||
// } else {
|
|||
// config.url = config.url + '?sign=' + sign
|
|||
// }
|
|||
// }
|
|||
// // console.log(config)
|
|||
// return config;
|
|||
// },
|
|||
// error => {
|
|||
// // console.log(error); // for debug
|
|||
// return Promise.reject(error);
|
|||
// }
|
|||
// );
|
|||
|
|||
// //配置成功后的拦截器
|
|||
// service.interceptors.response.use(res => {
|
|||
// console.log('过期了吗')
|
|||
// uni.hideLoading()
|
|||
// // console.log(res)
|
|||
// // console.log(res.data)
|
|||
// // console.log(res.data.data[0].nameAlias)
|
|||
// if (res.data.success || res.data.errCode === 'USER.0017') {
|
|||
// // console.log(res.data.success)
|
|||
// return res.data
|
|||
// } else {
|
|||
// uni.showToast({
|
|||
// title: res.data.errMsg,
|
|||
// icon: 'none',
|
|||
// duration: 1500
|
|||
// })
|
|||
// if (res.data.errCode === 'USER.0010') {
|
|||
|
|||
// uni.removeStorage({
|
|||
// key: 'logInfo',
|
|||
// success: function (res) {
|
|||
// uni.reLaunch({url: '/pages/login/index'})
|
|||
// },
|
|||
// fail: (err) => {
|
|||
// }
|
|||
// });
|
|||
|
|||
|
|||
// // #ifdef H5
|
|||
// var url = location.href;
|
|||
// if(url.indexOf('pages')>-1){
|
|||
// uni.setStorage({
|
|||
// key: 'url',
|
|||
// data: url,
|
|||
// success: function() {
|
|||
// console.log('success')
|
|||
// }
|
|||
// });
|
|||
// }else{
|
|||
// uni.removeStorageSync('url')
|
|||
// }
|
|||
// // #endif
|
|||
|
|||
|
|||
// }
|
|||
// uni.$emit('refreshQrCode')
|
|||
// return Promise.reject(res.data.errMsg);
|
|||
// }
|
|||
// }, error => {
|
|||
// return Promise.reject(error)
|
|||
// })
|
|||
|
|||
|
|||
axios.defaults.adapter = function(config) { //自己定义个适配器,用来适配uniapp的语法
|
|||
return new Promise((resolve, reject) => { |
|||
// console.log(config)
|
|||
var settle = require('axios/lib/core/settle'); |
|||
var buildURL = require('axios/lib/helpers/buildURL'); |
|||
|
|||
uni.request({ |
|||
method: config.method.toUpperCase(), |
|||
// url: config.baseURL + buildURL(config.url, config.params, config.paramsSerializer),
|
|||
url: config.baseURL + '/' + config.url, |
|||
header: config.headers, |
|||
data: config.data, |
|||
dataType: config.dataType, |
|||
responseType: config.responseType, |
|||
sslVerify: config.sslVerify, |
|||
complete: function complete(response) { |
|||
//console.log("执行完成:",config.baseURL + buildURL(config.url, config.params, config.paramsSerializer),response.data)
|
|||
response = { |
|||
data: response.data, |
|||
status: response.statusCode, |
|||
errMsg: response.errMsg, |
|||
header: response.header, |
|||
config: config |
|||
}; |
|||
|
|||
settle(resolve, reject, response); |
|||
}, |
|||
fail: res => { |
|||
uni.showToast({ |
|||
title: res, |
|||
icon: 'none', |
|||
duration: 1500 |
|||
}) |
|||
} |
|||
}) |
|||
}) |
|||
} |
|||
export default service |
@ -0,0 +1,14 @@ |
|||
const H5 = '/start'; |
|||
const H5_KEY = 'key=wHoUuIiQ8rOSNrxzl1WZJSymZlmXMJ7w'; |
|||
|
|||
const APP = 'https://api.wingold6.com'; //正式
|
|||
// const APP = 'https://apitest.luck-work.com'; //测试
|
|||
const APP_KEY = 'key=wHoUuIiQ8rOSNrxzl1WZJSymZlmXMJ7w'; |
|||
const showDialog = true |
|||
export default { |
|||
H5, |
|||
H5_KEY, |
|||
APP, |
|||
APP_KEY, |
|||
showDialog, |
|||
} |