style: 性别选择按钮样式
All checks were successful
git提交控制 AiDA WEB-Node.js main 分支构建部署 / build (20.19.0) (push) Has been skipped

This commit is contained in:
2025-12-18 09:50:35 +08:00
parent 543ac89f9b
commit 58ef526542

View File

@@ -33,8 +33,11 @@ const options = ref<any[]>([
])
const handleSelect = (value: string) => {
if (value === 'male') {// 男性开发中
return showToast(`This feature is currently under development. Please select the 'Female' option for now.`)
if (value === 'male') {
// 男性开发中
return showToast(
`This feature is currently under development. Please select the 'Female' option for now.`
)
}
const generateParams = userInfoStore.getGenerateParams()
generateParams.sex = value
@@ -71,13 +74,24 @@ const handleSelect = (value: string) => {
display: flex;
justify-content: space-between;
.option {
// flex: 1;
// frosted glass style
text-align: center;
font-family: 'satoshiRegular';
font-size: 4.8rem;
width: 29.7rem;
height: 8.3rem;
border: .2rem solid #fff;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
border-radius: .2rem;
background: rgba(255, 255, 255, 0.06);
border: 0.2rem solid #fff;
backdrop-filter: blur(95px);
-webkit-backdrop-filter: blur(95px);
-moz-backdrop-filter: blur(95px);
background-clip: padding-box;
box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}
}
}