jquery.rotate实现手机端中秋幸运大转盘抽奖活动效果代码

代码语言:html

所属分类:大转盘

代码描述:jquery.rotate实现手机端中秋幸运大转盘抽奖活动效果代码,包含中奖纪录及查看规则,分享好友、中奖名单滚动等效果

代码标签: jquery rotate 手机端 大转盘 抽奖 活动

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html>

<head>
   
<meta charset="utf-8">
   
<title>jquery.rotate手机端抽奖转盘专题页面</title>
   
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
   
<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">
   
<meta name="description" content="">
   
<meta name="keywords" content="">
   
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/liMarquee.css">

   
<style>
        .str_wrap { overflow:hidden; width:100%; font-size:12px; line-height:16px; position:relative; -moz-user-select: none; -khtml-user-select: none; user-select: none;   background:#f6f6f6; white-space:nowrap; }
   
    .str_wrap.str_active { background:#f1f1f1; }
    .str_move {  white-space:nowrap; position:absolute;  top:0;  left:0; cursor:move; }
    .str_move_clone { display:inline-block; vertical-align:top; position:absolute;  left:100%; top:0; }
    .str_vertical .str_move_clone { left:0; top:100%; }
    .str_down .str_move_clone { left:0; bottom:100%; }
    .str_vertical .str_move,
    .str_down .str_move { white-space:normal; width:100%; right: 0; margin: 0 auto; }
    .str_static .str_move,
    .no_drag .str_move,
    .noStop .str_move{ cursor:inherit; }
    .str_wrap img { max-width:none !important;   }
    .Winners-box,.str_wrap { overflow: hidden;  height: 100px; background: #1b9380; width:94%; margin: 10px auto; border-radius: 6px; }
   
    .Winners-box h1 { text-align: center; font-size: 1.4rem; color: #fff; margin: 10px 0; }
    .str_move.str_origin a { display: block; width: 100%; overflow: hidden; color: #fff; margin: 10px 0; }
    .str_move.str_origin a span { float: right; }
   
            html,body {
                font-size:18px;
                font-family:PingFang-Medium,PingFangSC-Regular,Heiti,Heiti SC,DroidSans,DroidSansFallback,"Microsoft YaHei",sans-serif;
                -webkit-font-smoothing:antialiased
            }
            body,ul,li,p,h2,img,div {
                margin:0;
                padding:0;
                border:0;
                list-style:none;
                font-weight:normal
            }
            body {
                background:#f3f3f3;
                color:#333;
                margin:0 auto;
                font-size:18px;
                font-weight:normal;
                line-height:normal;
            }
            a,a:link {
                color:#232326;
                text-decoration:none
            }
            a:active,a:hover {
                text-decoration:none
            }
            * {
                -webkit-appearance:none;
                -webkit-tap-highlight-color:rgba(255,255,255,0)
            }
            em {
                font-style:normal
            }
           
            @media only screen and (max-width:310px) and (min-width:300px) {
                html {
                font-size:9px
            }
            }@media only screen and (max-width:320px) and (min-width:310px) {
                html {
                font-size:9px
            }
            }@media only screen and (max-width:360px) and (min-width:320px) {
                html {
                font-size:9px
            }
            }@media only screen and (max-width:360px) and (min-width:350px) {
                html {
                font-size:10px
            }
            }@media only screen and (max-width:480px) and (min-width:360px) {
                html {
                font-size:10px
            }
            }@media only screen and (max-width:480px) and (min-width:470px) {
                html {
                font-size:13.33333px
            }
            }@media only screen and (max-width:560px) and (min-width:480px) {
                html {
                font-size:13.33333px
            }
            }@media only screen and (max-width:570px) and (min-width:560px) {
                html {
                font-size:15.83333px
            }
            }@media only screen and (max-width:640px) and (min-width:570px) {
                html {
                font-size:15.83333px
            }
            }@media only screen and (max-width:640px) and (min-width:630px) {
                html {
                font-size:17.77778px
            }
            }@media only screen and (max-width:710px) and (min-width:640px) {
                html {
                font-size:17.77778px
            }
            }/*��ֹ����*/
            html {
                -webkit-touch-callout:none;
                -webkit-user-select:none;
                -khtml-user-select:none;
                -moz-user-select:none;
                -ms-user-select:none;
                user-select:none;
            }
           
            html,body {
                overflow-x:hidden;
                max-width:100%;
                min-width:320px;
                min-height:100vh
            }
            a:focus,a:hover {
                color:#333
            }
            .img {
                width:100%;
                height:auto;
                display:block
            }
           
           
            ::-webkit-scrollbar {
           
            display:none;
            }
           
            .box-body {
                background:#62c7b7;
            }
            .record-txt a {
                display:block;
                color:#fff;
            }
            .record-txt {
                position:absolute;
                top:5%;
                right:0;
                z-index:9999;
                font-size:1rem;
                padding:8px 2%;
                background:#1b9380;
                border-radius:25px 0 0 25px;
            }
            .top-title {
                padding-top:20px;
                position:relative;
            }
            .top-title > div > img,.center-box > div > img {
                width:100%;
            }
            .top-title .dzp-1 {
                width:75%;
                margin:0 auto;
            }
            .top-title .dzp-2 {
                width:8%;
                position:absolute;
                top:9%;
                left:9%;
            }
            .top-title .dzp-22 {
                width:8%;
                position:absolute;
                top:16%;
                right:7%;
            }
            .top-title .dzp-3 {
                width:14%;
                position:absolute;
                bottom:5%;
                left:17%;
            }
            .top-title .dzp-4 {
                width:22%;
                position:absolute;
                bottom:4%;
                right:4%;
            }
            .clear-k {
                clear:both;
            }
            .center-box .dzp-14 {
                width:75%;
                position:absolute;
                top:-8%;
                right:0;
                left:0;
                margin:0 auto;
                z-index:9;
            }
            .center-box .dzp-6 {
                top:22%;
                width:14%;
                position:absolute;
                right:7%;
            }
            .center-box {
                position:relative;
            }
            .center-box > div {
                position:absolute;
            }
            .center-box .dzp-7 {
                width:12%;
                top:37%;
                left:6%;
            }
            .center-box .dzp-5 {
                width:15%;
                top:2%;
                left:-2%;
            }
            .center-box .dzp-15 {
                width:15%;
                bottom:11%;
                right:18%;
            }
            .center-box .dzp-8 {
                bottom:23%;
                right:15%;
                width:6%;
            }
            .center-box .dzp-88 {
                width:8%;
                bottom:22%;
                left:14%;
            }
            .center-box .dzp-14 > div img {
                width:100%;
            }
            .rom {
                height:98%;
                /* animation:myfirst 2s infinite linear;
                */
                width:100% !important;
                border-radius:50%;
            }
            .but-a p {
                font-size:1.1rem;
                margin-top:15px;
                color:#220f0b;
            }
            .but-a a {
                padding:1rem 4rem;
                background:#1b9380;
                border-radius:6px;
                color:#fff;
                font-size:1.3rem;
                margin-right:.8rem;
            }
            .but-a {
                text-align:center;
                margin-top:-8px;
                width:96%;
                margin:0 auto;
            }
            .center-box .dzp-14 > div {
                position:absolute;
                width:37%;
                left:0;
                top:0;
           
                animation-iteration-count:3;
           
                -webkit-animation-iteration-count:3;
           
              -moz-transform:rotate(-2deg);
                -webkit-transform:rotate(-2deg);
                -o-transform:rotate(-2deg);
                -ms-transform:rotate(-2deg);
                transform:rotate(-2deg);
            }
            .center-box .dzp-14 > div > div {
                width:35%;
                position:absolute;
                left:30%;
                top:4%;
            }/*Plugin CSS*/
            .Winners-box {
                overflow:hidden;
                height:100px;
                background:#1b9380;
                width:94%;
                margin:10px auto;
                border-radius:6px;
            }
            .Winners-box h1 {
                text-align:center;
                font-size:1.4rem;
                color:#fff;
                margin:10px 0;
            }
            .rule-box {
                width:90%;
                margin:0 auto;
                color:#fff;
                font-size:1.3rem;
                background:#1b9380;
                border-radius:6px;
                padding:2%;
            }
            .rule-box .title-radius em.right {
                top:0;
                right:0;
            }
            .rule-box .title-radius em {
                position:absolute;
                width:8px;
                height:8px;
                background:#fff;
                border-radius:50%;
                display:block;
            }
            .rule-box .title-radius {
                text-align:center;
                font-size:1.4rem;
                position:relative;
            }
            .content-box p {
                margin:6px 0;
                font-size:1.1rem;
                width:100%;
                overflow:hidden;
            }
            .content-box h2 {
                font-size:1.3rem;
                text-align:center;
                margin:10px 0;
            }
            .content-box p span {
                margin-left:1%;
                float:left;
                width:90%;
            }
            .content-box p em {
                float:left;
                width:4%;
            }
            /* .share {
                transition:all 0.5s;
                display:flex;
                bottom:-50px;
                left:0;
                width:100%;
                margin-bottom:-50vh;
                position:fixed;
                padding:1rem;
                border-rad.........完整代码请登录后点击上方下载按钮下载查看

网友评论0