diff --git a/project.private.config.json b/project.private.config.json
index a5003b2..b3b0365 100644
--- a/project.private.config.json
+++ b/project.private.config.json
@@ -1,24 +1,141 @@
{
- "projectname": "drug-miniprogram",
- "setting": {
- "compileHotReLoad": true,
- "urlCheck": true,
- "coverView": true,
- "lazyloadPlaceholderEnable": false,
- "skylineRenderEnable": false,
- "preloadBackgroundData": false,
- "autoAudits": false,
- "useApiHook": true,
- "useApiHostProcess": true,
- "showShadowRootInWxmlPanel": true,
- "useStaticServer": true,
- "useLanDebug": false,
- "showES6CompileOption": false,
- "checkInvalidKey": true,
- "ignoreDevUnusedFiles": true,
- "bigPackageSizeSupport": false
- },
- "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
- "condition": {},
- "libVersion": "3.5.8"
-}
\ No newline at end of file
+ "projectname": "drug-miniporgram",
+ "setting": {
+ "compileHotReLoad": true,
+ "urlCheck": true,
+ "coverView": true,
+ "lazyloadPlaceholderEnable": false,
+ "skylineRenderEnable": false,
+ "preloadBackgroundData": false,
+ "autoAudits": false,
+ "useApiHook": true,
+ "useApiHostProcess": true,
+ "showShadowRootInWxmlPanel": true,
+ "useStaticServer": true,
+ "useLanDebug": false,
+ "showES6CompileOption": false,
+ "checkInvalidKey": true,
+ "ignoreDevUnusedFiles": true,
+ "bigPackageSizeSupport": false
+ },
+ "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
+ "condition": {
+ "miniprogram": {
+ "list": [
+ {
+ "name": "药店-教育详情",
+ "pathName": "doctor/pages/article/index",
+ "query": "",
+ "scene": null,
+ "launchMode": "default"
+ },
+ {
+ "name": "药店-教育",
+ "pathName": "doctor/pages/articleList/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "药店-患者列表",
+ "pathName": "doctor/pages/patientList/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "药店-注册",
+ "pathName": "doctor/pages/loginForm/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "药店-登录",
+ "pathName": "doctor/pages/login/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "药店-邀约",
+ "pathName": "doctor/pages/invite/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "药店-我的",
+ "pathName": "doctor/pages/my/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "药店-首页",
+ "pathName": "doctor/pages/home/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "地推端-邀约数明细",
+ "pathName": "ground/pages/stat/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "地推端-邀约",
+ "pathName": "ground/pages/invite/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "地推端-登录页",
+ "pathName": "ground/pages/login/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "工作人员起始页",
+ "pathName": "pages/work/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "患者-首页",
+ "pathName": "pages/index/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "地推端-我的",
+ "pathName": "ground/pages/my/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "地推端-药师管理",
+ "pathName": "ground/pages/pharmacist/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
+ {
+ "name": "地推-首页",
+ "pathName": "ground/pages/home/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ }
+ ]
+ }
+ },
+ "libVersion": "3.5.8"
+}
diff --git a/src/doctor/pages/home/index.scss b/src/doctor/pages/home/index.scss
index 660b19d..f544a50 100644
--- a/src/doctor/pages/home/index.scss
+++ b/src/doctor/pages/home/index.scss
@@ -91,6 +91,7 @@ page {
color: #1a2020;
font-weight: bold;
.fold {
+ margin-left: 10rpx;
display: inline-block;
font-weight: normal;
font-size: 28rpx;
@@ -231,6 +232,7 @@ page {
color: #342317;
font-weight: bold;
.fold {
+ margin-left: 10rpx;
display: inline-block;
font-weight: normal;
font-size: 28rpx;
diff --git a/src/doctor/pages/home/index.ts b/src/doctor/pages/home/index.ts
index 765a0ac..b547fe7 100644
--- a/src/doctor/pages/home/index.ts
+++ b/src/doctor/pages/home/index.ts
@@ -2,8 +2,8 @@ const echarts = require('../../../components/ec-canvas/echarts.js')
Page({
data: {
- fold1: false,
- fold2: false,
+ fold1: true,
+ fold2: true,
},
ecDataTrendComponent1_1: null as any,
async onLoad() {
diff --git a/src/doctor/pages/loginForm/index.wxml b/src/doctor/pages/loginForm/index.wxml
index 4c48bab..82d9143 100644
--- a/src/doctor/pages/loginForm/index.wxml
+++ b/src/doctor/pages/loginForm/index.wxml
@@ -11,7 +11,7 @@
- 您的身份
+ 您的姓名
diff --git a/src/ground/pages/home/index.scss b/src/ground/pages/home/index.scss
index 5c3354e..4d58a36 100644
--- a/src/ground/pages/home/index.scss
+++ b/src/ground/pages/home/index.scss
@@ -82,6 +82,7 @@ page {
color: #1a2020;
font-weight: bold;
.fold {
+ margin-left: 10rpx;
display: inline-block;
font-weight: normal;
font-size: 28rpx;
@@ -243,6 +244,7 @@ page {
color: #1a2020;
font-weight: bold;
.fold {
+ margin-left: 10rpx;
display: inline-block;
font-weight: normal;
font-size: 28rpx;
diff --git a/src/ground/pages/home/index.ts b/src/ground/pages/home/index.ts
index 8334729..62dd082 100644
--- a/src/ground/pages/home/index.ts
+++ b/src/ground/pages/home/index.ts
@@ -2,8 +2,8 @@ const echarts = require('../../../components/ec-canvas/echarts.js')
Page({
data: {
- fold1: false,
- fold2: false,
+ fold1: true,
+ fold2: true,
},
ecDataTrendComponent1_1: null as any,
ecDataTrendComponent2_1: null as any,
diff --git a/src/ground/pages/home/index.wxml b/src/ground/pages/home/index.wxml
index af89884..8236317 100644
--- a/src/ground/pages/home/index.wxml
+++ b/src/ground/pages/home/index.wxml
@@ -226,10 +226,6 @@
@@ -253,10 +249,6 @@
diff --git a/src/ground/pages/my/index.ts b/src/ground/pages/my/index.ts
index ad79a47..71f0832 100644
--- a/src/ground/pages/my/index.ts
+++ b/src/ground/pages/my/index.ts
@@ -15,7 +15,7 @@ Page({
},
handleInvite() {
wx.navigateTo({
- url: '/ground/pages/stat/index',
+ url: '/ground/pages/invite/index',
})
},
hadleExit() {
diff --git a/src/ground/pages/pharmacist/index.ts b/src/ground/pages/pharmacist/index.ts
index edb48e0..91d04b9 100644
--- a/src/ground/pages/pharmacist/index.ts
+++ b/src/ground/pages/pharmacist/index.ts
@@ -1,7 +1,29 @@
const _app = getApp()
Page({
- data: {},
+ data: {
+ names: [
+ '张吉惟',
+ '林国瑞',
+ '林玟书',
+ '林雅南',
+ '江奕云',
+ '刘柏宏',
+ '阮建安',
+ '林子帆',
+ '夏志豪',
+ '吉茹定',
+ '李中冰',
+ '黄文隆',
+ '谢彦文',
+ '傅智翔',
+ '洪振霞',
+ '刘姿婷',
+ '荣姿康',
+ '吕致盈',
+ '方一强',
+ ],
+ },
onLoad() {},
handleInfo() {
wx.navigateTo({
diff --git a/src/ground/pages/pharmacist/index.wxml b/src/ground/pages/pharmacist/index.wxml
index 7448680..7eb844e 100644
--- a/src/ground/pages/pharmacist/index.wxml
+++ b/src/ground/pages/pharmacist/index.wxml
@@ -41,7 +41,7 @@
- 张药师
+ {{names[index]}}
13800138000
diff --git a/src/utils/page.ts b/src/utils/page.ts
index c9e01be..05afbc1 100644
--- a/src/utils/page.ts
+++ b/src/utils/page.ts
@@ -67,7 +67,7 @@ function page(config: WechatMiniprogram.Page.Instance