From 110a9517ff7efed06b7fef6c941e613d9d6a9895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A6=86=E9=92=B1=E8=90=BD=E5=B0=BD=E6=A7=BF=E8=8A=B1?= =?UTF-8?q?=E7=A8=80?= <2675540038@qq.com> Date: Fri, 22 Nov 2024 16:37:49 +0800 Subject: [PATCH] 123 --- pages.json | 74 ++- pages/index/directory.vue | 14 +- pages/index/home.vue | 6 +- pages/index/index.vue | 52 +- pages/index/user.vue | 9 +- pages/packageA/user/my_sign.vue | 4 +- pages/packageA/user/sign_details.vue | 108 ++++ pages/packageA/user/sign_in.vue | 183 ++++++ pages/packageB/paper/add.vue | 22 + .../{packageA => packageC}/info/discovery.vue | 2 +- pages/{packageA => packageC}/info/policy.vue | 2 +- .../info/policy_info.vue | 0 .../info/policy_list.vue | 2 +- static/birthday.png | Bin 0 -> 79354 bytes static/map.png | Bin 7819 -> 5100 bytes uni_modules/uni-calendar/changelog.md | 30 + .../components/uni-calendar/calendar.js | 544 +++++++++++++++++ .../components/uni-calendar/i18n/en.json | 12 + .../components/uni-calendar/i18n/index.js | 8 + .../components/uni-calendar/i18n/zh-Hans.json | 12 + .../components/uni-calendar/i18n/zh-Hant.json | 12 + .../uni-calendar/uni-calendar-item.vue | 204 +++++++ .../components/uni-calendar/uni-calendar.vue | 567 ++++++++++++++++++ .../components/uni-calendar/util.js | 360 +++++++++++ uni_modules/uni-calendar/package.json | 86 +++ uni_modules/uni-calendar/readme.md | 103 ++++ util/api.js | 12 +- 27 files changed, 2381 insertions(+), 47 deletions(-) create mode 100644 pages/packageA/user/sign_details.vue create mode 100644 pages/packageA/user/sign_in.vue rename pages/{packageA => packageC}/info/discovery.vue (99%) rename pages/{packageA => packageC}/info/policy.vue (96%) rename pages/{packageA => packageC}/info/policy_info.vue (100%) rename pages/{packageA => packageC}/info/policy_list.vue (96%) create mode 100644 static/birthday.png create mode 100644 uni_modules/uni-calendar/changelog.md create mode 100644 uni_modules/uni-calendar/components/uni-calendar/calendar.js create mode 100644 uni_modules/uni-calendar/components/uni-calendar/i18n/en.json create mode 100644 uni_modules/uni-calendar/components/uni-calendar/i18n/index.js create mode 100644 uni_modules/uni-calendar/components/uni-calendar/i18n/zh-Hans.json create mode 100644 uni_modules/uni-calendar/components/uni-calendar/i18n/zh-Hant.json create mode 100644 uni_modules/uni-calendar/components/uni-calendar/uni-calendar-item.vue create mode 100644 uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue create mode 100644 uni_modules/uni-calendar/components/uni-calendar/util.js create mode 100644 uni_modules/uni-calendar/package.json create mode 100644 uni_modules/uni-calendar/readme.md diff --git a/pages.json b/pages.json index 06809b7..2efb90c 100644 --- a/pages.json +++ b/pages.json @@ -63,39 +63,15 @@ } }, { - "path" : "pages/index/user_map", - "style" : - { - "navigationBarTitleText" : "会员地图" + "path": "pages/index/user_map", + "style": { + "navigationBarTitleText": "会员地图" } } ], "subPackages": [{ "root": "pages/packageA", - "pages": [{ - "path": "info/discovery", - "style": { - "navigationBarTitleText": "河南省青年企业家协会" - } - }, - { - "path": "info/policy", - "style": { - "navigationBarTitleText": "河南省青年企业家协会" - } - }, - { - "path": "info/policy_info", - "style": { - "navigationBarTitleText": "河南省青年企业家协会" - } - }, - { - "path": "info/policy_list", - "style": { - "navigationBarTitleText": "河南省青年企业家协会" - } - }, + "pages": [ { "path": "user/apply_in", "style": { @@ -221,6 +197,18 @@ "style": { "navigationBarTitleText": "河南省青年企业家协会" } + }, + { + "path": "user/sign_in", + "style": { + "navigationBarTitleText": "河南省青年企业家协会" + } + }, + { + "path": "user/sign_details", + "style": { + "navigationBarTitleText": "河南省青年企业家协会" + } } ] }, { @@ -254,6 +242,34 @@ } } ] + }, { + "root": "pages/packageC", + "pages": [ + { + "path": "info/discovery", + "style": { + "navigationBarTitleText": "河南省青年企业家协会" + } + }, + { + "path": "info/policy", + "style": { + "navigationBarTitleText": "河南省青年企业家协会" + } + }, + { + "path": "info/policy_info", + "style": { + "navigationBarTitleText": "河南省青年企业家协会" + } + }, + { + "path": "info/policy_list", + "style": { + "navigationBarTitleText": "河南省青年企业家协会" + } + } + ] }], "globalStyle": { "navigationStyle": "custom", @@ -263,4 +279,4 @@ "backgroundColor": "#F1F2F8" }, "uniIdRouter": {} -} \ No newline at end of file +} diff --git a/pages/index/directory.vue b/pages/index/directory.vue index 4cfa76e..3c8cdc8 100644 --- a/pages/index/directory.vue +++ b/pages/index/directory.vue @@ -56,26 +56,27 @@ - - + + - 企业数量:125家 + 企业数量:{{covers.length}}家 - - @@ -386,6 +387,7 @@ company_image: item.company_image, nikename: item.nikename, title: item.enterprise_name, + photo_image: item.photo_image, callout: { content: item.enterprise_name, textAlign: 'center', diff --git a/pages/index/home.vue b/pages/index/home.vue index 8c40468..e0675dd 100644 --- a/pages/index/home.vue +++ b/pages/index/home.vue @@ -424,12 +424,12 @@ }, openInfo(d) { uni.navigateTo({ - url: '/pages/packageA/info/policy_info?id=' + d.id, + url: '/pages/packageC/info/policy_info?id=' + d.id, }) }, openRight() { uni.navigateTo({ - url: '/pages/packageA/info/policy', + url: '/pages/packageC/info/policy', }) }, async getMsg() { @@ -680,4 +680,4 @@ align-items: center; justify-content: space-between; } - \ No newline at end of file + diff --git a/pages/index/index.vue b/pages/index/index.vue index d6bc73d..e44072b 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,5 +1,6 @@