Files
workspace/code/base-project/base-uniapp/src/pages-sub/login/index.vue
T
2025-09-26 17:31:55 +08:00

89 lines
1.7 KiB
Vue

<script lang="ts" setup>
</script>
<template>
<view class="g3-container">
Container
</view>
</template>
<style lang="scss" scoped>
.g3-container {
display: flex;
flex-direction: column;
gap: 1.5rem;
padding: 2em;
margin: 0 auto;
font-family: 'Inter', sans-serif; /* 设置字体为Inter */
}
.g3-header {
display: flex;
flex-direction: column;
gap: 0.5rem;
.g3-header-title {
font-size: 24px;
font-weight: bold;
color: #575dfb;
}
.g3-header-prompt {
font-size: 16px;
color: #666; /* 提示文字颜色稍微调淡 */
}
}
.g3-content {
width: 100%; /* 宽度调整为100%,以适应容器大小 */
.g3-content-form {
display: flex;
flex-direction: column;
gap: 1.5rem;
.g3-content-form-item {
display: flex;
flex-direction: column;
gap: 0.5rem;
.label {
font-size: 14px;
font-weight: 500;
}
::v-deep .input {
display: flex;
align-items: center;
padding: 0.3rem;
border: 2px solid #0498e1 !important;
border-radius: 6px;
&::after {
display: none;
}
.wd-input__icon {
font-size: 20px;
color: #575dfb;
}
}
}
}
}
.g3-footer {
display: flex;
flex-direction: column;
gap: 0.5rem;
width: 100%; /* 宽度调整为100% */
text-align: center;
::v-deep .login-button {
height: 3rem;
font-size: 1rem;
font-weight: bold;
border-radius: 6px;
.wd-button__text {
display: flex;
gap: 0.5rem;
align-items: center;
justify-content: center;
}
}
.register {
font-size: 14px;
color: #666;
}
}
</style>