@@ -77,9 +77,9 @@ async function getCode() {
7777 </script >
7878
7979<template >
80- <div class =" m-x-a text-center w-7xl " >
80+ <div class =" mx-auto p-3 text-center w-full " >
8181 <van-form :model =" postData" :rules =" rules" validate-trigger =" onSubmit" @submit =" register" >
82- <div class =" rounded-3xl overflow-hidden" >
82+ <div class =" rounded-md overflow-hidden" >
8383 <van-field
8484 v-model.trim =" postData.email"
8585 :rules =" rules.email"
@@ -88,7 +88,7 @@ async function getCode() {
8888 />
8989 </div >
9090
91- <div class =" mt-16 rounded-3xl overflow-hidden" >
91+ <div class =" mt-4 rounded-md overflow-hidden" >
9292 <van-field
9393 v-model.trim =" postData.code"
9494 :rules =" rules.code"
@@ -103,7 +103,7 @@ async function getCode() {
103103 </van-field >
104104 </div >
105105
106- <div class =" mt-16 rounded-3xl overflow-hidden" >
106+ <div class =" mt-4 rounded-md overflow-hidden" >
107107 <van-field
108108 v-model.trim =" postData.nickname"
109109 :rules =" rules.nickname"
@@ -112,7 +112,7 @@ async function getCode() {
112112 />
113113 </div >
114114
115- <div class =" mt-16 rounded-3xl overflow-hidden" >
115+ <div class =" mt-4 rounded-md overflow-hidden" >
116116 <van-field
117117 v-model.trim =" postData.password"
118118 type =" password"
@@ -122,7 +122,7 @@ async function getCode() {
122122 />
123123 </div >
124124
125- <div class =" mt-16 rounded-3xl overflow-hidden" >
125+ <div class =" mt-4 rounded-md overflow-hidden" >
126126 <van-field
127127 v-model.trim =" postData.confirmPassword"
128128 type =" password"
@@ -132,7 +132,7 @@ async function getCode() {
132132 />
133133 </div >
134134
135- <div class =" mt-16 " >
135+ <div class =" mt-4 " >
136136 <van-button
137137 :loading =" loading"
138138 type =" primary"
0 commit comments