feat: 前端重构

This commit is contained in:
anonymous
2025-01-07 18:04:40 +08:00
parent dbb57f07c3
commit 21d8f75f6a
43 changed files with 705 additions and 359 deletions
+9 -28
View File
@@ -101,7 +101,7 @@ onLoad(async (options) => {
<view class="pt-45">
<view class="mx-15 px-15 shadow-[0_0_10px_rgba(10,68,245,0.1)] rounded-10">
<view class="flex items-center py-15">
<image class="w-24 h-24" src="@/static/images/login/phone.png" mode="aspectFit" />
<view class="text-gradient">手机号</view>
<input
v-model="form.username"
type="text"
@@ -111,7 +111,7 @@ onLoad(async (options) => {
/>
</view>
<view class="flex items-center py-15">
<image class="w-24 h-24" src="@/static/images/login/password.png" mode="aspectFit" />
<view class="text-gradient">登录密码</view>
<input
v-model="form.password"
placeholder-class="text-#889BC6"
@@ -121,37 +121,18 @@ onLoad(async (options) => {
/>
</view>
<view class="flex items-center py-15">
<image class="w-24 h-24" src="@/static/images/login/password.png" mode="aspectFit" />
<view class="text-gradient">验证码</view>
<input
v-model="form.retpassword"
v-model="form.invitecode"
placeholder-class="text-#889BC6"
type="password"
type="text"
class="text-right flex-1 text-14"
placeholder="请再次输入登录密码"
placeholder="请输入验证码"
/>
<image class="w-60 h-24 ml-15 bg-gray-400" mode="aspectFit" />
</view>
<view class="flex items-center py-15">
<image class="w-24 h-24" src="@/static/images/login/password.png" mode="aspectFit" />
<input
v-model="form.tpassword"
placeholder-class="text-#889BC6"
type="password"
class="text-right flex-1 text-14"
placeholder="请输入支付密码"
/>
</view>
<view class="flex items-center py-15">
<image class="w-24 h-24" src="@/static/images/login/password.png" mode="aspectFit" />
<input
v-model="form.rettpassword"
placeholder-class="text-#889BC6"
type="password"
class="text-right flex-1 text-14"
placeholder="请再次输入支付密码"
/>
</view>
<view class="flex items-center py-15">
<image class="w-24 h-24" src="@/static/images/login/invite.png" mode="aspectFit" />
<view class="text-gradient">邀请码</view>
<input
v-model="form.invitecode"
placeholder-class="text-#889BC6"
@@ -171,7 +152,7 @@ onLoad(async (options) => {
</view>
</template>
<style lang="scss">
<style lang="scss" scoped>
.login-container {
box-sizing: border-box;
min-height: 100vh;