From e3239de36c69b89cacc8acb07b32ad0eb5e43b57 Mon Sep 17 00:00:00 2001 From: qiuyuan Date: Wed, 16 Jul 2025 15:07:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/footer_common.vue | 8 +- manifest.json | 15 +- pages.json | 202 +- pages/activeDetail/index.vue | 545 +++ pages/activeList/index.vue | 210 ++ pages/aroundDetail/index.vue | 112 + pages/aroundList/index.vue | 147 + pages/chat/index.vue | 41 +- pages/helpInfo/index.vue | 290 +- pages/index/index.vue | 1086 +++--- pages/meetingDetail/index.vue | 554 +++ pages/meetingList/index.vue | 633 ++++ pages/mine/index.vue | 1082 ++++-- pages/mySeekHelp/index.vue | 490 ++- pages/mySeekHelpDetail/index.vue | 437 +++ pages/myTickets/index.vue | 486 ++- pages/myTicketsDetail/index.vue | 368 ++ pages/neighbor/index.vue | 754 +--- pages/neighborDetail/index.vue | 795 +++- pages/neighborList/index.vue | 157 +- pages/service/index.vue | 14 +- pages/serviceNoticeDetail/index.vue | 244 +- pages/serviceNoticeList/index.vue | 431 +-- pages/serviceTickets/index.vue | 358 +- static/imgs/ai/chuandaguwen.png | Bin 36622 -> 127742 bytes static/imgs/ai/shanshiguanjia.png | Bin 52899 -> 126041 bytes static/imgs/ai/shenghuozixun.png | Bin 52535 -> 114796 bytes static/imgs/ai/zhengceijiedu.png | Bin 56691 -> 119760 bytes static/imgs/index/bangzhu.png | Bin 0 -> 2745 bytes static/imgs/index/dongtai.png | Bin 0 -> 1545 bytes static/imgs/index/gonggao.png | Bin 0 -> 1799 bytes static/imgs/index/linli.png | Bin 0 -> 1669 bytes static/imgs/index/redian.png | Bin 0 -> 1814 bytes static/imgs/index/weixiu.png | Bin 0 -> 2810 bytes static/imgs/noData.jpeg | Bin 0 -> 17165 bytes static/imgs/service/hema.png | Bin 0 -> 31270 bytes static/imgs/service/kfc.png | Bin 0 -> 39072 bytes static/imgs/service/service_friend.png | Bin 967 -> 4234 bytes static/imgs/service/service_help.png | Bin 557 -> 2049 bytes static/imgs/service/service_list.png | Bin 588 -> 1394 bytes static/imgs/service/service_notice.png | Bin 395 -> 5481 bytes static/imgs/service/service_phone.png | Bin 704 -> 3671 bytes static/imgs/service/service_service.png | Bin 890 -> 4043 bytes .../.sourcemap/mp-weixin/common/main.js.map | 2 +- .../mp-weixin/common/runtime.js.map | 2 +- .../.sourcemap/mp-weixin/common/vendor.js.map | 2 +- .../mp-weixin/components/footer_common.js.map | 2 +- .../components/u-button/u-button.js.map | 2 +- .../uview-ui/components/u-icon/u-icon.js.map | 2 +- .../components/u-input/u-input.js.map | 2 +- .../uview-ui/components/u-line/u-line.js.map | 2 +- .../u-loading-icon/u-loading-icon.js.map | 2 +- .../components/u-modal/u-modal.js.map | 2 +- .../components/u-overlay/u-overlay.js.map | 2 +- .../components/u-popup/u-popup.js.map | 2 +- .../u-safe-bottom/u-safe-bottom.js.map | 2 +- .../u-status-bar/u-status-bar.js.map | 2 +- .../u-swiper-indicator.js.map | 2 +- .../components/u-swiper/u-swiper.js.map | 2 +- .../u-transition/u-transition.js.map | 2 +- .../components/u-upload/u-upload.js.map | 2 +- .../mp-weixin/pages/chat/index.js.map | 2 +- .../mp-weixin/pages/index/index.js.map | 2 +- .../mp-weixin/pages/mine/index.js.map | 2 +- .../mp-weixin/pages/neighbor/index.js.map | 2 +- .../mp-weixin/pages/service/index.js.map | 2 +- unpackage/dist/dev/mp-weixin/app.json | 19 +- .../dist/dev/mp-weixin/common/runtime.js | 39 - unpackage/dist/dev/mp-weixin/common/vendor.js | 3253 +++++++++++++++-- .../dev/mp-weixin/components/footer_common.js | 28 +- .../mp-weixin/components/footer_common.json | 4 +- .../mp-weixin/components/footer_common.wxml | 2 +- .../uview-ui/components/u-button/u-button.js | 38 +- .../uview-ui/components/u-icon/u-icon.js | 32 +- .../uview-ui/components/u-input/u-input.js | 32 +- .../uview-ui/components/u-line/u-line.js | 30 +- .../u-loading-icon/u-loading-icon.js | 30 +- .../uview-ui/components/u-modal/u-modal.js | 36 +- .../components/u-overlay/u-overlay.js | 32 +- .../uview-ui/components/u-popup/u-popup.js | 40 +- .../components/u-safe-bottom/u-safe-bottom.js | 30 +- .../components/u-status-bar/u-status-bar.js | 30 +- .../u-swiper-indicator/u-swiper-indicator.js | 30 +- .../uview-ui/components/u-swiper/u-swiper.js | 34 +- .../components/u-transition/u-transition.js | 32 +- .../uview-ui/components/u-upload/u-upload.js | 38 +- .../dist/dev/mp-weixin/pages/chat/index.js | 49 +- .../dist/dev/mp-weixin/pages/chat/index.json | 2 +- .../dist/dev/mp-weixin/pages/chat/index.wxml | 2 +- .../dist/dev/mp-weixin/pages/chat/index.wxss | 17 +- .../dist/dev/mp-weixin/pages/index/index.js | 129 +- .../dist/dev/mp-weixin/pages/index/index.json | 2 +- .../dist/dev/mp-weixin/pages/index/index.wxml | 2 +- .../dist/dev/mp-weixin/pages/index/index.wxss | 569 ++- .../dist/dev/mp-weixin/pages/mine/index.js | 623 +++- .../dist/dev/mp-weixin/pages/mine/index.json | 2 +- .../dist/dev/mp-weixin/pages/mine/index.wxml | 2 +- .../dist/dev/mp-weixin/pages/mine/index.wxss | 214 +- .../dev/mp-weixin/pages/neighbor/index.js | 160 +- .../dev/mp-weixin/pages/neighbor/index.json | 3 +- .../dev/mp-weixin/pages/neighbor/index.wxml | 2 +- .../dev/mp-weixin/pages/neighbor/index.wxss | 295 +- .../dist/dev/mp-weixin/pages/service/index.js | 34 +- .../dev/mp-weixin/pages/service/index.json | 2 +- .../dev/mp-weixin/pages/service/index.wxml | 2 +- .../dev/mp-weixin/pages/service/index.wxss | 3 +- .../dist/dev/mp-weixin/project.config.json | 29 +- .../dev/mp-weixin/project.private.config.json | 13 + .../mp-weixin/static/imgs/ai/chuandaguwen.png | Bin 36622 -> 127742 bytes .../static/imgs/ai/shanshiguanjia.png | Bin 52899 -> 126041 bytes .../static/imgs/ai/shenghuozixun.png | Bin 52535 -> 114796 bytes .../static/imgs/ai/zhengceijiedu.png | Bin 56691 -> 119760 bytes .../mp-weixin/static/imgs/footer/service.png | Bin 663 -> 0 bytes .../static/imgs/service/service_friend.png | Bin 967 -> 4234 bytes .../static/imgs/service/service_help.png | Bin 557 -> 2049 bytes .../static/imgs/service/service_list.png | Bin 588 -> 1394 bytes .../static/imgs/service/service_notice.png | Bin 395 -> 5481 bytes .../static/imgs/service/service_phone.png | Bin 704 -> 3671 bytes .../static/imgs/service/service_service.png | Bin 890 -> 4043 bytes utils/config.js | 7 + utils/request.js | 68 + utils/timeFormat.js | 112 + 122 files changed, 11442 insertions(+), 4215 deletions(-) create mode 100644 pages/activeDetail/index.vue create mode 100644 pages/activeList/index.vue create mode 100644 pages/aroundDetail/index.vue create mode 100644 pages/aroundList/index.vue create mode 100644 pages/meetingDetail/index.vue create mode 100644 pages/meetingList/index.vue create mode 100644 pages/mySeekHelpDetail/index.vue create mode 100644 pages/myTicketsDetail/index.vue create mode 100644 static/imgs/index/bangzhu.png create mode 100644 static/imgs/index/dongtai.png create mode 100644 static/imgs/index/gonggao.png create mode 100644 static/imgs/index/linli.png create mode 100644 static/imgs/index/redian.png create mode 100644 static/imgs/index/weixiu.png create mode 100644 static/imgs/noData.jpeg create mode 100644 static/imgs/service/hema.png create mode 100644 static/imgs/service/kfc.png delete mode 100644 unpackage/dist/dev/mp-weixin/static/imgs/footer/service.png create mode 100644 utils/config.js create mode 100644 utils/request.js create mode 100644 utils/timeFormat.js diff --git a/components/footer_common.vue b/components/footer_common.vue index 94d43b1..aaf6a53 100644 --- a/components/footer_common.vue +++ b/components/footer_common.vue @@ -4,18 +4,18 @@ 首页 - + AI助手 - + 我的 diff --git a/manifest.json b/manifest.json index 3b1416b..7194ea0 100644 --- a/manifest.json +++ b/manifest.json @@ -50,11 +50,20 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "", + "appid" : "wxe81718a1f8100949", "setting" : { - "urlCheck" : false + "urlCheck" : false, + "minified" : true, + "es6" : true, + "postcss" : true }, - "usingComponents" : true + "usingComponents" : true, + "requiredPrivateInfos": ["getLocation"], + "permission" : { + "scope.userLocation" : { + "desc" : "你的位置信息将用于获取周边服务" + } + } }, "mp-alipay" : { "usingComponents" : true diff --git a/pages.json b/pages.json index 903d426..d448a4d 100644 --- a/pages.json +++ b/pages.json @@ -1,15 +1,16 @@ { "easycom": { "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" - }, - + }, + "pages": [ // 首页 { "path": "pages/index/index", "style": { "navigationBarTitleText": "近山社区", - "navigationStyle": "custom" + "navigationStyle": "default", + "usingComponents": {} } }, // AI助手页面 @@ -17,7 +18,8 @@ "path": "pages/chat/index", "style": { "navigationBarTitleText": "近山社区", - "navigationStyle": "custom" + "navigationStyle": "default", + "usingComponents": {} } }, // 服务中心 @@ -25,50 +27,65 @@ "path": "pages/service/index", "style": { "navigationBarTitleText": "近山社区", - "navigationStyle": "custom" + "navigationStyle": "default", + "usingComponents": {} + } + }, + // 智能工单 + { + "path": "pages/serviceTickets/index", + "style": { + "navigationBarTitleText": "近山社区", + "navigationStyle": "default", + "usingComponents": {} + } + }, + // 我的工单 + { + "path": "pages/myTickets/index", + "style": { + "navigationBarTitleText": "近山社区", + "navigationStyle": "default", + "usingComponents": {} } }, - // 智能工单 + // 我的工单详情 { - "path": "pages/serviceTickets/index", + "path": "pages/myTicketsDetail/index", "style": { "navigationBarTitleText": "近山社区", - "navigationStyle": "custom" + "navigationStyle": "default", + "usingComponents": {} } - }, - // 我的工单 - { - "path": "pages/myTickets/index", - "style": { - "navigationBarTitleText": "近山社区", - "navigationStyle": "custom" - } - }, - - //社区公告列表 - { - "path": "pages/serviceNoticeList/index", - "style": { - "navigationBarTitleText": "近山社区", - "navigationStyle": "custom" - } - }, - // 社区公告详情 - { - "path": "pages/serviceNoticeDetail/index", - "style": { - "navigationBarTitleText": "近山社区", - "navigationStyle": "custom" - } - }, - - + }, + + //社区公告列表 + { + "path": "pages/serviceNoticeList/index", + "style": { + "navigationBarTitleText": "近山社区", + "navigationStyle": "default", + "usingComponents": {} + } + }, + // 社区公告详情 + { + "path": "pages/serviceNoticeDetail/index", + "style": { + "navigationBarTitleText": "近山社区", + "navigationStyle": "default", + "usingComponents": {} + } + }, + + // 我的个人中心 { "path": "pages/mine/index", "style": { "navigationBarTitleText": "近山社区", - "navigationStyle": "custom" + "navigationStyle": "default", + "usingComponents": {} } }, // 邻里圈 @@ -76,59 +93,126 @@ "path": "pages/neighbor/index", "style": { "navigationBarTitleText": "近山社区", - "navigationStyle": "custom" + "navigationStyle": "default", + "usingComponents": {} + } + }, + // 发布求助信息 + { + "path": "pages/helpInfo/index", + "style": { + "navigationBarTitleText": "近山社区", + "navigationStyle": "default", + "usingComponents": {} + } + }, + // 我的求助 + { + "path": "pages/mySeekHelp/index", + "style": { + "navigationBarTitleText": "近山社区", + "navigationStyle": "default", + "usingComponents": {} } }, - // 发布求助信息 + // 我的求助详情 { - "path": "pages/helpInfo/index", + "path": "pages/mySeekHelpDetail/index", "style": { "navigationBarTitleText": "近山社区", - "navigationStyle": "custom" + "navigationStyle": "default", + "usingComponents": {} + } + }, + // 邻里圈-邻里互助查看更多列表页 + { + "path": "pages/neighborList/index", + "style": { + "navigationBarTitleText": "近山社区", + "navigationStyle": "default", + "usingComponents": {} + } + }, + // 邻里圈-邻里互助详情页面 + { + "path": "pages/neighborDetail/index", + "style": { + "navigationBarTitleText": "近山社区", + "navigationStyle": "default", + "usingComponents": {} + } + }, + // 周边服务 + { + "path": "pages/aroundList/index", + "style": { + "navigationBarTitleText": "近山社区", + "navigationStyle": "default", + "usingComponents": {} } }, - // 我的求助 + // 周边服务详情 { - "path": "pages/mySeekHelp/index", + "path": "pages/aroundDetail/index", "style": { "navigationBarTitleText": "近山社区", - "navigationStyle": "custom" + "navigationStyle": "default", + "usingComponents": {} } }, - // 邻里圈-邻里互助查看更多列表页 + // 会议室预定 { - "path": "pages/neighborList/index", + "path": "pages/meetingList/index", "style": { "navigationBarTitleText": "近山社区", - "navigationStyle": "custom" + "navigationStyle": "default", + "usingComponents": {} } }, - // 邻里圈-邻里互助详情页面 + // 会议室详情 { - "path": "pages/neighborDetail/index", + "path": "pages/meetingDetail/index", "style": { "navigationBarTitleText": "近山社区", - "navigationStyle": "custom" + "navigationStyle": "default", + "usingComponents": {} + } + }, + // 热门活动 + { + "path": "pages/activeList/index", + "style": { + "navigationBarTitleText": "近山社区", + "navigationStyle": "default", + "usingComponents": {} + } + }, + { + "path": "pages/activeDetail/index", + "style": { + "navigationBarTitleText": "近山社区", + "navigationStyle": "default", + "usingComponents": {} } } ], "globalStyle": { "navigationBarTextStyle": "black", - "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8" }, "uniIdRouter": {}, - "usingComponents": { - + "usingComponents": { + "u-modal": "/node_modules/uview-ui/components/u-modal/u-modal.vue", - "u-icon": "/node_modules/uview-ui/components/u-icon/u-icon.vue", - "u-tabs":"/node_modules/uview-ui/components/u-tabs/u-tabs.vue" , - "u-tag":"/node_modules/uview-ui/components/u-tag/u-tag.vue" + "u-icon": "/node_modules/uview-ui/components/u-icon/u-icon.vue", + "u-tabs": "/node_modules/uview-ui/components/u-tabs/u-tabs.vue", + "u-tag": "/node_modules/uview-ui/components/u-tag/u-tag.vue", + "u-empty": "/node_modules/uview-ui/components/u-empty/u-empty.vue" // 引用自定义组件 - // "bottom-nav": "/components/footer_common.vue", - // "header-nav": "/components/header_common.vue", - + // "bottom-nav": "/components/footer_common.vue", + // "header-nav": "/components/header_common.vue", + } } \ No newline at end of file diff --git a/pages/activeDetail/index.vue b/pages/activeDetail/index.vue new file mode 100644 index 0000000..55d41b2 --- /dev/null +++ b/pages/activeDetail/index.vue @@ -0,0 +1,545 @@ + + + + + \ No newline at end of file diff --git a/pages/activeList/index.vue b/pages/activeList/index.vue new file mode 100644 index 0000000..0e65924 --- /dev/null +++ b/pages/activeList/index.vue @@ -0,0 +1,210 @@ + + + + + \ No newline at end of file diff --git a/pages/aroundDetail/index.vue b/pages/aroundDetail/index.vue new file mode 100644 index 0000000..dc8d5d4 --- /dev/null +++ b/pages/aroundDetail/index.vue @@ -0,0 +1,112 @@ + + + + + + \ No newline at end of file diff --git a/pages/aroundList/index.vue b/pages/aroundList/index.vue new file mode 100644 index 0000000..d195d64 --- /dev/null +++ b/pages/aroundList/index.vue @@ -0,0 +1,147 @@ + + + + + \ No newline at end of file diff --git a/pages/chat/index.vue b/pages/chat/index.vue index b37133b..0864999 100644 --- a/pages/chat/index.vue +++ b/pages/chat/index.vue @@ -14,7 +14,7 @@ {{item.description}} - {{item.text}} + 开始对话> @@ -43,7 +43,7 @@ name:'政策解读', path:'policy', description:['您好,','我是政策解读助手!'].join('\n'), - text:'致力于将复杂的政策文件转化为通俗易懂的信息。我会结合政策背景、核心条款和实际案例,为您提供清晰、中立的解读,帮助您快速抓住重点,规避风险,把握机遇。', + // text:'致力于将复杂的政策文件转化为通俗易懂的信息。我会结合政策背景、核心条款和实际案例,为您提供清晰、中立的解读,帮助您快速抓住重点,规避风险,把握机遇。', imgPath:'../../static/imgs/ai/zhengceijiedu.png', background:'../../static/imgs/ai/zhengceijiedu-background.png', }, @@ -52,10 +52,10 @@ name:'膳食管家', path:'diet', description:['您好,','我是你的膳食管家!'].join('\n'), - text:['近来处于换季期,结合润燥、增强免疫力和营养均衡的原则,帮助身体适应气候变化,以下是我为您推荐的食谱:', - '🌟早餐推荐(温暖脾胃,补充能量)', - '1、南瓜小米红枣粥', - '搭配:水煮蛋 + 凉拌菠菜......'].join('\n'), + // text:['近来处于换季期,结合润燥、增强免疫力和营养均衡的原则,帮助身体适应气候变化,以下是我为您推荐的食谱:', + // '🌟早餐推荐(温暖脾胃,补充能量)', + // '1、南瓜小米红枣粥', + // '搭配:水煮蛋 + 凉拌菠菜......'].join('\n'), imgPath:'../../static/imgs/ai/shanshiguanjia.png', background:'../../static/imgs/ai/shanshiguanjia-background.png', }, @@ -64,11 +64,11 @@ name:'穿搭顾问', path:'outfits', description:['您好,','我是你的穿搭顾问!'].join('\n'), - text:['🌤️ 今日天气穿搭指南 🌡️', - '根据实时气象数据为您定制穿衣方案,助您舒适应对天气变化!', - '通用公式', - '气温+降水+风力 = 基础穿搭', - '活动场景±体感偏好 = 细节调整......'].join('\n'), + // text:['🌤️ 今日天气穿搭指南 🌡️', + // '根据实时气象数据为您定制穿衣方案,助您舒适应对天气变化!', + // '通用公式', + // '气温+降水+风力 = 基础穿搭', + // '活动场景±体感偏好 = 细节调整......'].join('\n'), imgPath:'../../static/imgs/ai/chuandaguwen.png', background:'../../static/imgs/ai/chuandaguwen-background.png', }, @@ -77,7 +77,7 @@ name:'生活咨询', path:'lifeCounseling', description:['您好,','我是你的生活小助手!'].join('\n'), - text:'需要帮孩子制定假期计划?或是突然遇到水管漏水?随时告诉我,立刻为你支招!', + // text:'需要帮孩子制定假期计划?或是突然遇到水管漏水?随时告诉我,立刻为你支招!', imgPath:'../../static/imgs/ai/shenghuozixun.png', background:'../../static/imgs/ai/shenghuozixun-background.png', }, @@ -90,7 +90,7 @@ \ No newline at end of file diff --git a/pages/meetingList/index.vue b/pages/meetingList/index.vue new file mode 100644 index 0000000..329e69d --- /dev/null +++ b/pages/meetingList/index.vue @@ -0,0 +1,633 @@ + + + + + \ No newline at end of file diff --git a/pages/mine/index.vue b/pages/mine/index.vue index 836f8ac..585930c 100644 --- a/pages/mine/index.vue +++ b/pages/mine/index.vue @@ -1,370 +1,714 @@ - - - - - \ No newline at end of file diff --git a/pages/mySeekHelp/index.vue b/pages/mySeekHelp/index.vue index 90884c1..a1ca634 100644 --- a/pages/mySeekHelp/index.vue +++ b/pages/mySeekHelp/index.vue @@ -1,162 +1,266 @@ -