From d562f4e71698683e4460dd7bd55ea73562e2b480 Mon Sep 17 00:00:00 2001 From: James-9696 Date: Wed, 25 Dec 2024 23:07:01 -0800 Subject: [PATCH] fix(user-head): modify mobile problem --- .../sites/demos/mobile/app/user-head/basic-usage.vue | 9 ++++----- .../mobile/app/user-head/custom-background-color.vue | 2 +- .../demos/mobile/app/user-head/webdoc/user-head.js | 12 ------------ .../components/user-head/src/renderless/index.ts | 8 ++------ .../mobile/components/user-head/src/user-head.ts | 5 +++-- 5 files changed, 10 insertions(+), 26 deletions(-) diff --git a/examples/sites/demos/mobile/app/user-head/basic-usage.vue b/examples/sites/demos/mobile/app/user-head/basic-usage.vue index 7427624468..dc467b9873 100644 --- a/examples/sites/demos/mobile/app/user-head/basic-usage.vue +++ b/examples/sites/demos/mobile/app/user-head/basic-usage.vue @@ -3,9 +3,9 @@
尺寸
- - - + + +
类型
@@ -35,8 +35,7 @@ export default { data() { return { imageUrl: `${import.meta.env.VITE_APP_BUILD_BASE_URL}static/images/fruit.jpg`, - name: '小明', - namePrefix: '小' + name: '小明' } } } diff --git a/examples/sites/demos/mobile/app/user-head/custom-background-color.vue b/examples/sites/demos/mobile/app/user-head/custom-background-color.vue index 93bd5ea929..14c7b69fde 100644 --- a/examples/sites/demos/mobile/app/user-head/custom-background-color.vue +++ b/examples/sites/demos/mobile/app/user-head/custom-background-color.vue @@ -1,5 +1,5 @@