123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- <template>
- <view class="center">
- <view class="top">
- <view class="title flex">
- <view class="xian"></view>
- <view class="title-font">
- 充币二维码TRC20
- </view>
- </view>
- <view class="erweima-box">
- <view class="erweima-font">
- 请转入USDT
- </view>
- <view class="erweima">
- <image :src="image" mode="scaleToFill"></image>
- </view>
- </view>
- <view class="btn" @click="domFile">
- 保存二维码
- </view>
- </view>
- <view class="top">
- <view class="title flex">
- <view class="xian"></view>
- <view class="title-font">
- 充币地址
- </view>
- </view>
- <view class="address">
- {{num}}
- </view>
- <view class="btn" style="margin-top: 50rpx;" @click="setData">
- 复制充币地址
- </view>
- </view>
- <view class="top info">
- 请勿向上述地址充值人任何非USDT资产,否则资产将不可追回。<br>
- USDT冲币仅支持ERC2.0以太坊上的资产,其他USDT将无法上帐,请您谅解。<br>
- 您充值至上述地址后,需要整个网络节点确认,1次网络确认后到账,2次网络确认后即可提币。<br>
- 最小充值金额:100USDT,小于最小金额的充值将不会上帐且无法退回。<br>
- 请通过IMTOKEN充值,充值时在备注栏填写 个人的用户ID,如果用户ID错误,将导致您无法入账,请注意确认。
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- num:"TEn1gLWumRj1FfjQ927vSoQrUCqKhuiWV2",
- image:'../../static/re/re1.png'
- }
- },
- methods:{
- domFile(){
- uni.downloadFile({
- url:this.image,
- success:(e) => {
- console.log(e);
- uni.showToast({
- title:'下载成功!'
- })
- },
- fail(e) {
- uni.showToast({
- title:'复制失败',
- icon:false
- })
- console.log(e);
- }
- })
- },
- setData(){
- // #ifdef APP-PLUS
- uni.setClipboardData({
- data:this.num,
- success: (e) => {
- uni.showToast({
- title:'复制成功!',
- })
- },
- fail(e) {
- uni.showToast({
- title:'复制失败',
- icon:false
- })
- console.log(e);
- }
- })
- // #endif
-
- }
- }
- }
- </script>
- <style lang="scss">
- .center,page {
- height: 100%;
- background: #F3F3F3;
- }
- .top:first-child {
- margin-top: 0;
- }
- .top {
- margin-top: 20rpx;
- width: 100%;
- height: auto;
- background: #FFFFFF;
- padding: 26rpx 30rpx 50rpx;
- .erweima-box {
- margin-top: 77rpx ;
- .erweima-font {
- text-align: center;
- font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #333333;
- }
- .erweima {
- margin: 16rpx auto 0;
- width: 188rpx;
- height: 188rpx;
- image {
- width: 100%;
- height: 100%;
- }
- }
- }
- .address {
- margin-top: 86rpx;
- text-align: center;
- }
- }
- .title {
- justify-content: flex-start;
- align-items: center;
- .xian {
- width: 2rpx;
- height: 30rpx;
- background: linear-gradient(90deg, #F95B2F, #60BAB0, #45969B);
- }
- .title-font {
- padding-left: 16rpx;
- font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #333333;
- }
- }
- .btn{
- margin: 36rpx auto 0;
- width: 500rpx;
- height: 60rpx;
- background: linear-gradient(90deg, #60BAB0, #60BAB0, #45969B);
- border-radius: 30px;
- line-height: 60rpx;
- text-align: center;
- font-size: 26rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #FFFFFF;
- }
- .info {
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #333333;
- line-height: 42rpx;
- }
- </style>
|