diff --git a/pages.json b/pages.json
index 2c91e8a..12c41b2 100644
--- a/pages.json
+++ b/pages.json
@@ -35,7 +35,8 @@
{
"path": "pages/login/login",
"style": {
- "navigationBarTitleText": "柚健康"
+ "navigationBarTitleText": "柚健康",
+ "navigationStyle": "custom"
}
},
{
diff --git a/pages/archive/edit-archive.vue b/pages/archive/edit-archive.vue
index 159734c..5164395 100644
--- a/pages/archive/edit-archive.vue
+++ b/pages/archive/edit-archive.vue
@@ -55,7 +55,12 @@ const customerArchive = ref(null);
const verifyVisible = ref(false);
const visible = ref(false);
-const formData = computed(() => ({ ...customer.value, ...form.value }));
+const formData = computed(() => {
+ if (customerId.value) {
+ return { ...customer.value, ...form.value }
+ }
+ return { ...customer.value, ...form.value, mobile: account.value?.mobile }
+});
function change({ title, value }) {
if (title) {
@@ -72,6 +77,7 @@ function change({ title, value }) {
}
function confirm() {
+ console.log(formData.value)
if (!tempRef.value.verify()) return;
if (customerId.value) {
updateArchive();
diff --git a/pages/home/home.vue b/pages/home/home.vue
index d84891e..c4e65de 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -57,7 +57,7 @@ async function changeTeam({ teamId, corpId, corpName }) {
async function getTeams() {
loading.value = true;
- const res = await api('queryWxJoinedTeams', { openid: account.value.openid });
+ const res = await api('getWxappRelateTeams', { openid: account.value.openid });
teams.value = res && Array.isArray(res.data) ? res.data : [];
const validTeam = teams.value.find(item => team.value && item.teamId === team.value.teamId) || teams.value[0];
if (validTeam) {
diff --git a/pages/login/login.vue b/pages/login/login.vue
index 00897cf..3fb4c96 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -1,38 +1,54 @@
-
-
-
- {{ team.teamName }}
+
+
+
+
+
+
+ {{ team.teamName }}
+ {{ team.corpName }}
+ 为您提供团队个性化专属服务
+
+
+
+
+
+ 柚健康
+ 生命全周期健康管理伙伴
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 我已阅读并同意
+ 《用户协议》
+ 、
+ 《隐私政策》
- {{ team.corpName }}
- 为您提供团队个性化专属服务
-
-
-
- 柚健康
- 生命全周期健康管理伙伴
-
-
-
-
-
-
-
-
- 我已阅读并同意
- 《用户协议》、
- 《隐私政策》
+