index.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. {extend name="layout:home" /}
  2. {block name="container"}
  3. <style>
  4. .accountinfo_title>div{
  5. margin-left:80px;
  6. margin-top:20px;
  7. font-size: 13px;
  8. color: dodgerblue;
  9. }
  10. .accountinfo_title table{
  11. margin-left: 150px;
  12. }
  13. .userinfo{
  14. margin-top:20px;
  15. }
  16. .userinfo_title div{
  17. margin-left:80px;
  18. margin-top:50px;
  19. font-size: 13px;
  20. color: dodgerblue;
  21. }
  22. .userinfo_title table{
  23. margin-left: 150px;
  24. }
  25. .userinfo_title table input{
  26. border: 1px #aaa solid;
  27. border-radius: 2px;
  28. height: 30px;
  29. width: 280px;
  30. line-height:30px ;
  31. }
  32. .td_info{
  33. width: 150px;
  34. height: 60px;
  35. line-height: 60px;
  36. }
  37. .td_user_info{
  38. width: 220px;
  39. height: 60px;
  40. line-height: 60px;
  41. }
  42. </style>
  43. <div class="layui-tab layui-tab-card">
  44. <div class="accountinfo">
  45. <div class="accountinfo_title">
  46. <div>账户信息</div>
  47. <table>
  48. <tr>
  49. <td class="td_info">登陆账号</td>
  50. <td class="td_user_info">{$Think.session.user_email}&nbsp&nbsp&nbsp{$user['user_status_cn']}</td>
  51. <td class="td_update"><a href="/user/Updatepwd/username.html">修改用户名</a>|<a href="/user/Updatepwd/index.html">修改密码</a></td>
  52. </tr>
  53. <tr>
  54. <td class="td_info">手机号码</td>
  55. <td class="td_user_info">+ (86)&nbsp&nbsp{$user['user_phone']}</td>
  56. <td class="td_update"><a href="/user/Updatepwd/phone.html">修改手机号码</a></td>
  57. </tr>
  58. </table>
  59. </div>
  60. </div>
  61. <div class="userinfo">
  62. <div class="userinfo_title">
  63. <form method="post">
  64. <div>用户信息</div>
  65. <table>
  66. <tr>
  67. <td class="td_info">会员类型</td>
  68. <td class="td_user_info">{$user['user_type_cn']}</td>
  69. </tr>
  70. <tr>
  71. <td class="td_info">称呼</td>
  72. <td class="td_user_info"><input type="text" name="user_name" placeholder="请输入称呼" value="{$user['user_name']}"></td>
  73. </tr>
  74. <tr>
  75. <td class="td_info">公司名称</td>
  76. <td class="td_user_info"><input type="text" name="company" placeholder="请输入公司名称" value="{$user['company']}"></td>
  77. </tr>
  78. <tr>
  79. <td class="td_info">所属行业</td>
  80. <td class="td_user_info"><input type="text" name="trade" placeholder="请输入所属行业" value="{$user['trade']}"></td>
  81. </tr>
  82. <tr>
  83. <td class="td_info">公司地址</td>
  84. <td class="td_user_info"><input type="text" name="address" placeholder="请输入公司地址" value="{$user['address']}"></td>
  85. </tr>
  86. <tr>
  87. <td class="td_info"></td>
  88. <td class="td_user_info" style="text-align: center;"><input type="submit" value="保存修改" style="width: 70px;"></td>
  89. </tr>
  90. </table>
  91. </form>
  92. </div>
  93. </div>
  94. </div>
  95. <script type="text/javascript">
  96. layui.use('laydate', function(){
  97. var laydate = layui.laydate;
  98. //执行一个laydate实例
  99. laydate.render({
  100. elem: '#creatTime' //指定元素
  101. });
  102. laydate.render({
  103. elem:'#timeRang',
  104. range:true,
  105. format: 'yyyy/MM/dd',
  106. done: function(value, date){
  107. /* 时间选择完成后的回调 */
  108. }
  109. })
  110. });
  111. </script>
  112. {/block}