Thanks.aspx 3.87 KB
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Thanks.aspx.cs" Inherits="Quiz.WebSite.Thanks" %>

<!DOCTYPE html>

<html>
<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>

<!--[if lte IE 9]>
<script src="http://apps.bdimg.com/libs/html5shiv/3.7/html5shiv.min.js"></script>
<![endif]-->
<style>
	html,body{ height:100%;}
	.footer{ position:relative;  z-index:10; color:#333; padding:5px 0; width:100%; margin-top:10%; text-align:center;}
	.footer a{ color:#333;}
</style>
</head>

<body class="bodybg">
	<header class="header">
        <div class="mid">绍兴市柯桥区教育满意度调查</div>
    </header>
    <img class="thanks-top" src="http://vote.on168.com.cn/jindu/images/thanks-top.jpg"/>
	<!--<section class="thanks-info">
    	<div class="box">
            <h3 class="thanks-title">参与者信息</h3>
            <div class="row"><span class="name">姓名:</span></div>
            <div class="row"><span class="mobile">手机:</span></div>
            <div class="row"><span class="schoolname">学校:</span></div>
        </div>
    </section>-->
    <section class="footer">
    	<img src="http://vote.on168.com.cn/jindu/images/copyright.gif"/> 杭州顺治科技股份有限公司
        <br/>客服热线:<a>400-826-2468</a>
    </section>
    <img class="thanks-bottom" src="http://vote.on168.com.cn/jindu/images/thanks-bottom.jpg" />
    <script>
	var winHeight = $(window).height();
	var winWidth = $(window).width();
	$(function() {
	    var bodyWidth = $('body').width();
	    if (winHeight > winWidth * 1.778) {
	        $('body').css('height', winHeight);
	    } else {
	        if (winHeight <= 480 || winHeight <= winWidth * 1.5) {
	            $('body').css('height', bodyWidth * 1.778);
	        } else {
	            $('body').css('height', winHeight);
	        }
	    }

	    var name = localStorage.getItem('name');
	    var mobile = localStorage.getItem('mobile');
	    var schoolname = localStorage.getItem('schoolname');
	    var curmobile = '<%=mobile%>';
        if (name == "underfined"||name==null) {
            $.post("Ajax/GetInfo", { mobile: curmobile }, function(json) {
                if (json.Status) {
                    if (json.Message == "") {
                        $('.box .name').text("姓名:未填写");
                    } else {
                        $('.box .name').text("姓名:" + json.Message);
                    }
                    $('.box .mobile').text("手机:" + curmobile);
                    $('.box .schoolname').text("学校:" + json.Data);
                    //存入本地
                    localStorage.setItem('name', json.Message);
                    localStorage.setItem('mobile', curmobile);
                    localStorage.setItem('schoolname', json.Data);
                }
            }, 'json');
        } else {
            if (name == "") {
                $('.box .name').text("姓名:未填写");
            } else {
                $('.box .name').text("姓名:" + name);
            }
            $('.box .mobile').text("手机:" + mobile);
            $('.box .schoolname').text("学校:" + schoolname);
        }
	    
	});
		
    </script>
    
    <div style="display:none;">
        <!-- #include file="cs.aspx" -->
        <img src="<%= new CS("1259782995").TrackPageView()%>" width="0" height="0"/>
    </div>
</body>
</html>