Commit 24ad435d58d40602d4f0a453dbe055284e18fb75
1 parent
46027c52
Exists in
master
移动端适配.iPad适配
Showing
61 changed files
with
51 additions
and
116 deletions
Show diff stats
EduResearch/.vs/QuestionJindu/config/applicationhost.config
| @@ -163,7 +163,7 @@ | @@ -163,7 +163,7 @@ | ||
| 163 | </site> | 163 | </site> |
| 164 | <site name="Quiz.WebSite" id="2"> | 164 | <site name="Quiz.WebSite" id="2"> |
| 165 | <application path="/" applicationPool="Clr4IntegratedAppPool"> | 165 | <application path="/" applicationPool="Clr4IntegratedAppPool"> |
| 166 | - <virtualDirectory path="/" physicalPath="D:\杨甜甜\临时文件夹\绍兴市直属\教育调查-绍兴直属\EduResearch\src\Quiz.WebSite" /> | 166 | + <virtualDirectory path="/" physicalPath="C:\Users\Admin\Source\Repos\questionnaire-investigation\EduResearch\src\Quiz.WebSite" /> |
| 167 | </application> | 167 | </application> |
| 168 | <bindings> | 168 | <bindings> |
| 169 | <binding protocol="http" bindingInformation="*:15654:localhost" /> | 169 | <binding protocol="http" bindingInformation="*:15654:localhost" /> |
EduResearch/.vs/QuestionJindu/v16/.suo
No preview for this file type
EduResearch/src/Quiz.BllCenter/bin/Debug/Quiz.BllCenter.dll
No preview for this file type
EduResearch/src/Quiz.BllCenter/bin/Debug/Quiz.BllCenter.pdb
No preview for this file type
EduResearch/src/Quiz.BllCenter/bin/Debug/Quiz.DalCenter.dll
No preview for this file type
EduResearch/src/Quiz.BllCenter/bin/Debug/Quiz.DalCenter.pdb
No preview for this file type
EduResearch/src/Quiz.BllCenter/bin/Debug/Quiz.Models.dll
No preview for this file type
EduResearch/src/Quiz.BllCenter/bin/Debug/Quiz.Models.pdb
No preview for this file type
EduResearch/src/Quiz.BllCenter/obj/Debug/Quiz.BllCenter.csproj.CoreCompileInputs.cache
EduResearch/src/Quiz.BllCenter/obj/Debug/Quiz.BllCenter.csprojAssemblyReference.cache
No preview for this file type
EduResearch/src/Quiz.BllCenter/obj/Debug/Quiz.BllCenter.dll
No preview for this file type
EduResearch/src/Quiz.BllCenter/obj/Debug/Quiz.BllCenter.pdb
No preview for this file type
EduResearch/src/Quiz.DalCenter/bin/Debug/Quiz.DalCenter.dll
No preview for this file type
EduResearch/src/Quiz.DalCenter/bin/Debug/Quiz.DalCenter.pdb
No preview for this file type
EduResearch/src/Quiz.DalCenter/bin/Debug/Quiz.Models.dll
No preview for this file type
EduResearch/src/Quiz.DalCenter/bin/Debug/Quiz.Models.pdb
No preview for this file type
EduResearch/src/Quiz.DalCenter/obj/Debug/Quiz.DalCenter.csproj.CoreCompileInputs.cache
EduResearch/src/Quiz.DalCenter/obj/Debug/Quiz.DalCenter.csprojAssemblyReference.cache
No preview for this file type
EduResearch/src/Quiz.DalCenter/obj/Debug/Quiz.DalCenter.dll
No preview for this file type
EduResearch/src/Quiz.DalCenter/obj/Debug/Quiz.DalCenter.pdb
No preview for this file type
EduResearch/src/Quiz.Models/bin/Debug/Quiz.Models.dll
No preview for this file type
EduResearch/src/Quiz.Models/bin/Debug/Quiz.Models.pdb
No preview for this file type
EduResearch/src/Quiz.Models/obj/Debug/Quiz.Models.csproj.CoreCompileInputs.cache
EduResearch/src/Quiz.Models/obj/Debug/Quiz.Models.csprojAssemblyReference.cache
No preview for this file type
EduResearch/src/Quiz.Models/obj/Debug/Quiz.Models.dll
No preview for this file type
EduResearch/src/Quiz.Models/obj/Debug/Quiz.Models.pdb
No preview for this file type
EduResearch/src/Quiz.SiteBase/bin/Debug/Newtonsoft.Json.dll
No preview for this file type
EduResearch/src/Quiz.SiteBase/bin/Debug/Quiz.BllCenter.dll
No preview for this file type
EduResearch/src/Quiz.SiteBase/bin/Debug/Quiz.BllCenter.pdb
No preview for this file type
EduResearch/src/Quiz.SiteBase/bin/Debug/Quiz.DalCenter.dll
No preview for this file type
EduResearch/src/Quiz.SiteBase/bin/Debug/Quiz.DalCenter.pdb
No preview for this file type
EduResearch/src/Quiz.SiteBase/bin/Debug/Quiz.Models.dll
No preview for this file type
EduResearch/src/Quiz.SiteBase/bin/Debug/Quiz.Models.pdb
No preview for this file type
EduResearch/src/Quiz.SiteBase/bin/Debug/Quiz.SiteBase.dll
No preview for this file type
EduResearch/src/Quiz.SiteBase/bin/Debug/Quiz.SiteBase.pdb
No preview for this file type
EduResearch/src/Quiz.SiteBase/obj/Debug/Quiz.SiteBase.csproj.CoreCompileInputs.cache
EduResearch/src/Quiz.SiteBase/obj/Debug/Quiz.SiteBase.csprojAssemblyReference.cache
No preview for this file type
EduResearch/src/Quiz.SiteBase/obj/Debug/Quiz.SiteBase.dll
No preview for this file type
EduResearch/src/Quiz.SiteBase/obj/Debug/Quiz.SiteBase.pdb
No preview for this file type
EduResearch/src/Quiz.WebSite/Default.aspx
| @@ -12,43 +12,19 @@ | @@ -12,43 +12,19 @@ | ||
| 12 | <meta name="apple-mobile-web-app-capable" content="yes"> | 12 | <meta name="apple-mobile-web-app-capable" content="yes"> |
| 13 | <meta name="apple-mobile-web-app-status-bar-style" content="black"> | 13 | <meta name="apple-mobile-web-app-status-bar-style" content="black"> |
| 14 | <title>绍兴市教育局教育满意度调查</title> | 14 | <title>绍兴市教育局教育满意度调查</title> |
| 15 | - <script>//!function (e) { function t(a) { if (i[a]) return i[a].exports; var n = i[a] = { exports: {}, id: a, loaded: !1 }; return e[a].call(n.exports, n, n.exports, t), n.loaded = !0, n.exports } var i = {}; return t.m = e, t.c = i, t.p = "", t(0) }([function (e, t) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var i = window; t["default"] = i.flex = function (e, t) { var a = e || 100, n = t || 1, r = i.document, o = navigator.userAgent, d = o.match(/Android[\S\s]+AppleWebkit\/(\d{3})/i), l = o.match(/U3\/((\d+|\.){5,})/i), c = l && parseInt(l[1].split(".").join(""), 10) >= 80, p = navigator.appVersion.match(/(iphone|ipad|ipod)/gi), s = i.devicePixelRatio || 1; p || d && d[1] > 534 || c || (s = 1); var u = 1 / s, m = r.querySelector('meta[name="viewport"]'); m || (m = r.createElement("meta"), m.setAttribute("name", "viewport"), r.head.appendChild(m)), m.setAttribute("content", "width=device-width,user-scalable=no,initial-scale=" + u + ",maximum-scale=" + u + ",minimum-scale=" + u), r.documentElement.style.fontSize = a / 2 * s * n + "px" }, e.exports = t["default"] }]); flex(100, 1);</script> | ||
| 16 | - <script> | ||
| 17 | - window.onload = function () { | ||
| 18 | - /*750代表设计师给的设计稿的宽度,你的设计稿是多少,就写多少;100代表换算比例,这里写100是 | ||
| 19 | - 为了以后好算,比如,你测量的一个宽度是100px,就可以写为1rem,以及1px=0.01rem等等*/ | ||
| 20 | - getRem(750, 100) | ||
| 21 | - }; | ||
| 22 | - window.onresize = function () { | ||
| 23 | - getRem(750, 100) | ||
| 24 | - }; | ||
| 25 | - function getRem(pwidth, prem) { | ||
| 26 | - var html = document.getElementsByTagName("html")[0]; | ||
| 27 | - var oWidth = document.body.clientWidth || document.documentElement.clientWidth; | ||
| 28 | - html.style.fontSize = oWidth / pwidth * prem + "px"; | ||
| 29 | - } | ||
| 30 | - </script> | ||
| 31 | - <script> | ||
| 32 | - // 适配pad padPro | ||
| 33 | - /(pad|pod|iPad|iPod|iOS)/i.test(navigator.userAgent) && (head = document.getElementsByTagName('head'), viewport = document.createElement('meta'), viewport.name = 'viewport', viewport.content = 'target-densitydpi=device-dpi, width=480px, user-scalable=no', head.length > 0 && head[head.length - 1].appendChild(viewport)); | ||
| 34 | - </script> | ||
| 35 | - <script src="http://vote.on168.com.cn/jindu/assets/jquery-1.8.3.min.js"></script> | ||
| 36 | <link href="https://szkj.shunzhi.net/jindu/shaoxing/assets/reset.css" rel="stylesheet" /> | 15 | <link href="https://szkj.shunzhi.net/jindu/shaoxing/assets/reset.css" rel="stylesheet" /> |
| 37 | - <link href="assets/style.css" rel="stylesheet" /> | 16 | + <%--<link href="assets/style.css" rel="stylesheet" />--%> |
| 38 | <%-- <link href="https://szkj.shunzhi.net/jindu/shaoxing/assets/style.css" rel="stylesheet" />--%> | 17 | <%-- <link href="https://szkj.shunzhi.net/jindu/shaoxing/assets/style.css" rel="stylesheet" />--%> |
| 39 | <%--<link href="assets/DefaultC.css" rel="stylesheet" />--%> | 18 | <%--<link href="assets/DefaultC.css" rel="stylesheet" />--%> |
| 40 | <%--<link href="http://vote.on168.com.cn/jindu/assets/reset.css" rel="stylesheet"/>--%> | 19 | <%--<link href="http://vote.on168.com.cn/jindu/assets/reset.css" rel="stylesheet"/>--%> |
| 41 | - | ||
| 42 | <%-- <link href="assets/reset.css" rel="stylesheet" />--%> | 20 | <%-- <link href="assets/reset.css" rel="stylesheet" />--%> |
| 43 | - <link href="https://szkj.shunzhi.net/jindu/shaoxing/assets/style.css" rel="stylesheet"/> | ||
| 44 | - <link href="https://szkj.shunzhi.net/jindu/shaoxing/assets/DefaultC.css" rel="stylesheet" /> | 21 | + <link href="https://szkj.shunzhi.net/jindu/shaoxing/assets/style.css" rel="stylesheet" /> |
| 22 | + <link href="https://szkj.shunzhi.net/jindu/shaoxing/assets/DefaultC.css" rel="stylesheet" /> | ||
| 45 | </head> | 23 | </head> |
| 46 | 24 | ||
| 47 | <body> | 25 | <body> |
| 48 | - | ||
| 49 | - | ||
| 50 | <div id="note"> | 26 | <div id="note"> |
| 51 | - <div>活动</div> | 27 | + <div>活动</div> |
| 52 | <div>说明</div> | 28 | <div>说明</div> |
| 53 | <%--<img src="./images/note.png" alt="">--%> | 29 | <%--<img src="./images/note.png" alt="">--%> |
| 54 | </div> | 30 | </div> |
| @@ -70,7 +46,6 @@ | @@ -70,7 +46,6 @@ | ||
| 70 | <div id="next" class="gameover">活动已结束</div> | 46 | <div id="next" class="gameover">活动已结束</div> |
| 71 | <% } %> | 47 | <% } %> |
| 72 | </div> | 48 | </div> |
| 73 | - | ||
| 74 | <div id="school"> | 49 | <div id="school"> |
| 75 | <div id="imgschool"></div> | 50 | <div id="imgschool"></div> |
| 76 | <%--<img src="./images/school.png" alt="" id="schoolimg"/>--%> | 51 | <%--<img src="./images/school.png" alt="" id="schoolimg"/>--%> |
| @@ -78,17 +53,13 @@ | @@ -78,17 +53,13 @@ | ||
| 78 | <%-- <div id="bi"></div> | 53 | <%-- <div id="bi"></div> |
| 79 | <div id="nv"></div> | 54 | <div id="nv"></div> |
| 80 | <div id="nan"></div>--%> | 55 | <div id="nan"></div>--%> |
| 81 | - | ||
| 82 | <div id="text"> | 56 | <div id="text"> |
| 83 | <div class="tips"> 为进一步加强师德师风建设,不断提升教学质量,努力办好人民满意教育,绍兴市教育局特组织开展教育满意度调查,希望得到您的支持,感谢您的参与!</div> | 57 | <div class="tips"> 为进一步加强师德师风建设,不断提升教学质量,努力办好人民满意教育,绍兴市教育局特组织开展教育满意度调查,希望得到您的支持,感谢您的参与!</div> |
| 84 | <%--<div></div> | 58 | <%--<div></div> |
| 85 | <div></div> | 59 | <div></div> |
| 86 | <div></div>--%> | 60 | <div></div>--%> |
| 87 | - | ||
| 88 | <div class="tel"><span>服务热线:400-826-2468</span></div> | 61 | <div class="tel"><span>服务热线:400-826-2468</span></div> |
| 89 | </div> | 62 | </div> |
| 90 | - | ||
| 91 | - | ||
| 92 | </div> | 63 | </div> |
| 93 | 64 | ||
| 94 | <%-- <section class="index-wrap"> | 65 | <%-- <section class="index-wrap"> |
| @@ -111,8 +82,10 @@ | @@ -111,8 +82,10 @@ | ||
| 111 | </span>--%> | 82 | </span>--%> |
| 112 | <div id="jhgjhg">活动说明</div> | 83 | <div id="jhgjhg">活动说明</div> |
| 113 | <article> | 84 | <article> |
| 114 | - <p>1、调查起止日期:<br /> | ||
| 115 | - <span>2019年11月21日9:00</span> 至 <span>2019年11月25日24:00</span>;</p> | 85 | + <p> |
| 86 | + 1、调查起止日期:<br /> | ||
| 87 | + <span>2019年11月21日9:00</span> 至 <span>2019年11月25日24:00</span>; | ||
| 88 | + </p> | ||
| 116 | <p>2、本次调查为“抽样”封闭式<span>匿名</span>调查,只有收到<span>“绍兴市教育局”发送的</span>邀请短信的用户才能通过对应手机号码登陆并填写调查,<span>部分用户不能参与本次调查的原因可能是:您的号码未在抽样调查数据中;</span></p> | 89 | <p>2、本次调查为“抽样”封闭式<span>匿名</span>调查,只有收到<span>“绍兴市教育局”发送的</span>邀请短信的用户才能通过对应手机号码登陆并填写调查,<span>部分用户不能参与本次调查的原因可能是:您的号码未在抽样调查数据中;</span></p> |
| 117 | <p>3、本次调查由<span>绍兴市教育局</span>发起,参与调查者以“绍兴市教育局”的<span>抽样数据</span>为准。所有数据信息均将<span>严格保密</span>,保障客户信息安全,实行匿名制,任何单位及个人<span>无法</span>通过任何途径获取,请您放心填写;</p> | 90 | <p>3、本次调查由<span>绍兴市教育局</span>发起,参与调查者以“绍兴市教育局”的<span>抽样数据</span>为准。所有数据信息均将<span>严格保密</span>,保障客户信息安全,实行匿名制,任何单位及个人<span>无法</span>通过任何途径获取,请您放心填写;</p> |
| 118 | <p>4、每位用户只能参与一次,全部题目填写完成后方能提交,提交后不能修改;</p> | 91 | <p>4、每位用户只能参与一次,全部题目填写完成后方能提交,提交后不能修改;</p> |
| @@ -122,13 +95,11 @@ | @@ -122,13 +95,11 @@ | ||
| 122 | 95 | ||
| 123 | </section> | 96 | </section> |
| 124 | <div class="cover-bg" style="display: none; width: 100vw; top: -100px;"></div> | 97 | <div class="cover-bg" style="display: none; width: 100vw; top: -100px;"></div> |
| 125 | - | ||
| 126 | <%-- <section class="indexbg"></section>--%> | 98 | <%-- <section class="indexbg"></section>--%> |
| 127 | <%-- <script src="js/deafault.js?v=2"></script>--%> | 99 | <%-- <script src="js/deafault.js?v=2"></script>--%> |
| 100 | + <script src="https://szkj.shunzhi.net/jindu/shaoxing/js/rem.js"></script> | ||
| 101 | + <script src="http://vote.on168.com.cn/jindu/assets/jquery-1.8.3.min.js"></script> | ||
| 128 | <script src="https://szkj.shunzhi.net/jindu/shaoxing/js/deafault.js?v=3"></script> | 102 | <script src="https://szkj.shunzhi.net/jindu/shaoxing/js/deafault.js?v=3"></script> |
| 129 | - | ||
| 130 | - | ||
| 131 | - | ||
| 132 | <div style="display: none;"> | 103 | <div style="display: none;"> |
| 133 | <!-- #include file="cs.aspx" --> | 104 | <!-- #include file="cs.aspx" --> |
| 134 | <img src="<%= new CS("1259782995").TrackPageView()%>" width="0" height="0" /> | 105 | <img src="<%= new CS("1259782995").TrackPageView()%>" width="0" height="0" /> |
EduResearch/src/Quiz.WebSite/Question.aspx
| @@ -12,25 +12,6 @@ | @@ -12,25 +12,6 @@ | ||
| 12 | <meta name="apple-mobile-web-app-capable" content="yes"> | 12 | <meta name="apple-mobile-web-app-capable" content="yes"> |
| 13 | <meta name="apple-mobile-web-app-status-bar-style" content="black"> | 13 | <meta name="apple-mobile-web-app-status-bar-style" content="black"> |
| 14 | <title>绍兴市教育局教育满意度调查</title> | 14 | <title>绍兴市教育局教育满意度调查</title> |
| 15 | - <script> | ||
| 16 | - window.onload = function () { | ||
| 17 | - /*750代表设计师给的设计稿的宽度,你的设计稿是多少,就写多少;100代表换算比例,这里写100是 | ||
| 18 | - 为了以后好算,比如,你测量的一个宽度是100px,就可以写为1rem,以及1px=0.01rem等等*/ | ||
| 19 | - getRem(750, 100) | ||
| 20 | - }; | ||
| 21 | - window.onresize = function () { | ||
| 22 | - getRem(750, 100) | ||
| 23 | - }; | ||
| 24 | - function getRem(pwidth, prem) { | ||
| 25 | - var html = document.getElementsByTagName("html")[0]; | ||
| 26 | - var oWidth = document.body.clientWidth || document.documentElement.clientWidth; | ||
| 27 | - html.style.fontSize = oWidth / pwidth * prem + "px"; | ||
| 28 | - } | ||
| 29 | - </script> | ||
| 30 | - <script> | ||
| 31 | - // 适配pad padPro | ||
| 32 | - /(pad|pod|iPad|iPod|iOS)/i.test(navigator.userAgent) && (head = document.getElementsByTagName('head'), viewport = document.createElement('meta'), viewport.name = 'viewport', viewport.content = 'target-densitydpi=device-dpi, width=480px, user-scalable=no', head.length > 0 && head[head.length - 1].appendChild(viewport)); | ||
| 33 | - </script> | ||
| 34 | <%--<link href="http://vote.on168.com.cn/jindu/assets/reset.css" rel="stylesheet"/> | 15 | <%--<link href="http://vote.on168.com.cn/jindu/assets/reset.css" rel="stylesheet"/> |
| 35 | <link href="http://vote.on168.com.cn/jindu/assets/style.css?1323" rel="stylesheet"/>--%> | 16 | <link href="http://vote.on168.com.cn/jindu/assets/style.css?1323" rel="stylesheet"/>--%> |
| 36 | <%--<link href="assets/reset.css" rel="stylesheet" /> | 17 | <%--<link href="assets/reset.css" rel="stylesheet" /> |
| @@ -47,6 +28,7 @@ | @@ -47,6 +28,7 @@ | ||
| 47 | <![endif]--> | 28 | <![endif]--> |
| 48 | 29 | ||
| 49 | <link href="http://vote.on168.com.cn/jindu/assets/AlerBottom/AlerBottom.css" rel="stylesheet" /> | 30 | <link href="http://vote.on168.com.cn/jindu/assets/AlerBottom/AlerBottom.css" rel="stylesheet" /> |
| 31 | + <script src="https://szkj.shunzhi.net/jindu/shaoxing/js/rem.js"></script> | ||
| 50 | <script src="http://vote.on168.com.cn/jindu/assets/AlerBottom/AlerBottom.js"></script> | 32 | <script src="http://vote.on168.com.cn/jindu/assets/AlerBottom/AlerBottom.js"></script> |
| 51 | <style> | 33 | <style> |
| 52 | #AlerBottom { | 34 | #AlerBottom { |
EduResearch/src/Quiz.WebSite/School.aspx
| @@ -10,25 +10,7 @@ | @@ -10,25 +10,7 @@ | ||
| 10 | <meta name="apple-mobile-web-app-capable" content="yes"> | 10 | <meta name="apple-mobile-web-app-capable" content="yes"> |
| 11 | <meta name="apple-mobile-web-app-status-bar-style" content="black"> | 11 | <meta name="apple-mobile-web-app-status-bar-style" content="black"> |
| 12 | <title>绍兴市教育局教育满意度调查</title> | 12 | <title>绍兴市教育局教育满意度调查</title> |
| 13 | - <script> | ||
| 14 | - window.onload = function () { | ||
| 15 | - /*750代表设计师给的设计稿的宽度,你的设计稿是多少,就写多少;100代表换算比例,这里写100是 | ||
| 16 | - 为了以后好算,比如,你测量的一个宽度是100px,就可以写为1rem,以及1px=0.01rem等等*/ | ||
| 17 | - getRem(750, 100) | ||
| 18 | - }; | ||
| 19 | - window.onresize = function () { | ||
| 20 | - getRem(750, 100) | ||
| 21 | - }; | ||
| 22 | - function getRem(pwidth, prem) { | ||
| 23 | - var html = document.getElementsByTagName("html")[0]; | ||
| 24 | - var oWidth = document.body.clientWidth || document.documentElement.clientWidth; | ||
| 25 | - html.style.fontSize = oWidth / pwidth * prem + "px"; | ||
| 26 | - } | ||
| 27 | - </script> | ||
| 28 | - <script> | ||
| 29 | - // 适配pad padPro | ||
| 30 | - /(pad|pod|iPad|iPod|iOS)/i.test(navigator.userAgent) && (head = document.getElementsByTagName('head'), viewport = document.createElement('meta'), viewport.name = 'viewport', viewport.content = 'target-densitydpi=device-dpi, width=480px, user-scalable=no', head.length > 0 && head[head.length - 1].appendChild(viewport)); | ||
| 31 | - </script> | 13 | + <script src="https://szkj.shunzhi.net/jindu/shaoxing/js/rem.js"></script> |
| 32 | <%--<link href="http://vote.on168.com.cn/jindu/assets/reset.css" rel="stylesheet"/> | 14 | <%--<link href="http://vote.on168.com.cn/jindu/assets/reset.css" rel="stylesheet"/> |
| 33 | <link href="http://vote.on168.com.cn/jindu/assets/style.css" rel="stylesheet"/>--%> | 15 | <link href="http://vote.on168.com.cn/jindu/assets/style.css" rel="stylesheet"/>--%> |
| 34 | <%-- <link href="assets/reset.css" rel="stylesheet" /> | 16 | <%-- <link href="assets/reset.css" rel="stylesheet" /> |
EduResearch/src/Quiz.WebSite/Thanks.aspx
| @@ -10,26 +10,7 @@ | @@ -10,26 +10,7 @@ | ||
| 10 | <meta name="apple-mobile-web-app-capable" content="yes"> | 10 | <meta name="apple-mobile-web-app-capable" content="yes"> |
| 11 | <meta name="apple-mobile-web-app-status-bar-style" content="black"> | 11 | <meta name="apple-mobile-web-app-status-bar-style" content="black"> |
| 12 | <title>绍兴市教育局教育满意度调查</title> | 12 | <title>绍兴市教育局教育满意度调查</title> |
| 13 | - <script> | ||
| 14 | - window.onload = function () { | ||
| 15 | - /*750代表设计师给的设计稿的宽度,你的设计稿是多少,就写多少;100代表换算比例,这里写100是 | ||
| 16 | - 为了以后好算,比如,你测量的一个宽度是100px,就可以写为1rem,以及1px=0.01rem等等*/ | ||
| 17 | - getRem(750, 100) | ||
| 18 | - }; | ||
| 19 | - window.onresize = function () { | ||
| 20 | - getRem(750, 100) | ||
| 21 | - }; | ||
| 22 | - function getRem(pwidth, prem) { | ||
| 23 | - var html = document.getElementsByTagName("html")[0]; | ||
| 24 | - var oWidth = document.body.clientWidth || document.documentElement.clientWidth; | ||
| 25 | - html.style.fontSize = oWidth / pwidth * prem + "px"; | ||
| 26 | - } | ||
| 27 | - </script> | ||
| 28 | - <script> | ||
| 29 | - // 适配pad padPro | ||
| 30 | - /(pad|pod|iPad|iPod|iOS)/i.test(navigator.userAgent) && (head = document.getElementsByTagName('head'), viewport = document.createElement('meta'), viewport.name = 'viewport', viewport.content = 'target-densitydpi=device-dpi, width=480px, user-scalable=no', head.length > 0 && head[head.length - 1].appendChild(viewport)); | ||
| 31 | - </script> | ||
| 32 | - | 13 | + <script src="https://szkj.shunzhi.net/jindu/shaoxing/js/rem.js"></script> |
| 33 | <%--<link href="http://vote.on168.com.cn/jindu/assets/reset.css" rel="stylesheet"/> | 14 | <%--<link href="http://vote.on168.com.cn/jindu/assets/reset.css" rel="stylesheet"/> |
| 34 | <link href="http://vote.on168.com.cn/jindu/assets/style.css" rel="stylesheet"/>--%> | 15 | <link href="http://vote.on168.com.cn/jindu/assets/style.css" rel="stylesheet"/>--%> |
| 35 | <%-- <link href="assets/reset.css" rel="stylesheet" /> | 16 | <%-- <link href="assets/reset.css" rel="stylesheet" /> |
EduResearch/src/Quiz.WebSite/assets/DefaultC.css
| @@ -141,7 +141,7 @@ body > span a { | @@ -141,7 +141,7 @@ body > span a { | ||
| 141 | #box { | 141 | #box { |
| 142 | width:100vw; | 142 | width:100vw; |
| 143 | position: absolute; | 143 | position: absolute; |
| 144 | - top: 9.04rem; | 144 | + top: 8.04rem; |
| 145 | display:flex; | 145 | display:flex; |
| 146 | align-items:center; | 146 | align-items:center; |
| 147 | justify-content:center; | 147 | justify-content:center; |
| @@ -243,7 +243,13 @@ body > span a { | @@ -243,7 +243,13 @@ body > span a { | ||
| 243 | /*适配ipad 适配ipad pro*/ | 243 | /*适配ipad 适配ipad pro*/ |
| 244 | @media screen and (min-width: 415px) and (max-width: 1024px) { | 244 | @media screen and (min-width: 415px) and (max-width: 1024px) { |
| 245 | #box { | 245 | #box { |
| 246 | - top: 6.04rem; | 246 | + top: 5.04rem; |
| 247 | + } | ||
| 248 | + .index-rule article p { | ||
| 249 | + padding: .1rem 0; | ||
| 250 | + border-bottom: .01rem dashed #e8e8e8; | ||
| 251 | + word-break: break-all; | ||
| 252 | + font-size: .26rem; | ||
| 247 | } | 253 | } |
| 248 | } | 254 | } |
| 249 | 255 |
EduResearch/src/Quiz.WebSite/assets/style.css
| @@ -21,10 +21,10 @@ body { /*max-width:640px;*/ | @@ -21,10 +21,10 @@ body { /*max-width:640px;*/ | ||
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | body.bodybg > .bg { | 23 | body.bodybg > .bg { |
| 24 | - position:absolute; | ||
| 25 | - width:100vw; | ||
| 26 | - height:4.52rem; | ||
| 27 | - top:.88rem; | 24 | + position: absolute; |
| 25 | + width: 100vw; | ||
| 26 | + height: 4.52rem; | ||
| 27 | + top: .88rem; | ||
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | input[type="submit"], input[type="text"], input[type="button"], select { | 30 | input[type="submit"], input[type="text"], input[type="button"], select { |
| @@ -122,10 +122,11 @@ select { | @@ -122,10 +122,11 @@ select { | ||
| 122 | 122 | ||
| 123 | .index-rule { | 123 | .index-rule { |
| 124 | position: absolute; | 124 | position: absolute; |
| 125 | - top: 10%; | ||
| 126 | - left: 7%; | ||
| 127 | - right: 7%; | ||
| 128 | - height: auto; | 125 | + top: 5%; |
| 126 | + left: .4rem; | ||
| 127 | + width:6.7rem; | ||
| 128 | + /*height: 9.7rem;*/ | ||
| 129 | + box-sizing:border-box; | ||
| 129 | background: #fff; | 130 | background: #fff; |
| 130 | border-radius: .12rem; | 131 | border-radius: .12rem; |
| 131 | z-index: 101; | 132 | z-index: 101; |
| @@ -152,10 +153,10 @@ select { | @@ -152,10 +153,10 @@ select { | ||
| 152 | } | 153 | } |
| 153 | 154 | ||
| 154 | .index-rule article p { | 155 | .index-rule article p { |
| 155 | - padding: .1rem 0; | 156 | + padding: .2rem 0; |
| 156 | border-bottom: .01rem dashed #e8e8e8; | 157 | border-bottom: .01rem dashed #e8e8e8; |
| 157 | word-break: break-all; | 158 | word-break: break-all; |
| 158 | - font-size: .13rem; | 159 | + font-size: .26rem; |
| 159 | } | 160 | } |
| 160 | 161 | ||
| 161 | .index-rule article p span { /*font-weight:bold; color:#333; font-size:16px; */ | 162 | .index-rule article p span { /*font-weight:bold; color:#333; font-size:16px; */ |
| @@ -300,7 +301,7 @@ select { | @@ -300,7 +301,7 @@ select { | ||
| 300 | background-size: .44rem; | 301 | background-size: .44rem; |
| 301 | } | 302 | } |
| 302 | 303 | ||
| 303 | -/* .header .back:hover { | 304 | + /* .header .back:hover { |
| 304 | background-color: rgb(89,110,215); | 305 | background-color: rgb(89,110,215); |
| 305 | }*/ | 306 | }*/ |
| 306 | 307 |
EduResearch/src/Quiz.WebSite/bin/Quiz.BllCenter.dll
No preview for this file type
EduResearch/src/Quiz.WebSite/bin/Quiz.BllCenter.pdb
No preview for this file type
EduResearch/src/Quiz.WebSite/bin/Quiz.DalCenter.dll
No preview for this file type
EduResearch/src/Quiz.WebSite/bin/Quiz.DalCenter.pdb
No preview for this file type
EduResearch/src/Quiz.WebSite/bin/Quiz.Models.dll
No preview for this file type
EduResearch/src/Quiz.WebSite/bin/Quiz.Models.pdb
No preview for this file type
EduResearch/src/Quiz.WebSite/bin/Quiz.SiteBase.dll
No preview for this file type
EduResearch/src/Quiz.WebSite/bin/Quiz.SiteBase.pdb
No preview for this file type
EduResearch/src/Quiz.WebSite/bin/Quiz.WebSite.dll
No preview for this file type
EduResearch/src/Quiz.WebSite/bin/Quiz.WebSite.pdb
No preview for this file type
| @@ -0,0 +1,12 @@ | @@ -0,0 +1,12 @@ | ||
| 1 | + window.onload = function () { | ||
| 2 | + getRem(750, 100) | ||
| 3 | + }; | ||
| 4 | + window.onresize = function () { | ||
| 5 | + getRem(750, 100) | ||
| 6 | + }; | ||
| 7 | + function getRem(pwidth, prem) { | ||
| 8 | + var html = document.getElementsByTagName("html")[0]; | ||
| 9 | + var oWidth = document.body.clientWidth || document.documentElement.clientWidth; | ||
| 10 | + html.style.fontSize = oWidth / pwidth * prem + "px"; | ||
| 11 | + } | ||
| 12 | + /(pad|pod|iPad|iPod|iOS)/i.test(navigator.userAgent) && (head = document.getElementsByTagName('head'), viewport = document.createElement('meta'), viewport.name = 'viewport', viewport.content = 'target-densitydpi=device-dpi, width=480px, user-scalable=no', head.length > 0 && head[head.length - 1].appendChild(viewport)); | ||
| 0 | \ No newline at end of file | 13 | \ No newline at end of file |
EduResearch/src/Quiz.WebSite/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
No preview for this file type
EduResearch/src/Quiz.WebSite/obj/Debug/Quiz.WebSite.csproj.CoreCompileInputs.cache
EduResearch/src/Quiz.WebSite/obj/Debug/Quiz.WebSite.csprojAssemblyReference.cache
No preview for this file type
EduResearch/src/Quiz.WebSite/obj/Debug/Quiz.WebSite.dll
No preview for this file type
EduResearch/src/Quiz.WebSite/obj/Debug/Quiz.WebSite.pdb
No preview for this file type