SchoolPhysicalExamination/application/code/view/qrcode/ordinary_code.html

183 lines
5.6 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1,minimum-scale=1, maximum-scale=1,user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta http-equiv="Access-Control-Allow-Origin" content="*">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no, email=no">
<meta name="full-screen" content="true">
<meta name="screen-orientation" content="portrait">
<meta name="x5-fullscreen" content="true">
<meta name="360-fullscreen" content="true">
<title>跳转页</title>
<script src="/x_admin/js/jq.js"></script>
<style>
*{
padding: 0 0;
margin: 0 0;
}
.big_box{
width: 100vw;
height: 100vh;
position: absolute;
top: 0;
left: 0;
}
.content_1{
width: 100vw;
height: 100vh;
position: absolute;
top: 0;
left: 0;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: center;
overflow: auto;
padding: 10vw;
box-sizing: border-box;
font-size: 4vw;
}
.title{
width: 60vw;
height: 20vw;
margin-bottom: 0vw;
margin-top: 7vw;
background: url('/download_img/code_qrcode_title2.png') no-repeat;
background-size: contain;
background-position: center;
}
.jump1{
width: 60vw;
height: 18vw;
margin-bottom: 0vw;
margin-top: 20vw;
background: url('/download_img/code_qrcode_cwxb.png') no-repeat;
background-size: contain;
background-position: center;
}
.jump2{
width: 60vw;
height: 18vw;
margin-bottom: 0vw;
margin-top: 20vw;
background: url('/download_img/code_qrcode_xbklcz.png') no-repeat;
background-size: contain;
background-position: center;
}
.ts{
width: 100vw;
height: 100vh;
position: absolute;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.8);
}
.ts_box{
width: 85vw;
height: 27vw;
position: absolute;
top: 20%;
left: 12%;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: space-evenly;
align-items: flex-start;
font-size: 5vw;
color: white;
font-weight: bold;
}
.ts_pic{
width: 32vw;
height: 40vw;
position: absolute;
top: 0%;
right: 0%;
background: url(/tsf/registered_arrow.png) no-repeat;
background-size: contain;
background-position: center;
}
a{
margin-top: 10vw;
text-decoration: none;
color: blue;
}
.bouncing-button-container {
transform-origin: center bottom; /* 设置旋转的基点在底部中心 */
animation: rotateAndRaise 2s ease-in-out forwards infinite;
}
@keyframes rotateAndRaise {
0% {
transform: rotate(0deg) translateY(0); /* 初始状态,不旋转也不升高 */
}
10% {
transform: rotate(5deg); /* 初始状态,不旋转也不升高 */
}
20% {
transform: rotate(0deg) translateY(-50px); /* 50%时旋转15°并升高50px */
}
30% {
transform: rotate(-5deg); /* 初始状态,不旋转也不升高 */
}
40% {
transform: rotate(0deg) translateY(0px); /* 结束状态往右旋转30°并升高50px */
}
100% {
transform: rotate(0deg) translateY(0px); /* 结束状态往右旋转30°并升高50px */
}
}
.bottom_d{
width: 100vw;
height: 65vw;
position: absolute;
bottom: 0;
left: 0;
background: url('/download_img/bottom.png') no-repeat;
background-position: bottom;
background-size: contain;
}
</style>
</head>
<body id="box_k">
<div class="big_box">
<div class="content_1">
<div class="title"></div>
<div class="jump1" onclick="jump('cwxb')"></div>
<div class="jump2" onclick="jump('xbklcz')"></div>
<div class="bottom_d"></div>
</div>
</div>
</body>
</html>
<script>
function isWeixin() {
var ua = navigator.userAgent.toLowerCase();
return /micromessenger/i.test(ua);
}
function isIOS() {
var userAgent = navigator.userAgent || navigator.vendor || window.opera;
return /iPad|iPhone|iPod/.test(userAgent) && !window.MSStream;
}
function jump(str){
if(str == 'xbklcz'){
window.location.href = 'weixin://dl/business/?appid=wx3e50e84030fe0d1e&path=pages/index/index';
}else{
window.location.href = 'weixin://dl/business/?appid=wx82a3493aa3ef1b6a&path=pages/index/index';
}
}
</script>