weui+jquery实现手机端移动端翻牌子抽奖抽红包效果代码

代码语言:html

所属分类:红包

代码描述:weui+jquery实现手机端移动端翻牌子抽奖抽红包效果代码

代码标签: 移动 端翻 牌子 抽奖 红包 效果

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

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,viewport-fit=cover">
    <title>翻牌抽奖</title>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/weui.min.css">
    <style>
        body {
            background: #E7244B;
        }

        .top {
            width: 100%;
        }

        .weui-grid {
            padding: 0;
        }

        .weui-grid:before {
            border: 0;
        }

        .weui-grid:after {
            border: 0;
        }

        .weui-grids:before {
            border: 0;
        }

        a {
            text-align: center;
        }

        .img {
            width: 90%;
            margin-top: 1vw;
            height: 33.9vw;
        }

        .info {
            display: none;
            margin-top: 1vw;
            width: 0;
            height: 33.9vw;
        }

        .shelter {
            opacity: 0.5;
            filter: alpha(opacity=50);
        }

        .bottom {
            width: 100%;
        }
    </style>
</head>
<body>
    <img class="top" src="//repo.bfw.wiki/bfwrepo/images/fanpaizi/top.jpg" alt="">
    <div style="width:100%; height:10vw; line-height:6vw; text-align:center;">
        <span style="color:#fff; font-size:4vw;">您共有 10 次翻牌机会</span>
    </div>
    <div class="weui-grids" id="draw">
        <a href="javascript:;" id="a1" class="weui-grid">
            <img class="img" src="//repo.bfw.wiki/bfwrepo/images/fanpaizi/1.png" alt="">
            <img class="info" src="//repo.bfw.wiki/bfwrepo/images/fanpaizi/1-back.png" alt="">
        </a>
        <a href="javascript:;" id="a2" class="weui-grid">
            <img class="img" src="//repo.bfw.wiki/bfwrepo/images/fanpaizi/2.png" alt="">
            <img class="info" src="//repo.bfw.wiki/bfwrepo/images/fanpaizi/2-back.png" alt="">
        </a>
        <a href="javascript:;" id="a3" class="weui-grid">
            <img class="img" src="//repo.bfw.wiki/bfwrepo/images/fanpaizi/3.png" alt="">
            <img class="info" src="//repo.bfw.wiki/bfwrepo/images/fanpaizi/3-back.png" alt="">
        </a>
        <a href="javascript:;" id="a4" class="weui-grid">
            <img class="img" src="//repo.bfw.wiki/bfwrepo/images/fanpaizi/4.png" alt="">
            <img class="info" src="//repo.bfw.wiki/bfwrepo/images/fanpaizi/4-back.png" alt="">
        </a>
        <a href="javascript:;" id="a5" class="weui-grid">
            <img class="img" src="//repo.bfw.wiki/bfwrepo/images/fanpaizi/5.png" alt="">
            <img class="info" src="//repo.bfw.wiki/bfwrepo/images/fanpaizi/5-back.png" alt="">
        </a>
        <a href="javascript:;" id="a6" class="weui-grid">
            <img class="img" src="//repo.bfw.wiki/bfwrepo/images/fanpaizi/6.png" alt="">
            <img class="info" src="//repo.bfw.wiki/bfwrepo/images/fanpaizi/6-back.png" alt="">
        </a>
        <a href="javascript:;" id="a7" class="weui-grid">
            <img class="img" src="//repo.bfw.wiki/bfwrepo/images/fanpaizi/7.png" alt="">
            <img class="info" src="//repo.bfw.wiki/bfwrepo/images/fanpaizi/7-back.png" alt="">
        </a>
        <a href="javascript:;" id="a8" class="weui-grid">
            <img class="img" src="//repo.bfw.wiki/bfwrepo/images/fanpaizi/8.png" alt="">
            <img class="info" src="//repo.bfw.wiki/bfwrepo/images/fanpaizi/8-back.png" alt="">
        </a>
        <a href="javascript:;" id="a9" class=&q.........完整代码请登录后点击上方下载按钮下载查看

网友评论0