移动端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

110 lines
2.2 KiB

  1. <template>
  2. <div class="home_wrapper">
  3. <div class="login_title">
  4. <div class="title">登录</div>
  5. <div class="desc">阳光村务公众号</div>
  6. </div>
  7. <div class="login_from">
  8. <div class="form_item">
  9. <div class="headings">姓名</div>
  10. <div class="input_wrap">
  11. <input type="text" class="ipt" placeholder="请输入姓名" />
  12. </div>
  13. </div>
  14. <div class="form_item">
  15. <div class="headings">身份证号</div>
  16. <div class="input_wrap">
  17. <input type="text" class="ipt" placeholder="请输入身份证号" />
  18. </div>
  19. </div>
  20. </div>
  21. <div class="login_btn_wrap">
  22. <div class="login_btn" @click="loginSubmit">登录</div>
  23. </div>
  24. </div>
  25. </template>
  26. <style scoped lang="scss">
  27. .home_wrapper {
  28. background: #fff;
  29. padding-top: 198px;
  30. min-width: 100%;
  31. min-height: 100vh;
  32. }
  33. .login_title {
  34. text-align: center;
  35. padding-top: 88px;
  36. margin-bottom: 96px;
  37. .title {
  38. font-size: 72px;
  39. color: #2ecc71;
  40. margin-bottom: 38px;
  41. }
  42. .desc {
  43. font-size: 36px;
  44. }
  45. }
  46. .login_from {
  47. margin: 0 75px;
  48. .form_item {
  49. .headings {
  50. font-size: 28px;
  51. color: #2ecc71;
  52. }
  53. .input_wrap {
  54. margin-top: 4px;
  55. height: 68px;
  56. position: relative;
  57. margin-bottom: 50px;
  58. .ipt {
  59. font-size: 30px;
  60. width: 100%;
  61. height: 60px;
  62. line-height: 60px;
  63. }
  64. &::after {
  65. content: " ";
  66. height: 4px;
  67. border-radius: 4px;
  68. position: absolute;
  69. bottom: 0;
  70. left: 0;
  71. width: 100%;
  72. background: #2ecc71;
  73. }
  74. }
  75. }
  76. }
  77. .login_btn_wrap {
  78. position: absolute;
  79. left: 0;
  80. width: 600px;
  81. bottom: 180px;
  82. margin: 0 75px;
  83. .login_btn {
  84. height: 100px;
  85. border-radius: 100px;
  86. background: #2ecc71;
  87. color: #fff;
  88. line-height: 100px;
  89. font-size: 40px;
  90. text-align: center;
  91. }
  92. }
  93. </style>
  94. <script>
  95. export default {
  96. name: "Login",
  97. data() {
  98. return {};
  99. },
  100. mounted() {},
  101. methods: {
  102. loginSubmit() {
  103. this.$router.push("/sunVillage/index");
  104. },
  105. },
  106. };
  107. </script>