周立森 hace 5 años
padre
commit
73a496172a

+ 3
- 1
src/App.vue Ver fichero

@@ -28,7 +28,7 @@
28 28
       </div>
29 29
     </div>
30 30
     <div class="page-footer" style="background-color:#1b1b1b">
31
-      <p class="footer-p" style="color:rgb(255,255,255)">Copyright © 2019 FOYO All rights reserved.</p>
31
+      <p class="footer-p" style="color:rgb(255,255,255)">Copyright © 2020 FOYO All rights reserved. 苏ICP备19049305号-1</p>
32 32
     </div>
33 33
   </div>
34 34
 </template>
@@ -36,6 +36,7 @@
36 36
 
37 37
 <script>
38 38
 import ClickContact from "@/components/ClickContact.vue";
39
+import { isMobilePhone } from '../utils'
39 40
 
40 41
 export default {
41 42
   data () {
@@ -46,6 +47,7 @@ export default {
46 47
       key: 1,
47 48
       navdrawer: false,
48 49
       direction: 'rtl',
50
+      isMobilePhone
49 51
     }
50 52
   },
51 53
 

+ 5
- 3
src/components/Business.vue Ver fichero

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div class="business">
3
-    <div v-if="show" class="st">
3
+    <div v-if="show && !isMobilePhone" class="st">
4 4
       <div class="swiper-father">
5 5
         <div class="swiper-container swiper-list" style="width: 100%">
6 6
           <div class="swiper-wrapper">
@@ -20,7 +20,7 @@
20 20
       </div>
21 21
     </div>
22 22
 
23
-    <div v-if="!show" class="row st">
23
+    <div v-else class="row st">
24 24
       <div class="col-xs-6 col-md-3 sw" v-for="(item,index) in service" :key="index">
25 25
         <img :src="item.serviceImageUrl" width="100%" height="100%" alt="..." />
26 26
         <div class>
@@ -37,13 +37,15 @@ import Swiper from 'swiper';
37 37
 import "swiper/dist/css/swiper.min.css";
38 38
 import request from '../../utils/request'
39 39
 import apis from '../config/api';
40
+import { isMobilePhone } from '../../utils'
40 41
 
41 42
 export default {
42 43
   name: "business",
43 44
   data () {
44 45
     return {
45 46
       show: false,
46
-      service: []
47
+      service: [],
48
+      isMobilePhone
47 49
     };
48 50
   },
49 51
   components: {},

+ 12
- 11
src/components/CaseCard.vue Ver fichero

@@ -46,14 +46,15 @@ export default {
46 46
         margin: 0;
47 47
         padding: 0;
48 48
         font-weight: 400;
49
-        font-size: 3rem;
49
+        
50
+        font-size: 2.4rem;
50 51
         color: #000;
51 52
         line-height: 1.2em;
52 53
       }
53 54
       text-decoration: none !important;
54 55
       .caption {
55 56
         font-size: 2rem;
56
-        color: #727171;
57
+        color: #595757;
57 58
 
58 59
         line-height: 1.2em;
59 60
         margin-top: 6px;
@@ -87,20 +88,20 @@ export default {
87 88
     .body {
88 89
       padding: 0.3rem 1rem;
89 90
       text-align: left;
90
-height: 7.9vw;
91
+// height: 7.9vw;
91 92
       h3 {
92 93
         margin: 0;
93 94
         padding: 0;
94 95
         font-weight: 400;
95
-        font-size: 2.7vw;
96
+        font-size: 13px;
96 97
         color: #000;
97
-        line-height: 4.2vw;
98
+        line-height: 17px;
98 99
       }
99 100
 
100 101
       .caption {
101
-        font-size: 1.9vw;
102
-        color: #727171;
103
-        line-height: 2.7vw;
102
+        font-size: 10px;
103
+        color: #595757;
104
+        line-height: 13px;
104 105
       }
105 106
     }
106 107
   }
@@ -115,16 +116,16 @@ height: 7.9vw;
115 116
         margin: 0;
116 117
         padding: 0;
117 118
 
118
-        font-size: 2.1rem;
119
+        font-size: 20px;
119 120
 
120 121
         line-height: 0.84em;
121 122
       }
122 123
       text-decoration: none !important;
123 124
       .caption {
124
-        font-size: 1.4rem;
125
+        font-size: 1.7rem;
125 126
 
126 127
         line-height: 0.84em;
127
-        margin-top: 4.2px;
128
+        margin-top: 10px;
128 129
       }
129 130
     }
130 131
   }

+ 1
- 1
src/components/ClickContact.vue Ver fichero

@@ -57,7 +57,7 @@
57 57
   }
58 58
   h1{
59 59
     font-size: 2.4rem;
60
-    margin-bottom: 40px;
60
+    margin-bottom: 80px;
61 61
   }
62 62
 
63 63
   .contact-1 .contact-main {

+ 16
- 3
src/components/Navbars.vue Ver fichero

@@ -67,7 +67,7 @@
67 67
           </div>
68 68
         </el-row>
69 69
         <el-col :span="24" class="a">
70
-          <button type="button" class="btn rebtn" @click="navdrawer = flase" style="color:black;font-size: 24px;">继续浏览</button>
70
+          <button type="button" class="btn rebtn" @click="navdrawer = false" style="color:black;font-size: 24px;">继续浏览</button>
71 71
         </el-col>
72 72
       </div>
73 73
     </el-drawer>
@@ -90,8 +90,21 @@ export default {
90 90
     }
91 91
   },
92 92
   mounted () {
93
-    this.routepath = this.$route.path;
94
-    // console.log(this.routepath);
93
+    const routepath = this.$route.path;
94
+    // /e/.test("The best things in life are free!")
95
+    if(/case/.test(routepath)){
96
+      this.routepath = '/case';
97
+      // console.log(this.routepath);
98
+    }else if(/share/.test(routepath)){
99
+     
100
+      this.routepath = '/Share';
101
+      // console.log(this.routepath);
102
+    
103
+    }else{
104
+      this.routepath = routepath;
105
+      // console.log(this.routepath);
106
+    }
107
+    
95 108
   },
96 109
 
97 110
 

+ 1
- 1
src/components/Wheelplanting.vue Ver fichero

@@ -4,7 +4,7 @@
4 4
       <div class="swiper-wrapper">
5 5
         <div class="swiper-slide" v-for="(url,index) in blogs" :key="index+'url'">
6 6
           <div class="size">
7
-            <router-link :to="{ name: 'details', params: { id: url.link }}" v-if="url.link" class="routelink">
7
+            <router-link :to="{ name: 'details', params: { type: url.type=='movement'?'share':'case', id: url.link }}" v-if="url.link" class="routelink">
8 8
            <img class="imgrul" :src="url.imageUrl" style="object-fit: cover" />
9 9
           </router-link>
10 10
             <img v-else class="imgrul" :src="url.imageUrl" style="object-fit: cover"/>

+ 1
- 1
src/router.js Ver fichero

@@ -45,7 +45,7 @@ export default new Router({
45 45
       component: () => import(/* webpackChunkName: "Contact" */ './views/Contact.vue')
46 46
     },
47 47
     {
48
-      path: '/details/:id',
48
+      path: '/:type/details/:id',
49 49
       name: 'details',
50 50
       // route level code-splitting
51 51
       // this generates a separate chunk (about.[hash].js) for this route

+ 2
- 2
src/views/About.vue Ver fichero

@@ -10,7 +10,7 @@
10 10
         <div class>
11 11
           <div class="sssss">
12 12
             <p class="text-left">
13
-              南京福予文化传媒有限公司成立于2018年6月,是一家崇尚服务与品质的广告创意公司,拥有多元化的团队体系及全案服务能力。从品牌策略到营销策划、广告创意、设计成型、落地执行、一站式解决客户所需。
13
+              南京福予文化传媒有限公司成立于2018年,是一家以服务与品质为本的广告创意公司,拥有多元化的团队体系及全案服务能力。从品牌策略到营销策划,从广告创意到落地执行,一站式解决客户所需。
14 14
             </p>
15 15
             <br />
16 16
             <div class>
@@ -111,7 +111,7 @@
111 111
                 职业广告人;
112 112
                 <br />丰富的产品推广及活动策划经验;
113 113
                 <br />江苏省省级政府项目主策划;
114
-                <br />带领团队服务于华为,渣打(中国总部),德勤(中国)等重要项目。
114
+                <br />带领团队服务于华为、渣打(中国总部)、德勤(中国)等重要项目。
115 115
               </p>
116 116
             </div>
117 117
           </div>

+ 20
- 21
src/views/Case.vue Ver fichero

@@ -3,7 +3,7 @@
3 3
     <Navbars></Navbars>
4 4
     <div class="top"></div>
5 5
     <div>
6
-      <img class="coverimg" :style="{background: `url(${cover.coverImg})`}" />
6
+      <img class="coverimg" :src="cover.coverImg"  />
7 7
       <!-- width="100%" height="300"> -->
8 8
     </div>
9 9
 
@@ -21,7 +21,7 @@
21 21
         </div>
22 22
       </div>
23 23
       <div class="col-xs-6">
24
-        <el-button class="btn-link mobbtn" @click="drawer = true" type="button" style="margin-left: 16px;width:140px;padding-left:0;padding-right:0;font-weight:bold">{{currentTypeName}}</el-button>
24
+        <el-button class="btn-link mobbtn" @click="drawer = true" type="button" style="z-index: 50; margin-left: 16px;width:140px;padding-left:0;padding-right:0;font-weight:bold">{{currentTypeName}}</el-button>
25 25
       </div>
26 26
     </div>
27 27
 
@@ -32,7 +32,7 @@
32 32
             <button type="button" @click="() => filterCase()" class="btn-link" style="color:black;font-size: 24px;" :class="{btnactive:thisbtn==''}">全部案例</button>
33 33
           </el-col>-->
34 34
           <el-col :span="24">
35
-            <van-picker class="values" :columns="columns" @cancel="drawer = false"  @confirm="onConfirm" @change="onChange"  />
35
+            <van-picker class="values" :columns="columns" @cancel="drawer = false" @confirm="onConfirm" @change="onChange" />
36 36
           </el-col>
37 37
           <!-- <el-col :span="24" v-for="cas in casetype" :key="cas.id"> value-key=''
38 38
          
@@ -46,8 +46,8 @@
46 46
     <div class="contanier center-block dyn-main">
47 47
       <div class="row">
48 48
         <div class="col-md-6 col-xs-6 cards" v-for="(item,index) in caselist" :key="index" :class="{ marginTP: index > 1 }">
49
-          <router-link :to="{ name: 'details', params: { id: item.id }}" class="routelink">
50
-            <case-card :thumb="item.caseCoverImg" :title="item.caseTitle" :caption="item.caseSummary" class="casecard"></case-card>
49
+          <router-link :to="{ name: 'details', params: { type: 'case', id: item.id }}" class="routelink">
50
+            <case-card :thumb="(item.listImg||item.caseCoverImg)" :title="item.caseTitle" :caption="item.caseSummary" class="casecard"></case-card>
51 51
           </router-link>
52 52
         </div>
53 53
       </div>
@@ -128,16 +128,17 @@ export default {
128 128
     // axios.get('http://localhost:8080/pc/caseType/list')
129 129
     request({
130 130
       ...apis.caseType.list,
131
+      params: { pageNum: 1, pageSize: 999 }
131 132
     })
132 133
       .then(res => {
133
-         this.casetype = (res.records || []).filter(x => x.type === 'case');
134
+        this.casetype = (res.records || []).filter(x => x.type === 'case');
134 135
         // console.log(res.records || []).filter(x => x.type === 'case')
135 136
         let type = (res.records || []).filter(x => x.type === 'case');
136 137
 
137 138
         type.map((row, index) => {
138 139
           this.columns[index + 1] = row.typeName
139 140
           this.indexs[index] = row.id
140
-        
141
+
141 142
         });
142 143
 
143 144
         //      return data.map((row, inx) => {
@@ -170,10 +171,10 @@ export default {
170 171
     //         console.log(res)
171 172
     //       },
172 173
     onChange (picker, value, index) {
173
-      console.log(picker);
174
+     
174 175
       this.value = value
175 176
       this.index = index
176
-      console.log(`当前值:${value}, 当前索引:${index}`);
177
+
177 178
     },
178 179
 
179 180
     onConfirm (value, index) {
@@ -219,17 +220,15 @@ export default {
219 220
 
220 221
       if (this.value) {
221 222
 
222
-        console.log(this.value, this.indexs, '111111111')
223
-
224
-this.currentTypeName = this.value
223
+        this.currentTypeName = this.value
225 224
 
226
-        this.getCaseList({ pageNum: 1, caseType: this.value=='全部案例' ? '': this.indexs[this.index-1] })
225
+        this.getCaseList({ pageNum: 1, caseType: this.value == '全部案例' ? '' : this.indexs[this.index - 1] })
227 226
         this.currentTypeName = this.value
228
-        
227
+
229 228
         this.drawer = false;
230 229
 
231 230
       } else {
232
-        console.log(caseType)
231
+      
233 232
         this.currentTypeName = caseType ? caseType.typeName : '全部案例'
234 233
 
235 234
         this.getCaseList({ pageNum: 1, caseType: caseType ? caseType.id : '' })
@@ -401,13 +400,13 @@ this.currentTypeName = this.value
401 400
   }
402 401
 }
403 402
 .coverimg {
404
-  width: 100%;
405
-  /* padding-bottom: 37px; */
406
-  /* height: 100%; */
403
+  width: 100vw;
407 404
 
408
-  height: 0;
409
-  padding-bottom: 40.3%;
410
-  background-size: 100% 100% !important;
405
+
406
+  height: 35.8vw;
407
+  z-index: 99;
408
+  /* padding-bottom: 35.8%;
409
+  background-size: 100% 100% !important; */
411 410
 }
412 411
 .btn-link {
413 412
   outline: none;

+ 100
- 15
src/views/Details.vue Ver fichero

@@ -8,12 +8,12 @@
8 8
 
9 9
     <div class="contanier st">
10 10
       <h1 style>{{current.caseTitle}}</h1>
11
-      <div v-if="type=='分享'" class="row p1">
11
+      <div v-if="type=='分享'" class="row p1 ">
12 12
         <div class="movment col-xs-12 col-md-6">分享时间:{{date}}</div>
13 13
         <!-- <br v-if="isMobilePhone" /> -->
14 14
         <div class="movment col-xs-12 col-md-6">
15
-          <div v-if="current.islink==0" class="">来源:{{current.linkName}}</div>
16
-          <a v-if="current.islink==1" :href="current.caseLink" target="view_window" style="color:#3e3a39">来源:{{current.linkName}}</a>
15
+          <div v-if="!current.caseLink" class>来源:{{current.linkName}}</div>
16
+          <a v-if="current.caseLink" :href="current.caseLink" target="view_window" style="color:#3e3a39">来源:{{current.linkName}}</a>
17 17
         </div>
18 18
       </div>
19 19
       <div v-else class="row p1">
@@ -24,7 +24,9 @@
24 24
         <p class="col-xs-6 col-md-6 p2">所属行业:{{current.caseIndustry}}</p>
25 25
       </div>
26 26
 
27
-      <div class="border-top" v-html="current.content"></div>
27
+      <div class="border-top htmlImg" v-html="content">
28
+
29
+      </div>
28 30
 
29 31
       <div class="row zan-share" style="margin-left :0; margin-right:0">
30 32
         <div class="col-xs-6 col-md-6" style="padding 0;">
@@ -105,7 +107,8 @@ export default {
105 107
       detail: {},
106 108
       activeColor: '#000',
107 109
       isMobilePhone,
108
-      date: moment().format('YYYY年MM月DD日 h:mm')
110
+      date: moment().format('YYYY年MM月DD日 h:mm'),
111
+      content: ''
109 112
     }
110 113
   },
111 114
   components: {
@@ -169,11 +172,17 @@ export default {
169 172
         ...apis.case.get,
170 173
         urlData: { id },
171 174
       }).then(res => {
175
+
176
+        // ../uploadimage/
177
+        
172 178
         this.detail = res || {}
179
+        
180
+        let content = res.current.content.replace(/\.\.\/uploadimage/g, '/uploadimage')
173 181
 
182
+        this.content = content
174 183
         this.type = this.detail.current.type == 'case' ? '案例' : '分享'
175 184
         // console.log(this.detail.current, '1234')
176
-        console.log(this.detail, '1234')
185
+      
177 186
         this.url = window.location.href
178 187
         this.activeColor = '#000'
179 188
       })
@@ -232,6 +241,7 @@ export default {
232 241
     margin-bottom: 0px;
233 242
     text-align: left;
234 243
     padding-left: 15px;
244
+    margin:0
235 245
   }
236 246
   .p2 {
237 247
     line-height: 30px;
@@ -343,7 +353,7 @@ export default {
343 353
   h2 {
344 354
     margin-top: 64px;
345 355
     margin-bottom: 30px;
346
-    font-size: 2.4rem
356
+    font-size: 2.4rem;
347 357
   }
348 358
   .st5 {
349 359
     width: 80%;
@@ -415,6 +425,7 @@ export default {
415 425
       padding-top: 20px;
416 426
       margin-top: 2px;
417 427
       border-top: 1px solid #aaa;
428
+      // width: 90%;
418 429
     }
419 430
     .zan-share {
420 431
       margin-top: 30px;
@@ -547,7 +558,7 @@ export default {
547 558
   }
548 559
   .p2 {
549 560
     line-height: 55px;
550
-    font-size: 2.4rem
561
+    font-size: 2.4rem;
551 562
   }
552 563
 }
553 564
 </style>
@@ -564,9 +575,8 @@ export default {
564 575
   //     font-size: 3rem;
565 576
   //     line-height: 3.4rem;
566 577
   //   }
567
-   .movment {
578
+  .movment {
568 579
     font-size: 1.7rem;
569
-  
570 580
   }
571 581
   .st h1 {
572 582
     font-size: 3rem;
@@ -585,22 +595,97 @@ export default {
585 595
     }
586 596
   }
587 597
 
588
-  .btn1{
598
+  .btn1 {
589 599
     font-size: 1.7rem !important;
590 600
   }
591 601
 
592 602
   .pull-right {
593 603
     font-size: 1.7rem;
594 604
   }
595
- 
596 605
 }
597
-@media (min-width: 1550px){
598
-  .sharetext{
606
+@media (min-width: 992px) and (max-width: 1550px) {
607
+  .sharetext {
599 608
     font-size: 2.4rem;
600
-    line-height:5.8rem;
609
+    line-height: 5.8rem;
601 610
   }
602 611
 }
603 612
 a {
604 613
   color: #000;
605 614
 }
615
+</style>
616
+
617
+<style lang="less">
618
+.htmlImg img {
619
+  max-width: 100%;
620
+  min-width: 100px;
621
+  height: auto;
622
+  margin: 0 auto;
623
+  display: block;
624
+}
625
+.htmlImg iframe {
626
+  max-width: 100%;
627
+  min-width: 100px;
628
+  width: 100%;
629
+ width: 1920px;
630
+   height: 1080px;
631
+  margin: 0 auto;
632
+  display: block;
633
+}
634
+.htmlImg video {
635
+  max-width: 100%;
636
+  min-width: 100px;
637
+  height: auto;
638
+  margin: 0 auto;
639
+  display: block;
640
+}
641
+@media (min-width: 1550px) and (max-width: 1980px) {
642
+  .htmlImg iframe {
643
+   width: 1280px;
644
+   height: 720px;
645
+  }
646
+  .htmlImg video {
647
+   width: 1280px;
648
+   height: 720px;
649
+  }
650
+}
651
+@media (min-width: 992px) and (max-width: 1550px) {
652
+  .htmlImg iframe {
653
+   width: 900px;
654
+  height: 550px;
655
+  }
656
+  .htmlImg video {
657
+    width: 900px;
658
+   height: 550px;
659
+  }
660
+}
661
+@media (max-width: 992px) {
662
+  .htmlImg img {
663
+    background-size: contain !important;
664
+
665
+    height: auto;
666
+    margin: 0 auto;
667
+    display: block;
668
+    width: 90%;
669
+  }
670
+  .htmlImg iframe {
671
+    max-width: 100% !important;
672
+    min-width: 100px !important;
673
+    min-height: 170px !important;
674
+    height: 170px;
675
+    margin: 0 auto;
676
+    display: block;
677
+    width: 90%;
678
+  }
679
+
680
+  .htmlImg video {
681
+    background-size: contain !important;
682
+    max-width: 100% !important;
683
+    min-width: 100px !important;
684
+min-height: 170px !important;
685
+    height: 170px;
686
+    margin: 0 auto;
687
+    display: block;
688
+    width: 90%;
689
+  }
690
+}
606 691
 </style>

+ 14
- 14
src/views/Dynamic.vue Ver fichero

@@ -3,7 +3,7 @@
3 3
     <div class="top"></div>
4 4
     <Navbars></Navbars>
5 5
     <div>
6
-      <img class="coverimg" :style="{background: `url(${cover.coverImg})`}" />
6
+      <img class="coverimg" :src="cover.coverImg"  />
7 7
       <!-- width="100%" height="300"> -->
8 8
     </div>
9 9
 
@@ -21,7 +21,7 @@
21 21
         </div>
22 22
       </div>
23 23
       <div class="col-xs-6">
24
-        <el-button class="btn-link mobbtn" @click="drawer = true" type="button" style="margin-left: 16px;;width:140px;padding-left:0;padding-right:0;font-weight:bold">{{currentTypeName}}</el-button>
24
+        <el-button class="btn-link mobbtn" @click="drawer = true" type="button" style=" z-index: 50;margin-left: 16px;;width:140px;padding-left:0;padding-right:0;font-weight:bold">{{currentTypeName}}</el-button>
25 25
       </div>
26 26
     </div>
27 27
     <el-drawer :visible.sync="drawer" :direction="direction" :show-close="true" size="80%" style="text-align: center;">
@@ -34,15 +34,15 @@
34 34
             <van-picker class="values" :columns="columns" @cancel="drawer = false" @confirm="onConfirm" @change="onChange" />
35 35
           </el-col>
36 36
         </el-row>
37
-        <button type="button" class="btn rebtn" @click="drawer = flase" style="text-align:center;color:black">确定</button>
37
+        <button type="button" class="btn rebtn" @click="() => filterCase()"  style="text-align:center;color:black">确定</button>
38 38
       </div>
39 39
     </el-drawer>
40 40
 
41 41
     <div class="contanier center-block dyn-main">
42 42
       <div class="row">
43 43
         <div class="col-md-6 col-xs-6 cards" v-for="(item,index) in caselist" :key="index" :class="{ marginTP: index > 1 }">
44
-          <router-link :to="{ name: 'details', params: { id: item.id }}" class="routelink">
45
-            <case-card :thumb="item.caseCoverImg" :title="item.caseTitle" :caption="item.caseSummary" class="casecard"></case-card>
44
+          <router-link :to="{ name: 'details', params: { type:'share', id: item.id }}" class="routelink">
45
+            <case-card :thumb="item.listImg||item.caseCoverImg" :title="item.caseTitle" :caption="item.caseSummary" class="casecard"></case-card>
46 46
           </router-link>
47 47
         </div>
48 48
       </div>
@@ -109,6 +109,7 @@ export default {
109 109
     })
110 110
     request({
111 111
       ...apis.caseType.list,
112
+      params: { pageNum: 1, pageSize: 999 }
112 113
     })
113 114
       .then(res => {
114 115
         this.casetype = (res.records || []).filter(x => x.type === 'movement');
@@ -125,10 +126,10 @@ export default {
125 126
   },
126 127
   methods: {
127 128
     onChange (picker, value, index) {
128
-      console.log(picker);
129
+  
129 130
       this.value = value
130 131
       this.index = index
131
-      console.log(`当前值:${value}, 当前索引:${index}`);
132
+      
132 133
     },
133 134
 
134 135
     onConfirm (value, index) {
@@ -169,7 +170,6 @@ export default {
169 170
 
170 171
       if (this.value) {
171 172
 
172
-        console.log(this.value, this.indexs, '111111111')
173 173
 
174 174
         this.currentTypeName = this.value
175 175
 
@@ -346,13 +346,13 @@ export default {
346 346
   }
347 347
 }
348 348
 .coverimg {
349
-  width: 100%;
350
-  /* padding-bottom: 37px; */
351
-  /* height: 100%; */
349
+  width: 100vw;
350
+ 
352 351
 
353
-  height: 0;
354
-  padding-bottom: 40.3%;
355
-  background-size: 100% 100% !important;
352
+  height:35.8vw;
353
+  z-index: 90;
354
+  /* padding-bottom: 35.8%;
355
+  background-size: 100% 100% !important; */
356 356
 }
357 357
 .btn-link {
358 358
   outline: none;

+ 5
- 9
src/views/Home.vue Ver fichero

@@ -52,7 +52,7 @@
52 52
       <div class="row">
53 53
         <div class="col-md-12" style="padding:0;width: 100%;">
54 54
           <p class="p1">
55
-            核心团队拥有八年以上营销策划及创业设计经验,
55
+            核心团队拥有十五年以上营销策划及创意设计经验,
56 56
             <br v-if="isMobilePhone" />团队能力多元化,服务体系立体化。
57 57
             <br />我们懂得多,您就更省心!
58 58
           </p>
@@ -65,7 +65,7 @@
65 65
     <div class="contanier home-case top-case">
66 66
       <div class="row home-case" style="padding:0;width: 100%;">
67 67
         <div class="col-xs-6 col-md-3 home-case" v-for="(item,index) in caselist" :key="index">
68
-          <router-link :to="{ name: 'details', params: { id: item.id }}">
68
+          <router-link :to="{ name: 'details', params: { type:'case',id: item.id }}">
69 69
             <div class="st4" :style="{background: `url(${item.caseCoverImg})`}">
70 70
               <div class="casetitle">
71 71
                 <div style="width: 100%">
@@ -106,13 +106,13 @@
106 106
         <div class="contanier st top-news">
107 107
           <div class="row">
108 108
             <div class="col-xs-6 col-md-6 home-news-hover home-news" v-for="(item,index) in dynamiclist" :key="index">
109
-              <router-link :to="{ name: 'details', params: { id: item.id }}" class="routelink">
109
+              <router-link :to="{ name: 'details', params: {type:'share', id: item.id }}" class="routelink">
110 110
                 <div :style="{background: `url(${item.caseCoverImg})`}" class="home-dynamic">
111 111
                   <h3 class="text-left" style>{{item.caseTitle}}</h3>
112 112
                 </div>
113 113
               </router-link>
114 114
             </div>
115
-            <!-- item.caseCoverImg -->
115
+          
116 116
           </div>
117 117
         </div>
118 118
       </div>
@@ -200,9 +200,7 @@ export default {
200 200
   created () {
201 201
 
202 202
     //合作伙伴
203
-    // 
204
-    // console.log(isMobilePhone)
205
-    // axios.get('http://localhost:8080/pc/partner/list/?pageNum=1&pageSize=18')
203
+  
206 204
     request({
207 205
       ...apis.partner.list,
208 206
       params: { pageNum: 1, pageSize: 18 }
@@ -214,8 +212,6 @@ export default {
214 212
 
215 213
       })
216 214
 
217
-    // axios.get('http://localhost:8080/pc/case/case/list/?pageNum=1&pageSize=8')
218
-
219 215
     request({
220 216
       ...apis.case.list,
221 217
       urlData: { type: 'case' },

+ 0
- 1
utils/request.js Ver fichero

@@ -9,7 +9,6 @@ function request(params = {}) {
9 9
   // const data = (rawData instanceof FormData) ? rawData : JSON.stringify(rawData)
10 10
   const token = localStorage.getItem('x-token') || ''
11 11
   const contenType = (rawData instanceof FormData) ? 'multipart/form-data' : 'application/json'
12
-  
13 12
   return new Promise((resolve, reject) => {
14 13
     axios({
15 14
       ...config,

+ 1
- 1
vue.config.js Ver fichero

@@ -2,7 +2,7 @@ module.exports = {
2 2
   devServer: {
3 3
     proxy:  {
4 4
       '/api': {
5
-        target: 'http://localhost:8080',
5
+        target: 'http://localhost:8081',
6 6
         ws: true,
7 7
         changeOrigin: true,
8 8
         pathRewrite: {'^/api': ''}