diff --git a/.npmrc b/.npmrc
new file mode 100644
index 0000000..cf04042
--- /dev/null
+++ b/.npmrc
@@ -0,0 +1,2 @@
+shamefully-hoist=true
+strict-peer-dependencies=false
diff --git a/src/config.js b/src/config.js
index 95a0d70..e7b0a12 100644
--- a/src/config.js
+++ b/src/config.js
@@ -1,6 +1,6 @@
// 应用全局配置
const config = {
- baseUrl: 'https://qdintc.com//prod-api',
+ baseUrl: 'https://www.qdintc.com/prod-api',
// baseUrl: 'http://localhost:8080',
//cloud后台网关地址
// baseUrl: 'http://192.168.10.3:8080',
@@ -11,7 +11,7 @@ const config = {
// 应用版本
version: "1.1.0",
// 应用logo
- logo: "/static/logo.jpg",
+ logo: "/static/logo.png",
// 官方网站
site_url: "https://www.qdintc.com",
// 政策协议
diff --git a/src/directive/common/copyText.js b/src/directive/common/copyText.js
index 7063df8..e07902c 100644
--- a/src/directive/common/copyText.js
+++ b/src/directive/common/copyText.js
@@ -22,6 +22,7 @@ export default {
}
function copyTextToClipboard(input, { target = document.body } = {}) {
+ // #ifdef H5
const element = document.createElement('textarea');
const previouslyFocusedElement = document.activeElement;
@@ -63,4 +64,18 @@ function copyTextToClipboard(input, { target = document.body } = {}) {
}
return isSuccess;
+ // #endif
+
+ // #ifndef H5
+ // 使用 uni-app 的剪贴板 API
+ uni.setClipboardData({
+ data: input,
+ success: function () {
+ return true;
+ },
+ fail: function () {
+ return false;
+ }
+ });
+ // #endif
}
diff --git a/src/manifest.json b/src/manifest.json
index c10545e..4dc4a3f 100644
--- a/src/manifest.json
+++ b/src/manifest.json
@@ -52,9 +52,14 @@
"mp-weixin" : {
"appid" : "",
"setting" : {
- "urlCheck" : false
+ "urlCheck" : false,
+ "es6" : true,
+ "minified" : true
},
- "usingComponents" : true
+ "usingComponents" : true,
+ "optimization" : {
+ "subPackages" : true
+ }
},
"mp-alipay" : {
"usingComponents" : true
diff --git a/src/pages/assets/completionTickets.png b/src/pages/assets/completionTickets.png
deleted file mode 100644
index a6f34bf..0000000
Binary files a/src/pages/assets/completionTickets.png and /dev/null differ
diff --git a/src/pages/assets/completionTime.png b/src/pages/assets/completionTime.png
deleted file mode 100644
index 8a1114f..0000000
Binary files a/src/pages/assets/completionTime.png and /dev/null differ
diff --git a/src/pages/assets/four.png b/src/pages/assets/four.png
deleted file mode 100644
index a12edd7..0000000
Binary files a/src/pages/assets/four.png and /dev/null differ
diff --git a/src/pages/assets/one.png b/src/pages/assets/one.png
deleted file mode 100644
index 78d2c2b..0000000
Binary files a/src/pages/assets/one.png and /dev/null differ
diff --git a/src/pages/assets/positiveRating.png b/src/pages/assets/positiveRating.png
deleted file mode 100644
index f4103ec..0000000
Binary files a/src/pages/assets/positiveRating.png and /dev/null differ
diff --git a/src/pages/assets/three.png b/src/pages/assets/three.png
deleted file mode 100644
index d1e8225..0000000
Binary files a/src/pages/assets/three.png and /dev/null differ
diff --git a/src/pages/assets/ticketSum.png b/src/pages/assets/ticketSum.png
deleted file mode 100644
index fc1246c..0000000
Binary files a/src/pages/assets/ticketSum.png and /dev/null differ
diff --git a/src/pages/assets/two.png b/src/pages/assets/two.png
deleted file mode 100644
index 0f474ce..0000000
Binary files a/src/pages/assets/two.png and /dev/null differ
diff --git a/src/pages/common/agreement/index.vue b/src/pages/common/agreement/index.vue
new file mode 100644
index 0000000..745ce11
--- /dev/null
+++ b/src/pages/common/agreement/index.vue
@@ -0,0 +1,135 @@
+
+
+
+
+ 用户服务协议
+
+
+ 一、服务条款的接受
+ 欢迎使用智聪健康管理平台。请您仔细阅读本协议,使用本服务即表示您同意遵守本协议的所有条款。
+
+
+
+ 二、服务说明
+ 本平台为用户提供以下服务:
+ 1. 健康数据记录与管理
+ 2. 健康数据统计与分析
+ 3. 健康档案管理
+ 4. 其他健康管理相关功能
+
+
+
+ 三、用户账号
+ 1. 您需要注册账号才能使用本服务
+ 2. 您应妥善保管账号信息,不得转让或借用他人
+ 3. 您对账号下的所有行为承担责任
+ 4. 如发现账号被盗用,请立即通知我们
+
+
+
+ 四、用户行为规范
+ 使用本服务时,您不得:
+ 1. 发布违法违规信息
+ 2. 侵犯他人合法权益
+ 3. 干扰或破坏服务正常运行
+ 4. 使用任何自动化程序访问服务
+
+
+
+ 五、知识产权
+ 1. 本平台的所有内容受知识产权法保护
+ 2. 未经授权,不得复制、修改或传播平台内容
+ 3. 您上传的内容,授权我们在服务范围内使用
+
+
+
+ 六、免责声明
+ 1. 本平台提供的健康数据仅供参考,不构成医疗建议
+ 2. 我们不对因使用本服务造成的任何损失承担责任
+ 3. 服务可能因维护、升级等原因中断
+
+
+
+ 七、协议修改
+ 我们有权随时修改本协议,修改后的协议将在平台公布。继续使用服务即视为接受修改后的协议。
+
+
+
+ 八、联系我们
+ 如对本协议有任何疑问,请通过以下方式联系我们:
+ 邮箱: qdintc@126.com
+
+
+
+ 最后更新时间: 2025年1月
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/common/privacy/index.vue b/src/pages/common/privacy/index.vue
new file mode 100644
index 0000000..3626013
--- /dev/null
+++ b/src/pages/common/privacy/index.vue
@@ -0,0 +1,125 @@
+
+
+
+
+ 隐私协议
+
+
+ 一、信息收集
+ 我们会收集您在使用服务时主动提供的信息,包括但不限于:
+ 1. 注册信息:账号、密码等
+ 2. 健康信息:体温、体重、身高等健康数据
+ 3. 设备信息:设备型号、操作系统版本等
+
+
+
+ 二、信息使用
+ 我们收集的信息将用于:
+ 1. 为您提供健康管理服务
+ 2. 改进和优化我们的服务
+ 3. 保障系统安全和稳定运行
+
+
+
+ 三、信息保护
+ 我们采用业界标准的安全措施保护您的个人信息,包括:
+ 1. 数据加密传输和存储
+ 2. 严格的访问权限控制
+ 3. 定期的安全审计
+
+
+
+ 四、信息共享
+ 除以下情况外,我们不会向第三方共享您的个人信息:
+ 1. 事先获得您的明确同意
+ 2. 法律法规要求
+ 3. 与授权合作伙伴共享(需脱敏处理)
+
+
+
+ 五、您的权利
+ 您有权:
+ 1. 访问、更正或删除您的个人信息
+ 2. 撤回授权同意
+ 3. 注销账户
+
+
+
+ 六、联系我们
+ 如对本隐私协议有任何疑问,请通过以下方式联系我们:
+ 邮箱: qdintc@126.com
+
+
+
+ 最后更新时间: 2025年1月
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/health/activity/addEdit.vue b/src/pages/health/activity/addEdit.vue
index b0df681..54ddf47 100644
--- a/src/pages/health/activity/addEdit.vue
+++ b/src/pages/health/activity/addEdit.vue
@@ -1,11 +1,5 @@
-
-
{{ title}}
@@ -55,20 +49,16 @@
-
+
-
+
-
+
-
+
diff --git a/src/pages/health/activity/list.vue b/src/pages/health/activity/list.vue
index 078f86b..41c2922 100644
--- a/src/pages/health/activity/list.vue
+++ b/src/pages/health/activity/list.vue
@@ -2,8 +2,17 @@
-
+
@@ -249,17 +258,43 @@ page {
position: relative;
z-index: 100;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
+ gap: 24rpx;
.search-input {
background: rgba(102, 126, 234, 0.08);
color: #333333;
flex: 1;
- margin-right: 16rpx;
+ margin-right: 0;
border-radius: 24rpx;
border: 2rpx solid rgba(102, 126, 234, 0.3);
height: 66rpx !important;
display: flex;
align-items: center;
+
+ /* H5端placeholder样式 */
+ :deep(input::placeholder) {
+ color: #909399 !important;
+ font-size: 14px !important;
+ }
+
+ :deep(input::-webkit-input-placeholder) {
+ color: #909399 !important;
+ font-size: 14px !important;
+ }
+
+ :deep(input::-moz-placeholder) {
+ color: #909399 !important;
+ font-size: 14px !important;
+ }
+
+ /* 输入文字颜色 */
+ :deep(.u-input__content__field-wrapper__field) {
+ color: #333333 !important;
+ }
+
+ :deep(input) {
+ color: #333333 !important;
+ }
}
.add-btn {
diff --git a/src/pages/health/doctorRecord/addEdit.vue b/src/pages/health/doctorRecord/addEdit.vue
index 1b6a8aa..e7a4fd2 100644
--- a/src/pages/health/doctorRecord/addEdit.vue
+++ b/src/pages/health/doctorRecord/addEdit.vue
@@ -1,11 +1,5 @@
-
-
{{ title}}
@@ -57,20 +51,16 @@
-
+
-
+
-
+
-
+
diff --git a/src/pages/health/doctorRecord/list.vue b/src/pages/health/doctorRecord/list.vue
index 9a7cc67..a7cd0ed 100644
--- a/src/pages/health/doctorRecord/list.vue
+++ b/src/pages/health/doctorRecord/list.vue
@@ -3,18 +3,50 @@
-
-
+
+
+
+
+
+
新增
-
-
+
+
+
+
+
+
筛选
@@ -445,7 +477,7 @@ page {
display: flex;
justify-content: space-between;
align-items: center;
- gap: 16rpx;
+ gap: 10rpx;
&:first-child {
padding-bottom: 8rpx;
@@ -455,15 +487,54 @@ page {
padding-top: 8rpx;
}
+ .search-input-wrapper {
+ flex: 1;
+ display: flex;
+ align-items: center;
+ position: relative;
+
+ .search-icon {
+ position: absolute;
+ right: 20rpx;
+ z-index: 10;
+ cursor: pointer;
+ }
+ }
+
.search-input {
background: rgba(102, 126, 234, 0.08);
color: #333333;
- flex: 1;
+ width: 100%;
border-radius: 24rpx;
border: 2rpx solid rgba(102, 126, 234, 0.3);
height: 66rpx !important;
display: flex;
align-items: center;
+
+ /* H5端placeholder样式 */
+ :deep(input::placeholder) {
+ color: #909399 !important;
+ font-size: 14px !important;
+ }
+
+ :deep(input::-webkit-input-placeholder) {
+ color: #909399 !important;
+ font-size: 14px !important;
+ }
+
+ :deep(input::-moz-placeholder) {
+ color: #909399 !important;
+ font-size: 14px !important;
+ }
+
+ /* 输入文字颜色 */
+ :deep(.u-input__content__field-wrapper__field) {
+ color: #333333 !important;
+ }
+
+ :deep(input) {
+ color: #333333 !important;
+ }
}
.filter-btn,
diff --git a/src/pages/health/healthRecord/addEdit.vue b/src/pages/health/healthRecord/addEdit.vue
index a69d71d..2505284 100644
--- a/src/pages/health/healthRecord/addEdit.vue
+++ b/src/pages/health/healthRecord/addEdit.vue
@@ -1,11 +1,5 @@
-
-
{{ title}}
@@ -44,16 +38,13 @@
-
+
-
+
-
+
-
-
+
费用
-
-
-
-
+
+
+
-
-
+
+
+
+
+
+
-
-
+
+
+
+
+
+
-
-
+
+
+
+
+
+
筛选
@@ -126,11 +173,18 @@
档案统计
-
- 列表
+
+ 档案明细
+
+
+
+ 费用明细
-
-
-
-
- 档案明细
-
-
-
- 费用明细
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -365,7 +406,7 @@ const tabShow = ref(false)
const firstType = ref("primary")
const secondType = ref("default")
const secondListData = ref([])
-const viewMode = ref('list') // 'list', 'line', 'column'
+const viewMode = ref('record') // 'record', 'cost', 'line', 'column'
// 曲线图配置
const lineChartOpts = computed(() => {
@@ -417,6 +458,24 @@ const lineChartOpts = computed(() => {
onShadow: false,
animation: 'vertical'
},
+ tooltip: {
+ showBox: true,
+ showArrow: true,
+ showCategory: true,
+ bgColor: '#000000',
+ bgOpacity: 0.7,
+ gridType: 'dash',
+ dashLength: 4,
+ gridColor: '#CCCCCC',
+ fontColor: '#FFFFFF',
+ splitLine: true,
+ horizentalLine: true,
+ xAxisLabel: true,
+ yAxisLabel: true,
+ labelBgColor: '#000000',
+ labelBgOpacity: 0.7,
+ labelFontColor: '#FFFFFF'
+ },
markLine: {
type: 'dash',
dashLength: 5,
@@ -483,6 +542,24 @@ const columnChartOpts = computed(() => {
barBorderCircle: true,
seriesGap: 2,
categoryGap: 2
+ },
+ tooltip: {
+ showBox: true,
+ showArrow: true,
+ showCategory: true,
+ bgColor: '#000000',
+ bgOpacity: 0.7,
+ gridType: 'dash',
+ dashLength: 4,
+ gridColor: '#CCCCCC',
+ fontColor: '#FFFFFF',
+ splitLine: true,
+ horizentalLine: true,
+ xAxisLabel: true,
+ yAxisLabel: true,
+ labelBgColor: '#000000',
+ labelBgOpacity: 0.7,
+ labelFontColor: '#FFFFFF'
}
}
}
@@ -847,16 +924,55 @@ page {
z-index: 100;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
+ .search-input-wrapper {
+ flex: 1;
+ display: flex;
+ align-items: center;
+ position: relative;
+
+ .search-icon {
+ position: absolute;
+ right: 20rpx;
+ z-index: 10;
+ cursor: pointer;
+ }
+ }
+
.search-input {
background: rgba(102, 126, 234, 0.08);
color: #333333;
- flex: 1;
- margin-right: 16rpx;
+ width: 100%;
+ margin-right: 0;
border-radius: 24rpx;
border: 2rpx solid rgba(102, 126, 234, 0.3);
height: 66rpx !important;
display: flex;
align-items: center;
+
+ /* H5端placeholder样式 */
+ :deep(input::placeholder) {
+ color: #909399 !important;
+ font-size: 14px !important;
+ }
+
+ :deep(input::-webkit-input-placeholder) {
+ color: #909399 !important;
+ font-size: 14px !important;
+ }
+
+ :deep(input::-moz-placeholder) {
+ color: #909399 !important;
+ font-size: 14px !important;
+ }
+
+ /* 输入文字颜色 */
+ :deep(.u-input__content__field-wrapper__field) {
+ color: #333333 !important;
+ }
+
+ :deep(input) {
+ color: #333333 !important;
+ }
}
.filter-btn {
@@ -1080,61 +1196,17 @@ page {
}
.chart-container {
- margin: 16rpx 24rpx 60rpx;
+ margin: 16rpx 24rpx 20rpx;
padding: 16rpx;
background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
border-radius: 16rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.08);
width: calc(100% - 48rpx);
- height: 480rpx;
+ height: 450rpx;
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 82ad36b..311ff67 100644
--- a/src/pages/health/statistic/marStatistic/index.vue
+++ b/src/pages/health/statistic/marStatistic/index.vue
@@ -2,19 +2,66 @@
-
-
+
+
+
+
+
+
-
-
+
+
+
+
+
+
-
-
+
+
+
+
+
+
筛选
@@ -62,8 +109,8 @@
-