-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauctionPayment.html
125 lines (122 loc) · 5.56 KB
/
auctionPayment.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title></title>
<link rel="stylesheet" type="text/css" href="./css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="./css/normalize.css"/>
<link rel="stylesheet" type="text/css" href="./css/stackedCards.css"/>
<link rel="stylesheet" type="text/css" href="./css/swiper.css"/>
<link rel="stylesheet" type="text/css" href="./css/hsycmsAlert.css"/>
<link rel="stylesheet" type="text/css" href="./css/style.css"/>
<link rel="stylesheet" type="text/css" href="./css/media.css"/>
<link rel="stylesheet" type="text/css" href="./css/auction.css"/>
<link rel="stylesheet" type="text/css" href="./css/auctionMedia.css"/>
<script src="./js/jquery-2.1.1.min.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/web3-provider.min.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/web3.min.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/stackedCards.min.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/contractABI.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/chainCommon.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/chainSetting.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/hsycmsAlert.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/function.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/chainProvider.js" type="text/javascript" charset="utf-8"></script>
<script src="./js/chEnText.js" type="text/javascript" charset="utf-8"></script>
<!-- <script src="./js/base.min(1).js" type="text/javascript" charset="utf-8" id="base-min" title="eth" data-mode="prod"></script> -->
<script src="./js/common_1.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<div id="auctionPayment" v-cloak>
<div class="bid-container flex">
<div class="bid-payment">
<div class="bid-payment-close" onclick="backAuction()"><img src="./images/Close.png" ></div>
<div class="bid-payment-con flex">
<div class="bid-payment-mobile-tit none flex"><span>{{chEnTextHtml[languageType].pay}}</span><img onclick="backAuction()" src="./images/Close.png" ></div>
<div class="bid-payment-left">
<div class="bid-payment-tit auction-name">----</div>
<div class="bid-payment-edition flex">
<div class="details-right-creator-img"><img src="./images/t8.png" ></div>
<span>@ATTA</span>
<div class="details-right-creator-edition auction-edition">{{chEnTextHtml[languageType].edition}}</div>
</div>
<div class="bid-payment-img"></div>
</div>
<div class="bid-payment-right">
<div class="bid-payment-right-tit">{{chEnTextHtml[languageType].pay}}</div>
<div class="bid-payment-tit bid-payment-tit-mobile none auction-name">----</div>
<div class="bid-payment-edition bid-payment-edition-mobile none auction-edition">{{chEnTextHtml[languageType].edition}}</div>
<div class="bid-payment-right-tip">BUSD</div>
<div class="bid-payment-right-info">
<div class="info-tit">{{chEnTextHtml[languageType].paid}}</div>
<div class="info-busd">{{chEnTextHtml[languageType].bid}} BUSD <span>0</span></div>
<div class="info-your-busd">{{chEnTextHtml[languageType].bidPrice}} BUSD <span>0</span></div>
</div>
<div class="bid-payment-right-address">
<div class="address-tit none">{{chEnTextHtml[languageType].wallet}}</div>
<div class="address-info none"></div>
<div class="no-connect-wallet"><span>{{chEnTextHtml[languageType].connectWallet}}</span><a id="connectWallet" href="javascript:void(0);">{{chEnTextHtml[languageType].nowConnet}}</a></div>
</div>
<div class="bid-payment-right-btn">
<div class="btn-tip none">{{chEnTextHtml[languageType].end}}</div>
<button id="pay_now" class="grey" data-status="0" type="button">{{chEnTextHtml[languageType].bidNow}}</button>
</div>
</div>
</div>
</div>
</div>
<div class="tips"></div>
</div>
</body>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script>
var app = new Vue({
el: '#auctionPayment',
data: function () {
return {
chEnTextHtml: {
"TC":{
pay:'支付',
edition:'第0版',
paid:"這是待付款的投標",
bid:"当前競標",
bidPrice:"您的競標價格為",
wallet:"當前使用的錢包:",
connectWallet:"請先連接您的錢包。",
nowConnet:"現在連接",
end:"競標結束後,您競標的BUSD將返回您的錢包。",
bidNow:"立即出價"
},
"EN":{
pay:'payment',
edition:'Edition 0',
paid:"This is the tender to be paid",
bid:"Current bid",
bidPrice:"Your bid price is",
wallet:"Wallet currently in use:",
connectWallet:"Please connect your wallet first.",
nowConnet:"Now connect",
end:"At the end of the auction, your busd will be returned to your wallet.",
bidNow:"Bid now"
}
},
languageType:''
}
},
created() {
let self = this;
this.languageType = getCookie("lang")?getCookie("lang"):'TC';
if(this.languageType == 'TC'){
document.title = '拍賣';
}else{
document.title = 'AUCTION';
}
},
methods: {}
})
</script>
<script src="./js/auctionPayment.js" type="text/javascript" charset="utf-8"></script>
</html>