From 7ddfb800cdf4e8cbf1f3c1edb55305e460e6b6ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Sun, 5 Oct 2025 09:51:54 +0800 Subject: [PATCH] =?UTF-8?q?feat(pages):=20=E5=AE=9E=E7=8E=B0=E5=95=86?= =?UTF-8?q?=E5=93=81=E5=88=86=E7=B1=BB=E9=A1=B5=E9=9D=A2=E5=8F=8A=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E8=BD=AE=E6=92=AD=E5=9B=BE=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增商品分类页面,包含左侧导航和右侧商品列表 - 实现分类切换和商品展示功能 - 添加骨架屏加载效果和空状态处理 - 优化首页轮播图组件,支持自动播放和触摸滑动 - 调整轮播图高度默认值为300px- 移除旧的热卖商品逻辑,改为获取推荐文章 - 修复医生申请页面用户类型选择功能 - 更新页面标题文本内容 - 添加网站配置获取hook --- src/doctor/apply/add.tsx | 51 ++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/src/doctor/apply/add.tsx b/src/doctor/apply/add.tsx index 897bd9b..357c176 100644 --- a/src/doctor/apply/add.tsx +++ b/src/doctor/apply/add.tsx @@ -400,20 +400,8 @@ const AddUserAddress = () => { - {FormData?.type} - - - {userType?.map((item) => ( - { - setFormData({ - ...FormData, - type: item.value - }) - }}> - {item.label} - - ))} - + + @@ -425,20 +413,31 @@ const AddUserAddress = () => { - - - - + - + - - {FormData?.type == 1 && ( + + { + setFormData({ + ...FormData, + type: value + }) + }} + > + {userType?.map((item) => ( + + {item.label} + + ))} + + + {FormData?.type == 0 && (