方诺官网改正版
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.
 
 
 

141 line
4.8 KiB

  1. <template>
  2. <div>
  3. <div class="container sm:px-10">
  4. <div class="block xl:grid grid-cols-2 gap-4">
  5. <!-- BEGIN: Register Info -->
  6. <div class="hidden xl:flex flex-col min-h-screen">
  7. <a href="" class="-intro-x flex items-center pt-5">
  8. <img
  9. alt=""
  10. class="w-6"
  11. :src="require(`@/assets/images/logo.svg`)"
  12. />
  13. <span class="text-white text-lg ml-3">
  14. Mid<span class="font-medium">One</span>
  15. </span>
  16. </a>
  17. <div class="my-auto">
  18. <img
  19. alt=""
  20. class="-intro-x w-1/2 -mt-16"
  21. :src="require(`@/assets/images/illustration.svg`)"
  22. />
  23. <div
  24. class="-intro-x text-white font-medium text-4xl leading-tight mt-10"
  25. >
  26. A few more clicks to <br />
  27. sign up to your account.
  28. </div>
  29. <div class="-intro-x mt-5 text-lg text-white">
  30. Manage all your e-commerce accounts in one place
  31. </div>
  32. </div>
  33. </div>
  34. <!-- END: Register Info -->
  35. <!-- BEGIN: Register Form -->
  36. <div class="h-screen xl:h-auto flex py-5 xl:py-0 my-10 xl:my-0">
  37. <div
  38. class="my-auto mx-auto xl:ml-20 bg-white xl:bg-transparent px-5 sm:px-8 py-8 xl:p-0 rounded-md shadow-md xl:shadow-none w-full sm:w-3/4 lg:w-2/4 xl:w-auto"
  39. >
  40. <h2
  41. class="intro-x font-bold text-2xl xl:text-3xl text-center xl:text-left"
  42. >
  43. Sign Up
  44. </h2>
  45. <div
  46. class="intro-x mt-2 text-gray-500 xl:hidden text-center"
  47. >
  48. A few more clicks to sign in to your account. Manage all your
  49. e-commerce accounts in one place
  50. </div>
  51. <div class="intro-x mt-8">
  52. <input
  53. type="text"
  54. class="intro-x login__input input input--lg border border-gray-300 block"
  55. placeholder="First Name"
  56. />
  57. <input
  58. type="text"
  59. class="intro-x login__input input input--lg border border-gray-300 block mt-4"
  60. placeholder="Last Name"
  61. />
  62. <input
  63. type="text"
  64. class="intro-x login__input input input--lg border border-gray-300 block mt-4"
  65. placeholder="Email"
  66. />
  67. <input
  68. type="text"
  69. class="intro-x login__input input input--lg border border-gray-300 block mt-4"
  70. placeholder="Password"
  71. />
  72. <div class="intro-x w-full grid grid-cols-12 gap-4 h-1 mt-3">
  73. <div class="col-span-3 h-full rounded bg-theme-9"></div>
  74. <div class="col-span-3 h-full rounded bg-theme-9"></div>
  75. <div class="col-span-3 h-full rounded bg-theme-9"></div>
  76. <div
  77. class="col-span-3 h-full rounded bg-gray-200"
  78. ></div>
  79. </div>
  80. <a
  81. href=""
  82. class="intro-x text-gray-600 block mt-2 text-xs sm:text-sm"
  83. >What is a secure password?</a
  84. >
  85. <input
  86. type="text"
  87. class="intro-x login__input input input--lg border border-gray-300 block mt-4"
  88. placeholder="Password Confirmation"
  89. />
  90. </div>
  91. <div
  92. class="intro-x flex items-center text-gray-700 mt-4 text-xs sm:text-sm"
  93. >
  94. <input
  95. id="remember-me"
  96. type="checkbox"
  97. class="input border mr-2"
  98. />
  99. <label class="cursor-pointer select-none" for="remember-me"
  100. >I agree to the Envato</label
  101. >
  102. <a class="text-theme-1 ml-1" href=""
  103. >Privacy Policy</a
  104. >.
  105. </div>
  106. <div class="intro-x mt-5 xl:mt-8 text-center xl:text-left">
  107. <button
  108. class="button button--lg w-full xl:w-32 text-white bg-theme-1 xl:mr-3 align-top"
  109. >
  110. 注册
  111. </button>
  112. <button
  113. class="button button--lg w-full xl:w-32 text-gray-700 border border-gray-300 mt-3 xl:mt-0 align-top"
  114. @click="getSignUp"
  115. >
  116. 登录
  117. </button>
  118. </div>
  119. </div>
  120. </div>
  121. <!-- END: Register Form -->
  122. </div>
  123. </div>
  124. </div>
  125. </template>
  126. <script>
  127. export default {
  128. mounted() {
  129. cash("body")
  130. .removeClass("app")
  131. .addClass("login");
  132. },
  133. methods: {
  134. getSignUp:function(){
  135. this.$router.push('/')
  136. }
  137. }
  138. };
  139. </script>