196 lines
4.7 KiB
HTML
196 lines
4.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>入口</title>
|
|
<style type="text/css">
|
|
*{
|
|
margin: 0;
|
|
padding: 0;
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
body{
|
|
height: 100vh;
|
|
width: 100vw;
|
|
min-width:1024px;
|
|
min-height: 600px;
|
|
background: url({$Think.ONLINE_CHIP_STATIC_DOMAIN}static/onlinechip/img/new_bg.jpg) center bottom no-repeat #030203;
|
|
-webkit-background-size: cover;
|
|
background-size: cover;
|
|
}
|
|
.title{
|
|
position:absolute;
|
|
font-size: 2.8vw;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
left: 4vw;
|
|
top: 0;
|
|
}
|
|
/*.title:after{
|
|
content: "";
|
|
position: absolute;
|
|
bottom: -0.8vw;
|
|
left: 0;
|
|
width:3vw;
|
|
border-bottom: 0.4vw solid #fff;
|
|
}*/
|
|
.item{
|
|
width:19vw;
|
|
height: 25.8vw;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
margin-left: -9.5vw;
|
|
margin-top: -13vw;
|
|
z-index: 1;
|
|
-webkit-transform: scale(0.9);
|
|
-moz-transform: scale(0.9);
|
|
-o-transform: scale(0.9);
|
|
transform: scale(0.9);
|
|
-webkit-transition:all 0.5s;
|
|
-moz-transition:all 0.5s;
|
|
-o-transition:all 0.5s;
|
|
transition:all 0.5s;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
background-color: #2a2522;
|
|
background-image: linear-gradient(180deg, #2a2522 0%, #292522 79%, #000 100%);
|
|
-webkit-box-shadow:0 3px 13px 0px #545454;
|
|
-moz-box-shadow:0 3px 13px 0px #545454;
|
|
box-shadow: 0 3px 13px 0px #545454;
|
|
|
|
}
|
|
.item img{
|
|
width:100%;
|
|
}
|
|
.item.left{
|
|
margin-left: -28vw;
|
|
}
|
|
.item.center{
|
|
z-index: 2;
|
|
}
|
|
.item.right{
|
|
margin-left: 9vw;
|
|
}
|
|
.item.hover{
|
|
-webkit-transform: scale(1.1);
|
|
-moz-transform: scale(1.1);
|
|
-o-transform: scale(1.1);
|
|
transform: scale(1.1);
|
|
border: 2px solid #f7f120;
|
|
z-index: 99;
|
|
}
|
|
.item .btn{
|
|
color: #fff;
|
|
text-align: center;
|
|
border-radius: 100px;
|
|
position: absolute;
|
|
font-size: 1.2vw;
|
|
width:12vw;
|
|
left:50%;
|
|
bottom: 1.2vw;
|
|
margin-left: -6vw;
|
|
padding:0.3vw 0;
|
|
background-color: #4d4e4b;
|
|
background-image: linear-gradient(180deg, #4d4e4b 0%, #171312 50%, #14100f 100%);
|
|
border: 1px solid #4d4e4b;
|
|
}
|
|
.item.hover .btn{
|
|
background-color: #f7ee99;
|
|
background-image: linear-gradient(180deg, #f7ee99 0%, #78681c 50%, #c0b141 100%);
|
|
-webkit-transition:all 0.5s;
|
|
-moz-transition:all 0.5s;
|
|
-o-transition:all 0.5s;
|
|
transition:all 0.5s;
|
|
}
|
|
.item.hover .btn:hover{
|
|
background-color: #f7ee99;
|
|
background-image: linear-gradient(180deg, #ffed48 0%, #78681c 50%, #ffed48 100%);
|
|
}
|
|
.item.hover .btn:active{
|
|
opacity: 0.5;
|
|
}
|
|
.language{
|
|
position: absolute;
|
|
right: 2vw;
|
|
top: 2vw;
|
|
color: #fff;
|
|
font-size: 1.2vw;
|
|
}
|
|
.language .icon-box{
|
|
text-align: right;
|
|
}
|
|
.language .icon-box span{
|
|
display: inline-block;
|
|
width:30px;
|
|
height: 22px;
|
|
margin:5px 2px;
|
|
cursor: pointer;
|
|
}
|
|
.language .icon-box span:hover{
|
|
-webkit-box-shadow:0 0px 2px 0px #f7f120;
|
|
-moz-box-shadow:0 0px 2px 0px #f7f120;
|
|
box-shadow: 0 0px 2px 0px #f7f120;
|
|
}
|
|
.language .icon-box .en{
|
|
background: url({$Think.ONLINE_CHIP_STATIC_DOMAIN}static/onlinechip/img/lan_en.jpg) no-repeat;
|
|
-webkit-background-size: 100%;
|
|
background-size: 100%;
|
|
}
|
|
.language .icon-box .cn{
|
|
background: url({$Think.ONLINE_CHIP_STATIC_DOMAIN}static/onlinechip/img/lan_chs.jpg) no-repeat;
|
|
-webkit-background-size: 100%;
|
|
background-size: 100%;
|
|
}
|
|
.language .icon-box .cht{
|
|
background: url({$Think.ONLINE_CHIP_STATIC_DOMAIN}static/onlinechip/img/lan_cht.jpg) no-repeat;
|
|
-webkit-background-size: 100%;
|
|
background-size: 100%;
|
|
}
|
|
.qrcode{
|
|
position: absolute;
|
|
right: 2vw;
|
|
bottom: 3vw;
|
|
width:11vw;
|
|
max-width: 190px;
|
|
}
|
|
</style>
|
|
<script src="{$Think.ONLINE_CHIP_STATIC_DOMAIN}static/onlinechip/js/jquery-2.1.0.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="title" style="top:20px;">
|
|
<img src="{$Think.LOGO_PATH}" />
|
|
</div>
|
|
<div class="item center hover" onclick="onlinechip()" style="left:32%;">
|
|
<img src="{$Think.ONLINE_CHIP_STATIC_DOMAIN}static/onlinechip/img/netthrow.jpg">
|
|
<span class="btn">{:lang('onlinechip_entrance')}</span>
|
|
</div>
|
|
<div class="item right" onclick="agentUrl()">
|
|
<img src="{$Think.ONLINE_CHIP_STATIC_DOMAIN}static/onlinechip/img/agent.jpg">
|
|
<span class="btn">{:lang('agent_entrance')}</span>
|
|
</div>
|
|
<img class="qrcode" src="{$Think.QRCODE_PATH}">
|
|
</body>
|
|
<script type="text/javascript">
|
|
$(function(){
|
|
$(".item").hover(function(){
|
|
$(this).addClass("hover").siblings().removeClass("hover")
|
|
},function(){
|
|
$(this).removeClass("hover")
|
|
$('.item.center').addClass("hover")
|
|
})
|
|
})
|
|
function onlinechip(){
|
|
window.location.href = "{$Think.ONLINE_CHIP}";
|
|
}
|
|
function agentUrl(){
|
|
window.location.href = "{:url('agent/login/index')}";
|
|
}
|
|
</script>
|
|
</html>
|
|
|