diff --git a/.env b/.env index 2518203..630a551 100644 --- a/.env +++ b/.env @@ -7,6 +7,7 @@ SHOPRO_BASE_URL=http://api-dashboard.yudao.iocoder.cn # 后端接口 - 测试环境(通过 process.env.NODE_ENV = development) #SHOPRO_DEV_BASE_URL=http://127.0.0.1:48080 SHOPRO_DEV_BASE_URL=http://1.12.53.43:9999 +#SHOPRO_DEV_BASE_URL=http://192.168.1.105:48080 ### SHOPRO_DEV_BASE_URL=http://10.171.1.188:48080 ### SHOPRO_DEV_BASE_URL = http://yunai.natapp1.cc diff --git a/pages.json b/pages.json index d13d3a8..8c1db5f 100644 --- a/pages.json +++ b/pages.json @@ -605,7 +605,18 @@ } }, { - "path": "notice/detail", + "path": "community/dynamics-detail", + "style": { + "navigationBarTitleText": "社区动态" + }, + "meta": { + "sync": true, + "title": "社区动态详情", + "group": "物业管理" + } + }, + { + "path": "notice/list", "style": { "navigationBarTitleText": "通知公告" }, @@ -615,6 +626,17 @@ "group": "物业管理" } }, + { + "path": "notice/detail", + "style": { + "navigationBarTitleText": "通知详情" + }, + "meta": { + "sync": true, + "title": "通知详情", + "group": "物业管理" + } + }, { "path": "activity/list", "style": { @@ -670,6 +692,17 @@ "group": "物业管理" } }, + { + "path": "knowledge/detail", + "style": { + "navigationBarTitleText": "知识课堂" + }, + "meta": { + "sync": true, + "title": "知识课堂详情", + "group": "物业管理" + } + }, { "path": "community/daily", "style": { @@ -681,6 +714,17 @@ "title": "物业日常", "group": "物业管理" } + }, + { + "path": "service/more", + "style": { + "navigationBarTitleText": "更多服务" + }, + "meta": { + "sync": true, + "title": "更多服务", + "group": "物业管理" + } } ] }, diff --git a/pages/index/index.vue b/pages/index/index.vue index f529e73..4d617bd 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -28,7 +28,7 @@ indicator-color="rgba(255, 127, 105, 0.3)" indicator-active-color="#FF7F69" > - + - + - - + + @@ -58,8 +58,9 @@ + + diff --git a/pages/sub/service/more.vue b/pages/sub/service/more.vue new file mode 100644 index 0000000..8286034 --- /dev/null +++ b/pages/sub/service/more.vue @@ -0,0 +1,158 @@ + + + + + + diff --git a/sheep/api/community/dynamics.js b/sheep/api/community/dynamics.js new file mode 100644 index 0000000..5ffa522 --- /dev/null +++ b/sheep/api/community/dynamics.js @@ -0,0 +1,30 @@ +import request from '@/sheep/request'; + +const DynamicsApi = { + // 查询社区动态列表 + getPage: (params) => { + return request({ + url: '/community/post/page', + method: 'GET', + data: params, + custom: { + showLoading: false, + auth: true, + }, + }); + }, + // 查询社区动态详情 + getDetail: (id) => { + return request({ + url: '/community/post/get', + method: 'GET', + data: { id }, + custom: { + showLoading: true, + auth: true, + }, + }); + }, +}; + +export default DynamicsApi; diff --git a/sheep/api/community/knowledge.js b/sheep/api/community/knowledge.js new file mode 100644 index 0000000..29677de --- /dev/null +++ b/sheep/api/community/knowledge.js @@ -0,0 +1,30 @@ +import request from '@/sheep/request'; + +const KnowledgeApi = { + // 查询知识课堂列表 + getPage: (params) => { + return request({ + url: '/community/knowledge-class/page', + method: 'GET', + data: params, + custom: { + showLoading: false, + auth: true, + }, + }); + }, + // 查询知识课堂详情 + getDetail: (id) => { + return request({ + url: '/community/knowledge-class/get', + method: 'GET', + data: { id }, + custom: { + showLoading: true, + auth: true, + }, + }); + }, +}; + +export default KnowledgeApi; diff --git a/sheep/api/community/notice.js b/sheep/api/community/notice.js new file mode 100644 index 0000000..d9f793c --- /dev/null +++ b/sheep/api/community/notice.js @@ -0,0 +1,54 @@ +import request from '@/sheep/request'; + +const NoticeApi = { + // 查询通知列表 + getPage: (params) => { + return request({ + url: '/community/notice/page', + method: 'GET', + data: params, + custom: { + showLoading: false, + auth: true, + }, + }); + }, + // 查询通知详情 + getDetail: (id) => { + return request({ + url: '/community/notice/get', + method: 'GET', + data: { id }, + custom: { + showLoading: true, + auth: true, + }, + }); + }, + // 查询Banner列表 + getBannerList: (position) => { + return request({ + url: '/community/banner/list', + method: 'GET', + data: { position }, + custom: { + showLoading: false, + auth: false, + }, + }); + }, + // 查询小程序配置列表(功能入口) + getMiniAppConfigList: (position) => { + return request({ + url: '/community/mini-app-config/list', + method: 'GET', + data: { position }, + custom: { + showLoading: false, + auth: false, + }, + }); + }, +}; + +export default NoticeApi; diff --git a/static/img/person.png b/static/img/person.png new file mode 100644 index 0000000..8b82d93 Binary files /dev/null and b/static/img/person.png differ