bitcooo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

134 lines
2.6 KiB

<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="scroll">
<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
<text v-if="info.type=='out'"> (others)</text>
<text v-else>(me)</text>
</view>
<view class="text2">
{{info.from}}
<image src="../../../../static/tongyonh/copy_24px.png" mode="aspectFit" class="img"></image>
</view>
</view>
<view class="item">
<view class="text1">
Receiving address
<text v-if="info.type=='in'">(me)</text>
<text v-else>(others)</text>
</view>
<view class="text2">
{{info.to}}
<image src="../../../../static/tongyonh/copy_24px.png" mode="aspectFit" class="img"></image>
</view>
</view>
</view>
<view class="item goto">
Go to your browser for more information
</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>
</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) {
this.info=uni.getStorageSync('transDetail')
this.info.time = index.formatyymmddhhmmss33(this.info.time);
}
};
</script>
<style scoped>
page {
background: #FAFAFA;
}
</style>
<style>
@import './index.css';
</style>