LAPTOP-UBJMM5MG\user 1 vuosi sitten
vanhempi
commit
26ed559964

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 8 - 7
src/views/about/industry.vue


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 9 - 9
src/views/about/serviceLocator.vue


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 8 - 8
src/views/about/surroundings.vue


+ 31 - 9
src/views/common/homepage.vue

@@ -26,11 +26,11 @@
                           :to="{ path: '/service/characteristic' }"
                         >资源发布</router-link>
                       </p>
-<!--                      <p>-->
-<!--                        <router-link-->
-<!--                          :to="{ path: '/zhaoshang/list' }"-->
-<!--                        >政策服务</router-link>-->
-<!--                      </p>-->
+                      <!--                      <p>-->
+                      <!--                        <router-link-->
+                      <!--                          :to="{ path: '/zhaoshang/list' }"-->
+                      <!--                        >政策服务</router-link>-->
+                      <!--                      </p>-->
                       <p>
                         <router-link
                           :to="{ path: '/service/activities' }"
@@ -289,12 +289,34 @@ export default {
     },
     mounted() {
         this.getData()
-        console.log('menuPlace', this.menuPlace)
+        this.getMenu()
     },
     methods: {
-        // changeMenu() {
-        //     this.getMenuPlace()
-        // },
+        getMenu() {
+            if (this.$route.path === '/') {
+                this.menuPlace = '首页'
+            } if (this.$route.path === '/serviceLocator') {
+                this.menuPlace = '园区介绍'
+            }
+            if (this.$route.path === '/service/characteristic' || this.$route.path === '/service/activities' || this.$route.path === '/service/educate') {
+                this.menuPlace = '企业服务'
+            }
+            if (this.$route.path === '/zhaoshang/list') {
+                this.menuPlace = '政策服务'
+            }
+            if (this.$route.path === '/jobs/list') {
+                this.menuPlace = '优质人才'
+            }
+            if (this.$route.path === '/company/list') {
+                this.menuPlace = '知名企业'
+            }
+            if (this.$route.path === '/notice/list') {
+                this.menuPlace = '园区通知'
+            }
+            if (this.$route.path === '/contact') {
+                this.menuPlace = '联系我们'
+            }
+        },
         changeMenu(e) {
             this.menuPlace = e
         },

+ 2 - 1
src/views/company/index.vue

@@ -92,7 +92,7 @@ export default {
         this.initDict(this.dc_key, true).then((res) => {
             // this.companyTypeList = this.dc_data.company_type
             this.companyTypeList = this.dc_data.COMPANY_INDUSTRY
-            console.log('res', this.dc_data.COMPANY_INDUSTRY)
+            // console.log('res', this.dc_data.COMPANY_INDUSTRY)
             this.getData()
         })
         if (window.history && window.history.pushState) {
@@ -124,6 +124,7 @@ export default {
         },
         getData() {
             getPropaganda(this.search).then(res => {
+              console.log(res)
                 if (res.rows) {
                     this.total = res.total
                     this.zsList = []

+ 1 - 1
src/views/services/activities/index.vue

@@ -52,7 +52,7 @@
                   <div class="a-status">
                     <span v-if="item.status==2" class="over">已结束</span>
                     <span v-else class="loading">报名中</span>
-                    <span v-if="item.status==2" class="over">活动风采</span>
+<!--                    <span v-if="item.status==2" class="over">活动风采</span>-->
                   </div>
                   <div class="a-option">
                     <span>参与人数:{{ item.num }}</span>

+ 4 - 4
src/views/zhaoshang/index.vue

@@ -116,19 +116,19 @@ export default {
                     res.data.forEach(item => {
                         let i = {}
                         switch (item.name) {
-                            case '奖励措施':
+                            case '招商政策':
                                 i = {
                                     img: 'zs3.png',
-                                    name: '奖励措施',
+                                    name: '招商政策',
                                     eventIndex: 3,
                                     detail: item.policy ? this.$common.delHtmlTag(item.policy.content) : ''
                                 }
                                 this.zsList.push(i)
                                 break
-                            case '税收优惠':
+                            case '孵化政策':
                                 i = {
                                     img: 'zs2.png',
-                                    name: '税收优惠',
+                                    name: '孵化政策',
                                     eventIndex: 2,
                                     detail: item.policy ? this.$common.delHtmlTag(item.policy.content) : ''
                                 }