account.html 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. {extend name="layout/layout" /}
  2. {block name="title"}我的账户{/block}
  3. {block name="css"}
  4. <!-- 这里引入css -->
  5. <link href="{:client_asset('/css/frontend/common.css')}" rel="stylesheet" type="text/css">
  6. <link href="{:client_asset('/css/frontend/classify.css')}" rel="stylesheet" type="text/css">
  7. <style type="text/css">
  8. html,body {background:#fff;}
  9. .head_tit_box{
  10. background-color: #feedbe;
  11. }
  12. .u_h_ltext,
  13. .u_h_rtext{
  14. float: left;
  15. padding-top: .1rem;
  16. width: 50%;
  17. height: .34rem;
  18. font-size: .13rem;
  19. line-height: .24rem;
  20. box-sizing: border-box;
  21. }
  22. .u_h_ltext{
  23. text-align: right;
  24. padding-right: .1rem;
  25. color: #5e6a94;
  26. }
  27. .u_h_rtext{
  28. text-align: left;
  29. padding-left: .1rem;
  30. color: #5e6a94;
  31. }
  32. .u_head_txt .btn {
  33. display: inline-block;
  34. padding: 6px 40px;
  35. margin-bottom: 0;
  36. font-size: 14px;
  37. font-weight: 400;
  38. line-height: 1.42857143;
  39. text-align: center;
  40. white-space: nowrap;
  41. vertical-align: middle;
  42. touch-action: manipulation;
  43. cursor: pointer;
  44. user-select: none;
  45. background-image: none;
  46. border: 1px solid transparent;
  47. border-radius: 4px;
  48. color: #333;
  49. background-color: #fff;
  50. border-color: #ccc;
  51. }
  52. .u_list_ul a {
  53. display: block;
  54. padding: 0 .15rem;
  55. height: .64rem;
  56. background: white;
  57. }
  58. </style>
  59. {/block}
  60. {block name="zepto"}
  61. <!-- 这是zepto插件 -->
  62. {/block}
  63. {block name="menu_title"}我的账户{/block}
  64. {block name="main"}
  65. <!-- 这是正文 body_sytle_girl -->
  66. <div class="body_sytle">
  67. <div class="u_head_box">
  68. {present name="user"}
  69. <div class="u_head_txt">
  70. <strong>剩余书币</strong>
  71. <em>{$kandian}</em>
  72. <div><a href="/clientweb/recharge/pay" class="btn">充值</a></div>
  73. </div>
  74. {/present}
  75. </div>
  76. <!--u_head_box 用户信息-->
  77. <div class="u_list_box">
  78. <ul class="u_list_ul">
  79. <li>
  80. <a href="/clientweb/user/record">
  81. <div class="u_list_li u_list_li_icon_2"><p>充值记录</p></div>
  82. </a>
  83. </li>
  84. </ul>
  85. </div>
  86. <!--u_list_box 用户列表-->
  87. </div>
  88. <!--活动弹框-->
  89. <div {empty name="activityRes"}style="display: none;" {else /}data-type="1"{/empty} class="christmas_popup_box">
  90. <div class="christmas_body">
  91. <div class="christmas_main">
  92. <a href="javascript:" class="christmas_close_2"></a>
  93. {notempty name="$activityRes"}
  94. <a href="/s/0?rid={$activityRes.id}&aid={$activityRes.aid}" class="christmas_main_but"><img src="{$activityRes.popimage}" /></a>
  95. {/notempty}
  96. </div>
  97. </div>
  98. <div class="christmas_jgb"></div>
  99. </div>
  100. {/block}
  101. {block name="footer"}
  102. {/block}
  103. {block name="js"}
  104. <!-- 这里引入js -->
  105. <script>
  106. $(function () {
  107. var n = 0;
  108. $('.u_head_box img').click(function () {
  109. n++;
  110. if (n > 4) {
  111. window.location.href = '/index/index/dev'
  112. }
  113. })
  114. })
  115. </script>
  116. {/block}