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 @@ -