截流自动化的商城平台
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

member_lists.html 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <style>
  2. .operation-btn{
  3. margin: 5px;
  4. }
  5. </style>
  6. <div class="layui-fluid">
  7. <div class="layui-form">
  8. <div class="layui-form-item">
  9. <div class="layui-inline">
  10. <label class="layui-form-label">会员信息:</label>
  11. <div class="layui-input-block">
  12. <select name="search_key">
  13. <option value="sn">会员编号</option>
  14. <option value="nickname">会员昵称</option>
  15. <option value="mobile">手机号码</option>
  16. </select>
  17. </div>
  18. </div>
  19. <div class="layui-inline">
  20. <input type="text" name="keyword" id="member_keyword" placeholder="请输入搜索内容" autocomplete="off" class="layui-input">
  21. </div>
  22. <div class="layui-inline">
  23. <label class="layui-form-label">分销状态:</label>
  24. <div class="layui-input-block">
  25. <select name="freeze_distribution" id="freeze_distribution">
  26. <option value="">全部</option>
  27. <option value="0">未冻结</option>
  28. <option value="1">已冻结</option>
  29. </select>
  30. </div>
  31. </div>
  32. <div class="layui-inline">
  33. <button class="layui-btn layui-btn-sm layuiadmin-btn-member {$view_theme_color}" lay-submit lay-filter="member-search">
  34. 查询
  35. </button>
  36. <button class="layui-btn layui-btn-sm layuiadmin-btn-express layui-btn-primary " lay-submit
  37. lay-filter="member-clear-search">重置
  38. </button>
  39. </div>
  40. </div>
  41. </div>
  42. <div style="margin: 10px 0" class="add">
  43. <button class="layui-btn layui-btn-sm layuiadmin-btn {$view_theme_color}" data-type="add">添加分销会员</button>
  44. </div>
  45. <table id="member-lists" lay-filter="member-lists"></table>
  46. <script type="text/html" id="member-operation">
  47. <div style="text-align: left">
  48. <a class="layui-btn layui-btn-primary layui-btn-sm operation-btn" lay-event="info">分销资料</a>
  49. <a class="layui-btn layui-btn-primary layui-btn-sm operation-btn" lay-event="fans">推广会员</a>
  50. <a class="layui-btn layui-btn-primary layui-btn-sm operation-btn" lay-event="earnings_detail">收入明细</a><br/>
  51. <a class="layui-btn layui-btn-normal layui-btn-sm operation-btn" lay-event="update_leader" >修改上级</a>
  52. {{# if(d.freeze_distribution == 0){ }}
  53. <a class="layui-btn layui-btn-danger layui-btn-sm operation-btn" lay-event="freeze" >冻结资格</a>
  54. {{# } else { }}
  55. <a class="layui-btn layui-btn-danger layui-btn-sm operation-btn" lay-event="unfreeze" >解冻资格</a>
  56. {{# } }}
  57. <a class="layui-btn layui-btn-danger layui-btn-sm operation-btn" lay-event="del" >删除资格</a>
  58. </div>
  59. </script>
  60. <!--会员信息-->
  61. <script type="text/html" id="user-info">
  62. <img src="{{d.avatar}}" style="height:80px;width: 80px" class="image-show">
  63. <div class="layui-input-inline" style="text-align: left">
  64. <p>会员编号:{{d.sn}}</p>
  65. <p>会员昵称:{{d.nickname}}</p>
  66. <p>手机号码:{{d.mobile}}</p>
  67. <p>会员等级:{{d.level}}</p>
  68. <!-- <p>性别:{{d.sex}}</p>-->
  69. <!-- <p>注册时间:{{d.create_time}}</p>-->
  70. </div>
  71. </script>
  72. <!--会员信息-->
  73. <script type="text/html" id="leader-info">
  74. {{# if(d.leader.length == 0){ }}
  75. <p>无</p>
  76. {{# } else { }}
  77. <div class="layui-input-inline" >
  78. <p>会员编号:{{d.leader.sn}}</p>
  79. <p>会员昵称:{{d.leader.nickname}}</p>
  80. <p>手机号码:{{d.leader.mobile}}</p>
  81. <p>会员等级: {{d.leader.level}}</p>
  82. </div>
  83. {{# } }}
  84. </script>
  85. </div>