Authored by 陈峰

优化资源引入名称

@@ -11,20 +11,20 @@ const isTest = process.env.NODE_ENV === 'test'; @@ -11,20 +11,20 @@ const isTest = process.env.NODE_ENV === 'test';
11 11
12 module.exports = { 12 module.exports = {
13 app: 'h5', 13 app: 'h5',
14 - appVersion: '5.3.0', // 调用api的版本 14 + appVersion: '5.1.0', // 调用api的版本
15 port: 6001, 15 port: 6001,
16 siteUrl: '//m.yohobuy.com', 16 siteUrl: '//m.yohobuy.com',
17 assetUrl: '//localhost:5001', 17 assetUrl: '//localhost:5001',
18 domains: { 18 domains: {
19 - // api: 'http://api.yoho.cn/',  
20 - // service: 'http://service.yoho.cn/',  
21 - // liveApi: 'http://api.live.yoho.cn/',  
22 - // singleApi: 'http://single.yoho.cn/' 19 + api: 'http://api.yoho.cn/',
  20 + service: 'http://service.yoho.cn/',
  21 + liveApi: 'http://api.live.yoho.cn/',
  22 + singleApi: 'http://single.yoho.cn/'
23 23
24 - api: 'http://api-test3.yohops.com:9999/',  
25 - service: 'http://service-test3.yohops.com:9999/',  
26 - liveApi: 'http://testapi.live.yohops.com:9999/',  
27 - singleApi: 'http://api-test3.yohops.com:9999/' 24 + // api: 'http://api-test3.yohops.com:9999/',
  25 + // service: 'http://service-test3.yohops.com:9999/',
  26 + // liveApi: 'http://testapi.live.yohops.com:9999/',
  27 + // singleApi: 'http://api-test3.yohops.com:9999/'
28 28
29 // favApi: 'http://192.168.102.31:8092/brower', 29 // favApi: 'http://192.168.102.31:8092/brower',
30 // api: 'http://192.168.102.205:8080/gateway/', 30 // api: 'http://192.168.102.205:8080/gateway/',
@@ -36,10 +36,10 @@ module.exports = { @@ -36,10 +36,10 @@ module.exports = {
36 // liveApi: 'http://api.live.yoho.cn/', 36 // liveApi: 'http://api.live.yoho.cn/',
37 // singleApi: 'http://single.yoho.cn/' 37 // singleApi: 'http://single.yoho.cn/'
38 38
39 - // api: 'http://dev-api.yohops.com:9999/',  
40 - // service: 'http://dev-service.yohops.com:9999/',  
41 - // liveApi: 'http://testapi.live.yohops.com:9999/',  
42 - // singleApi: 'http://api-test1.yohops.com:9999/' 39 + // api: 'http://dev-api.yohops.com:9999/',
  40 + // service: 'http://dev-service.yohops.com:9999/',
  41 + // liveApi: 'http://testapi.live.yohops.com:9999/',
  42 + // singleApi: 'http://api-test1.yohops.com:9999/'
43 }, 43 },
44 subDomains: { 44 subDomains: {
45 host: '.m.yohobuy.com', 45 host: '.m.yohobuy.com',
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 * @author: liangzhifeng<zhifeng.liang@yoho.cn> 3 * @author: liangzhifeng<zhifeng.liang@yoho.cn>
4 * @date: 2015/10/20 4 * @date: 2015/10/20
5 */ 5 */
6 -require('../../scss/product/detail/_index.css'); 6 +require('product/detail/detail.page.css');
7 var $ = require('yoho-jquery'), 7 var $ = require('yoho-jquery'),
8 Swiper = require('yoho-swiper'), 8 Swiper = require('yoho-swiper'),
9 Hammer = require('yoho-hammer'), 9 Hammer = require('yoho-hammer'),
1 -require('../../scss/product/detail/_index.css'); 1 +require('product/detail/detail.page.css');
2 var $ = require('yoho-jquery'); 2 var $ = require('yoho-jquery');
3 var productId = $('#productId').val(); 3 var productId = $('#productId').val();
4 var goodsId = $('#goodsId').val(); 4 var goodsId = $('#goodsId').val();
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 * @date: 2016/7/21 4 * @date: 2016/7/21
5 */ 5 */
6 6
7 -require('../../scss/product/search/list.page.css'); 7 +require('product/search/list.page.css');
8 8
9 require('./search/list'); 9 require('./search/list');
10 require('../common/footer'); 10 require('../common/footer');
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 * @author: liangzhifeng<zhifeng.liang@yoho.cn> 3 * @author: liangzhifeng<zhifeng.liang@yoho.cn>
4 * @date: 2015/10/20 4 * @date: 2015/10/20
5 */ 5 */
6 -require('../../scss/product/detail/_index.css'); 6 +require('product/detail/detail.page.css');
7 var $ = require('yoho-jquery'), 7 var $ = require('yoho-jquery'),
8 Swiper = require('yoho-swiper'), 8 Swiper = require('yoho-swiper'),
9 Hammer = require('yoho-hammer'), 9 Hammer = require('yoho-hammer'),
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 */ 3 */
4 4
5 require('./shop/coupon'); 5 require('./shop/coupon');
6 -require('../../scss/product/shop/shop.page.css'); 6 +require('product/shop/shop.page.css');
7 var $ = require('yoho-jquery'), 7 var $ = require('yoho-jquery'),
8 lazyLoad = require('yoho-jquery-lazyload'), 8 lazyLoad = require('yoho-jquery-lazyload'),
9 Swiper = require('yoho-swiper'); 9 Swiper = require('yoho-swiper');
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
5 * @date: 2015/10/20 5 * @date: 2015/10/20
6 */ 6 */
7 7
8 -require('../../../scss/product/shop/shop.page.css'); 8 +require('product/shop/shop.page.css');
9 var $ = require('yoho-jquery'), 9 var $ = require('yoho-jquery'),
10 Hammer = require('yoho-hammer'), 10 Hammer = require('yoho-hammer'),
11 ellipsis = require('yoho-mlellipsis'), 11 ellipsis = require('yoho-mlellipsis'),
@@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
35 display: -webkit-box; 35 display: -webkit-box;
36 display: -moz-box; 36 display: -moz-box;
37 display: -ms-box; 37 display: -ms-box;
38 - display: box; 38 + /*display: box;*/
39 -webkit-box-orient: vertical; 39 -webkit-box-orient: vertical;
40 -moz-box-orient: vertical; 40 -moz-box-orient: vertical;
41 -ms-box-orient: vertical; 41 -ms-box-orient: vertical;
  1 +@import "detail";
  2 +@import "comments-consults";
  3 +@import "product-description";
  4 +@import "recommend-for-you";
  5 +@import "brand-coupon";
  6 +@import "../../layout/swiper";
  7 +@import "../../channel/banner-top";
  8 +@import "../../common/good";
  9 +@import "../../cart/chose-panel";
  10 +@import "../../common/_suspend-home.css";
  11 +