article.aspx 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="article.aspx.cs" Inherits="CB.Wap.kjh.rules.article" %>
  2. <%@ Register TagPrefix="uc2" TagName="footer" Src="~/footer.ascx" %>
  3. <%@ Register TagPrefix="uc1" TagName="header" Src="~/kjh/header.ascx" %>
  4. <!DOCTYPE html PUBLIC >
  5. <html>
  6. <head>
  7. <meta charset="utf-8"/>
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  9. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, minimum-scale=1.0, user-scalable=no"/>
  10. <meta name="apple-mobile-web-app-capable" content="yes"/>
  11. <!-- 允许全屏浏览-->
  12. <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
  13. <!--指定的iphone中safari顶端的状态条的样式;-->
  14. <meta name="format-detection" content="telephone=no"/>
  15. <!--强制要求手机竖屏显示-->
  16. <meta name="MobileOptimized" content="320" />
  17. <meta name="screen-orientation" content="portrait"/>
  18. <!--告诉设备忽略将页面中的数字识别为电话号码;-->
  19. <!-- Mobile IE allows us to activate ClearType technology for smoothing fonts for easy reading -->
  20. <meta http-equiv="cleartype" content="on"/>
  21. <meta content="telephone=no" name="format-detection" />
  22. <!-- tianlong add -->
  23. <title><%=LotteryName %>中奖规则_<%=LotteryName %>玩法_中奖助手</title>
  24. <meta name="keywords" content="<%=LotteryName %>中奖规则,<%=LotteryName %>玩法" />
  25. <meta name="description" content="为你介绍<%=LotteryName %>中奖规则及奖金,<%=LotteryName %>玩法等内容,想获取更多<%=LotteryName %>玩法及中奖规则请关注开奖助手。" />
  26. <link href="/static/css/base.css" rel="stylesheet" />
  27. <link href="/static/css/kaijiang.css" rel="stylesheet" />
  28. <script type="text/javascript" src="/static/js/1.6-min-jquery.js"></script>
  29. <script type="text/javascript" src="/static/js/wap128.js"></script>
  30. <script type="text/javascript">
  31. var switchRule = function (id, type)
  32. {
  33. if (type == 'wfgz')
  34. {
  35. $("#wfgz_" + id).show();
  36. $("#zjgz_" + id).hide();
  37. }
  38. else
  39. {
  40. $("#wfgz_" + id).hide();
  41. $("#zjgz_" + id).show();
  42. }
  43. $("#rule_" + id).find("a").each(function ()
  44. {
  45. if ($(this).attr("class") == "bbline")
  46. $(this).attr("class", "");
  47. else $(this).attr("class", "bbline");
  48. });
  49. return false;
  50. }
  51. var switchL = function (id, e)
  52. {
  53. $("div[name=lMenu]").find("a[class!='']").each(function ()
  54. {
  55. $(this).attr("class", "");
  56. });
  57. $(e).attr("class", "brline");
  58. $("div[name=rulel]").hide();
  59. $("div[name=divl]").hide();
  60. $("#rule_" + id).show();
  61. $("#content_" + id).show();
  62. $("#spTitle").text($(e).text() + "玩法规则");
  63. return false;
  64. }
  65. $(document).ready(function (e)
  66. {
  67. $(".rights").click(function ()
  68. {
  69. var ico = $(".lotternav").children("a");
  70. var navPos = $(".lotternav").position();
  71. var widths = ico.width();
  72. var snavWidth = widths * ico.length - 1;
  73. var last = snavWidth - (widths * 4);
  74. if (Math.abs(navPos.left) % widths * 3 == 0)
  75. {
  76. if (navPos.left > -last)
  77. {
  78. $(".lotternav").css({ left: (navPos.left - (widths * 3)) + "px" });
  79. $(".lefts").css({ display: "block" });
  80. } else { $(".rights").css({ display: "none" }); }
  81. }
  82. });
  83. if ($(".lefts").css = "block")
  84. {
  85. $(".lefts").click(function ()
  86. {
  87. $(".rights").css({ display: "block" })
  88. var ico = $(".lotternav").children("a");
  89. var navPos = $(".lotternav").position();
  90. var widths = ico.width();
  91. var snavWidth = widths * ico.length - 1;
  92. var last = snavWidth - (widths * 4);
  93. if (Math.abs(navPos.left) % widths * 3 == 0)
  94. {
  95. if (navPos.left < -widths)
  96. {
  97. $(".lotternav").css({ left: (navPos.left + (widths * 3)) + "px" });
  98. } else { $(".lefts").css({ display: "none" }); }
  99. }
  100. })
  101. }
  102. });
  103. $(function ()
  104. {
  105. $('#unfold').click(function ()
  106. {
  107. $('.zst-subnav').css('display', 'none');
  108. $('#show-nav img').attr({ src: "/static/images/down-icon.png" });
  109. })
  110. $('#show-nav').click(function ()
  111. {
  112. if ($('.zst-subnav').css("display") == "none")
  113. {
  114. $('.zst-subnav').css("display", "block");
  115. $('#show-nav img').attr({ src: "/static/images/up-icon.png" });
  116. } else
  117. {
  118. $('.zst-subnav').css("display", "none");
  119. $('#show-nav img').attr({ src: "/static/images/down-icon.png" });
  120. }
  121. })
  122. })
  123. </script>
  124. </head>
  125. <body>
  126. <div class="topbar" id="header">
  127. <a class="back" href="javascript:history.go(-1);"></a>
  128. <h1><span id="show-nav"><%=LotteryName %>玩法规则<img src="/static/images/down-icon.png" /></span></h1>
  129. <div class="menubox">
  130. <div class="menu">
  131. <a href="/kjh/" class="new-lot"></a><a href="/" class="open"></a>
  132. </div>
  133. </div>
  134. </div>
  135. <div class="wrap">
  136. <div class=" zst-subnav">
  137. <%=MenuHtml %>
  138. <div class="unfold-up" id="unfold">
  139. </div>
  140. </div>
  141. </div>
  142. <%--<uc1:header id="header1" runat="server" />
  143. <div class="wrap">
  144. <div class="subnav">
  145. <ul>
  146. <li class="sectlt"><a href="/kjh/">全国彩</a></li>
  147. <li><a href="/kjh/sdkjh.aspx">开机号</a></li>
  148. <li><a href="/kjh/sdsjh.aspx">试机号</a></li>
  149. </ul>
  150. <ul class="enlarge" id="enlarge" style="display: none;">
  151. <li><a href="/kjh/3d-zjgz/">玩法</a></li>
  152. </ul>
  153. <div class="unfold" onclick="unfold()" id="unfold">
  154. </div>
  155. </div>
  156. </div>--%>
  157. <div class="wrap">
  158. <div class="container">
  159. <div class="ruleInfo">
  160. <div class="ruleTitle">
  161. <ul>
  162. <%=SwitchHtml %>
  163. </ul>
  164. </div>
  165. <%=ContentHtml%>
  166. </div>
  167. </div>
  168. </div>
  169. <script type="text/javascript">
  170. showNavSelect();
  171. </script>
  172. <uc2:footer id="footer1" runat="server" />
  173. </body>
  174. </html>