From b66f47dfbbeffedb6f7d53ba73f29a8aea3ea415 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=90=A6?= Date: Tue, 7 Jul 2026 08:50:17 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E7=89=B9=E8=89=B2=E6=96=B9=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E8=BF=AD=E4=BB=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cursor/rules/Code-Standards.mdc | 3 ++- components/AssistantConsultationShell.vue | 2 +- pages/home/home.vue | 2 +- subPackages/chat/chat.vue | 2 +- subPackages/chat/components/MessageBubble.vue | 2 +- subPackages/follow-up/medication-info.vue | 2 +- subPackages/my/my-drug/drug-list.vue | 8 ++++---- subPackages/my/myrecord-detail.vue | 4 ++-- subPackages/register/components/RegisterConfirmStep.vue | 4 ++-- 9 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.cursor/rules/Code-Standards.mdc b/.cursor/rules/Code-Standards.mdc index 99af2df..fa8db67 100644 --- a/.cursor/rules/Code-Standards.mdc +++ b/.cursor/rules/Code-Standards.mdc @@ -6,4 +6,5 @@ alwaysApply: true 1. 写代码的时候要补充详细的中文注释(每个方法是干嘛的,为什么要这样写),如果是工作区,则所有项目都适用该规则 2. 注意不要生成太多的空行,上一部分代码和下一部分代码中间的空行不要大于2行 3. 有封装好的方法、组件需要复用,不要重复造轮子 -4. 小程序端的抽屉全部需要用page-container来防止用户意外退出页面 +4. 小程序端的抽屉全部需要用page-container来防止用户意外退出页面(记得使用v-if而不是v-show) +5. 数据库的(created_at、updated_at、deleted_at)统一使用时间戳,不要使用字符串,并且我在查询器中一级格式化成字符串了,无需再次格式化 diff --git a/components/AssistantConsultationShell.vue b/components/AssistantConsultationShell.vue index 49a8532..a3b3c38 100644 --- a/components/AssistantConsultationShell.vue +++ b/components/AssistantConsultationShell.vue @@ -20,7 +20,7 @@ diff --git a/subPackages/chat/chat.vue b/subPackages/chat/chat.vue index 2bc937d..732baad 100644 --- a/subPackages/chat/chat.vue +++ b/subPackages/chat/chat.vue @@ -117,7 +117,7 @@ {{ parsedContent.question }} - + {{ row.name || '药品' }} ×{{ row.quantity != null ? row.quantity : 1 }} diff --git a/subPackages/follow-up/medication-info.vue b/subPackages/follow-up/medication-info.vue index 489ff76..390a29a 100644 --- a/subPackages/follow-up/medication-info.vue +++ b/subPackages/follow-up/medication-info.vue @@ -88,7 +88,7 @@ {{ clinicQuestion }} 涉及药品 - + {{ row.name || '药品' }} ×{{ row.quantity != null ? row.quantity : 1 }} diff --git a/subPackages/my/my-drug/drug-list.vue b/subPackages/my/my-drug/drug-list.vue index aabd1c1..dc64e3e 100644 --- a/subPackages/my/my-drug/drug-list.vue +++ b/subPackages/my/my-drug/drug-list.vue @@ -164,10 +164,10 @@ 查看物流 - - - - + + 取消 + diff --git a/subPackages/my/myrecord-detail.vue b/subPackages/my/myrecord-detail.vue index 4afa75d..fbd64b7 100644 --- a/subPackages/my/myrecord-detail.vue +++ b/subPackages/my/myrecord-detail.vue @@ -135,7 +135,7 @@ - + @@ -305,7 +305,7 @@ - + {{ (it.content && it.content.drug_name) || '' }} diff --git a/subPackages/register/components/RegisterConfirmStep.vue b/subPackages/register/components/RegisterConfirmStep.vue index 035b151..bb70c54 100644 --- a/subPackages/register/components/RegisterConfirmStep.vue +++ b/subPackages/register/components/RegisterConfirmStep.vue @@ -1,8 +1,8 @@