-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauctionDetails.html
291 lines (279 loc) · 11.6 KB
/
auctionDetails.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
<!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/hsycmsAlert.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/chEnText.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/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="auctionDetails" v-cloak>
<!-- head -->
<header class="header center-85 flex header-fixed">
<div class="header-left flex">
<a class="header-left-logo" href="index.html"><img src="images/Brand.png" ></a>
<ul class="nav-header flex">
<li><a class="language-tc" href="index.html">{{chEnTextHtml[lang].home}}</a></li>
<li class="current"><a class="language-tc" href="auctionDetails.html?id=5">{{chEnTextHtml[lang].anction}}</a></li>
</ul>
</div>
<div class="header-right flex">
<div class="header-dl flex"></div>
<div style="padding-left:30px;">
<a class="header-right-wallet" href="javascript:void(0);" onclick="showwalletaddress(event)"></a>
<div class="header-right-net" style="color: #fff;">{{chEnTextHtml[lang].netVer}} <span class="networkVersion"></span><span class="toggleNetWork" style="display: inline-block;
margin-left: 6px;
padding: 0 10px;
border-radius: 4px;
cursor: pointer;border: 1px solid #9567FF">{{chEnTextHtml[lang].switchNetVision}}</span></div>
</div>
<p class="switchlanguagebox">
<a class="language-change-en">EN</a>
<span style="margin: 0 16px;">|</span>
<a class="language-change-ch">繁</a>
</p>
</div>
<div class="mobile-head-icon none" onclick="headIconShow()"><img src="./images/Ellipse 93.png" ></div>
<div class="mobile-menu none" onclick="menuShow()"><img src="./images/menu.png" ></div>
</header>
<div class="menu-list menu-list1 none">
<div class="menu-list-con">
<div class="menu-list-con-tit flex">
<img class="logo" src="./images/Brand.png" >
<img class="menu-close" src="./images/Close.png" onclick="menuHide()" >
</div>
<!-- <div class="menu-list-con-meail none"></div> -->
<ul class="moblic_h5_navbox">
<li><a class="language-tc" href="index.html">{{chEnTextHtml[lang].home}}</a></li>
<li class="mobile-connect-wallet"><a class="language-tc" onclick="connectWallet()" href="javascript:void(0);">{{chEnTextHtml[lang].connectwallet}}</a></li>
<li class="switchlanguage_mobile">
<a href="/mobile/en/auctionDetails.html?id=5">EN</a>
<span style="margin: 0 16px;">|</span>
<a href="/mobile/tc/auctionDetails.html?id=5">繁</a>
</li>
</ul>
<!-- <div class="menu-list-con-tit-lan flex">
<a class="language-change-en">EN</a>
<span></span>
<a class="language-change-ch">繁</a>
</div> -->
<div class="menu-list-con-tit-btn mobile-login"><a class="flex" href="login.html">{{chEnTextHtml[lang].login}}</a></div>
<!-- <div class="menu-list-con-tit-btn mobile-logout none" onclick="confirm()"><a class="flex" href="javascript:void(0);">Logout</a></div> -->
</div>
</div>
<div class="menu-list menu-list2 none">
<div class="menu-list-con">
<div class="menu-list-con-tit flex">
<img class="logo" src="./images/Brand.png" >
<img class="menu-close" src="./images/Close.png" onclick="headIconHide()" >
</div>
<div class="menu-list-con-meail"></div>
<ul>
<li><a class="language-tc" href="myaccount.html">{{chEnTextHtml[lang].account}}</a></li>
<li><a class="language-tc" href="myorders.html">{{chEnTextHtml[lang].orders}}</a></li>
<li><a class="language-tc" href="myassets.html">{{chEnTextHtml[lang].assets}}</a></li>
<li><a class="language-tc" href="mywallet.html">{{chEnTextHtml[lang].wallet}}</a></li>
</ul>
<div class="menu-list-con-tit-btn mobile-logout" onclick="logoutConfirm()"><a class="flex" href="javascript:void(0);"><span class="language-tc">{{chEnTextHtml[lang].logout}}</span></a></div>
</div>
</div>
<div class="bid center-80 flex">
<div class="bid-left"><img class="full-screen detail-media" onclick="toggleScreen()" src="./images/fullscreen.png"/><img onclick="toggleVideo()" class="voice detail-media" src="./images/mute.png"/></div>
<div class="bid-right">
<div class="bid-right-tit">----</div>
<div class="bid-right-edition flex">
<div class="details-right-creator-img"><img src="./images/t8.png" ></div>
<span>@ATTA</span>
<div class="details-right-creator-edition">{{chEnTextHtml[lang].edition}}</div>
</div>
<div class="bid-right-des">
<p></p>
</div>
<div class="bid-right-status">
<div class="bid-right-status-current flex"><span>{{chEnTextHtml[lang].bidding}}</span><span>BUSD 22,000</span></div>
<div class="bid-right-status-time flex"><span>{{chEnTextHtml[lang].endtime}}</span><span> {{chEnTextHtml[lang].biddingEnd}}</span></div>
</div>
<div class="bid-right-tip" data-address="0"></div>
<div class="bid-right-btn flex">
<span class="flex" onclick="baojia(this)" data-status="0" data-price="0">{{chEnTextHtml[lang].minmonery}}<font style="margin-left:3px;">0</font></span>
<button id="make_offer" data-sign="0" data-status="0" type="button">{{chEnTextHtml[lang].quotation}}</button>
</div>
</div>
</div>
<div class="bids-list center-80">
<div class="bids-list-tit">{{chEnTextHtml[lang].record}}(<font>0</font>)</div>
<ul>
<!-- <li class="flex">
<div class="bids-list-person flex">
<div class="bids-list-person-head"><img src="./images/Ellipse%2093.png" ></div>
<div class="bids-list-person-name">By tomomitsu</div>
</div>
<div class="bids-list-time">2021/4/22 12:56:32</div>
<div class="bids-list-busd">$BUSD 40000.00</div>
</li> -->
</ul>
<div class="bids-list-pagination none flex">
<div class="bids-list-pagination-prev flex"><img src="./images/prev.png" ></div>
<div class="bids-list-pagination-page flex">
<a class="active" href="javascript:void(0);">1</a>
<a href="javascript:void(0);">2</a>
<a href="javascript:void(0);">3</a>
<a href="javascript:void(0);">4</a>
<a href="javascript:void(0);">5</a>
</div>
<div class="bids-list-pagination-next flex"><img src="./images/Frame.png" ></div>
</div>
</div>
<!-- 播放视频 -->
<div class="video-mask none"></div>
<div class="video-model none" onclick="closeVideo()">
<div class="video-model-container flex">
<div>
<img onclick="closeVideo()" class="video-close" src="./images/Close.png" >
<video autoplay="autoplay" loop="loop" src="" controls="controls"></video>
</div>
</div>
</div>
<!--普通弹窗-->
<div class="hsycms-model-mask" id="mask-alert" ></div>
<div class="hsycms-model hsycms-model-alert auction-model" id="alert">
<div class="hscysm-model-title">提示</div>
<div class="hsycms-model-text auction-model-text"></div>
<div class="hsycms-model-btn">
<button type="button ok">{{chEnTextHtml[lang].confirmation}}</button>
</div>
</div>
<!-- loading -->
<div class="hsycms-model-mask" id="mask-loading"></div>
<div class="hsycms-model hsycms-model-loading" id="loading">
<div class="hsycms-model-load">
<span></span>
<span></span>
<span></span>
</div>
<div class="hsycms-model-text">{{chEnTextHtml[lang].loading}}</div>
</div>
<!-- foot -->
<div class="footerpage"></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: '#auctionDetails',
data: function () {
return {
chEnTextHtml: {
"TC":{
home : "首頁",
anction :"拍賣",
connectwallet : "未連接錢包",
login : "登入/註冊",
account : "我的帳戶",
orders : "我的訂單",
assets : "我的資產",
wallet : "我的錢包",
logout : "登出",
edition : "第0版",
bidding : "當前競價:",
biddingEnd:"競標結束",
endtime : "拍賣剩餘時間:",
minmonery : "最低競價 BUSD ",
quotation : "報價",
record : "競標記錄 ",
confirmation : "確認",
loading : "正在加载",
netVer: '當前主網: ',
switchNetVision: "切换"
},
"EN":{
switchNetVision: "Switch",
netVer: 'Current network: ',
home : "HOME",
anction :"AUCTION",
connectwallet : "Connect Wallet",
login : "Login/Sign up",
account : "My Account",
orders : "My Orders",
assets : "My Assets",
wallet : "My Wallet",
logout : "Log out",
edition : "Edition 0",
bidding : "Current bid:",
biddingEnd:"Bid ended",
endtime : "Bidding ends in:",
minmonery : "Bidding ends in:",
quotation : "Make offer",
record : "Bids ",
confirmation : "Got it",
loading : "loading",
}
},
lang:''
}
},
created() {
let self = this;
this.lang = getCookie("lang")?getCookie("lang"):'TC';
this.languageType = getCookie("lang")?getCookie("lang"):'TC';
if(this.languageType == 'TC'){
document.title = '拍賣';
}else{
document.title = 'AUCTION';
}
}
})
</script>
<script src="./js/auctionDetails.js" type="text/javascript" charset="utf-8"></script>
<script>
function toggleVideo(){
var voiceStatus = document.getElementsByTagName('video')[0].muted
document.getElementsByTagName('video')[0].muted = !voiceStatus
switch (voiceStatus) {
case true:
document.getElementsByClassName('voice')[0].src = './images/voice.png'
break;
case false:
document.getElementsByClassName('voice')[0].src = './images/mute.png'
break;
}
}
function toggleScreen(){
FullScreen()
}
function FullScreen() {
var ele = document.getElementsByTagName('video')[0];
if (ele.requestFullscreen) {
ele.requestFullscreen();
} else if (ele.mozRequestFullScreen) {
ele.mozRequestFullScreen();
} else if (ele.webkitRequestFullScreen) {
ele.webkitRequestFullScreen();
}
}
</script>
</html>