Authored by 毕凯

add main-wrap

@@ -11,8 +11,8 @@ const isProduction = process.env.NODE_ENV === 'production'; @@ -11,8 +11,8 @@ const isProduction = process.env.NODE_ENV === 'production';
11 const isTest = process.env.NODE_ENV === 'test'; 11 const isTest = process.env.NODE_ENV === 'test';
12 12
13 const domains = { 13 const domains = {
14 - api: 'http://api-test3.yohops.com:9999/',  
15 - service: 'http://service-test3.yohops.com:9999/', 14 + api: 'http://api.yoho.cn/',
  15 + service: 'http://service.yoho.cn/',
16 singleApi: 'http://api-test3.yohops.com:9999/', 16 singleApi: 'http://api-test3.yohops.com:9999/',
17 global: 'http://global-test-soa.yohops.com:9999', 17 global: 'http://global-test-soa.yohops.com:9999',
18 liveApi: 'http://testapi.live.yohops.com:9999/', 18 liveApi: 'http://testapi.live.yohops.com:9999/',
@@ -7,12 +7,13 @@ @@ -7,12 +7,13 @@
7 <link rel="stylesheet" type="text/css" href="https://mipcache.bdstatic.com/static/v1/mip.css"> 7 <link rel="stylesheet" type="text/css" href="https://mipcache.bdstatic.com/static/v1/mip.css">
8 <link rel="canonical" href="{{canonical}}"> 8 <link rel="canonical" href="{{canonical}}">
9 <style mip-custom> 9 <style mip-custom>
  10 + .main-wrap{width: 100%;max-width: 750px;margin: 0 auto;}
10 {{css}} 11 {{css}}
11 {{localStyle}} 12 {{localStyle}}
12 </style> 13 </style>
13 </head> 14 </head>
14 <body> 15 <body>
15 -{{{body}}} 16 +<div class="main-wrap">{{{body}}}</div>
16 <mip-stats-baidu token="d22478778b220ee60bce74bd15d390ae" setconfig="%5B'_trackEvent'%2C%20'mip'%2C%20'{{canonical}}'%5D"></mip-stats-baidu> 17 <mip-stats-baidu token="d22478778b220ee60bce74bd15d390ae" setconfig="%5B'_trackEvent'%2C%20'mip'%2C%20'{{canonical}}'%5D"></mip-stats-baidu>
17 <script src="https://mipcache.bdstatic.com/static/v1/mip.js"></script> 18 <script src="https://mipcache.bdstatic.com/static/v1/mip.js"></script>
18 <script src="https://mipcache.bdstatic.com/static/v1/mip-stats-baidu/mip-stats-baidu.js"></script> 19 <script src="https://mipcache.bdstatic.com/static/v1/mip-stats-baidu/mip-stats-baidu.js"></script>