Index.blade.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {include file="Application/Home/View/Public/header.blade.php"}
  2. {include file="Application/Home/View/Public/userLeft.blade.php"}
  3. <div class="member-content">
  4. <p class="memberMinTitle">我的资料</p>
  5. <form action="" method="post" class="changepw">
  6. {literal}
  7. <table border="0" cellspacing="0" cellpadding="0">
  8. <tr>
  9. <td class="label_ou">用户名:</td>
  10. <td>
  11. <input type="text" readonly="readonly" name="account" id="account" :value="todos.account"/>
  12. </td>
  13. </tr>
  14. <tr>
  15. <td class="label_ou">手机号码:</td>
  16. <td>
  17. <input type="text" readonly="readonly" name="phone" id="phone" :value="todos.phone"/>
  18. </td>
  19. </tr>
  20. <tr>
  21. <td class="label_ou">邮箱:</td>
  22. <td>
  23. <input type="text" readonly="readonly" name="email" id="email" :value="todos.email"/>
  24. </td>
  25. </tr>
  26. </table>
  27. {/literal}
  28. </form>
  29. </div>
  30. </div>
  31. {literal}
  32. <script>
  33. var datas = new Vue({
  34. el: ".changepw",
  35. data: {
  36. todos: [],
  37. }
  38. });
  39. $(function () {
  40. apiAjax('/Api-Account/getAccount', {}, function (data) {
  41. //console.log(data);
  42. datas.todos = data.data;
  43. //console.log(datas.todos);
  44. });
  45. $('#ko').attr('display','none');
  46. })
  47. </script>
  48. {/literal}
  49. {include file="Application/Home/View/Public/footer.php"}