28c18b90 by simon

首页内容

1 parent c895c31e
...@@ -104,7 +104,7 @@ module.exports = { ...@@ -104,7 +104,7 @@ module.exports = {
104 refreshSmgOtp: "/pingan_hklife_webapi/user/refreshSmgOtp", 104 refreshSmgOtp: "/pingan_hklife_webapi/user/refreshSmgOtp",
105 105
106 // 上传文件到iobs 106 // 上传文件到iobs
107 uploadFileIobs: "/pingan_hklife_webapi/policy/upload/file/iobs" 107 uploadFileIobs: "/pingan_hklife_webapi/policy/upload/file/iobs",
108 108
109 //首页产品列表 109 //首页产品列表
110 indexManageListApi: "/pingan_hklife_webapi/cms/index/manage" 110 indexManageListApi: "/pingan_hklife_webapi/cms/index/manage"
......
...@@ -393,9 +393,11 @@ export default { ...@@ -393,9 +393,11 @@ export default {
393 // }) 393 // })
394 // .then(response => { 394 // .then(response => {
395 // console.log("response:", response); 395 // console.log("response:", response);
396 // let ttt = JSON.parse(response[0].content);
397 // console.log("ttt:", ttt);
396 // }) 398 // })
397 // .catch(res => {}); 399 // .catch(res => {});
398 // 400
399 // } 401 // }
400 }, 402 },
401 watch: { 403 watch: {
...@@ -425,9 +427,6 @@ export default { ...@@ -425,9 +427,6 @@ export default {
425 this.initTitle(); 427 this.initTitle();
426 }, 428 },
427 created() { 429 created() {
428 //this.aaa()
429 // this.loading = true;
430 // this.queryPolicyContact();
431 this.$root.eventBus.$on("langChange", () => { 430 this.$root.eventBus.$on("langChange", () => {
432 try { 431 try {
433 this.initData(); 432 this.initData();
...@@ -436,31 +435,3 @@ export default { ...@@ -436,31 +435,3 @@ export default {
436 } 435 }
437 }; 436 };
438 437
439 // var ttt = {
440 // areaCode:"",
441 // mobileNo: "1232321",
442 // address: "CHINA, GuangdongShenzhen咯农户心情来来来",
443 // email: "zhangwenjun110@ocft.com",
444 // mobileNoAcceptMsg: 0,
445 // addressAcceptMsg: 0,
446 // emailAcceptMsg: 0,
447 // policies: [{ policyId: "4661690", policyCode: "P000200000000458" }]
448 // };
449
450 // var tttt2 = {
451 // policyContactCode: "",
452 // policyId: "4655100",
453 // policyCode: "P000200000000009",
454
455 // mobileAreaCode: "0668",
456 // mobile: "13727826666",
457 // countryId: "156",
458 // provinceId: "1",
459 // cityId: "304",
460 // address: "上海迪士尼乐园",
461 // acceptMessage: 1,
462 // iobsKey: "a",
463 // fileFormat: "xlsx",
464 // fileSize: 123,
465 // fileContentType: "mp4"
466 // };
......
...@@ -271,6 +271,19 @@ export default { ...@@ -271,6 +271,19 @@ export default {
271 */ 271 */
272 onQuoteHandler() { 272 onQuoteHandler() {
273 // gotoVHIS(); 273 // gotoVHIS();
274 },
275 queryIndexManageListApi() {
276 httpPost({
277 url: api.indexManageListApi,
278 data: {},
279 sid: true
280 })
281 .then(response => {
282 console.log("response:", response);
283 let ttt = JSON.parse(response[0].content);
284 console.log("ttt:", ttt);
285 })
286 .catch(res => {});
274 } 287 }
275 }, 288 },
276 beforeDestroy() {}, 289 beforeDestroy() {},
...@@ -278,6 +291,7 @@ export default { ...@@ -278,6 +291,7 @@ export default {
278 this.initData(); 291 this.initData();
279 }, 292 },
280 created() { 293 created() {
294 // this.queryIndexManageListApi();
281 this.$root.eventBus.$on("langChange", () => { 295 this.$root.eventBus.$on("langChange", () => {
282 try { 296 try {
283 this.refreshBanner(); 297 this.refreshBanner();
......
...@@ -76,6 +76,7 @@ ...@@ -76,6 +76,7 @@
76 76
77 .banner-img { 77 .banner-img {
78 width: 100%; 78 width: 100%;
79 // height: 579px;
79 } 80 }
80 81
81 .btn-wrap { 82 .btn-wrap {
...@@ -90,6 +91,7 @@ ...@@ -90,6 +91,7 @@
90 justify-content: center; 91 justify-content: center;
91 92
92 .banner-btn { 93 .banner-btn {
94 font-size: $fontSizeSmall-M2;
93 @extend .pointer; 95 @extend .pointer;
94 padding: 0 12px; 96 padding: 0 12px;
95 color: $cOrange2; 97 color: $cOrange2;
...@@ -129,6 +131,7 @@ ...@@ -129,6 +131,7 @@
129 131
130 // 推荐 为什么选择平安人寿 132 // 推荐 为什么选择平安人寿
131 .recommend { 133 .recommend {
134 width: 1200px;
132 margin: 100px auto 0; 135 margin: 100px auto 0;
133 text-align: center; 136 text-align: center;
134 position: relative; 137 position: relative;
...@@ -170,7 +173,6 @@ ...@@ -170,7 +173,6 @@
170 bottom: 0; 173 bottom: 0;
171 right: 0; 174 right: 0;
172 @include linear-bg(); 175 @include linear-bg();
173 // @extend .fcc;
174 padding: 0 24px; 176 padding: 0 24px;
175 height: 52px; 177 height: 52px;
176 line-height: 52px; 178 line-height: 52px;
...@@ -193,14 +195,12 @@ ...@@ -193,14 +195,12 @@
193 195
194 // 线上报价 196 // 线上报价
195 .quote { 197 .quote {
196 // background: url("~@/assets/images/index/index-quote-bg-temp.png") center
197 // no-repeat;
198 // @extend .bb;
199 width: 100%; 198 width: 100%;
200 height: 1482px; 199 min-height: 1440px;
201 overflow: hidden;
202 margin: 52px auto 0; 200 margin: 52px auto 0;
203 padding-bottom: 40px; 201 background-repeat: no-repeat;
202 background-position: center;
203 background-size: cover;
204 204
205 .space1 { 205 .space1 {
206 height: 540px; 206 height: 540px;
...@@ -225,7 +225,6 @@ ...@@ -225,7 +225,6 @@
225 } 225 }
226 226
227 .table { 227 .table {
228 // background-color: wheat;
229 width: 1200px; 228 width: 1200px;
230 229
231 margin: 56px auto 0; 230 margin: 56px auto 0;
...@@ -242,8 +241,6 @@ ...@@ -242,8 +241,6 @@
242 @extend .bis; 241 @extend .bis;
243 @extend .fcc; 242 @extend .fcc;
244 height: 73px; 243 height: 73px;
245 // margin: 0 -14px;
246 // margin: 0 -46px;
247 font-size: $fontSize-M2; 244 font-size: $fontSize-M2;
248 color: $cOrange2; 245 color: $cOrange2;
249 font-weight: bold; 246 font-weight: bold;
...@@ -272,14 +269,13 @@ ...@@ -272,14 +269,13 @@
272 font-size: 22px; 269 font-size: 22px;
273 270
274 .panel { 271 .panel {
275 position: relative; 272 // position: relative;
276 // margin-top: 5px;
277 width: 50%; 273 width: 50%;
278 } 274 }
279 275
280 .panel-left { 276 .panel-left {
281 @include linear-bg; 277 @include linear-bg;
282 position: relative; 278 // position: relative;
283 @extend .fcc; 279 @extend .fcc;
284 .desc { 280 .desc {
285 &-item { 281 &-item {
...@@ -359,7 +355,7 @@ ...@@ -359,7 +355,7 @@
359 355
360 .quote-btn { 356 .quote-btn {
361 @include btc4(300px, 50px, 22px); 357 @include btc4(300px, 50px, 22px);
362 margin: 40px auto 0; 358 margin: 44px auto 0;
363 359
364 &:lang(zh) { 360 &:lang(zh) {
365 letter-spacing: 1.1px; 361 letter-spacing: 1.1px;
...@@ -367,8 +363,7 @@ ...@@ -367,8 +363,7 @@
367 } 363 }
368 .customer-service { 364 .customer-service {
369 margin-top: 24px; 365 margin-top: 24px;
370 // margin: 24px auto 32px; 366 padding-bottom: 32px;
371 // padding-bottom: 40px;
372 font-size: 22px; 367 font-size: 22px;
373 font-weight: bold; 368 font-weight: bold;
374 text-align: center; 369 text-align: center;
...@@ -423,9 +418,11 @@ ...@@ -423,9 +418,11 @@
423 width: 100%; 418 width: 100%;
424 419
425 &-item { 420 &-item {
426 margin-bottom: 28px; 421
427 422
428 .ipt-wrap-linear { 423 .ipt-wrap-linear {
424 margin-bottom: 28px;
425
429 .cont { 426 .cont {
430 .ipt { 427 .ipt {
431 text-align: center; 428 text-align: center;
...@@ -536,6 +533,8 @@ ...@@ -536,6 +533,8 @@
536 } 533 }
537 534
538 .recommend { 535 .recommend {
536 width: auto;
537
539 .contact-tips { 538 .contact-tips {
540 // display: block; 539 // display: block;
541 margin: 24px auto 0; 540 margin: 24px auto 0;
...@@ -556,7 +555,6 @@ ...@@ -556,7 +555,6 @@
556 &-cont { 555 &-cont {
557 .arrow { 556 .arrow {
558 margin: 0 8px; 557 margin: 0 8px;
559 z-index: 11111;
560 } 558 }
561 } 559 }
562 } 560 }
...@@ -626,6 +624,7 @@ ...@@ -626,6 +624,7 @@
626 .panel { 624 .panel {
627 padding: 32px 24px; 625 padding: 32px 24px;
628 width: 100%; 626 width: 100%;
627 position: relative;
629 } 628 }
630 } 629 }
631 } 630 }
...@@ -654,8 +653,6 @@ ...@@ -654,8 +653,6 @@
654 653
655 // 投保 654 // 投保
656 .quote { 655 .quote {
657 height: auto;
658
659 .tit { 656 .tit {
660 font-size: $fontSizeTitle-M2; 657 font-size: $fontSizeTitle-M2;
661 } 658 }
...@@ -682,7 +679,6 @@ ...@@ -682,7 +679,6 @@
682 .func1 { 679 .func1 {
683 &-item { 680 &-item {
684 display: block; 681 display: block;
685 // margin: 36px 0;
686 682
687 .k, 683 .k,
688 .gender { 684 .gender {
...@@ -730,8 +726,21 @@ ...@@ -730,8 +726,21 @@
730 font-size: $fontSize-M2; 726 font-size: $fontSize-M2;
731 } 727 }
732 } 728 }
733 .panel-right{ 729 .panel-right {
734 .submit-btn{ 730 .form {
731 &-item {
732 flex-wrap: wrap;
733 .dear {
734 width: 100%;
735 margin-right: 0;
736 }
737 .name {
738 width: 100%;
739 }
740 }
741 }
742
743 .submit-btn {
735 font-size: $fontSize-M2; 744 font-size: $fontSize-M2;
736 } 745 }
737 } 746 }
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
37 </div> 37 </div>
38 <!-- 导航菜单切换 --> 38 <!-- 导航菜单切换 -->
39 <div class="gird-g nav-tab"> 39 <div class="gird-g nav-tab">
40 <div class="nav-tab-item" :class="{ 'nav-tab-item-act': item.index == curTab.index }" :style="'width: calc(100% / ' + tabList.length + ');'" @click="onTabHandler(item)" v-html="item.name" v-for="item in tabList" :key="item.id" >{{ item.name }}</div> 40 <div class="nav-tab-item" :class="{ 'nav-tab-item-act': item.index == curTab.index }" :style="'width: calc(100% / ' + tabList.length + ');'" @click="onTabHandler(item)" v-html="item.name" v-for="item in tabList" :key="item.id">{{ item.name }}</div>
41 <!-- <div class="nav-tab-item pure-u-1 pure-u-md-1-5" :class="{ 'nav-tab-item-act': item.index == curTab.index }" @click="onTabHandler(item)" v-html="item.name" v-for="item in tabList" :key="item.id" >{{ item.name }}</div> --> 41 <!-- <div class="nav-tab-item pure-u-1 pure-u-md-1-5" :class="{ 'nav-tab-item-act': item.index == curTab.index }" @click="onTabHandler(item)" v-html="item.name" v-for="item in tabList" :key="item.id" >{{ item.name }}</div> -->
42 </div> 42 </div>
43 <!-- 推荐 为什么选择平安人寿 --> 43 <!-- 推荐 为什么选择平安人寿 -->
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
70 </div> 70 </div>
71 71
72 <!-- 线上报价 --> 72 <!-- 线上报价 -->
73 <div class="quote" :style="'background: url(' + quoteBgUrl + ') center no-repeat;'"> 73 <div class="quote" :style="'background-image: url(' + quoteBgUrl + ');'">
74 <div class="space1"></div> 74 <div class="space1"></div>
75 <div class="tit">線上報價 閃速投保</div> 75 <div class="tit">線上報價 閃速投保</div>
76 <div class="tit2"> 76 <div class="tit2">
...@@ -86,10 +86,10 @@ ...@@ -86,10 +86,10 @@
86 </div> 86 </div>
87 <div class="linear" :style="'width: calc(100% - '+tableTapIndentation.ind+'px *' + (tabList.length - 1) + ')'"></div> 87 <div class="linear" :style="'width: calc(100% - '+tableTapIndentation.ind+'px *' + (tabList.length - 1) + ')'"></div>
88 <div class="table-cont" :style="'width: calc(100% - '+tableTapIndentation.ind+'px *' + (tabList.length - 1) + ')'"> 88 <div class="table-cont" :style="'width: calc(100% - '+tableTapIndentation.ind+'px *' + (tabList.length - 1) + ')'">
89 <div @click="onPrevTabHandler()" class="arrow arrow-left"></div>
90 <div @click="onNextTabHandler()" class="arrow arrow-right"></div>
91 89
92 <div class="panel panel-left"> 90 <div class="panel panel-left">
91 <div @click="onPrevTabHandler()" class="arrow arrow-left"></div>
92 <div @click="onNextTabHandler()" class="arrow arrow-right"></div>
93 <div class="desc"> 93 <div class="desc">
94 <div class="desc-item">・潛在長線資本增值</div> 94 <div class="desc-item">・潛在長線資本增值</div>
95 <div class="desc-item">・創建家族財富</div> 95 <div class="desc-item">・創建家族財富</div>
...@@ -232,4 +232,18 @@ ...@@ -232,4 +232,18 @@
232 @import "./index.scss"; 232 @import "./index.scss";
233 </style> 233 </style>
234 234
235 <style lang="scss"></style> 235 <style lang="scss">
236 @media (max-width: 768px) {
237 .contact {
238 .panel {
239 .panel-right {
240 .form {
241 .el-input__inner {
242 font-size: 18px; // $fontSize-M2
243 }
244 }
245 }
246 }
247 }
248 }
249 </style>
......