优化细节

This commit is contained in:
icssoa
2025-08-26 18:47:38 +08:00
parent 6c691c7653
commit 2edfb8a6cc
2 changed files with 8 additions and 2 deletions

View File

@@ -34,6 +34,7 @@
<cl-svg
v-else
class="h-full w-full pointer-events-none"
color="none"
:src="captcha.img"
></cl-svg>
</view>
@@ -144,7 +145,12 @@ async function getCaptcha() {
};
await service.user.login
.captcha({ color: isDark.value ? "#ffffff" : "#2c3142", phone: props.phone })
.captcha({
color: isDark.value ? "#ffffff" : "#2c3142",
phone: props.phone,
width: 200,
height: 70
})
.then((res) => {
const data = parse<Res>(res)!;

View File

@@ -77,7 +77,7 @@
@tap="open('birthday')"
>
<cl-text>{{ user.info.birthday }}</cl-text>
<cl-text color="info" v-if="user.info['birthday'] == null">{{
<cl-text color="info" v-if="user.info.birthday == null">{{
t("选择生日")
}}</cl-text>
</cl-list-item>