feat:登录注册完成
This commit is contained in:
49
src/pages/change-password/index.vue
Normal file
49
src/pages/change-password/index.vue
Normal file
@@ -0,0 +1,49 @@
|
||||
<template>
|
||||
<view class="auth-form-page">
|
||||
<app-navbar title="修改密码" />
|
||||
<view class="auth-form-page__body">
|
||||
<text class="auth-form-page__heading">修改密码</text>
|
||||
|
||||
<base-input v-model="password" icon="lock" type="password" placeholder="请输入密码" />
|
||||
<base-input v-model="confirmPassword" icon="lock" type="password" placeholder="确认密码" />
|
||||
|
||||
<view class="auth-form-page__btn">
|
||||
<primary-button text="确认修改" @click="submit" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useChangePassword } from './use-change-password'
|
||||
|
||||
const { password, confirmPassword, submit } = useChangePassword()
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.auth-form-page {
|
||||
min-height: 100vh;
|
||||
background: $color-bg-page;
|
||||
}
|
||||
|
||||
.auth-form-page__body {
|
||||
padding: 32rpx $page-padding-x 48rpx;
|
||||
}
|
||||
|
||||
.auth-form-page__heading {
|
||||
display: block;
|
||||
font-size: 44rpx;
|
||||
font-weight: 700;
|
||||
color: $color-text;
|
||||
margin-bottom: 48rpx;
|
||||
}
|
||||
|
||||
.auth-form-page__btn {
|
||||
margin-top: 16rpx;
|
||||
}
|
||||
|
||||
:deep(.base-input) {
|
||||
border: none;
|
||||
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user