diff --git a/src/assets/images/sunVillage/1.jpg b/src/assets/images/sunVillage/1.jpg new file mode 100644 index 00000000..fbf74c97 Binary files /dev/null and b/src/assets/images/sunVillage/1.jpg differ diff --git a/src/assets/images/sunVillage/2.jpg b/src/assets/images/sunVillage/2.jpg new file mode 100644 index 00000000..114bd09b Binary files /dev/null and b/src/assets/images/sunVillage/2.jpg differ diff --git a/src/assets/images/sunVillage/3.jpg b/src/assets/images/sunVillage/3.jpg new file mode 100644 index 00000000..1afb10a5 Binary files /dev/null and b/src/assets/images/sunVillage/3.jpg differ diff --git a/src/assets/images/sunVillage/4.jpg b/src/assets/images/sunVillage/4.jpg new file mode 100644 index 00000000..6453b895 Binary files /dev/null and b/src/assets/images/sunVillage/4.jpg differ diff --git a/src/assets/images/sunVillage/5.jpg b/src/assets/images/sunVillage/5.jpg new file mode 100644 index 00000000..14d79511 Binary files /dev/null and b/src/assets/images/sunVillage/5.jpg differ diff --git a/src/assets/images/sunVillage/6.jpg b/src/assets/images/sunVillage/6.jpg new file mode 100644 index 00000000..5a3061b8 Binary files /dev/null and b/src/assets/images/sunVillage/6.jpg differ diff --git a/src/assets/images/sunVillage/head_portrait.jpg b/src/assets/images/sunVillage/head_portrait.jpg new file mode 100644 index 00000000..e81dd1e9 Binary files /dev/null and b/src/assets/images/sunVillage/head_portrait.jpg differ diff --git a/src/assets/images/sunVillage/headings_return.png b/src/assets/images/sunVillage/headings_return.png new file mode 100644 index 00000000..281fa335 Binary files /dev/null and b/src/assets/images/sunVillage/headings_return.png differ diff --git a/src/assets/images/sunVillage/index_nav_1.png b/src/assets/images/sunVillage/index_nav_1.png new file mode 100644 index 00000000..8b0d9a40 Binary files /dev/null and b/src/assets/images/sunVillage/index_nav_1.png differ diff --git a/src/assets/images/sunVillage/index_nav_2.png b/src/assets/images/sunVillage/index_nav_2.png new file mode 100644 index 00000000..a46b7937 Binary files /dev/null and b/src/assets/images/sunVillage/index_nav_2.png differ diff --git a/src/assets/images/sunVillage/index_nav_3.png b/src/assets/images/sunVillage/index_nav_3.png new file mode 100644 index 00000000..5c5ba4f0 Binary files /dev/null and b/src/assets/images/sunVillage/index_nav_3.png differ diff --git a/src/assets/images/sunVillage/index_nav_4.png b/src/assets/images/sunVillage/index_nav_4.png new file mode 100644 index 00000000..dc960291 Binary files /dev/null and b/src/assets/images/sunVillage/index_nav_4.png differ diff --git a/src/assets/images/sunVillage/index_nav_5.png b/src/assets/images/sunVillage/index_nav_5.png new file mode 100644 index 00000000..2e556cc8 Binary files /dev/null and b/src/assets/images/sunVillage/index_nav_5.png differ diff --git a/src/components/sunVillage/common/header.vue b/src/components/sunVillage/common/header.vue new file mode 100644 index 00000000..55789f43 --- /dev/null +++ b/src/components/sunVillage/common/header.vue @@ -0,0 +1,102 @@ + + + + + + \ No newline at end of file diff --git a/src/permission.js b/src/permission.js index 7ef194d7..ec429ce9 100644 --- a/src/permission.js +++ b/src/permission.js @@ -7,7 +7,7 @@ import { getToken } from '@/utils/auth' NProgress.configure({ showSpinner: false }) const whiteList = [ - '/index', + '/index', '/login', '/auth-redirect', '/bind', @@ -64,7 +64,15 @@ const whiteList = [ '/yinnongLogin', '/lawEnforcement/userRegister', '/lawEnforcement/companyRegister', - + '/sunVillage/login', + //阳光村务公众号 -- 待删 + '/sunVillage/index', + '/sunVillage/latestReport', //最新报道列表 + '/sunVillage/latestReport/details', //最新报道详情 + '/sunVillage/importantItems', //重大事项列表 + '/sunVillage/public', //三务公开 + '/sunVillage/financial', //惠民金融 + '/sunVillage/financial/products' //惠民金融 - 理财产品 ] router.beforeEach((to, from, next) => { @@ -98,11 +106,13 @@ router.beforeEach((to, from, next) => { next(`/onlineHomeLogin`) } else if (to.path.indexOf('/yinnong') !== -1) { next(`/yinnongLogin`) - }else if (to.path.indexOf('/homesteadSurvey') !== -1) { + } else if (to.path.indexOf('/homesteadSurvey') !== -1) { next(`/homesteadLogin`) - }else if (to.path.indexOf('/lawEnforcement') !== -1) { + } else if (to.path.indexOf('/lawEnforcement') !== -1) { next(`//lawEnforcement/login`) - }else { + } else if (to.path.indexOf('/sunVillage') !== -1) { + next(`/sunVillage/login`) + } else { next({ path: '/' }) } }) @@ -124,13 +134,15 @@ router.beforeEach((to, from, next) => { next(`/homestead/login?redirect=${to.fullPath}`) } else if (to.path.indexOf('/onlineHome') !== -1) { next(`/onlineHomeLogin`) - }else if (to.path.indexOf('/yinnong') !== -1) { + } else if (to.path.indexOf('/yinnong') !== -1) { next(`/yinnongLogin`) } else if (to.path.indexOf('/homesteadSurvey') !== -1) { next(`/homesteadLogin`) - }else if (to.path.indexOf('/lawEnforcement') !== -1) { + } else if (to.path.indexOf('/lawEnforcement') !== -1) { next(`/lawEnforcement/login?redirect=${to.fullPath}`) - } else { + } else if (to.path.indexOf('/sunVillage') !== -1) { + next(`/sunVillage/login`) + } else { next(`/login?redirect=${to.fullPath}`) } diff --git a/src/router/index.js b/src/router/index.js index cc8c512b..c3533500 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -76,7 +76,7 @@ export const constantRoutes = [ title: '我的' }, component: (resolve) => require(['@/views/mynsgk'], resolve) - } , + }, { path: '/authenticRight', name: 'authenticRight', @@ -363,7 +363,7 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/homestead/login'], resolve) }, -//两清三化宅基地 + //两清三化宅基地 { path: '/authenticRight/index', name: 'authenticRightIndex', @@ -1878,7 +1878,7 @@ export const constantRoutes = [ hidden: true, }, component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalApproval10'], resolve) - },{ + }, { path: '/yinnong/approvalApproval11', name: 'approvalApproval11', meta: { @@ -2428,6 +2428,78 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/onlineHome/homestead/homeApplication/proposerLite'], resolve) }, + { + path: '/sunVillage/login', + name: 'sunVillageLogin', + meta: { + title: '登录', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage/login'], resolve) + }, + { + path: '/sunVillage/index', + name: 'sunVillage', + meta: { + title: '阳光村务', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage/index'], resolve) + }, + { + path: '/sunVillage/latestReport', + name: 'latestReport', + meta: { + title: '最新报道', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage/dynamic/latestReport/index'], resolve) + }, + { + path: '/sunVillage/latestReport/details', + name: 'latestReportDetails', + meta: { + title: '最新报道', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage/dynamic/latestReport/details'], resolve) + }, + { + path: '/sunVillage/importantItems', + name: 'importantItems', + meta: { + title: '重大事项', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage/dynamic/importantItems/index'], resolve) + }, + { + path: '/sunVillage/public', + name: 'sunVillagePublic', + meta: { + title: '三务公开', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage/dynamic/public/index'], resolve) + }, + { + path: '/sunVillage/financial', + name: 'sunVillageFinancial', + meta: { + title: '惠民金融', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage/dynamic/financial/index'], resolve) + }, + // { + // path: '/sunVillage/financial', + // name: 'sunVillageFinancial', + // meta: { + // title: '惠民金融', + // hidden: true, + // }, + // component: (resolve) => require(['@/views/sunVillage/dynamic/financial/index'], resolve) + // } ]; diff --git a/src/utils/request.js b/src/utils/request.js index f3aeb732..655175f4 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -69,17 +69,19 @@ service.interceptors.response.use(res => { }) .then(() => { store.dispatch('LogOut').then(() => { - if(window.location.href.indexOf('lawEnforcement') != -1){ + if (window.location.href.indexOf('lawEnforcement') != -1) { window.location.href = '/lawEnforcement/login'; } else if (window.location.href.indexOf('authenticRight') != -1) { window.location.href = '/authenticRight/login'; - } else if (window.location.href.indexOf('homesteadSurvey')!= -1) { + } else if (window.location.href.indexOf('homesteadSurvey') != -1) { window.location.href = '/homesteadLogin'; - } else if (window.location.href.indexOf('onlineHome')!= -1) { + } else if (window.location.href.indexOf('onlineHome') != -1) { window.location.href = '/onlineHomeLogin'; - }else if (window.location.href.indexOf('yinnong')!= -1) { + } else if (window.location.href.indexOf('yinnong') != -1) { window.location.href = '/yinnongLogin'; - }else { + } else if (window.location.href.indexOf('/sunVillage') != -1) { + window.location.href = '/sunVillage/login'; + } else { // 农村宅基地调查 window.location.href = '/homesteadLogin'; diff --git a/src/views/sunVillage/dynamic/financial/index.vue b/src/views/sunVillage/dynamic/financial/index.vue new file mode 100644 index 00000000..074809a8 --- /dev/null +++ b/src/views/sunVillage/dynamic/financial/index.vue @@ -0,0 +1,132 @@ + + + + + diff --git a/src/views/sunVillage/dynamic/financial/loan.vue b/src/views/sunVillage/dynamic/financial/loan.vue new file mode 100644 index 00000000..44b592a8 --- /dev/null +++ b/src/views/sunVillage/dynamic/financial/loan.vue @@ -0,0 +1,141 @@ + + + + + diff --git a/src/views/sunVillage/dynamic/financial/products.vue b/src/views/sunVillage/dynamic/financial/products.vue new file mode 100644 index 00000000..d5696539 --- /dev/null +++ b/src/views/sunVillage/dynamic/financial/products.vue @@ -0,0 +1,141 @@ + + + + + diff --git a/src/views/sunVillage/dynamic/importantItems/index.vue b/src/views/sunVillage/dynamic/importantItems/index.vue new file mode 100644 index 00000000..4d022b0c --- /dev/null +++ b/src/views/sunVillage/dynamic/importantItems/index.vue @@ -0,0 +1,121 @@ + + + + + diff --git a/src/views/sunVillage/dynamic/latestReport/details.vue b/src/views/sunVillage/dynamic/latestReport/details.vue new file mode 100644 index 00000000..ce078e2a --- /dev/null +++ b/src/views/sunVillage/dynamic/latestReport/details.vue @@ -0,0 +1,122 @@ + + + + + diff --git a/src/views/sunVillage/dynamic/latestReport/index.vue b/src/views/sunVillage/dynamic/latestReport/index.vue new file mode 100644 index 00000000..9c12b9c9 --- /dev/null +++ b/src/views/sunVillage/dynamic/latestReport/index.vue @@ -0,0 +1,98 @@ + + + + + diff --git a/src/views/sunVillage/dynamic/public/index.vue b/src/views/sunVillage/dynamic/public/index.vue new file mode 100644 index 00000000..9b9a7995 --- /dev/null +++ b/src/views/sunVillage/dynamic/public/index.vue @@ -0,0 +1,124 @@ + + + + + diff --git a/src/views/sunVillage/index.vue b/src/views/sunVillage/index.vue new file mode 100644 index 00000000..28b4c411 --- /dev/null +++ b/src/views/sunVillage/index.vue @@ -0,0 +1,117 @@ + + + + + diff --git a/src/views/sunVillage/login.vue b/src/views/sunVillage/login.vue new file mode 100644 index 00000000..3d9312b3 --- /dev/null +++ b/src/views/sunVillage/login.vue @@ -0,0 +1,108 @@ + + + + +