diff --git a/src/pages/health/healthRecord/list.vue b/src/pages/health/healthRecord/list.vue index 52bc04e..ba3c738 100644 --- a/src/pages/health/healthRecord/list.vue +++ b/src/pages/health/healthRecord/list.vue @@ -82,7 +82,7 @@ - + {{ item.name }} diff --git a/src/pages/health/heightWeightRecord/list.vue b/src/pages/health/heightWeightRecord/list.vue index 1089248..7cd3fc9 100644 --- a/src/pages/health/heightWeightRecord/list.vue +++ b/src/pages/health/heightWeightRecord/list.vue @@ -69,7 +69,7 @@ - + {{ item.personName }} diff --git a/src/pages/health/index.vue b/src/pages/health/index.vue index 6e845b6..29dcd85 100644 --- a/src/pages/health/index.vue +++ b/src/pages/health/index.vue @@ -70,29 +70,29 @@ import auth from "@/plugins/auth"; // 建议使用auth进行鉴权操作 import { ref } from "vue"; const healthGridList = ref([ - { path: '/pages/health/person/list', text: '成员管理', icon: 'staff-filled', color: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)', permission: 'health:person:list' }, - { path: '/pages/health/healthRecord/list', text: '健康档案', icon: 'bars', color: 'linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)', permission: 'health:healthRecord:list' }, - { path: '/pages/health/processRecord/list', text: '过程记录', icon: 'list', color: 'linear-gradient(135deg, #fa709a 0%, #fee140 100%)', permission: 'health:processRecord:list' }, - { path: '/pages/health/doctorRecord/list', text: '就医记录', icon: 'medical-filled', color: 'linear-gradient(135deg, #f093fb 0%, #f5576c 100%)', permission: 'health:doctorRecord:list' }, - { path: '/pages/health/marRecord/list', text: '用药记录', icon: 'notification-filled', color: 'linear-gradient(135deg, #d38cff 0%, #9d50bb 100%)', permission: 'health:marRecord:list' }, + { path: '/pages/health/person/list', text: '成员管理', icon: 'person-filled', color: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)', permission: 'health:person:list' }, + { path: '/pages/health/healthRecord/list', text: '健康档案', icon: 'folder-add-filled', color: 'linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)', permission: 'health:healthRecord:list' }, + { path: '/pages/health/processRecord/list', text: '过程记录', icon: 'compose', color: 'linear-gradient(135deg, #fa709a 0%, #fee140 100%)', permission: 'health:processRecord:list' }, + { path: '/pages/health/doctorRecord/list', text: '就医记录', icon: 'heart-filled', color: 'linear-gradient(135deg, #f093fb 0%, #f5576c 100%)', permission: 'health:doctorRecord:list' }, + { path: '/pages/health/marRecord/list', text: '用药记录', icon: 'color', color: 'linear-gradient(135deg, #d38cff 0%, #9d50bb 100%)', permission: 'health:marRecord:list' }, { path: '/pages/health/temperatureRecord/list', text: '体温记录', icon: 'fire-filled', color: 'linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%)', permission: 'health:temperatureRecord:list' }, - { path: '/pages/health/heightWeightRecord/list', text: '身高体重记录', icon: 'person-filled', color: 'linear-gradient(135deg, #11998e 0%, #38ef7d 100%)', permission: 'health:heightWeightRecord:list' }, + { path: '/pages/health/heightWeightRecord/list', text: '身高体重记录', icon: 'staff', color: 'linear-gradient(135deg, #11998e 0%, #38ef7d 100%)', permission: 'health:heightWeightRecord:list' }, { path: '/pages/health/activity/list', text: '活动记录', icon: 'flag-filled', color: 'linear-gradient(135deg, #f6d365 0%, #fda085 100%)', permission: 'health:activity:list' }, - { path: '/pages/health/medicineBasic/list', text: '药品基础信息', icon: 'folder-add-filled', color: 'linear-gradient(135deg, #5f72bd 0%, #9b23ea 100%)', permission: 'health:medicineBasic:list' }, + { path: '/pages/health/medicineBasic/list', text: '药品基础信息', icon: 'locked', color: 'linear-gradient(135deg, #5f72bd 0%, #9b23ea 100%)', permission: 'health:medicineBasic:list' }, { path: '/pages/health/medicineStockIn/list', text: '药品入库清单', icon: 'download-filled', color: 'linear-gradient(135deg, #17c0eb 0%, #f368e0 100%)', permission: 'health:medicineStockIn:list' }, - { path: '/pages/health/medicineStock/list', text: '药品实时库存', icon: 'color', color: 'linear-gradient(135deg, #0be881 0%, #0fbcf9 100%)', permission: 'health:medicineStockIn:list' } + { path: '/pages/health/medicineStock/list', text: '药品实时库存', icon: 'shop', color: 'linear-gradient(135deg, #0be881 0%, #0fbcf9 100%)', permission: 'health:medicineStockIn:list' } ]) const babycareGridList = ref([ - { path: '/pages/health/milkPowderRecord/list', text: '吃奶记录', icon: 'wine', color: 'linear-gradient(135deg, #fa8231 0%, #f7971e 100%)', permission: 'health:milkPowderRecord:list' }, - { path: '/pages/health/statistic/milkPowderStatistic/index', text: '吃奶量统计', icon: 'pie-chart', color: 'linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%)', permission: 'health:milkPowderStatistic:list' } + { path: '/pages/health/milkPowderRecord/list', text: '吃奶记录', icon: 'gift-filled', color: 'linear-gradient(135deg, #fa8231 0%, #f7971e 100%)', permission: 'health:milkPowderRecord:list' }, + { path: '/pages/health/statistic/milkPowderStatistic/index', text: '吃奶量统计', icon: 'bars', color: 'linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%)', permission: 'health:milkPowderStatistic:list' } ]) const healthStaticGridList = ref([ - { path: '/pages/health/statistic/healthStatistic/index', text: '档案统计', icon: 'map', color: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)', permission: 'health:healthRecord:list' }, - { path: '/pages/health/statistic/doctorStatistic/index', text: '就医统计', icon: 'eye-filled', color: 'linear-gradient(135deg, #fc5c65 0%, #fd79a8 100%)', permission: 'health:doctorRecord:list' }, - { path: '/pages/health/statistic/marStatistic/index', text: '用药统计', icon: 'heart-filled', color: 'linear-gradient(135deg, #fd79a8 0%, #e84393 100%)', permission: 'health:marRecord:list' }, - { path: '/pages/health/statistic/temperatureStatistic/index', text: '体温统计', icon: 'fire', color: 'linear-gradient(135deg, #f6d365 0%, #fda085 100%)', permission: 'health:temperatureRecord:list' } + { path: '/pages/health/statistic/healthStatistic/index', text: '档案统计', icon: 'paperplane-filled', color: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)', permission: 'health:healthRecord:list' }, + { path: '/pages/health/statistic/doctorStatistic/index', text: '就医统计', icon: 'home-filled', color: 'linear-gradient(135deg, #fc5c65 0%, #fd79a8 100%)', permission: 'health:doctorRecord:list' }, + { path: '/pages/health/statistic/marStatistic/index', text: '用药统计', icon: 'wallet-filled', color: 'linear-gradient(135deg, #fd79a8 0%, #e84393 100%)', permission: 'health:marRecord:list' }, + { path: '/pages/health/statistic/temperatureStatistic/index', text: '体温统计', icon: 'loop', color: 'linear-gradient(135deg, #f6d365 0%, #fda085 100%)', permission: 'health:temperatureRecord:list' } ]) function navigateTo(path) { uni.navigateTo({ diff --git a/src/pages/health/marRecord/list.vue b/src/pages/health/marRecord/list.vue index 984f376..5330d90 100644 --- a/src/pages/health/marRecord/list.vue +++ b/src/pages/health/marRecord/list.vue @@ -94,13 +94,15 @@ - + {{ item.name }} - {{ item.dosage }} {{ dictStr(item.unit, unitList) }} + + {{ item.dosage }} {{ dictStr(item.unit, unitList) }} + @@ -708,26 +710,31 @@ page { .card-name { color: #ffffff; - font-size: 30rpx; + font-size: 26rpx; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; - flex-shrink: 0; + flex: 1; letter-spacing: 0.5rpx; } + } + + .dosage-section { + display: flex; + align-items: center; + flex-shrink: 0; - .card-code { - color: rgba(255, 255, 255, 0.9); - font-size: 24rpx; - font-weight: 500; + .dosage-value { + color: rgba(255, 255, 255, 0.95); + font-size: 26rpx; + font-weight: 600; line-height: 1.3; white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - flex: 1; - min-width: 0; + padding: 8rpx 16rpx; + background: rgba(255, 255, 255, 0.2); + border-radius: 8rpx; letter-spacing: 0.3rpx; } } diff --git a/src/pages/health/medicineBasic/list.vue b/src/pages/health/medicineBasic/list.vue index f769357..2104165 100644 --- a/src/pages/health/medicineBasic/list.vue +++ b/src/pages/health/medicineBasic/list.vue @@ -79,7 +79,7 @@ - + {{ item.shortName }}-{{ item.brand }}({{ item.packaging }}) diff --git a/src/pages/health/medicineStock/list.vue b/src/pages/health/medicineStock/list.vue index 865fedc..eed1c07 100644 --- a/src/pages/health/medicineStock/list.vue +++ b/src/pages/health/medicineStock/list.vue @@ -13,7 +13,7 @@ - + {{ item.medicineName }} - 库存{{ item.leftCount }}{{ dictStr(item.unit, unitList) }} diff --git a/src/pages/health/medicineStockIn/list.vue b/src/pages/health/medicineStockIn/list.vue index 802d0eb..a38ce1e 100644 --- a/src/pages/health/medicineStockIn/list.vue +++ b/src/pages/health/medicineStockIn/list.vue @@ -79,7 +79,7 @@ - + {{ item.medicineName }} - 入库{{ item.quantity }}{{ dictStr(item.packageUnit, packageUnitList) }} diff --git a/src/pages/health/milkPowderRecord/list.vue b/src/pages/health/milkPowderRecord/list.vue index ec5dd63..1b9ed4c 100644 --- a/src/pages/health/milkPowderRecord/list.vue +++ b/src/pages/health/milkPowderRecord/list.vue @@ -74,7 +74,7 @@ - + {{ item.personName }} - {{ item.sucklesTime }} diff --git a/src/pages/health/processRecord/list.vue b/src/pages/health/processRecord/list.vue index d28a8be..3b027b9 100644 --- a/src/pages/health/processRecord/list.vue +++ b/src/pages/health/processRecord/list.vue @@ -610,7 +610,7 @@ page { .card-code { color: rgba(255, 255, 255, 0.9); - font-size: 28rpx; + font-size: 26rpx; font-weight: 500; line-height: 1.3; white-space: nowrap; diff --git a/src/pages/health/statistic/doctorStatistic/index.vue b/src/pages/health/statistic/doctorStatistic/index.vue index b8df085..b018eec 100644 --- a/src/pages/health/statistic/doctorStatistic/index.vue +++ b/src/pages/health/statistic/doctorStatistic/index.vue @@ -25,7 +25,7 @@ - + 就医次数 @@ -54,7 +54,7 @@ - + 常去科室 @@ -235,20 +235,51 @@ -
- - - - - -
+ + + + + 明细 + + + + 医院 + + + + 科室 + + + + 大夫 + + + + 费用 + + - + {{ item.hospitalName }} @@ -295,7 +326,7 @@ - + {{ item.hospitalName }} @@ -316,7 +347,7 @@ - + {{ item.departments }} @@ -1194,6 +1225,57 @@ page { position: relative; } +.tab-switch { + display: flex; + align-items: center; + gap: 8rpx; + padding: 12rpx 16rpx; + background-color: #f5f7fa; + overflow-x: auto; + + &::-webkit-scrollbar { + display: none; + } + + .tab-item { + flex-shrink: 0; + display: flex; + align-items: center; + justify-content: center; + gap: 6rpx; + padding: 12rpx 20rpx; + background: #ffffff; + border-radius: 20rpx; + box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.08); + transition: all 0.3s ease; + cursor: pointer; + min-width: fit-content; + + text { + font-size: 24rpx; + color: #999999; + font-weight: 500; + line-height: 1; + white-space: nowrap; + } + + &.active { + background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%); + border: 2rpx solid rgba(102, 126, 234, 0.3); + box-shadow: 0 2rpx 12rpx rgba(102, 126, 234, 0.2); + + text { + color: #667eea; + font-weight: 600; + } + } + + &:active { + transform: scale(0.96); + } + } +} + .list-item { margin: 10rpx 24rpx; background-color: #fff; diff --git a/src/pages/health/statistic/healthStatistic/index.vue b/src/pages/health/statistic/healthStatistic/index.vue index 8b1921e..129ccb0 100644 --- a/src/pages/health/statistic/healthStatistic/index.vue +++ b/src/pages/health/statistic/healthStatistic/index.vue @@ -232,9 +232,21 @@ - - - + + + + 档案明细 + + + + 费用明细 + @@ -242,7 +254,7 @@ - + {{ item.name }} @@ -296,7 +308,7 @@ - + {{ item.time }} @@ -1074,11 +1086,55 @@ page { border-radius: 16rpx; box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.08); width: calc(100% - 48rpx); - height: 500rpx; + height: 480rpx; overflow: visible; position: relative; } +.tab-switch { + display: flex; + align-items: center; + gap: 12rpx; + padding: 16rpx 24rpx; + background-color: #f5f7fa; + + .tab-item { + flex: 1; + display: flex; + align-items: center; + justify-content: center; + gap: 8rpx; + padding: 16rpx 24rpx; + background: #ffffff; + border-radius: 12rpx; + box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.08); + transition: all 0.3s ease; + cursor: pointer; + + text { + font-size: 26rpx; + color: #999999; + font-weight: 500; + line-height: 1; + } + + &.active { + background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%); + border: 2rpx solid rgba(102, 126, 234, 0.3); + box-shadow: 0 2rpx 12rpx rgba(102, 126, 234, 0.2); + + text { + color: #667eea; + font-weight: 600; + } + } + + &:active { + transform: scale(0.98); + } + } +} + .list-item { margin: 10rpx 24rpx; background-color: #fff; diff --git a/src/pages/health/statistic/marStatistic/index.vue b/src/pages/health/statistic/marStatistic/index.vue index a9b8ce7..82ad36b 100644 --- a/src/pages/health/statistic/marStatistic/index.vue +++ b/src/pages/health/statistic/marStatistic/index.vue @@ -339,7 +339,7 @@ - + {{ item.medicalName }} - {{ item.useDays || 0 }}天 @@ -370,7 +370,7 @@ - + {{ item.time }} @@ -1080,7 +1080,7 @@ page { border-radius: 16rpx; box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.08); width: calc(100% - 48rpx); - height: 500rpx; + height: 480rpx; overflow: visible; position: relative; } diff --git a/src/pages/health/statistic/milkPowderStatistic/index.vue b/src/pages/health/statistic/milkPowderStatistic/index.vue index c9f2cac..c7a730a 100644 --- a/src/pages/health/statistic/milkPowderStatistic/index.vue +++ b/src/pages/health/statistic/milkPowderStatistic/index.vue @@ -236,7 +236,7 @@ - + {{ item.time }} @@ -919,10 +919,10 @@ page { } .list-item { - margin: 0 0 24rpx; - padding: 24rpx 32rpx; - background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%); + margin: 0 0 16rpx; + background-color: #fff; border-radius: 16rpx; + overflow: hidden; box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.08); transition: all 0.3s ease; @@ -935,53 +935,63 @@ page { display: flex; justify-content: space-between; align-items: center; + padding: 20rpx 24rpx; + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); .record-name-section { display: flex; align-items: center; flex: 1; + min-width: 0; + margin-right: 16rpx; + } + + .record-icon { + width: 48rpx; + height: 48rpx; + background: rgba(255, 255, 255, 0.25); + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + margin-right: 16rpx; + flex-shrink: 0; + } + + .record-info { + flex: 1; + min-width: 0; - .record-icon { - width: 64rpx; - height: 64rpx; - border-radius: 12rpx; - background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); - display: flex; - align-items: center; - justify-content: center; - margin-right: 16rpx; - box-shadow: 0 4rpx 12rpx rgba(102, 126, 234, 0.3); - flex-shrink: 0; - } - - .record-info { - flex: 1; - - .record-name { - font-size: 30rpx; - font-weight: 600; - color: #2c3e50; - line-height: 1.4; - } + .record-name { + color: #ffffff; + font-size: 28rpx; + font-weight: 600; + line-height: 1.3; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } } .cost-section { display: flex; - flex-direction: column; - align-items: flex-end; + align-items: center; + flex-shrink: 0; + white-space: nowrap; .cost-value { + color: #ffffff; font-size: 36rpx; font-weight: 700; - color: #667eea; line-height: 1; + white-space: nowrap; + text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.1); .cost-label { - font-size: 22rpx; - color: #95a5a6; - margin-left: 4rpx; + color: rgba(255, 255, 255, 0.85); + font-size: 24rpx; font-weight: 500; + margin-left: 4rpx; } } } diff --git a/src/pages/health/statistic/temperatureStatistic/index.vue b/src/pages/health/statistic/temperatureStatistic/index.vue index 40c3523..407915a 100644 --- a/src/pages/health/statistic/temperatureStatistic/index.vue +++ b/src/pages/health/statistic/temperatureStatistic/index.vue @@ -220,7 +220,7 @@ - + {{ item.time }} diff --git a/src/pages/health/temperatureRecord/list.vue b/src/pages/health/temperatureRecord/list.vue index 737d0f7..ef6fbc2 100644 --- a/src/pages/health/temperatureRecord/list.vue +++ b/src/pages/health/temperatureRecord/list.vue @@ -87,9 +87,11 @@ {{ item.personName }} {{ item.measureTime }} - 测量体温 {{ item.temperature }}℃ + + {{ item.temperature }}℃ + @@ -603,31 +605,38 @@ page { line-height: 1.3; white-space: nowrap; flex-shrink: 0; - margin-right: 8rpx; } + } + + .temperature-section { + display: flex; + align-items: center; + flex-shrink: 0; - .card-code { - color: rgba(255, 255, 255, 0.9); - font-size: 28rpx; - font-weight: 500; + .temperature-value { + font-size: 32rpx; + font-weight: 700; line-height: 1.3; - overflow: hidden; - text-overflow: ellipsis; white-space: nowrap; - flex: 1; - min-width: 0; - letter-spacing: 0.3rpx; + padding: 10rpx 20rpx; + background: rgba(255, 255, 255, 0.2); + border-radius: 10rpx; + letter-spacing: 0.5rpx; - .temp-normal { - color: rgba(255, 255, 255, 0.9); + &.temp-normal { + color: rgba(255, 255, 255, 0.95); } - .temp-warning { + &.temp-warning { color: #ff7875; + background: rgba(255, 120, 117, 0.15); + font-weight: 800; } - .temp-danger { + &.temp-danger { color: #ff4d4f; + background: rgba(255, 77, 79, 0.15); + font-weight: 800; } } } diff --git a/src/pages/invest/debitCard/addEdit.vue b/src/pages/invest/debitCard/addEdit.vue deleted file mode 100644 index b020dc5..0000000 --- a/src/pages/invest/debitCard/addEdit.vue +++ /dev/null @@ -1,298 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/src/pages/invest/debitCard/adjustLimit.vue b/src/pages/invest/debitCard/adjustLimit.vue deleted file mode 100644 index 227fea9..0000000 --- a/src/pages/invest/debitCard/adjustLimit.vue +++ /dev/null @@ -1,470 +0,0 @@ - - - - - - - diff --git a/src/pages/invest/debitCard/details.vue b/src/pages/invest/debitCard/details.vue deleted file mode 100644 index a53c00c..0000000 --- a/src/pages/invest/debitCard/details.vue +++ /dev/null @@ -1,308 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/pages/invest/debitCard/limitHistory.vue b/src/pages/invest/debitCard/limitHistory.vue deleted file mode 100644 index e173ecc..0000000 --- a/src/pages/invest/debitCard/limitHistory.vue +++ /dev/null @@ -1,486 +0,0 @@ - - - - - diff --git a/src/pages/invest/debitCard/list.vue b/src/pages/invest/debitCard/list.vue deleted file mode 100644 index f414792..0000000 --- a/src/pages/invest/debitCard/list.vue +++ /dev/null @@ -1,688 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/pages/invest/shouye/index.vue b/src/pages/invest/shouye/index.vue deleted file mode 100644 index cbedfdf..0000000 --- a/src/pages/invest/shouye/index.vue +++ /dev/null @@ -1,1238 +0,0 @@ - - - - diff --git a/src/pages/invest/statics/creditBillAnalysis/index.vue b/src/pages/invest/statics/creditBillAnalysis/index.vue deleted file mode 100644 index 50f6c99..0000000 --- a/src/pages/invest/statics/creditBillAnalysis/index.vue +++ /dev/null @@ -1,979 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/pages/invest/work/index.vue b/src/pages/invest/work/index.vue deleted file mode 100644 index d44860e..0000000 --- a/src/pages/invest/work/index.vue +++ /dev/null @@ -1,219 +0,0 @@ - - - - -