daili.html 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. <html>
  2. <head>
  3. <title>商品管理</title></title>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport"
  7. content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover">
  8. <link rel="stylesheet" type="text/css" href="https://at.alicdn.com/t/c/font_2056629_vzvl0jvb2q.css">
  9. <link rel="stylesheet" type="text/css" href="static/css/style.css">
  10. <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.7.1/jquery.js"></script>
  11. <style>
  12. .g-head{
  13. display: flex;
  14. font-size: 1rem;
  15. color: rgb(99, 99, 100);
  16. font-weight: bold;
  17. margin: 1rem auto;
  18. width: 96%;
  19. }
  20. .g-serch{
  21. width: 96%;
  22. margin: 1rem auto;
  23. border: 1px #ccc solid;
  24. height: 2.4rem;
  25. font-size: 14px;
  26. padding-left: 1rem;
  27. line-height: 2.2rem;
  28. border-radius: 10px;
  29. }
  30. .g-serch input{
  31. border: none;
  32. height: 2rem;
  33. width: 76%;
  34. margin-left: 0.6rem;
  35. margin-right: 1rem;
  36. }
  37. .o-li{
  38. display: flex;
  39. justify-content: space-between;
  40. width: 96%;
  41. margin: 1rem auto;
  42. border-bottom: 1px solid #ccc;
  43. padding-bottom: 15px;
  44. }
  45. .o-li p{
  46. margin-top: 10px;
  47. }
  48. .o-li span{
  49. margin-left: 10px;
  50. }
  51. .o-right p{
  52. color: #ff768a;
  53. font-size: 14px;
  54. font-weight: 800;
  55. }
  56. .g-col-up{
  57. color: rgb(102, 241, 109);
  58. }
  59. .g-col-dow{
  60. color: rgb(250, 68, 68);
  61. }
  62. .o-left{
  63. color: rgb(131, 128, 128);
  64. }
  65. .detail{
  66. position: absolute;
  67. z-index: 99;
  68. background-color: #cccccc87;
  69. height: 100%;
  70. width: 100%;
  71. /* border-radius: 5%; */
  72. top: 0;
  73. left: 0;
  74. display: none;
  75. }
  76. .m-body{
  77. background-color: hsla(0,0%,100%,0.8);
  78. width: 85%;
  79. margin: 0 auto;
  80. margin-top: 26%;
  81. height: 30rem;
  82. border-radius: 5%;
  83. overflow: auto;
  84. scrollbar-width: none;
  85. }
  86. .scrollable-div::-webkit-scrollbar {
  87. display: none; /* 对于Chrome和Safari隐藏滚动条 */
  88. }
  89. .m-head1{
  90. display: flex;
  91. flex-direction: row;
  92. justify-content: space-between;
  93. padding-top: 1rem;
  94. width: 92%;
  95. margin: auto;
  96. font-size: 18px;
  97. font-weight: 700;
  98. color: rgba(0,0,0,.6);
  99. }
  100. .d-li{
  101. margin:1rem auto;
  102. color:#716868;
  103. }
  104. .d-but{
  105. width: 100%;
  106. }
  107. .d-but button{
  108. margin: 1rem 0.5rem;
  109. color: #353333;
  110. font-size: 0.8rem;
  111. padding: 5px;
  112. }
  113. </style>
  114. </head>
  115. <body>
  116. <div class="g-main">
  117. <div class="g-head">
  118. <p style="transform: rotate(180deg);" onclick="window.history.go(-1);"><i class="iconfont iconxiangyou1"></i></p>
  119. <p style="margin-left: 35%;">商品管理</p>
  120. </div>
  121. <div style="width: 100%;height: 1px;background-color: #ccc;"></div>
  122. <div class="g-serch"><i class="iconfont iconsousuo"></i><input type="text" name="serch" value="" placeholder="套餐名..."/>搜索</div>
  123. <div class="o-list">
  124. <div class="o-li">
  125. <div class="o-left">
  126. <p><span style="font-size: 16px;color: rgb(144, 147, 153);">1</span><span style="font-size: 16px;color: rgb(144, 147, 153);">|</span>
  127. <span>张三</span><span>138***1234</span></p>
  128. </div>
  129. <div class="o-right">
  130. <p><span>已实名</span></p>
  131. </div>
  132. </div>
  133. <div class="o-li">
  134. <div class="o-left">
  135. <p><span style="font-size: 16px;color: rgb(144, 147, 153);">2</span><span style="font-size: 16px;color: rgb(144, 147, 153);">|</span>
  136. <span>张三</span><span>138***1234</span></p>
  137. </div>
  138. <div class="o-right">
  139. <p><span style="color:#7f7a7a">已拉黑</span></p>
  140. </div>
  141. </div>
  142. </div>
  143. </div>
  144. <div class="detail" id="myDiv">
  145. <div class="m-body">
  146. <div class="m-head1"><div class="xq">详情</div><div id="hideButton"><i class="iconfont iconguanbi"></i></div></div>
  147. <div style="width: 90%;margin: 1rem auto;">
  148. <div class="d-li"><span>姓名:</span><span>张三</span></div>
  149. <div class="d-li"><span>上级:</span><span>李四</span></div>
  150. <div class="d-li"><span>电话:</span><span>13111111111</span></div>
  151. <div style="text-align: center;" class="d-but">
  152. <button>修改密码</button>
  153. <button>拉黑代理</button>
  154. <button>分配套餐</button>
  155. </div>
  156. </div>
  157. </div>
  158. </div>
  159. </body>
  160. </html>
  161. <script>
  162. $(document).ready(function(){
  163. $('#hideButton').click(function(){
  164. $('#myDiv').hide();
  165. });
  166. $('.o-li').click(function(){
  167. $('#myDiv').show();
  168. });
  169. $('.uni-tabbar__bd').click(function(){
  170. var url=$(this).data('url');
  171. window.location.href=url;
  172. });
  173. });
  174. </script>