移动端
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

register.vue 9.2 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. <template>
  2. <div>
  3. <div class="box">
  4. <div class="list">
  5. <div class="regsit">
  6. <button class="noreg" @click="Agrireg">农户注册</button>
  7. <button class="qyreg" @click="busireg">企业注册</button>
  8. </div>
  9. <!-- 企业注册 -->
  10. <div class="show" v-if="show">
  11. <div class="frames frame">
  12. <i class="icona icona1"></i>
  13. <span>主体类别:</span>
  14. <input type="text" class="subject" />
  15. <i class="arrows"></i>
  16. </div>
  17. <div class="frames frame">
  18. <i class="icona icona2"></i>
  19. <span>主体名称:</span>
  20. <input type="text" class="subject" />
  21. <!-- <i class="arrows"></i> -->
  22. </div>
  23. <div class="frames frame">
  24. <i class="icona icona3"></i>
  25. <span>负责人姓名:</span>
  26. <input type="text" class="subject subjectname" />
  27. <!-- <i class="arrows"></i> -->
  28. </div>
  29. <div class="frames frame">
  30. <i class="icona icona4"></i>
  31. <span>手机号码:</span>
  32. <input type="text" class="subject" />
  33. <!-- <i class="arrows"></i> -->
  34. </div>
  35. <div class="frames frame">
  36. <i class="icona icona5"></i>
  37. <span>验证码:</span>
  38. <input type="text" class="subject" />
  39. <i class="verification">获取验证码</i>
  40. </div>
  41. <div class="frames frame">
  42. <i class="icona icona6"></i>
  43. <span>用户名</span>
  44. <input type="text" class="subject" />
  45. <!-- <i class="arrows"></i> -->
  46. </div>
  47. <div class="frames frame">
  48. <i class="icona icona7"></i>
  49. <span>密码</span>
  50. <input type="text" class="subject" />
  51. <i class="arrows showh1"></i>
  52. </div>
  53. <div class="frames frame">
  54. <i class="icona icona8"></i>
  55. <span>确认密码</span>
  56. <input type="text" class="subject" />
  57. <i class="arrows showh2"></i>
  58. </div>
  59. </div>
  60. <!-- 农业注册 -->
  61. <div class="show" v-else>
  62. <div class="frames frame">
  63. <i class="icona icona3"></i>
  64. <span>农户:</span>
  65. <input type="text" class="subject" />
  66. <i class="arrows"></i>
  67. </div>
  68. <div class="frames frame">
  69. <i class="icona icona9"></i>
  70. <span>身份证:</span>
  71. <input type="text" class="subject" />
  72. <!-- <i class="arrows"></i> -->
  73. <div></div>
  74. </div>
  75. <div class="frames frame">
  76. <i class="icona icona4"></i>
  77. <span>手机号码:</span>
  78. <input type="text" class="subject subjectname" />
  79. <!-- <i class="arrows"></i> -->
  80. <div class="verify">
  81. <i class="verimg"></i>
  82. <span class="fapeasant">非本地农户</span>
  83. </div>
  84. </div>
  85. <div class="frames frame">
  86. <i class="icona icona1"></i>
  87. <span>验证码:</span>
  88. <input type="text" class="subject" />
  89. <i class="verification">获取验证码</i>
  90. </div>
  91. <div class="frames frame">
  92. <i class="icona icona1"></i>
  93. <span>用户名:</span>
  94. <input type="text" class="subject" />
  95. <!-- <i class="arrows"></i> -->
  96. </div>
  97. <div class="frames frame">
  98. <i class="icona icona7"></i>
  99. <span>密码</span>
  100. <input type="text" class="subject" />
  101. <i class="arrows showh1"></i>
  102. </div>
  103. <div class="frames frame">
  104. <i class="icona icona8"></i>
  105. <span>确认密码</span>
  106. <input type="text" class="subject" />
  107. <i class="arrows showh2"></i>
  108. </div>
  109. </div>
  110. <div class="loggoto">
  111. <button class="loggo">登录</button>
  112. </div>
  113. <div class="jumpreg">
  114. <input type="radio" class="dx" />
  115. <span>我已阅读并同意</span>
  116. <a href="#">《隐私政策》</a>和 <a href="#">《用户协议》</a><br />
  117. <span class="texta">*登录后请完善基础信息成为正式用户</span>
  118. </div>
  119. </div>
  120. </div>
  121. <tabbar></tabbar>
  122. </div>
  123. </template>
  124. <script>
  125. import tabbar from "./conter.vue";
  126. export default {
  127. components:{
  128. tabbar
  129. },
  130. name: "index",
  131. data() {
  132. return {
  133. show: true,
  134. };
  135. },
  136. methods:{
  137. //农业注册
  138. Agrireg(){
  139. if(this.show==true){
  140. return this
  141. }else{
  142. this.show=!this.show
  143. }
  144. } ,
  145. //企业注册
  146. busireg(){
  147. if(this.show==false){
  148. return this
  149. }else{
  150. this.show=!this.show
  151. }
  152. }
  153. }
  154. };
  155. </script>
  156. <style scoped lang="scss">
  157. .box {
  158. width: 100%;
  159. background: url("../../assets/images/Newbusinessentity/bj_01.jpg") no-repeat;
  160. height: 21.2rem;
  161. overflow: hidden;
  162. position: relative;
  163. background-size: 10.2rem;
  164. }
  165. .list {
  166. width: 9rem;
  167. height: 18rem;
  168. background: #ffffff;
  169. border-radius: 1rem;
  170. margin: 1rem auto;
  171. position: relative;
  172. .regsit {
  173. position: absolute;
  174. top: 0.5rem;
  175. left: 0.8rem;
  176. width: 7rem;
  177. height: 1.2rem;
  178. display: flex;
  179. justify-content: space-between;
  180. .noreg,
  181. .qyreg {
  182. font-size: 0.4rem;
  183. font-weight: bold;
  184. background: #ffffff;
  185. }
  186. .noreg {
  187. margin-left: 0.7rem;
  188. }
  189. }
  190. .frame {
  191. position: relative;
  192. background: #eeeeee;
  193. border-radius: 1rem;
  194. margin-top: 0.5rem;
  195. }
  196. //校验农户注册
  197. .verify {
  198. width: 3rem;
  199. position: absolute;
  200. right: 0.2rem;
  201. top: 0.8rem;
  202. .verimg {
  203. display: block;
  204. width: 0.4rem;
  205. height: 0.4rem;
  206. background: url('../../assets/images/Newbusinessentity/08_03.jpg') no-repeat;
  207. margin: 0.24rem 0rem 0rem 0.5rem
  208. }
  209. .fapeasant{
  210. color: red;
  211. font-size: 0.2rem;
  212. }
  213. }
  214. .frames {
  215. display: flex;
  216. top: 2rem;
  217. left: 0.6rem;
  218. height: 1rem;
  219. width: 8rem;
  220. span {
  221. position: absolute;
  222. left: 0.9rem;
  223. top: 0.22rem;
  224. color: #b0b0b0;
  225. font-size: 0.36rem;
  226. }
  227. .subject {
  228. background: #eeeeee;
  229. position: absolute;
  230. left: 2.5rem;
  231. top: 0.1rem;
  232. // background: pink;
  233. height: 0.8rem;
  234. width: 3rem;
  235. font-size: 0.36rem;
  236. color: #dbdbdb;
  237. }
  238. .subjectname {
  239. left: 2.8rem;
  240. }
  241. .icona {
  242. width: 0.5rem;
  243. height: 0.5rem;
  244. position: absolute;
  245. top: 0.29rem;
  246. left: 0.3rem;
  247. }
  248. .icona1 {
  249. background: url("../../assets/images/Newbusinessentity/layers_icon_125237.png")
  250. no-repeat;
  251. }
  252. .icona2 {
  253. background: url("../../assets/images/Newbusinessentity/home_icon_128501.png")
  254. no-repeat;
  255. }
  256. .icona3 {
  257. background: url("../../assets/images/Newbusinessentity/user_icon_125113.png")
  258. no-repeat;
  259. }
  260. .icona4 {
  261. background: url("../../assets/images/Newbusinessentity/phone_handset_icon_125195.png")
  262. no-repeat;
  263. }
  264. .icona5 {
  265. background: url("../../assets/images/Newbusinessentity/shield_icon_125161.png")
  266. no-repeat;
  267. }
  268. .icona6 {
  269. background: url("../../assets/images/Newbusinessentity/user_icon_1251132.png")
  270. no-repeat;
  271. }
  272. .icona7 {
  273. background: url("../../assets/images/Newbusinessentity/lock_icon_1252253.png")
  274. no-repeat;
  275. }
  276. .icona8 {
  277. background: url("../../assets/images/Newbusinessentity/lock_icon_1252253.png")
  278. no-repeat;
  279. }
  280. //农业注册
  281. .icona9 {
  282. background: url("../../assets/images/Newbusinessentity/licencse_icon_125234.png")
  283. no-repeat;
  284. }
  285. .arrows {
  286. width: 0.5rem;
  287. height: 0.5rem;
  288. background: url("../../assets/images/Newbusinessentity/21563.png")
  289. no-repeat;
  290. position: absolute;
  291. top: 0.36rem;
  292. right: 0.3rem;
  293. }
  294. .showh1 {
  295. background: url("../../assets/images/Newbusinessentity/showh_03.jpg")
  296. no-repeat;
  297. }
  298. .showh2 {
  299. background: url("../../assets/images/Newbusinessentity/view_show_icon_1248113.png")
  300. no-repeat;
  301. }
  302. .verification {
  303. width: 2.7rem;
  304. height: 0.76rem;
  305. color: #ffffff;
  306. font-size: 0.2rem;
  307. background: #75c757;
  308. border-radius: 0.3rem;
  309. position: absolute;
  310. right: 0.2rem;
  311. top: 0.1rem;
  312. text-align: center;
  313. line-height: 0.76rem;
  314. font-size: 0.35rem;
  315. }
  316. }
  317. .loggoto {
  318. position: relative;
  319. top: 1.4rem;
  320. .loggo {
  321. width: 6rem;
  322. height: 1rem;
  323. text-align: center;
  324. color: #ffffff;
  325. background: #41d25e;
  326. font-size: 0.4rem;
  327. position: absolute;
  328. left: 1.7rem;
  329. top: 1.6rem;
  330. border-radius: 0.4rem;
  331. }
  332. }
  333. .jumpreg {
  334. position: relative;
  335. top: 4.5rem;
  336. left: 1.2rem;
  337. font-weight: normal;
  338. font-size: 0.32rem;
  339. color: #858585;
  340. overflow: hidden;
  341. a {
  342. color: #3096ff;
  343. }
  344. .dx {
  345. border: #5bcc5b 0.2rem solid;
  346. background: #5bcc5b;
  347. color: #5bcc5b;
  348. }
  349. .texta {
  350. display: block;
  351. margin: 0.3rem 0 0 0.6rem;
  352. }
  353. }
  354. }
  355. </style>