|
|
|
@ -176,6 +176,8 @@ import {getLeftPrice} from '@/api/currency.js'; |
|
|
|
|
import {submit, reStart} from '@/api/yyyf'; |
|
|
|
|
import {logOut} from '@/api/user'; |
|
|
|
|
import {signUp, signIn} from '@/api/user'; |
|
|
|
|
import {yyyfUrl} from '@/api/app.js'; |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
name: 'entry', |
|
|
|
|
data() { |
|
|
|
@ -189,6 +191,7 @@ export default { |
|
|
|
|
remainingTime: 0, |
|
|
|
|
//防止重复提交 |
|
|
|
|
isSubmit: false, |
|
|
|
|
newwin: undefined, |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
components: { |
|
|
|
@ -245,6 +248,26 @@ export default { |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
winOpen: function() { |
|
|
|
|
if (this.newwin != undefined) { |
|
|
|
|
if ( |
|
|
|
|
navigator.userAgent.indexOf('Firefox') != -1 || |
|
|
|
|
navigator.userAgent.indexOf('Chrome') != -1 |
|
|
|
|
) { |
|
|
|
|
this.newwin.location.href = 'about:blank'; |
|
|
|
|
this.newwin.close(); |
|
|
|
|
} else { |
|
|
|
|
this.newwin.opener = null; |
|
|
|
|
this.newwin.open('', '_self'); |
|
|
|
|
this.newwin.close(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
this.newwin = window.open( |
|
|
|
|
'/', |
|
|
|
|
'onlywin', |
|
|
|
|
'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=yes, height=600,width=1100,left=180,top=100' |
|
|
|
|
); |
|
|
|
|
}, |
|
|
|
|
closeWindow: function() { |
|
|
|
|
if ( |
|
|
|
|
navigator.userAgent.indexOf('Firefox') != -1 || |
|
|
|
@ -298,10 +321,9 @@ export default { |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
goIndex() { |
|
|
|
|
window.open('/', '_blank'); |
|
|
|
|
this.winOpen(); |
|
|
|
|
}, |
|
|
|
|
submitExam: function() { |
|
|
|
|
debugger; |
|
|
|
|
let self = this; |
|
|
|
|
//防止重复提交 |
|
|
|
|
if (!self.isSubmit) { |
|
|
|
@ -435,13 +457,13 @@ export default { |
|
|
|
|
let yyyfToken = localStorage.getItem('yyyfToken'); |
|
|
|
|
this.isSubmit = localStorage.getItem('isSubmit') == 'true' ? true : false; |
|
|
|
|
if (yyyfToken == '' || yyyfToken == undefined) { |
|
|
|
|
this.$alert('未从以渔有方登录,点击确定关闭浏览器', '提示', { |
|
|
|
|
this.$alert('未从以渔有方登录,点击确定返回登录', '提示', { |
|
|
|
|
type: 'error', |
|
|
|
|
showClose: false, |
|
|
|
|
confirmButtonText: '确定', |
|
|
|
|
confirmButtonClass: 'btn-self-style', |
|
|
|
|
callback: () => { |
|
|
|
|
ths.closeWindow(); |
|
|
|
|
window.location.href = yyyfUrl; |
|
|
|
|
}, |
|
|
|
|
}); |
|
|
|
|
} else { |
|
|
|
@ -456,14 +478,17 @@ export default { |
|
|
|
|
.entry-content { |
|
|
|
|
background: url(../images/entry/bg.jpg); |
|
|
|
|
background-size: cover; |
|
|
|
|
|
|
|
|
|
.enrty-content__header { |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
|
|
.centerNav { |
|
|
|
|
margin-right: 24px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.entry-btn { |
|
|
|
|
width: 265px; |
|
|
|
|
height: 30px; |
|
|
|
@ -471,6 +496,7 @@ export default { |
|
|
|
|
padding-bottom: 32px; |
|
|
|
|
margin: 0 auto 0 auto; |
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
|
|
img { |
|
|
|
|
width: 100%; |
|
|
|
|
height: 100%; |
|
|
|
@ -479,6 +505,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.entry-title { |
|
|
|
|
font-family: NotoSansHans-Regular; |
|
|
|
|
font-size: 20px; |
|
|
|
@ -491,8 +518,10 @@ export default { |
|
|
|
|
margin: 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.paylist { |
|
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
&::before { |
|
|
|
|
content: ''; |
|
|
|
|
display: block; |
|
|
|
@ -505,6 +534,7 @@ export default { |
|
|
|
|
background-size: cover; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.usdList { |
|
|
|
|
margin: 0 auto; |
|
|
|
|
width: 815px; |
|
|
|
@ -521,16 +551,20 @@ export default { |
|
|
|
|
&.wechat { |
|
|
|
|
background-image: url(../images/entry/wechat.png); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.bank { |
|
|
|
|
background-image: url(../images/entry/bank.png); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.alipay { |
|
|
|
|
background-image: url(../images/entry/alipay.png); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
a { |
|
|
|
|
display: block; |
|
|
|
|
margin-top: 85px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
p { |
|
|
|
|
font-family: NotoSansHans-DemiLight; |
|
|
|
|
font-size: 10px; |
|
|
|
@ -539,11 +573,13 @@ export default { |
|
|
|
|
letter-spacing: 0px; |
|
|
|
|
color: #08c7cf; |
|
|
|
|
margin: 6px 8px; |
|
|
|
|
|
|
|
|
|
&:first-child { |
|
|
|
|
margin-top: 58px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.tabs { |
|
|
|
|
color: #fff; |
|
|
|
|
background: url(../images/entry/wallet1.png); |
|
|
|
@ -552,13 +588,16 @@ export default { |
|
|
|
|
height: 315px; |
|
|
|
|
width: 965px; |
|
|
|
|
padding-top: 145px; |
|
|
|
|
|
|
|
|
|
.el-tabs { |
|
|
|
|
width: 755px; |
|
|
|
|
margin: 60px auto 14px auto; |
|
|
|
|
|
|
|
|
|
/deep/ .el-tabs__header { |
|
|
|
|
margin-bottom: 8px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/DEEP/ .el-tabs__nav { |
|
|
|
|
/DEEP/ .el-tabs__item { |
|
|
|
|
font-family: NotoSansHans-Regular; |
|
|
|
@ -568,12 +607,14 @@ export default { |
|
|
|
|
line-height: 40px; |
|
|
|
|
letter-spacing: 0px; |
|
|
|
|
color: #00f5ff; |
|
|
|
|
|
|
|
|
|
&.is-active { |
|
|
|
|
color: #00f5ff; |
|
|
|
|
font-size: 20px; |
|
|
|
|
font-weight: bold; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/DEEP/ .el-tabs__active-bar { |
|
|
|
|
width: 0 !important; |
|
|
|
|
height: 0 !important; |
|
|
|
@ -584,18 +625,23 @@ export default { |
|
|
|
|
margin-left: 5%; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/DEEP/ .el-tabs__nav-wrap::after { |
|
|
|
|
background-color: #00f5ff; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.el-tab-pane { |
|
|
|
|
width: 100%; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.tabs-flex { |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
|
|
.flex-1 { |
|
|
|
|
flex: 1; |
|
|
|
|
|
|
|
|
|
p { |
|
|
|
|
font-family: NotoSansHans-DemiLight; |
|
|
|
|
font-size: 10px; |
|
|
|
|