Keine Beschreibung

declare.html 8.3KB

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