Default.aspx 4.9 KB
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Quiz.WebSite.Default" %>
<%@ Import Namespace="Quiz.SiteBase" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" /> 
<meta name="format-detection" content="telephone=no">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <title>绍兴市柯桥区教育满意度调查</title>
    
    <link href="http://vote.on168.com.cn/jindu/assets/reset.css" rel="stylesheet"/>
<link href="http://vote.on168.com.cn/jindu/assets/style.css" rel="stylesheet"/>
<script src="http://vote.on168.com.cn/jindu/assets/jquery-1.8.3.min.js"></script>
   <style>
	html,body{ height:100%;}
	body{ background:#50b19d;}
	.footer{ position:absolute; bottom:0; z-index:10;  padding:5px 0; width:100%; left:0; text-align:center;line-height:18px; color:#005b48;}
	.footer a{ color:#005b48}
	.rule-close{ background: url(http://vote.on168.com.cn/jindu/images/close.png);}

</style>
</head>

<body>
    <section class="index-wrap">
      <% if (DateTime.Now > DateTime.Parse("2016-07-01 00:00") && DateTime.Now <= DateTime.Parse("2016-12-31 23:59"))
         { %>
       <a href="School.html">下一步</a>
        <% }
         else if (DateTime.Now < DateTime.Parse("2016-07-01 00:00"))
         { %>
        <a class="gameover">活动未开始</a>
        <% }else if (DateTime.Now > DateTime.Parse("2016-12-31 23:59"))
           { %>
        <a class="gameover">活动已结束</a>
        <% } %>
    </section>
    <span class="index-rule-open"></span>
    <section class="index-rule show" id="rule">
    	<span class="rule-close"><%--<i class="fa fa-remove"></i>--%></span>
    	<h3>规则说明</h3>
        <article>
        	<p>1、调查起止日期:<br/><span>2016年11月5日 0:00</span> 至 <span>2016年11月13日 24:00</span>;</p>
        	<p>2、本次调查为“抽样”封闭式<span>匿名</span>调查,只有收到<span>“柯桥区教体局发送的”</span>邀请短信的用户才能通过对应手机号码登陆并填写调查,<span>部分用户不能参与本次调查的原因可能是:您的号码未在抽样调查数据中</span>;</p>
            <p>3、本次调查者身份以【柯桥区教体局】提供的抽样数据为准:家长默认针对抽样数据信息进行调查;</p>
            <p>4、每位用户只能参与一次,全部题目填写完成后方能提交,提交后不能修改;</p>
            <p>5、如提交问卷<span>失败</span>,可能是网络不畅等原因,请稍等片刻后再次提交;</p>
            <span class="tips">点击 右上角X 或 阴影处 关闭本窗口</span>
        </article>
        
    </section>
    <div class="cover-bg"></div>
    
    <section class="indexbg">
    	
    </section>
    <section class="footer">
    	<img src="http://vote.on168.com.cn/jindu/images/copyright.gif"/> 杭州顺治科技股份有限公司
        <br/>客服热线:<a>400-826-2468</a>
    </section>
<script>
    var winHeight = $(window).height();
    var winWidth = $(window).width();

    $(function() {
        var bodyWidth = $('body').width();
        var $indexWrap = $('.index-wrap');
        if (winHeight > winWidth * 1.778) {
            $('body').css('height', winHeight);
            $indexWrap.css('top', bodyWidth * 1.473);
        } else {
            if (winHeight <= 480 || winHeight <= winWidth * 1.5) {
                $('body').css('height', bodyWidth * 1.778);
            } else {
                $('body').css('height', winHeight);
            }
            $indexWrap.css('bottom', bodyWidth * 0.2);
        }


        //规则说明
        var $rule = $('#rule');
        var $coverBg = $('.cover-bg');
        var $ruleOpen = $('.index-rule-open');
        $rule.on('touchend click', '.rule-close', function(e) {
            e.preventDefault();
            $coverBg.fadeOut(300);
            $rule.removeClass('show').addClass('hide');
            setTimeout(function() {
                $rule.hide();
            }, 200);
            $ruleOpen.css('top', '20px');
        });
        $coverBg.on('touchend', function() {
            $coverBg.fadeOut(300);
            $rule.removeClass('show').addClass('hide');
            setTimeout(function() {
                $rule.hide();
            }, 200);
            $ruleOpen.css('top', '20px');
        });
        $ruleOpen.on('touchend', function() {
            $coverBg.fadeIn(300);
            $rule.removeClass('hide').addClass('show');
            $rule.show();
            $ruleOpen.css('top', '40px');
        });
    });
</script>
    <div style="display:none;">
        <!-- #include file="cs.aspx" -->
        <img src="<%= new CS("1259782995").TrackPageView()%>" width="0" height="0"/>
    </div>
</body>
</html>