2016-12-23 10:16:12 +00:00
|
|
|
var express = require('express');
|
|
|
|
var router = express.Router();
|
|
|
|
|
|
|
|
router.get('/', function (req, res, next) {
|
|
|
|
res.render('intro', {
|
2016-12-24 18:55:33 +00:00
|
|
|
page_title: '基本概况',
|
|
|
|
page_cont: null
|
2016-12-23 10:16:12 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
2016-12-24 18:55:33 +00:00
|
|
|
router.get('/location', function (req, res, next) {
|
|
|
|
res.render('intro', {
|
|
|
|
page_title: '地理位置',
|
2018-01-29 04:01:32 +00:00
|
|
|
page_cont: 'inc',
|
|
|
|
inc_tag: 'location'
|
2016-12-24 18:55:33 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
2018-01-29 04:01:32 +00:00
|
|
|
router.get('/topography', function (req, res, next) {
|
2016-12-24 18:55:33 +00:00
|
|
|
res.render('intro', {
|
2018-01-29 04:01:32 +00:00
|
|
|
page_title: '地形地貌',
|
|
|
|
page_cont: 'inc',
|
|
|
|
inc_tag: 'topography'
|
2016-12-24 18:55:33 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
router.get('/climate', function (req, res, next) {
|
|
|
|
res.render('intro', {
|
|
|
|
page_title: '气候',
|
2018-01-29 04:01:32 +00:00
|
|
|
page_cont: 'inc',
|
|
|
|
inc_tag: 'climate'
|
2016-12-24 18:55:33 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
router.get('/hydrology', function (req, res, next) {
|
|
|
|
res.render('intro', {
|
2018-01-29 04:01:32 +00:00
|
|
|
page_title: '水文水资源监测',
|
|
|
|
page_cont: 'inc',
|
|
|
|
inc_tag: 'hydrology'
|
2016-12-24 18:55:33 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
router.get('/soil', function (req, res, next) {
|
|
|
|
res.render('intro', {
|
|
|
|
page_title: '土壤',
|
2018-01-29 04:01:32 +00:00
|
|
|
page_cont: 'inc',
|
|
|
|
inc_tag: 'soil'
|
2016-12-24 18:55:33 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
2018-01-29 04:01:32 +00:00
|
|
|
router.get('/animals-plants', function (req, res, next) {
|
2016-12-24 18:55:33 +00:00
|
|
|
res.render('intro', {
|
2018-01-29 04:01:32 +00:00
|
|
|
page_title: '野生动植物',
|
|
|
|
page_cont: 'inc',
|
|
|
|
inc_tag: 'animals-plants'
|
2016-12-24 18:55:33 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
2018-01-29 04:01:32 +00:00
|
|
|
router.get('/administrative-area', function (req, res, next) {
|
2016-12-24 18:55:33 +00:00
|
|
|
res.render('intro', {
|
|
|
|
page_title: '行政区划',
|
2018-01-29 04:01:32 +00:00
|
|
|
page_cont: 'inc',
|
|
|
|
inc_tag: '/administrative-area'
|
2016-12-24 18:55:33 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
router.get('/population', function (req, res, next) {
|
|
|
|
res.render('intro', {
|
|
|
|
page_title: '人口及民族',
|
2018-01-29 04:01:32 +00:00
|
|
|
page_cont: 'inc',
|
|
|
|
inc_tag: 'population'
|
2016-12-24 18:55:33 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
router.get('/land', function (req, res, next) {
|
|
|
|
res.render('intro', {
|
|
|
|
page_title: '土地',
|
2018-01-29 04:01:32 +00:00
|
|
|
page_cont: 'inc',
|
|
|
|
inc_tag: 'land'
|
2016-12-24 18:55:33 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
router.get('/traffic', function (req, res, next) {
|
|
|
|
res.render('intro', {
|
|
|
|
page_title: '交通',
|
2018-01-29 04:01:32 +00:00
|
|
|
page_cont: 'inc',
|
|
|
|
inc_tag: 'traffic'
|
2016-12-24 18:55:33 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
2018-01-29 04:01:32 +00:00
|
|
|
router.get('/economic', function (req, res, next) {
|
2016-12-24 18:55:33 +00:00
|
|
|
res.render('intro', {
|
2018-01-29 04:01:32 +00:00
|
|
|
page_title: '经济',
|
|
|
|
page_cont: 'inc',
|
|
|
|
inc_tag: 'economic'
|
2016-12-24 18:55:33 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|
2018-01-29 04:01:32 +00:00
|
|
|
module.exports = router;
|