Authored by 李奇

Merge branch 'feature/personal3.0' into feature/release/3.0

# Conflicts:
#	config/common.js
@@ -18,20 +18,23 @@ module.exports = { @@ -18,20 +18,23 @@ module.exports = {
18 app_type: 1 18 app_type: 1
19 }, 19 },
20 domains: { 20 domains: {
21 - // api: 'http://api-test3.yohops.com:9999/',  
22 - // service: 'http://service-test3.yohops.com:9999/',  
23 - // singleApi: 'http://api-test3.yohops.com:9999/', 21 + api: 'http://api-test3.yohops.com:9999/',
  22 + service: 'http://service-test3.yohops.com:9999/',
24 23
25 - // api: 'http://api-test3.yohops.com:9999/',  
26 - // service: 'http://service-test3.yohops.com:9999/',  
27 - // singleApi: 'http://api-test3.yohops.com:9999/', 24 + // api: 'http://api-test2.yohops.com:9999/',
  25 + // service: 'http://service-test2.yohops.com:9999/',
28 26
29 // api: 'http://dev-api.yohops.com:9999/', 27 // api: 'http://dev-api.yohops.com:9999/',
30 // service: 'http://dev-service.yohops.com:9999/', 28 // service: 'http://dev-service.yohops.com:9999/',
  29 + // singleApi: 'http://192.168.102.27:8092/'
31 30
32 - api: 'http://api.yoho.cn/',  
33 - service: 'http://service.yoho.cn/', 31 + // api: 'http://api.yoho.cn/',
  32 + // service: 'http://service.yoho.cn/',
34 singleApi: 'http://single.yoho.cn/' 33 singleApi: 'http://single.yoho.cn/'
  34 +
  35 + // singleApi: 'http://192.168.102.205:8080/gateway/',//'http://single.yoho.cn/',
  36 + // api: 'http://192.168.102.205:8080/gateway/',//'http://api.yoho.cn/',
  37 + // service: 'http://192.168.102.205:8080/gateway/'//'http://service.yoho.cn/'
35 }, 38 },
36 subDomains: { 39 subDomains: {
37 host: '.m.yohoblk.com', 40 host: '.m.yohoblk.com',
@@ -12,7 +12,8 @@ @@ -12,7 +12,8 @@
12 bottom: 0; 12 bottom: 0;
13 transition: all 0.6s ease 0s; 13 transition: all 0.6s ease 0s;
14 transform: translate(100%, 0); 14 transform: translate(100%, 0);
15 - background: #fff; 15 + background: resolve("me/channel_default_bg.jpg") no-repeat;
  16 + background-size: 100% 100%;
16 17
17 div { 18 div {
18 font-family: "BrownStd-Bold", "PingFang SC", Helvetica, Roboto, "Heiti SC", "\9ED1\4F53", Arial; 19 font-family: "BrownStd-Bold", "PingFang SC", Helvetica, Roboto, "Heiti SC", "\9ED1\4F53", Arial;
@@ -37,13 +38,12 @@ @@ -37,13 +38,12 @@
37 } 38 }
38 39
39 .bg-animation { 40 .bg-animation {
40 - transform: translate(0, 0); 41 + transform: translate(0, 0);
41 } 42 }
  43 +
42 .men { 44 .men {
43 - /*background: resolve('me/men.png') no-repeat;*/  
44 width: 680px; 45 width: 680px;
45 height: 105px; 46 height: 105px;
46 - background-size: contain;  
47 position: absolute; 47 position: absolute;
48 bottom: 260px; 48 bottom: 260px;
49 left: 50%; 49 left: 50%;
@@ -52,10 +52,8 @@ @@ -52,10 +52,8 @@
52 } 52 }
53 53
54 .women { 54 .women {
55 - /*background: resolve('me/women.png') no-repeat;*/  
56 width: 680px; 55 width: 680px;
57 height: 105px; 56 height: 105px;
58 - background-size: contain;  
59 position: absolute; 57 position: absolute;
60 bottom: 120px; 58 bottom: 120px;
61 left: 50%; 59 left: 50%;
@@ -63,6 +61,7 @@ @@ -63,6 +61,7 @@
63 border: none; 61 border: none;
64 } 62 }
65 </style> 63 </style>
  64 +
66 <script> 65 <script>
67 'use strict'; 66 'use strict';
68 67
@@ -11,7 +11,6 @@ @@ -11,7 +11,6 @@
11 </div> 11 </div>
12 12
13 <div v-if="block.goods" class="editor-goods-area"> 13 <div v-if="block.goods" class="editor-goods-area">
14 - <div class="white-mask"></div>  
15 <div class="editor-goods"> 14 <div class="editor-goods">
16 <ul> 15 <ul>
17 <li v-for="(index, item) in block.goods.data" v-if="item.product"> 16 <li v-for="(index, item) in block.goods.data" v-if="item.product">
@@ -31,7 +30,7 @@ @@ -31,7 +30,7 @@
31 30
32 .white-mask { 31 .white-mask {
33 &:before { 32 &:before {
34 - content: ''; 33 + content: "";
35 width: 30px; 34 width: 30px;
36 position: absolute; 35 position: absolute;
37 left: 0; 36 left: 0;
@@ -42,7 +41,7 @@ @@ -42,7 +41,7 @@
42 } 41 }
43 42
44 &:after { 43 &:after {
45 - content: ''; 44 + content: "";
46 width: 30px; 45 width: 30px;
47 position: absolute; 46 position: absolute;
48 right: 0; 47 right: 0;
@@ -53,6 +52,7 @@ @@ -53,6 +52,7 @@
53 } 52 }
54 } 53 }
55 } 54 }
  55 +
56 .editor-goods { 56 .editor-goods {
57 width: 750px; 57 width: 750px;
58 padding: 0 30px; 58 padding: 0 30px;
@@ -96,6 +96,7 @@ @@ -96,6 +96,7 @@
96 } 96 }
97 } 97 }
98 </style> 98 </style>
  99 +
99 <script> 100 <script>
100 module.exports = { 101 module.exports = {
101 props: { 102 props: {
@@ -61,17 +61,13 @@ @@ -61,17 +61,13 @@
61 61
62 .show-box { 62 .show-box {
63 background: $bgcolor; 63 background: $bgcolor;
64 - border-bottom: 1px solid #000; 64 + border-bottom: 1px solid #fff;
65 65
66 &.first-box { 66 &.first-box {
67 margin-top: 0; 67 margin-top: 0;
68 border-top: 0; 68 border-top: 0;
69 } 69 }
70 70
71 - &:last-child {  
72 - border-bottom: 0;  
73 - }  
74 -  
75 &:not(.no-padding) { 71 &:not(.no-padding) {
76 padding-bottom: 30px; 72 padding-bottom: 30px;
77 } 73 }
@@ -201,6 +197,7 @@ @@ -201,6 +197,7 @@
201 .editorial-relate-title { 197 .editorial-relate-title {
202 text-align: center; 198 text-align: center;
203 line-height: 100px; 199 line-height: 100px;
  200 + border-top: 1px solid #000;
204 } 201 }
205 202
206 .icon-see:before { 203 .icon-see:before {
@@ -255,6 +252,7 @@ @@ -255,6 +252,7 @@
255 contentData.filter((block) => { 252 contentData.filter((block) => {
256 if (block && typeof block.goods === 'object') { 253 if (block && typeof block.goods === 'object') {
257 products = products.concat(block.goods.data); 254 products = products.concat(block.goods.data);
  255 + return products;
258 } 256 }
259 }); 257 });
260 258
@@ -296,8 +294,12 @@ @@ -296,8 +294,12 @@
296 if (!item.src) { 294 if (!item.src) {
297 item.src = item.product.default_images; 295 item.src = item.product.default_images;
298 } 296 }
  297 +
  298 + return item;
299 }); 299 });
300 } 300 }
  301 +
  302 + return block;
301 }); 303 });
302 304
303 this.$set('content', content); 305 this.$set('content', content);