No Description

declare.html 8.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta content="yes" name="apple-mobile-web-app-capable">
  6. <meta name="viewport" id="WebViewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
  7. <title>积分规则</title>
  8. <script>
  9. document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth/375) + "px";
  10. window.onresize = function(){
  11. document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth/375) + "px";
  12. }
  13. </script>
  14. <style type="text/css">
  15. body,html{
  16. font-size: 0.16rem;
  17. }
  18. body, div, button, h3, h6, span, ul, li, p, a,input{
  19. font-family: -apple-system,SF UI Text,Helvetica Neue,Helvetica,Arial,sans-serif;
  20. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  21. padding: 0;
  22. margin: 0;
  23. box-sizing: inherit;
  24. font-weight: normal;
  25. }
  26. button{
  27. outline: none;
  28. }
  29. a, a:visited{
  30. text-decoration: none;
  31. }
  32. body{
  33. width: 100%;
  34. }
  35. .integral{
  36. margin: 0 0.15rem;
  37. margin-bottom: 1.15rem;
  38. }
  39. .title{
  40. font-size:0.17rem;
  41. color:#333333;
  42. line-height:0.24rem;
  43. margin-top: 0.17rem;
  44. margin-bottom: 0.14rem;
  45. text-align: center;
  46. font-weight: bold;
  47. }
  48. .title02{
  49. font-size: 0.16rem;
  50. line-height: 0.22rem;
  51. color: #333333;
  52. font-weight: bold;
  53. margin-top: 0.24rem;
  54. }
  55. .titleOne{
  56. margin-top: 0rem;
  57. }
  58. .smallTitle{
  59. font-size:0.14rem;
  60. line-height: 0.2rem;
  61. color: #333333;
  62. margin-top: 0.18rem;
  63. font-weight: bold;
  64. }
  65. table{
  66. margin-top: 0.08rem;
  67. text-align: center;
  68. border: none;
  69. border-color: #979797;
  70. border-collapse: collapse;
  71. font-size: 0.14rem;
  72. }
  73. table tr{
  74. height: 0.34rem;
  75. }
  76. table tr th{
  77. color: #333333;
  78. font-weight: bold;
  79. width:1.15rem;
  80. }
  81. table tr td{
  82. color: #666666;
  83. line-height: 0.2rem;
  84. }
  85. .declare{
  86. line-height: 0.2rem;
  87. text-align: left;
  88. padding: 0 0.06rem;
  89. }
  90. .teshuShengming p,.guize{
  91. color: #666666;
  92. font-size: 0.14rem;
  93. line-height: 0.2rem;
  94. text-indent: 2em;
  95. }
  96. .guize{
  97. margin-top: 0.05rem;
  98. }
  99. ul li{list-style: none;}
  100. td,th{border:solid #979797; border-width:0px 1px 1px 0px;}
  101. table{border:solid #979797; border-width:1px 0px 0px 1px;}
  102. #type_two{padding:0.2rem}
  103. #type_two h3{font-size: 0.16rem;font-weight: bold;margin-bottom: 0.15rem;}
  104. #type_two p{font-size: 0.16rem; color: #333; margin-left: 0.2rem;margin-bottom: 0.15rem;line-height: 0.25rem;}
  105. #type_two li{ font-size: 0.16rem;line-height: 0.2rem;}
  106. </style>
  107. </head>
  108. <body>
  109. <div id="type_one">
  110. <div class="integral">
  111. <h3 class="title">积分获取及使用说明</h3>
  112. <div class="obtainIntegral">
  113. <h2 class="title02 titleOne">一.积分如何获取</h2>
  114. <div class="smallTitle">1.连续签到任务</div>
  115. <table border="0" cellspacing="0" cellpadding="0">
  116. <tr>
  117. <th>连续天数</th>
  118. <th>奖励</th>
  119. <th>说明</th>
  120. </tr>
  121. <tr>
  122. <td>1-7</td>
  123. <td>1积分/天</td>
  124. <td rowspan="4" class="declare">30天一周期,每周期内奖励只能获得一次,签到中断时周期重新从第1天开始计算</td>
  125. </tr>
  126. <tr>
  127. <td>8-14</td>
  128. <td>3积分/天</td>
  129. </tr>
  130. <tr>
  131. <td>15-20</td>
  132. <td>5积分/天</td>
  133. </tr>
  134. <tr>
  135. <td>21-30</td>
  136. <td>7积分/天</td>
  137. </tr>
  138. </table>
  139. <div class="smallTitle">2.连续记账任务</div>
  140. <table border="0" cellspacing="0" cellpadding="0">
  141. <tr>
  142. <th>连续天数</th>
  143. <th>奖励</th>
  144. <th>说明</th>
  145. </tr>
  146. <tr>
  147. <td>1-7</td>
  148. <td>2积分/天</td>
  149. <td rowspan="3" class="declare">21天一周期,每周期内奖励只能获得一次,签到中断时周期重新从第1天开始计算</td>
  150. </tr>
  151. <tr>
  152. <td>8-14</td>
  153. <td>3积分/天</td>
  154. </tr>
  155. <tr>
  156. <td>15-20</td>
  157. <td>5积分/天</td>
  158. </tr>
  159. </table>
  160. </div>
  161. <div class="smallTitle">3.单日记账任务</div>
  162. <p class="guize">
  163. 单日记账>=3笔,+6积分;<3笔,没有积分奖励,每天仅可获赠1次 。
  164. </p>
  165. <div class="smallTitle">4.AppStore好评任务</div>
  166. <p class="guize">
  167. 每个用户仅可领赠1次,+10积分。
  168. </p>
  169. <div class="smallTitle">5.设置记账提醒任务</div>
  170. <p class="guize">
  171. 每个用户仅可领赠1次,+5积分。
  172. </p>
  173. <div class="smallTitle">6.App分享任务</div>
  174. <p class="guize">
  175. 每个用户成功邀请好友一名可+30积分,最多+300积分。
  176. </p>
  177. <h2 class="title02 titleOne" style="margin-top: 0.25rem;">二.积分如何使用?</h2>
  178. <table border="0" cellspacing="0" cellpadding="0">
  179. <tr>
  180. <th>兑换流量</th>
  181. <th>商品价值(积分)</th>
  182. <th>说明</th>
  183. </tr>
  184. <tr>
  185. <td>100M</td>
  186. <td>700</td>
  187. <td rowspan="5" class="declare">如何积分兑换商品失败后,平台将返还相应积分;自积分获取之日起一年内积分有效,第二年积分清零</td>
  188. </tr>
  189. <tr>
  190. <td>200M</td>
  191. <td>1050</td>
  192. </tr>
  193. <tr>
  194. <td>500M</td>
  195. <td>1950</td>
  196. </tr>
  197. <tr>
  198. <td>1024M</td>
  199. <td>3000</td>
  200. </tr>
  201. <tr>
  202. <td>2048M</td>
  203. <td>5800</td>
  204. </tr>
  205. </table>
  206. <div class="teshuShengming">
  207. <h2 class="title02">三.特殊申明</h2>
  208. <p>本次活动发起、参与、奖品由钱多随手记账组织,苹果公司并不是奖品供应商,奖品无苹果公司产品,苹果公司不以任何方式发起或参与活动。</p>
  209. </div>
  210. </div>
  211. </div>
  212. <div id="type_two">
  213. <h3>1、什么是积分?</h3>
  214. <p>积分是一种用户奖励机制,在用户使用金牛记账过程中,根据各种具体情况对应奖励不同数量的积分。</p>
  215. <h3>2、如何获取积分?</h3>
  216. <p>用户可通过坚持记账、打卡签到、完成任务、参与活动等方式获取积分,积分获取方式不断更新中,具体以实际情况为准。<p>
  217. <h3>3、积分有什么用?</h3>
  218. <p>用户可利用累计的积分,去往积分兑换选择心仪的商品进行兑换,具体兑换次数以及兑换要求依商品类型而定。<p>
  219. <h3>4、特殊申明</h3>
  220. <ul>
  221. <li>(1)积分计算规则由积分体系上线之日开始算起</li>
  222. <li>(2)使用积分进行商品兑换,兑换申请提交后则不可取消(商品断货等特殊情况除外)</li>
  223. <li>(3)积分归属为用户单独持有,不可转让</li>
  224. <li>(4)最终解释权归金牛记账所有</li>
  225. </ul>
  226. </div>
  227. </body>
  228. </html>
  229. <script type="text/javascript" src="../jquery-2.1.0.js"></script>
  230. <script type="text/javascript">
  231. var company_name = null;
  232. var type = 0;//0钱多多 1标识金牛
  233. var str=location.href; //取得整个地址栏
  234. var num=str.indexOf("?");
  235. str=str.substr(num+1); //str得到?之后的字符串
  236. var brr=str.split("&");
  237. for(var i = 0 ; i<brr.length; i++){
  238. if(brr[i].indexOf('company_name') != -1){
  239. company_name = brr[i].split('=')[1];
  240. }
  241. if(brr[i].indexOf('type') != -1){
  242. type = brr[i].split('=')[1];
  243. type = decodeURI(type)
  244. }
  245. }
  246. if(type == 0){
  247. $("#type_one").css("display","block")
  248. $("#type_two").css("display","none")
  249. }
  250. if(type == 1){
  251. $("#type_one").css("display","none")
  252. $("#type_two").css("display","block")
  253. }
  254. company_name = decodeURI(company_name);
  255. var html = `本次活动发起、参与、奖品由${company_name}组织,苹果公司并不是奖品供应商,奖品无苹果公司产品,苹果公司不以任何方式发起或参与活动。`;
  256. $(".teshuShengming p").html(html);
  257. console.log(window.devicePixelRatio)
  258. if (window.devicePixelRatio == 1) {
  259. lineWeight("0px 1px 1px 0px","1px 0px 0px 1px")
  260. }
  261. if (window.devicePixelRatio == 2) {
  262. lineWeight("0px 0.5px 0.5px 0px","0.5px 0px 0px 0.5px")
  263. }
  264. if (window.devicePixelRatio == 3) {
  265. lineWeight("0px 0.75px 0.75px 0px","0.75px 0px 0px 0.75px")
  266. }
  267. function lineWeight (lineTd,lineTable){
  268. $("td").css({
  269. "border":"solid #979797",
  270. "border-width":lineTd
  271. })
  272. $("th").css({
  273. "border":"solid #979797",
  274. "border-width":lineTd
  275. })
  276. $("table").css({
  277. "border":"solid #979797",
  278. "border-width":lineTable
  279. })
  280. }
  281. </script>