Authored by Aiden Xu

Merge remote-tracking branch 'origin/develop' into develop

# Conflicts:
#	apps/news/index.js
#	apps/news/router.js
@@ -39,7 +39,6 @@ module.exports = { @@ -39,7 +39,6 @@ module.exports = {
39 getCateListData(params) { 39 getCateListData(params) {
40 return api.get('', Object.assign(params, { 40 return api.get('', Object.assign(params, {
41 method: 'app.sort.get' 41 method: 'app.sort.get'
42 - })  
43 - ); 42 + }));
44 } 43 }
45 }; 44 };
  1 +/**
  2 + * Created by PhpStorm.
  3 + * User: Targaryen
  4 + * Date: 2016/7/26
  5 + * Time: 17:22
  6 + */
  7 +'use strict';
  8 +
  9 +module.exports = {
  10 + index: (req, res) => {
  11 + res.render('index', {
  12 + module: 'news',
  13 + page: 'index'
  14 + });
  15 + }
  16 +};
@@ -19,6 +19,7 @@ app.on('mount', function(parent) { @@ -19,6 +19,7 @@ app.on('mount', function(parent) {
19 }); 19 });
20 20
21 app.set('views', path.join(__dirname, 'views/action')); 21 app.set('views', path.join(__dirname, 'views/action'));
  22 +
22 app.engine('.hbs', hbs({ 23 app.engine('.hbs', hbs({
23 extname: '.hbs', 24 extname: '.hbs',
24 defaultLayout: 'layout', 25 defaultLayout: 'layout',
@@ -15,4 +15,8 @@ const detail = require(`${cRoot}/detail`); @@ -15,4 +15,8 @@ const detail = require(`${cRoot}/detail`);
15 15
16 router.get(/\/([\d]+)(.*)/, detail.index); // 详情routers 16 router.get(/\/([\d]+)(.*)/, detail.index); // 详情routers
17 router.get(/news_(\d+)\.json/, detail.news); 17 router.get(/news_(\d+)\.json/, detail.news);
  18 +
  19 +const news = require(`${cRoot}/index`);
  20 +
  21 +router.get('', news.index);
18 module.exports = router; 22 module.exports = router;
  1 +<div class="index">
  2 + <index-box></index-box>
  3 +</div>
@@ -31,20 +31,23 @@ module.exports = { @@ -31,20 +31,23 @@ module.exports = {
31 31
32 /* 获取商品列表 */ 32 /* 获取商品列表 */
33 getBrandShopGoods: (req, res) => { 33 getBrandShopGoods: (req, res) => {
  34 + let filter = req.body.filter || {};
  35 +
34 shopModel.getBrandShopGoodsData({ 36 shopModel.getBrandShopGoodsData({
  37 + domain: filter.domain,
35 sort: req.body.sort, 38 sort: req.body.sort,
36 page: req.body.page, 39 page: req.body.page,
37 - channel: req.body.filter.channel || 'men',  
38 - gender: req.body.filter.gender || '1,2,3',  
39 - brand: req.body.filter.brand,  
40 - shopId: req.body.filter.shopId,  
41 - order: req.body.filter.order || 's_t_desc',  
42 - limit: req.body.filter.limit || '60',  
43 - color: req.body.filter.color,  
44 - price: req.body.filter.price,  
45 - size: req.body.filter.size,  
46 - pd: req.body.filter.pd,  
47 - tagsFilter: req.body.filter.tagsFilter 40 + channel: filter.channel || 'men',
  41 + gender: filter.gender || '1,2,3',
  42 + brand: filter.brand,
  43 + shopId: filter.shopId,
  44 + order: filter.order || 's_t_desc',
  45 + limit: filter.limit || '60',
  46 + color: filter.color,
  47 + price: filter.price,
  48 + size: filter.size,
  49 + pd: filter.pd,
  50 + tagsFilter: filter.tagsFilter
48 }).then(result => { 51 }).then(result => {
49 res.json(result); 52 res.json(result);
50 }); 53 });
@@ -56,7 +59,10 @@ module.exports = { @@ -56,7 +59,10 @@ module.exports = {
56 shopId: req.body.shopId, 59 shopId: req.body.shopId,
57 favId: req.body.favId, 60 favId: req.body.favId,
58 uid: req.user.uid, 61 uid: req.user.uid,
59 - type: 'shop' 62 +
  63 + // uid: '8050882',
  64 + type: 'shop',
  65 + isFav: req.body.isFav
60 }).then(result => { 66 }).then(result => {
61 res.json(result); 67 res.json(result);
62 }); 68 });
@@ -7,6 +7,8 @@ @@ -7,6 +7,8 @@
7 'use strict'; 7 'use strict';
8 8
9 const api = global.yoho.API; 9 const api = global.yoho.API;
  10 +const _ = require('lodash');
  11 +
10 const yhChannel = { 12 const yhChannel = {
11 men: { 13 men: {
12 channel: '1' 14 channel: '1'
@@ -51,7 +53,7 @@ module.exports = { @@ -51,7 +53,7 @@ module.exports = {
51 }, 53 },
52 54
53 /** 55 /**
54 - * TODO 从接口获得店铺装修资源 56 + * 从接口获得店铺装修资源
55 * @param params 57 * @param params
56 * @returns {*} 58 * @returns {*}
57 */ 59 */
@@ -67,7 +69,7 @@ module.exports = { @@ -67,7 +69,7 @@ module.exports = {
67 * @returns {*} 69 * @returns {*}
68 */ 70 */
69 getBrandShopGoodsOriginData(params) { 71 getBrandShopGoodsOriginData(params) {
70 - return api.get('', { 72 + let finalParams = {
71 method: 'app.search.brand', 73 method: 'app.search.brand',
72 yh_channel: params.channel ? yhChannel[params.channel].channel : '1', 74 yh_channel: params.channel ? yhChannel[params.channel].channel : '1',
73 brand: params.brand, 75 brand: params.brand,
@@ -82,7 +84,16 @@ module.exports = { @@ -82,7 +84,16 @@ module.exports = {
82 p_d: params.pd, 84 p_d: params.pd,
83 sort: params.sort, 85 sort: params.sort,
84 tags_filter: params.tagsFilter 86 tags_filter: params.tagsFilter
  87 + };
  88 +
  89 + /* 删除没有参数的条件 */
  90 + _.forEach(finalParams, (value, key) => {
  91 + if (!value) {
  92 + delete finalParams[key];
  93 + }
85 }); 94 });
  95 +
  96 + return api.get('', finalParams);
86 }, 97 },
87 98
88 /** 99 /**
@@ -98,13 +109,13 @@ module.exports = { @@ -98,13 +109,13 @@ module.exports = {
98 type: params.type 109 type: params.type
99 }; 110 };
100 111
101 - if (params.isFav) { 112 + if (params.isFav === 'true') {
102 Object.assign(finalParams, { 113 Object.assign(finalParams, {
103 - method: 'app.favorite.add' 114 + method: 'app.favorite.cancel'
104 }); 115 });
105 } else { 116 } else {
106 Object.assign(finalParams, { 117 Object.assign(finalParams, {
107 - method: 'app.favorite.cancel' 118 + method: 'app.favorite.add'
108 }); 119 });
109 } 120 }
110 return api.get('', finalParams); 121 return api.get('', finalParams);
@@ -8,9 +8,9 @@ @@ -8,9 +8,9 @@
8 const logger = global.yoho.logger; 8 const logger = global.yoho.logger;
9 const api = global.yoho.API; 9 const api = global.yoho.API;
10 const shopApi = require('./shop-api'); 10 const shopApi = require('./shop-api');
11 -const path = require('path');  
12 -const processProductList = require(path.join(global.utils, '/beautify/product')).processProductList; 11 +const processProductList = require(`${global.utils}/beautify/product`);
13 const camelCase = global.yoho.camelCase; 12 const camelCase = global.yoho.camelCase;
  13 +const _ = require('lodash');
14 14
15 /** 15 /**
16 * 获取品牌店铺数据 16 * 获取品牌店铺数据
@@ -26,43 +26,81 @@ const getShopData = params => { @@ -26,43 +26,81 @@ const getShopData = params => {
26 26
27 if (result[0].code === 200) { 27 if (result[0].code === 200) {
28 28
29 - /* 品牌有店铺 */ 29 + /* 品牌是否有店铺 */
30 if (result[0].data.shop_id) { 30 if (result[0].data.shop_id) {
  31 +
  32 + /* 是 BLK 的店铺 */
  33 + Object.assign(finalResult, {
  34 + isBlkShop: true,
  35 + shopId: result[0].data.shop_id
  36 + });
  37 +
31 return api.all([ 38 return api.all([
32 shopApi.getShopInfoData({ 39 shopApi.getShopInfoData({
33 shopId: result[0].data.shop_id, 40 shopId: result[0].data.shop_id,
34 uid: params.uid 41 uid: params.uid
  42 +
  43 + // uid: '8050882'
35 }) 44 })
36 ]).then(subResult => { 45 ]).then(subResult => {
37 if (subResult[0].code === 200) { 46 if (subResult[0].code === 200) {
38 47
39 - /* TODO 判断是否是使用 BLK 模板,不使用 BLK 模板的就直接返回 */  
40 - if (subResult[0].data.shop_template_type === '2') {  
41 - Object.assign(finalResult, { 48 + /* 取店铺的基本信息 */
  49 + Object.assign(finalResult, {
  50 + brandLogo: subResult[0].data.shop_logo,
  51 + brandName: subResult[0].data.shop_name,
  52 + brandIntro: subResult[0].data.shop_intro,
  53 + isFav: subResult[0].data.is_favorite === 'Y'
  54 + });
42 55
43 - /* TODO 背景图取资源位,接口未开发 */  
44 - brandBg: 'http://7xwj52.com1.z0.glb.clouddn.com/brandbg.jpg', 56 + /* TODO shop_template_type 待接口确认 */
  57 + if (subResult[0].data.shop_template_type === '3') {
45 58
46 - /* TODO 是否显示店铺 LOGO,接口未开发 */  
47 - showBrandLogo: false,  
48 - brandLogo: subResult[0].data.shop_logo,  
49 - brandName: subResult[0].data.shop_name,  
50 - brandIntro: subResult[0].data.shop_intro 59 + /* 取资源位店铺背景图 */
  60 + return api.all([
  61 + shopApi.getShopsDecoratorList({shopId: result[0].data.shop_id})
  62 + ]).then(thResult => {
  63 + if (thResult.code === 200) {
  64 + _.forEach(thResult[0].data.list, value => {
  65 +
  66 + /* TODO resource_name 待接口确认 */
  67 + if (value.resource_name === 'shopTopBanner_BLK') {
  68 + Object.assign(finalResult, {
  69 + brandBg: value.resource_data.shopSrc
  70 + });
  71 + }
  72 + });
  73 +
  74 + } else {
  75 + logger.info('getShopsDecoratorList api code no 200');
  76 + }
  77 +
  78 + return finalResult;
51 }); 79 });
52 - return finalResult; 80 +
53 } else { 81 } else {
54 - logger.info('no BLK template'); 82 + logger.info('no BLK template resource');
55 } 83 }
56 } else { 84 } else {
57 logger.error('getShopInfoData api code no 200'); 85 logger.error('getShopInfoData api code no 200');
58 } 86 }
  87 +
  88 + return finalResult;
59 }); 89 });
60 } else { 90 } else {
  91 +
  92 + /* 不是 BLK 的店铺 */
  93 + Object.assign(finalResult, {
  94 + isBlkShop: false
  95 + });
  96 +
61 logger.info('brand has no shop'); 97 logger.info('brand has no shop');
62 } 98 }
63 } else { 99 } else {
64 logger.error('getBrandOriginData api code no 200'); 100 logger.error('getBrandOriginData api code no 200');
65 } 101 }
  102 +
  103 + return finalResult;
66 }); 104 });
67 }; 105 };
68 106
@@ -74,15 +112,26 @@ const getShopData = params => { @@ -74,15 +112,26 @@ const getShopData = params => {
74 const getBrandShopGoodsData = params => { 112 const getBrandShopGoodsData = params => {
75 let finalResult = {}; 113 let finalResult = {};
76 114
77 - return api.all([shopApi.getBrandShopGoodsOriginData(params)]).then(result => { 115 + return api.all([
  116 + shopApi.getBrandInfoByDomain({ domain: params.domain })
  117 + ]).then(result => {
78 if (result[0].code === 200) { 118 if (result[0].code === 200) {
79 - Object.assign(finalResult, {  
80 - data: {  
81 - productList: processProductList(result[0].data.productList) 119 + return api.all([
  120 + shopApi.getBrandShopGoodsOriginData(Object.assign(params, {
  121 + brand: result[0].data.id,
  122 + shopId: result[0].data.shop_id
  123 + }))
  124 + ]).then(subResult => {
  125 + if (subResult[0].code === 200) {
  126 + finalResult.data = { productList: processProductList(subResult[0].data.product_list) };
  127 + } else {
  128 + logger.error('getBrandShopGoodsOriginData api code no 200');
82 } 129 }
  130 +
  131 + return camelCase(finalResult);
83 }); 132 });
84 } else { 133 } else {
85 - logger.error('getBrandShopGoodsOriginData api code no 200'); 134 + logger.error('getBrandInfoByDomain api code no 200');
86 } 135 }
87 136
88 return camelCase(finalResult); 137 return camelCase(finalResult);
@@ -15,8 +15,8 @@ module.exports = { @@ -15,8 +15,8 @@ module.exports = {
15 port: 6004, 15 port: 6004,
16 siteUrl: '//m.yohoblk.com', 16 siteUrl: '//m.yohoblk.com',
17 domains: { 17 domains: {
18 - api: 'http://devapi.yoho.cn:58078/',  
19 - service: 'http://devservice.yoho.cn:58077/' 18 + api: 'http://192.168.102.205:8080/gateway/',
  19 + service: 'http://192.168.102.205:8080/gateway/'
20 }, 20 },
21 subDomains: { 21 subDomains: {
22 host: '.m.yohoblk.com', 22 host: '.m.yohoblk.com',
@@ -40,14 +40,14 @@ @@ -40,14 +40,14 @@
40 "winston": "^2.2.0", 40 "winston": "^2.2.0",
41 "winston-daily-rotate-file": "^1.1.4", 41 "winston-daily-rotate-file": "^1.1.4",
42 "yoho-md5": "^2.0.0", 42 "yoho-md5": "^2.0.0",
43 - "yoho-node-lib": "0.0.21" 43 + "yoho-node-lib": "0.0.26"
44 }, 44 },
45 "devDependencies": { 45 "devDependencies": {
46 "autoprefixer": "^6.3.7", 46 "autoprefixer": "^6.3.7",
47 - "babel-core": "^6.10.4", 47 + "babel-core": "^6.11.4",
48 "babel-loader": "^6.2.4", 48 "babel-loader": "^6.2.4",
49 "babel-preset-es2015": "^6.9.0", 49 "babel-preset-es2015": "^6.9.0",
50 - "eslint": "^3.0.1", 50 + "eslint": "^3.1.1",
51 "eslint-config-yoho": "^1.0.1", 51 "eslint-config-yoho": "^1.0.1",
52 "eslint-plugin-html": "^1.5.1", 52 "eslint-plugin-html": "^1.5.1",
53 "extract-text-webpack-plugin": "^1.0.1", 53 "extract-text-webpack-plugin": "^1.0.1",
@@ -58,8 +58,8 @@ @@ -58,8 +58,8 @@
58 "gulp-sourcemaps": "^2.0.0-alpha", 58 "gulp-sourcemaps": "^2.0.0-alpha",
59 "gulp-util": "^3.0.7", 59 "gulp-util": "^3.0.7",
60 "handlebars-loader": "^1.3.0", 60 "handlebars-loader": "^1.3.0",
61 - "husky": "^0.11.4",  
62 - "nodemon": "1.9.2", 61 + "husky": "^0.11.6",
  62 + "nodemon": "^1.10.0",
63 "postcss-assets": "^4.0.1", 63 "postcss-assets": "^4.0.1",
64 "postcss-cachebuster": "^0.1.3", 64 "postcss-cachebuster": "^0.1.3",
65 "postcss-calc": "^5.2.1", 65 "postcss-calc": "^5.2.1",
@@ -69,10 +69,10 @@ @@ -69,10 +69,10 @@
69 "postcss-position": "^0.5.0", 69 "postcss-position": "^0.5.0",
70 "postcss-pxtorem": "^3.3.1", 70 "postcss-pxtorem": "^3.3.1",
71 "postcss-short": "^1.4.0", 71 "postcss-short": "^1.4.0",
72 - "postcss-sprites": "^3.1.2", 72 + "postcss-sprites": "^3.3.0",
73 "postcss-use": "^2.2.0", 73 "postcss-use": "^2.2.0",
74 "precss": "^1.4.0", 74 "precss": "^1.4.0",
75 - "shelljs": "^0.7.0", 75 + "shelljs": "^0.7.2",
76 "style-loader": "^0.13.1", 76 "style-loader": "^0.13.1",
77 "stylelint": "^6.9.0", 77 "stylelint": "^6.9.0",
78 "stylelint-config-yoho": "1.2.5", 78 "stylelint-config-yoho": "1.2.5",
1 -webpackJsonp([16],{0:function(t,o,n){"use strict";var e=n(2),i=n(18),c=n(301);new e({el:"#app",components:{appBox:c}}),e.use(i)},4:function(t,o,n){(function(o){"use strict";function n(t){var n=void 0,e={mask:!1,delay:2e3,txt:""};"string"==typeof t?o.extend(e,{txt:t}):o.extend(e,t);var i='<div class="tip-box"><div class="tip">'+e.txt+"</div></div>",c=o(".tip-box");c.length&&(n=c.data("timer"),clearTimeout(n),c.remove());var u=o(i).appendTo(document.body);u.data("timer",setTimeout(function(){u.remove()},e.delay))}t.exports=n}).call(o,n(1))},124:function(t,o,n){"use strict";var e=n(4),i={isApp:/yh_blk/i.test((navigator.userAgent||"").toLowerCase()),data:window.yohoInterfaceData,goTap:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.tab",arguments:t}):e("暂不支持,请在BLK应用中打开")},goLogin:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.login",arguments:t}):e("暂不支持,请在BLK应用中打开")},goLogout:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.loginout",arguments:t}):e("暂不支持,请在BLK应用中打开")},goShopingKey:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.shoppingkey",arguments:t}):e("暂不支持,请在BLK应用中打开")},goShopingCart:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.shopingCart",arguments:t}):e("暂不支持,请在BLK应用中打开")},goAddress:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.address",arguments:t}):e("暂不支持,请在BLK应用中打开")},goImageBrowser:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.imageBrowser",arguments:t}):e("暂不支持,请在BLK应用中打开")},goNewPage:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.newPage",arguments:t}):e("暂不支持,请在BLK应用中打开")},goPay:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.pay",arguments:t}):e("暂不支持,请在BLK应用中打开")},goBack:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.back",arguments:t}):e("暂不支持,请在BLK应用中打开")},goShare:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.share",arguments:t}):e("暂不支持,请在BLK应用中打开")},goSearch:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.search",arguments:t}):e("暂不支持,请在BLK应用中打开")},goSetting:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.setting",arguments:t}):e("暂不支持,请在BLK应用中打开")},addNativeMethod:function(t,o){window.yohoInterface[t]=o}};t.exports=i},180:function(t,o,n){"use strict";var e=n(124);t.exports={data:function(){return{yoho:e}}}},236:function(t,o){},267:function(t,o){t.exports=' <button class=button @click=\'yoho.goTap({"index":2})\'>TAP</button> <button class=button @click=yoho.goLogin()>登录</button> <button class=button @click=yoho.goLogout()>退出登录</button> <button class=button @click=\'yoho.goShopingKey({"shoppingkey":"123456789"})\'>设置ShopingKey</button> <button class=button @click=yoho.goShopingCart()>跳转购物车</button> <button class=button @click=\'yoho.goAddress({"type":"1"})\'>地址选择页面</button> <button class=button @click=\'yoho.goAddress({"type":"2"})\'>地址管理页面</button> <button class=button @click=\'yoho.goImageBrowser({"images":["http://7xwj52.com1.z0.glb.clouddn.com/brandbg.jpg"], "index": "1"})\'>图片浏览</button> <button class=button @click=\'yoho.goNewPage({"url":"http://m.yohoblk.com"})\'>新页面</button> <button class=button @click=yoho.goPay()>支付</button> <button class=button @click=yoho.goBack()>返回</button> <button class=button @click=\'yoho.goShare({"title":"标题","des":"描述","img":"http://7xwj52.com1.z0.glb.clouddn.com/brandbg.jpg","url":"http://m.yohoblk.com"})\'>分享</button> <button class=button @click=yoho.goSearch()>搜索</button> <button class=button @click=yoho.goSetting()>设置</button> '},301:function(t,o,n){var e,i;n(236),e=n(180),i=n(267),t.exports=e||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)}});  
  1 +webpackJsonp([16],{0:function(t,o,n){"use strict";var e=n(2),i=n(18),c=n(301);new e({el:"#app",components:{appBox:c}}),e.use(i)},4:function(t,o,n){(function(o){"use strict";function n(t){var n=void 0,e={mask:!1,delay:2e3,txt:""};"string"==typeof t?o.extend(e,{txt:t}):o.extend(e,t);var i='<div class="tip-box"><div class="tip">'+e.txt+"</div></div>",c=o(".tip-box");c.length&&(n=c.data("timer"),clearTimeout(n),c.remove());var u=o(i).appendTo(document.body);u.data("timer",setTimeout(function(){u.remove()},e.delay))}t.exports=n}).call(o,n(1))},124:function(t,o,n){"use strict";var e=n(4),i={isApp:/yh_blk/i.test((navigator.userAgent||"").toLowerCase()),data:window.yohoInterfaceData,goTap:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.tab",arguments:t}):e("暂不支持,请在BLK应用中打开")},goLogin:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.login",arguments:t}):e("暂不支持,请在BLK应用中打开")},goLogout:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.loginout",arguments:t}):e("暂不支持,请在BLK应用中打开")},goShopingKey:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.shoppingkey",arguments:t}):e("暂不支持,请在BLK应用中打开")},goShopingCart:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.shopingCart",arguments:t}):e("暂不支持,请在BLK应用中打开")},goAddress:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.address",arguments:t}):e("暂不支持,请在BLK应用中打开")},goImageBrowser:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.imageBrowser",arguments:t}):e("暂不支持,请在BLK应用中打开")},goNewPage:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.newPage",arguments:t}):e("暂不支持,请在BLK应用中打开")},goPay:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.pay",arguments:t}):e("暂不支持,请在BLK应用中打开")},goBack:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.back",arguments:t}):e("暂不支持,请在BLK应用中打开")},goShare:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.share",arguments:t}):e("暂不支持,请在BLK应用中打开")},goSearch:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.search",arguments:t}):e("暂不支持,请在BLK应用中打开")},goSetting:function(t,o,n){this.isApp?window.yohoInterface.triggerEvent(o||function(){},n||function(){},{method:"go.setting",arguments:t}):e("暂不支持,请在BLK应用中打开")},addNativeMethod:function(t,o){window.yohoInterface&&(window.yohoInterface[t]=o)}};t.exports=i},180:function(t,o,n){"use strict";var e=n(124);t.exports={data:function(){return{yoho:e}},created:function(){e.addNativeMethod("headerRightTopBtn",function(t){alert("app 调用 H5 成功!"),t&&alert("传递的信息是:"+t)})}}},236:function(t,o){},267:function(t,o){t.exports=' <button class=button @click=\'yoho.goTap({"index":2})\'>TAP</button> <button class=button @click=yoho.goLogin()>登录</button> <button class=button @click=yoho.goLogout()>退出登录</button> <button class=button @click=\'yoho.goShopingKey({"shoppingkey":"123456789"})\'>设置ShopingKey</button> <button class=button @click=yoho.goShopingCart()>跳转购物车</button> <button class=button @click=\'yoho.goAddress({"type":"1"})\'>地址选择页面</button> <button class=button @click=\'yoho.goAddress({"type":"2"})\'>地址管理页面</button> <button class=button @click=\'yoho.goImageBrowser({"images":["http://7xwj52.com1.z0.glb.clouddn.com/brandbg.jpg"], "index": "1"})\'>图片浏览</button> <button class=button @click=\'yoho.goNewPage({"url":"http://m.yohoblk.com"})\'>新页面</button> <button class=button @click=yoho.goPay()>支付</button> <button class=button @click=yoho.goBack()>返回</button> <button class=button @click=\'yoho.goShare({"title":"标题","des":"描述","img":"http://7xwj52.com1.z0.glb.clouddn.com/brandbg.jpg","url":"http://m.yohoblk.com"})\'>分享</button> <button class=button @click=yoho.goSearch()>搜索</button> <button class=button @click=yoho.goSetting()>设置</button> '},301:function(t,o,n){var e,i;n(236),e=n(180),i=n(267),t.exports=e||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)}});
1 -.test{color:green;background-image:url("../assets/img/sprite.channel.png?v15625dd5348");background-position:0 0;background-size:1.5rem 1.5rem}.test2{color:blue;background:url('../assets/img/channel/boys.png?v15625dd4790')}.testError{background:#fff}  
  1 +.test{color:green;background-image:url("../assets/img/sprite.channel.png?v15625fddb68");background-position:0 0;background-size:1.5rem 1.5rem}.test2{color:blue;background:url('../assets/img/channel/boys.png?v15625fdc3f8')}.testError{background:#fff}
This diff could not be displayed because it is too large.
1 -.main-wrap{background:#f6f6f6}.order-detail>div{background:#fff;padding:0 .75rem}.order-detail .order-status{display:flex;height:2rem;line-height:2rem;color:#fff;background:#000}.order-detail .order-status p:first-of-type{flex:1;font-size:.85rem}.order-detail .order-code{padding:.5rem .75rem;margin-bottom:.5rem;border-top:1px solid #eee;border-bottom:1px solid #eee}.order-detail .order-code p:first-of-type{font-size:.85rem;font-weight:700}.order-detail .order-code p:last-of-type{font-size:.7rem;color:#b0b0b0}.order-detail .order-address{position:relative;padding:.5rem .75rem .675rem;margin-bottom:.5rem;border-top:1px solid #eee;word-wrap:break-word}.order-detail .order-address p:first-of-type{font-size:.8rem;font-weight:700}.order-detail .order-address p:first-of-type span{margin-right:1rem}.order-detail .order-address p:last-of-type{font-size:.7rem;color:#b0b0b0}.order-detail .order-address:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:.3rem;background:url('../assets/img/home/order-border.png?v15625dd5348') repeat-x;border-bottom:1px solid #eee}.order-detail .order-goods{padding-top:.5rem;border-top:1px solid #eee;border-bottom:1px solid #eee}.order-detail .order-goods .goods-info{display:flex;padding:.5rem 0;border-bottom:1px solid #eee}.order-detail .order-goods .goods-info:last-child{border-bottom:0 none}.order-detail .order-goods .img-box{position:relative;width:2.45rem;height:3.25rem;overflow:hidden}.order-detail .order-goods .img-box label{position:absolute;left:0;bottom:0;width:100%;height:.75rem;line-height:.75rem;background:rgba(0,0,0,.2);color:#fff;text-align:center}.order-detail .order-goods .img-box img{width:100%;height:100%}.order-detail .order-goods .goods-detail{flex:1;margin:0 .5rem;font-size:.6rem}.order-detail .order-goods .goods-detail span{margin-right:1rem}.order-detail .order-goods .goods-detail .name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis;height:2.4em;line-height:1.25;overflow:hidden;font-size:.7rem}.order-detail .order-goods .goods-detail .size{color:#b0b0b0}.order-detail .order-goods .goods-price{text-align:right}.order-detail .order-goods .goods-price p:first-of-type{font-size:.7rem}.order-detail .order-goods .goods-price p:last-of-type{font-size:.75rem;color:#b0b0b0}.order-detail .order-amount{padding:.75rem .5rem;margin-bottom:.5rem;border-bottom:1px solid #eee;text-align:right}.order-detail .order-amount li{font-size:.7rem}.order-detail .order-amount li label{display:inline-block;width:3.75rem;text-align:left;color:#b0b0b0}.order-detail .order-amount li span{display:inline-block;width:5rem;text-align:left}.order-detail .order-amount li:last-of-type{font-size:.85rem}.order-detail .order-amount li:last-of-type label{color:#000}.order-detail .order-button{position:fixed;left:0;right:0;bottom:0;z-index:10;padding:.75rem .5rem;border-top:1px solid #eee;text-align:right}.order-detail .order-button button{padding:0 .5rem;height:1.7rem;line-height:1.7rem;color:#000;text-align:center;-webkit-appearance:none;border:0 none;background:#fff;font-size:.7rem}.order-detail .order-button button.black{width:4.8rem;color:#fff;background:#000}.order-detail .order-button button.countdown{color:#fff;background:#000}.order-detail .order-button button.normal{width:4.7rem;padding:0;border:1px solid #000;color:#000}.order-detail .order-button button:focus{outline:none}  
  1 +.main-wrap{background:#f6f6f6}.order-detail>div{background:#fff;padding:0 .75rem}.order-detail .order-status{display:flex;height:2rem;line-height:2rem;color:#fff;background:#000}.order-detail .order-status p:first-of-type{flex:1;font-size:.85rem}.order-detail .order-code{padding:.5rem .75rem;margin-bottom:.5rem;border-top:1px solid #eee;border-bottom:1px solid #eee}.order-detail .order-code p:first-of-type{font-size:.85rem;font-weight:700}.order-detail .order-code p:last-of-type{font-size:.7rem;color:#b0b0b0}.order-detail .order-address{position:relative;padding:.5rem .75rem .675rem;margin-bottom:.5rem;border-top:1px solid #eee;word-wrap:break-word}.order-detail .order-address p:first-of-type{font-size:.8rem;font-weight:700}.order-detail .order-address p:first-of-type span{margin-right:1rem}.order-detail .order-address p:last-of-type{font-size:.7rem;color:#b0b0b0}.order-detail .order-address:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:.3rem;background:url('../assets/img/home/order-border.png?v15625fddb68') repeat-x;border-bottom:1px solid #eee}.order-detail .order-goods{padding-top:.5rem;border-top:1px solid #eee;border-bottom:1px solid #eee}.order-detail .order-goods .goods-info{display:flex;padding:.5rem 0;border-bottom:1px solid #eee}.order-detail .order-goods .goods-info:last-child{border-bottom:0 none}.order-detail .order-goods .img-box{position:relative;width:2.45rem;height:3.25rem;overflow:hidden}.order-detail .order-goods .img-box label{position:absolute;left:0;bottom:0;width:100%;height:.75rem;line-height:.75rem;background:rgba(0,0,0,.2);color:#fff;text-align:center}.order-detail .order-goods .img-box img{width:100%;height:100%}.order-detail .order-goods .goods-detail{flex:1;margin:0 .5rem;font-size:.6rem}.order-detail .order-goods .goods-detail span{margin-right:1rem}.order-detail .order-goods .goods-detail .name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis;height:2.4em;line-height:1.25;overflow:hidden;font-size:.7rem}.order-detail .order-goods .goods-detail .size{color:#b0b0b0}.order-detail .order-goods .goods-price{text-align:right}.order-detail .order-goods .goods-price p:first-of-type{font-size:.7rem}.order-detail .order-goods .goods-price p:last-of-type{font-size:.75rem;color:#b0b0b0}.order-detail .order-amount{padding:.75rem .5rem;margin-bottom:.5rem;border-bottom:1px solid #eee;text-align:right}.order-detail .order-amount li{font-size:.7rem}.order-detail .order-amount li label{display:inline-block;width:3.75rem;text-align:left;color:#b0b0b0}.order-detail .order-amount li span{display:inline-block;width:5rem;text-align:left}.order-detail .order-amount li:last-of-type{font-size:.85rem}.order-detail .order-amount li:last-of-type label{color:#000}.order-detail .order-button{position:fixed;left:0;right:0;bottom:0;z-index:10;padding:.75rem .5rem;border-top:1px solid #eee;text-align:right}.order-detail .order-button button{padding:0 .5rem;height:1.7rem;line-height:1.7rem;color:#000;text-align:center;-webkit-appearance:none;border:0 none;background:#fff;font-size:.7rem}.order-detail .order-button button.black{width:4.8rem;color:#fff;background:#000}.order-detail .order-button button.countdown{color:#fff;background:#000}.order-detail .order-button button.normal{width:4.7rem;padding:0;border:1px solid #000;color:#000}.order-detail .order-button button:focus{outline:none}
1 -webpackJsonp([4],{0:function(t,e,n){"use strict";var r=n(2),o=n(306);n(6),new r({el:"#order-detail",data:{orderCode:document.getElementById("order-code").value},components:{OrderDetail:o}})},3:function(t,e){"use strict";function n(t){return c[t]}function r(t){for(var e=1;e<arguments.length;e++)for(var n in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],n)&&(t[n]=arguments[e][n]);return t}function o(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function i(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}return d.test(t)?t.replace(f,n):t}function a(t){return!t&&0!==t||!(!v(t)||0!==t.length)}function s(t){var e=r({},t);return e._parent=t,e}function u(t,e){return t.path=e,t}function l(t,e){return(t?t+".":"")+e}e.__esModule=!0,e.extend=r,e.indexOf=o,e.escapeExpression=i,e.isEmpty=a,e.createFrame=s,e.blockParams=u,e.appendContextPath=l;var c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},f=/[&<>"'`=]/g,d=/[&<>"'`=]/,p=Object.prototype.toString;e.toString=p;var h=function(t){return"function"==typeof t};h(/x/)&&(e.isFunction=h=function(t){return"function"==typeof t&&"[object Function]"===p.call(t)}),e.isFunction=h;var v=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===p.call(t)};e.isArray=v},4:function(t,e,n){(function(e){"use strict";function n(t){var n=void 0,r={mask:!1,delay:2e3,txt:""};"string"==typeof t?e.extend(r,{txt:t}):e.extend(r,t);var o='<div class="tip-box"><div class="tip">'+r.txt+"</div></div>",i=e(".tip-box");i.length&&(n=i.data("timer"),clearTimeout(n),i.remove());var a=e(o).appendTo(document.body);a.data("timer",setTimeout(function(){a.remove()},r.delay))}t.exports=n}).call(e,n(1))},6:function(t,e,n){"use strict";var r=n(2);r.filter("resize",function(t,e,n,r){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var o={"{width}":e,"{height}":n,"{mode}":r||2};return o[t]}):""}),r.filter("clothingGenderIdentity",function(t){var e=null;switch(t){case 1:e="男款";break;case 2:e="女款";break;default:e="通用"}return e}),r.filter("brandUrl",function(t){return"/brand?domain="+t}),r.filter("convertOrderState",function(t){var e="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:e="待付款";break;case 1:e="待发货";break;case 2:e="待发货";break;case 3:e="待发货";break;case 4:e="待收货";break;case 5:e="待发货";break;case 6:e="已完成";break;default:e=""}return e}),r.filter("convertTime",function(t){if("undefined"!=typeof t){var e=new Date(1e3*parseFloat(t)),n=e.getFullYear()+"-",r=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",o=e.getDate()+" ",i=e.getHours()+":",a=e.getMinutes()+":",s=e.getSeconds();return n+r+o+i+a+s}})},7:function(t,e){"use strict";function n(t,e){var o=e&&e.loc,i=void 0,a=void 0;o&&(i=o.start.line,a=o.start.column,t+=" - "+i+":"+a);for(var s=Error.prototype.constructor.call(this,t),u=0;u<r.length;u++)this[r[u]]=s[r[u]];Error.captureStackTrace&&Error.captureStackTrace(this,n),o&&(this.lineNumber=i,this.column=a)}e.__esModule=!0;var r=["description","fileName","lineNumber","message","name","number","stack"];n.prototype=new Error,e["default"]=n,t.exports=e["default"]},8:function(t,e,n){t.exports=!n(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},9:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},10:function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},11:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},12:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},13:function(t,e,n){var r=n(33),o=n(47),i=n(43),a=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},14:function(t,e,n){var r=n(26),o=n(21);t.exports=function(t){return r(o(t))}},15:function(t,e,n){t.exports={"default":n(52),__esModule:!0}},16:function(t,e,n){var r=n(9),o=n(10),i=n(56),a=n(22),s="prototype",u=function(t,e,n){var l,c,f,d=t&u.F,p=t&u.G,h=t&u.S,v=t&u.P,m=t&u.B,g=t&u.W,b=p?o:o[e]||(o[e]={}),x=b[s],y=p?r:h?r[e]:(r[e]||{})[s];p&&(n=e);for(l in n)c=!d&&y&&void 0!==y[l],c&&l in b||(f=c?y[l]:n[l],b[l]=p&&"function"!=typeof y[l]?n[l]:m&&c?i(f,r):g&&y[l]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((b.virtual||(b.virtual={}))[l]=f,t&u.R&&x&&!x[l]&&a(x,l,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},17:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},19:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},20:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(51),i=r(o);e["default"]=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i["default"])(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},21:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},22:function(t,e,n){var r=n(13),o=n(35);t.exports=n(8)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},23:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},25:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(15),i=r(o),a=n(19),s=r(a),u=n(20),l=r(u),c=n(1),f={none:{"in":"overlay-in",out:"overlay-out"},fade:{"in":"overlay-fade-in",out:"overlay-fade-out"}},d=function(){function t(e){var n=this;(0,s["default"])(this,t),this.isVisible=!1,this.defaults={className:"overlay",clickToClose:!0,onClose:c.noop,animation:"fade",disableScrolling:!0},this.settings=(0,i["default"])({},this.defaults,e),this.settings.animationClasses={"in":f[this.settings.animation]["in"],out:f[this.settings.animation].out},this.elem=c("<div/>",{"class":this.settings.className}),this.elem.click(function(){n.settings.clickToClose&&n.hide()}),this.settings.disableScrolling&&c(window).on("touchmove",function(t){n.isVisible&&t.preventDefault()})}return(0,l["default"])(t,[{key:"_clearStylesClasses",value:function(){this.elem.removeClass(this.settings.animationClasses["in"]).removeClass(this.settings.animationClasses.out)}},{key:"_cleanupListener",value:function(){this.elem.css({visibility:"hidden"}),this._clearStylesClasses(),this.isVisible=!1,this.elem.detach(),this.elem[0].removeEventListener("webkitTransitionEnd",this._cleanupListener)}},{key:"show",value:function(){0!==this.elem.parent().length||this.isVisible||(this.elem.appendTo("body"),this._clearStylesClasses(),this.elem.css({visibility:"visible"}).show().addClass(this.settings.animationClasses["in"]),this.settings.disableScrolling&&c("body").css({overflow:"hidden"}),this.isVisible=!0)}},{key:"hide",value:function(){var t=this;this.isVisible&&(this._clearStylesClasses(),this.elem[0].addEventListener("webkitTransitionEnd",this._cleanupListener.bind(this)),this.elem.addClass(this.settings.animationClasses.out),this.settings.disableScrolling&&c("body").css({overflow:"auto"}),setTimeout(function(){t._cleanupListener()},100),this.settings.onClose())}}]),t}();t.exports=d},26:function(t,e,n){var r=n(45);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},27:function(t,e,n){var r=n(48),o=n(39);t.exports=Object.keys||function(t){return r(t,o)}},29:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e,n){this.helpers=t||{},this.partials=e||{},this.decorators=n||{},u.registerDefaultHelpers(this),l.registerDefaultDecorators(this)}e.__esModule=!0,e.HandlebarsEnvironment=o;var i=n(3),a=n(7),s=r(a),u=n(66),l=n(64),c=n(74),f=r(c),d="4.0.5";e.VERSION=d;var p=7;e.COMPILER_REVISION=p;var h={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};e.REVISION_CHANGES=h;var v="[object Object]";o.prototype={constructor:o,logger:f["default"],log:f["default"].log,registerHelper:function(t,e){if(i.toString.call(t)===v){if(e)throw new s["default"]("Arg not supported with multiple helpers");i.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if(i.toString.call(t)===v)i.extend(this.partials,t);else{if("undefined"==typeof e)throw new s["default"]('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if(i.toString.call(t)===v){if(e)throw new s["default"]("Arg not supported with multiple decorators");i.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]}};var m=f["default"].log;e.log=m,e.createFrame=i.createFrame,e.logger=f["default"]},33:function(t,e,n){var r=n(12);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},34:function(t,e){e.f={}.propertyIsEnumerable},35:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},36:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},37:function(t,e,n){t.exports=n(63)["default"]},39:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},40:function(t,e){e.f=Object.getOwnPropertySymbols},41:function(t,e,n){var r=n(42)("keys"),o=n(36);t.exports=function(t){return r[t]||(r[t]=o(t))}},42:function(t,e,n){var r=n(9),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},43:function(t,e,n){var r=n(12);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},45:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},46:function(t,e,n){var r=n(12),o=n(9).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},47:function(t,e,n){t.exports=!n(8)&&!n(11)(function(){return 7!=Object.defineProperty(n(46)("div"),"a",{get:function(){return 7}}).a})},48:function(t,e,n){var r=n(17),o=n(14),i=n(55)(!1),a=n(41)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(l,n)||l.push(n));return l}},49:function(t,e,n){var r=n(21);t.exports=function(t){return Object(r(t))}},51:function(t,e,n){t.exports={"default":n(53),__esModule:!0}},52:function(t,e,n){n(60),t.exports=n(10).Object.assign},53:function(t,e,n){n(61);var r=n(10).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},54:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},55:function(t,e,n){var r=n(14),o=n(59),i=n(58);t.exports=function(t){return function(e,n,a){var s,u=r(e),l=o(u.length),c=i(a,l);if(t&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}}},56:function(t,e,n){var r=n(54);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},57:function(t,e,n){"use strict";var r=n(27),o=n(40),i=n(34),a=n(49),s=n(26),u=Object.assign;t.exports=!u||n(11)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,l=1,c=o.f,f=i.f;u>l;)for(var d,p=s(arguments[l++]),h=c?r(p).concat(c(p)):r(p),v=h.length,m=0;v>m;)f.call(p,d=h[m++])&&(n[d]=p[d]);return n}:u},58:function(t,e,n){var r=n(23),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},59:function(t,e,n){var r=n(23),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},60:function(t,e,n){var r=n(16);r(r.S+r.F,"Object",{assign:n(57)})},61:function(t,e,n){var r=n(16);r(r.S+r.F*!n(8),"Object",{defineProperty:n(13).f})},63:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(){var t=new s.HandlebarsEnvironment;return p.extend(t,s),t.SafeString=l["default"],t.Exception=f["default"],t.Utils=p,t.escapeExpression=p.escapeExpression,t.VM=v,t.template=function(e){return v.template(e,t)},t}e.__esModule=!0;var a=n(29),s=o(a),u=n(77),l=r(u),c=n(7),f=r(c),d=n(3),p=o(d),h=n(76),v=o(h),m=n(75),g=r(m),b=i();b.create=i,g["default"](b),b["default"]=b,e["default"]=b,t.exports=e["default"]},64:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){a["default"](t)}e.__esModule=!0,e.registerDefaultDecorators=o;var i=n(65),a=r(i)},65:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerDecorator("inline",function(t,e,n,o){var i=t;return e.partials||(e.partials={},i=function(o,i){var a=n.partials;n.partials=r.extend({},a,e.partials);var s=t(o,i);return n.partials=a,s}),e.partials[o.args[0]]=o.fn,i})},t.exports=e["default"]},66:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){a["default"](t),u["default"](t),c["default"](t),d["default"](t),h["default"](t),m["default"](t),b["default"](t)}e.__esModule=!0,e.registerDefaultHelpers=o;var i=n(67),a=r(i),s=n(68),u=r(s),l=n(69),c=r(l),f=n(70),d=r(f),p=n(71),h=r(p),v=n(72),m=r(v),g=n(73),b=r(g)},67:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("blockHelperMissing",function(e,n){var o=n.inverse,i=n.fn;if(e===!0)return i(this);if(e===!1||null==e)return o(this);if(r.isArray(e))return e.length>0?(n.ids&&(n.ids=[n.name]),t.helpers.each(e,n)):o(this);if(n.data&&n.ids){var a=r.createFrame(n.data);a.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:a}}return i(e,n)})},t.exports=e["default"]},68:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(3),i=n(7),a=r(i);e["default"]=function(t){t.registerHelper("each",function(t,e){function n(e,n,i){l&&(l.key=e,l.index=n,l.first=0===n,l.last=!!i,c&&(l.contextPath=c+e)),u+=r(t[e],{data:l,blockParams:o.blockParams([t[e],e],[c+e,null])})}if(!e)throw new a["default"]("Must pass iterator to #each");var r=e.fn,i=e.inverse,s=0,u="",l=void 0,c=void 0;if(e.data&&e.ids&&(c=o.appendContextPath(e.data.contextPath,e.ids[0])+"."),o.isFunction(t)&&(t=t.call(this)),e.data&&(l=o.createFrame(e.data)),t&&"object"==typeof t)if(o.isArray(t))for(var f=t.length;s<f;s++)s in t&&n(s,s,s===t.length-1);else{var d=void 0;for(var p in t)t.hasOwnProperty(p)&&(void 0!==d&&n(d,s-1),d=p,s++);void 0!==d&&n(d,s-1,!0)}return 0===s&&(u=i(this)),u})},t.exports=e["default"]},69:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(7),i=r(o);e["default"]=function(t){t.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new i["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')})},t.exports=e["default"]},70:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("if",function(t,e){return r.isFunction(t)&&(t=t.call(this)),!e.hash.includeZero&&!t||r.isEmpty(t)?e.inverse(this):e.fn(this)}),t.registerHelper("unless",function(e,n){return t.helpers["if"].call(this,e,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},t.exports=e["default"]},71:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t){t.registerHelper("log",function(){for(var e=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)e.push(arguments[r]);var o=1;null!=n.hash.level?o=n.hash.level:n.data&&null!=n.data.level&&(o=n.data.level),e[0]=o,t.log.apply(t,e)})},t.exports=e["default"]},72:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t){t.registerHelper("lookup",function(t,e){return t&&t[e]})},t.exports=e["default"]},73:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("with",function(t,e){r.isFunction(t)&&(t=t.call(this));var n=e.fn;if(r.isEmpty(t))return e.inverse(this);var o=e.data;return e.data&&e.ids&&(o=r.createFrame(e.data),o.contextPath=r.appendContextPath(e.data.contextPath,e.ids[0])),n(t,{data:o,blockParams:r.blockParams([t],[o&&o.contextPath])})})},t.exports=e["default"]},74:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var e=r.indexOf(o.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=o.lookupLevel(t),"undefined"!=typeof console&&o.lookupLevel(o.level)<=t){var e=o.methodMap[t];console[e]||(e="log");for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];console[e].apply(console,r)}}};e["default"]=o,t.exports=e["default"]},75:function(t,e){(function(n){"use strict";e.__esModule=!0,e["default"]=function(t){var e="undefined"!=typeof n?n:window,r=e.Handlebars;t.noConflict=function(){return e.Handlebars===t&&(e.Handlebars=r),t}},t.exports=e["default"]}).call(e,function(){return this}())},76:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){var e=t&&t[0]||1,n=g.COMPILER_REVISION;if(e!==n){if(e<n){var r=g.REVISION_CHANGES[n],o=g.REVISION_CHANGES[e];throw new m["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+o+").")}throw new m["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}}function a(t,e){function n(n,r,o){o.hash&&(r=h.extend({},r,o.hash),o.ids&&(o.ids[0]=!0)),n=e.VM.resolvePartial.call(this,n,r,o);var i=e.VM.invokePartial.call(this,n,r,o);if(null==i&&e.compile&&(o.partials[o.name]=e.compile(n,t.compilerOptions,e),i=o.partials[o.name](r,o)),null!=i){if(o.indent){for(var a=i.split("\n"),s=0,u=a.length;s<u&&(a[s]||s+1!==u);s++)a[s]=o.indent+a[s];i=a.join("\n")}return i}throw new m["default"]("The partial "+o.name+" could not be compiled when running in runtime-only mode")}function r(e){function n(e){return""+t.main(o,e,o.helpers,o.partials,a,u,s)}var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=i.data;r._setup(i),!i.partial&&t.useData&&(a=f(e,a));var s=void 0,u=t.useBlockParams?[]:void 0;return t.useDepths&&(s=i.depths?e!==i.depths[0]?[e].concat(i.depths):i.depths:[e]),(n=d(t.main,n,o,i.depths||[],a,u))(e,i)}if(!e)throw new m["default"]("No environment passed to template");if(!t||!t.main)throw new m["default"]("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var o={strict:function(t,e){if(!(e in t))throw new m["default"]('"'+e+'" not defined in '+t);return t[e]},lookup:function(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r]&&null!=t[r][e])return t[r][e]},lambda:function(t,e){return"function"==typeof t?t.call(e):t},escapeExpression:h.escapeExpression,invokePartial:n,fn:function(e){var n=t[e];return n.decorator=t[e+"_d"],n},programs:[],program:function(t,e,n,r,o){var i=this.programs[t],a=this.fn(t);return e||o||r||n?i=s(this,t,a,e,n,r,o):i||(i=this.programs[t]=s(this,t,a)),i},data:function(t,e){for(;t&&e--;)t=t._parent;return t},merge:function(t,e){var n=t||e;return t&&e&&t!==e&&(n=h.extend({},e,t)),n},noop:e.VM.noop,compilerInfo:t.compiler};return r.isTop=!0,r._setup=function(n){n.partial?(o.helpers=n.helpers,o.partials=n.partials,o.decorators=n.decorators):(o.helpers=o.merge(n.helpers,e.helpers),t.usePartial&&(o.partials=o.merge(n.partials,e.partials)),(t.usePartial||t.useDecorators)&&(o.decorators=o.merge(n.decorators,e.decorators)))},r._child=function(e,n,r,i){if(t.useBlockParams&&!r)throw new m["default"]("must pass block params");if(t.useDepths&&!i)throw new m["default"]("must pass parent depths");return s(o,e,t[e],n,0,r,i)},r}function s(t,e,n,r,o,i,a){function s(e){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=a;return a&&e!==a[0]&&(s=[e].concat(a)),n(t,e,t.helpers,t.partials,o.data||r,i&&[o.blockParams].concat(i),s)}return s=d(n,s,t,a,r,i),s.program=e,s.depth=a?a.length:0,s.blockParams=o||0,s}function u(t,e,n){return t?t.call||n.name||(n.name=t,t=n.partials[t]):t="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],t}function l(t,e,n){n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var r=void 0;if(n.fn&&n.fn!==c&&(n.data=g.createFrame(n.data),r=n.data["partial-block"]=n.fn,r.partials&&(n.partials=h.extend({},n.partials,r.partials))),void 0===t&&r&&(t=r),void 0===t)throw new m["default"]("The partial "+n.name+" could not be found");if(t instanceof Function)return t(e,n)}function c(){return""}function f(t,e){return e&&"root"in e||(e=e?g.createFrame(e):{},e.root=t),e}function d(t,e,n,r,o,i){if(t.decorator){var a={};e=t.decorator(e,a,n,r&&r[0],o,i,r),h.extend(e,a)}return e}e.__esModule=!0,e.checkRevision=i,e.template=a,e.wrapProgram=s,e.resolvePartial=u,e.invokePartial=l,e.noop=c;var p=n(3),h=o(p),v=n(7),m=r(v),g=n(29)},77:function(t,e){"use strict";function n(t){this.string=t}e.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},e["default"]=n,t.exports=e["default"]},87:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(15),i=r(o),a=n(19),s=r(a),u=n(20),l=r(u),c=n(1),f=n(96),d=n(25),p=function(){function t(e){var n=this;(0,s["default"])(this,t),this.defaults={isModal:!0,template:f,title:"",text:"",buttons:[{text:"好",handler:function(){n.hide()}}]},this.settings=(0,i["default"])({},this.defaults,e);var r=this.settings.template({title:this.settings.title,text:this.settings.text,buttons:this.settings.buttons});this.elem=c(r);var o=this.elem.find(".button-group").children(),a=this;o.each(function(t){c(this).click(a.settings.buttons[t].handler.bind(a))}),this.overlay=new d({clickToClose:!1})}return(0,l["default"])(t,[{key:"show",value:function(){this.overlay.show(),0===this.elem.parent().length&&this.elem.appendTo("body"),this.elem.css({left:(c(window).width()-this.elem.outerWidth())/2,top:(c(window).height()-this.elem.outerHeight())/2+c(window).scrollTop()}).show().addClass("animation-target")}},{key:"hide",value:function(){this.overlay.hide(),this.elem.detach()}}]),t}();c.extend(p,{alert:function(t,e){var n=new p({text:t,title:e});n.show()},confirm:function(t,e,n){var r=new p({text:t,title:e,buttons:[{text:"取消",handler:function(){this.hide()}},{text:"好",handler:n||c.noop}]});r.show()}}),t.exports=p},96:function(t,e,n){var r=n(37);t.exports=(r["default"]||r).template({1:function(t,e,n,r,o){var i;return' <a href="javascript:void(0);" class="modal-button">'+t.escapeExpression((i=null!=(i=n.text||(null!=e?e.text:e))?i:n.helperMissing,"function"==typeof i?i.call(null!=e?e:{},{name:"text",hash:{},data:o}):i))+"</a>\n"},compiler:[7,">= 4.0.0"],main:function(t,e,n,r,o){var i,a,s=null!=e?e:{},u=n.helperMissing,l="function",c=t.escapeExpression;return'<div class="modal">\n <h2>'+c((a=null!=(a=n.title||(null!=e?e.title:e))?a:u,typeof a===l?a.call(s,{name:"title",hash:{},data:o}):a))+"</h2>\n <p>"+c((a=null!=(a=n.text||(null!=e?e.text:e))?a:u,typeof a===l?a.call(s,{name:"text",hash:{},data:o}):a))+'</p>\n <hr>\n <div class="button-group">\n'+(null!=(i=n.each.call(s,null!=e?e.buttons:e,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o}))?i:"")+" </div>\n</div>\n"},useData:!0})},185:function(t,e,n){"use strict";var r=n(1),o=n(4),i=n(87);t.exports={data:function(){return{order:{}}},ready:function(){this.getOrderData()},methods:{getOrderData:function(){var t=this;r.ajax({url:"/home/get-order",data:{orderCode:this.$parent.$data.orderCode}}).then(function(e){e&&t.$set("order",e.data)}).fail(function(){o("网络错误")})},cancelOrder:function(t){i.confirm("订单取消后不能恢复,确认取消订单吗?","",function(){r.ajax({url:"/home/cancel-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.href="/home/orders":o(t.message)}).fail(function(){o("操作失敗")})})},deleteOrder:function(t){i.confirm("确认删除订单?","",function(){r.ajax({url:"/home/delete-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.href="/home/orders":o(t.message)}).fail(function(){o("操作失敗")})})},confirmGoods:function(t){r.ajax({url:"/home/confirm-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.reload():o(t.message)}).fail(function(){o("操作失敗")})},goBuy:function(){location.href=""},seeExpress:function(){location.href=""}}}},239:function(t,e){},272:function(t,e){t.exports=' <div class=order-status> <p>{{order.status | convertOrderState}}</p> <p v-if="order.status == 0">剩余: 订单将被取消</p> </div> <div class=order-address> <p><span>{{order.userName}}</span><span>{{order.phone}}</span></p> <p>{{order.area}} <br>{{order.address}}</p> </div> <div class=order-code> <p>订单号:{{order.orderCode}}</p> <p>下单时间:{{order.createTime | convertTime}}</p> </div> <div class=order-goods> <ul> <li class=goods-info v-for="product in order.orderGoods"> <div class=img-box> <img v-bind:src="product.goodsImage | resize 49 65" alt=""> </div> <div class=goods-detail> <p class=name>{{product.productName}}</p> <p class=size> <span>颜色:{{product.colorName}}</span> <span>尺码:{{product.sizeName}}</span> </p> </div> <div class=goods-price> <p>&yen;{{product.goodsPrice}}</p> <p>×{{product.buyNumber}}</p> </div> </li> </ul> </div> <div class=order-amount> <ul> <li><label>商品:</label><span>{{order.goodsTotalAmount}}</span></li> <li><label>YOHO币:</label><span>{{order.yohoCoinNum}}</span></li> <li><label>运费:</label><span>{{order.shippingCost}}</span></li> <li><label>总计:</label><span>&yen;{{order.paymentAmount}}</span></li> </ul> </div> <div class=order-button> <button v-if="order.status == 0" @click=cancelOrder(order.orderCode)>取消订单</button> <button v-if="order.status == 0 " class=countdown @click=goBuy()>去支付 11:58:12</button> <button v-if="order.status == 4 || order.status == 5 ">查看物流</button> <button v-if="order.status == 4 || order.status == 5 " class=black @click=confirmGoods(order.orderCode)>确认收货</button> <button v-if="order.status == 6" @click=deleteOrder(order,index)>删除订单</button> <button v-if="order.status == 6" class=normal>再次购买</button> </div> '},306:function(t,e,n){var r,o;n(239),r=n(185),o=n(272),t.exports=r||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)}});  
  1 +webpackJsonp([4],{0:function(t,e,n){"use strict";var r=n(2),o=n(306);n(6),new r({el:"#order-detail",data:{orderCode:document.getElementById("order-code").value},components:{OrderDetail:o}})},3:function(t,e){"use strict";function n(t){return c[t]}function r(t){for(var e=1;e<arguments.length;e++)for(var n in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],n)&&(t[n]=arguments[e][n]);return t}function o(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function i(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}return d.test(t)?t.replace(f,n):t}function a(t){return!t&&0!==t||!(!v(t)||0!==t.length)}function s(t){var e=r({},t);return e._parent=t,e}function u(t,e){return t.path=e,t}function l(t,e){return(t?t+".":"")+e}e.__esModule=!0,e.extend=r,e.indexOf=o,e.escapeExpression=i,e.isEmpty=a,e.createFrame=s,e.blockParams=u,e.appendContextPath=l;var c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},f=/[&<>"'`=]/g,d=/[&<>"'`=]/,p=Object.prototype.toString;e.toString=p;var h=function(t){return"function"==typeof t};h(/x/)&&(e.isFunction=h=function(t){return"function"==typeof t&&"[object Function]"===p.call(t)}),e.isFunction=h;var v=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===p.call(t)};e.isArray=v},4:function(t,e,n){(function(e){"use strict";function n(t){var n=void 0,r={mask:!1,delay:2e3,txt:""};"string"==typeof t?e.extend(r,{txt:t}):e.extend(r,t);var o='<div class="tip-box"><div class="tip">'+r.txt+"</div></div>",i=e(".tip-box");i.length&&(n=i.data("timer"),clearTimeout(n),i.remove());var a=e(o).appendTo(document.body);a.data("timer",setTimeout(function(){a.remove()},r.delay))}t.exports=n}).call(e,n(1))},6:function(t,e,n){"use strict";var r=n(2);r.filter("resize",function(t,e,n,r){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var o={"{width}":e,"{height}":n,"{mode}":r||2};return o[t]}):""}),r.filter("clothingGenderIdentity",function(t){var e=null;switch(t){case 1:e="男款";break;case 2:e="女款";break;default:e="通用"}return e}),r.filter("brandUrl",function(t){return"/brand?domain="+t}),r.filter("convertOrderState",function(t){var e="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:e="待付款";break;case 1:e="待发货";break;case 2:e="待发货";break;case 3:e="待发货";break;case 4:e="待收货";break;case 5:e="待发货";break;case 6:e="已完成";break;default:e=""}return e}),r.filter("convertTime",function(t){if("undefined"!=typeof t){var e=new Date(1e3*parseFloat(t)),n=e.getFullYear()+"-",r=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",o=e.getDate()+" ",i=e.getHours()+":",a=e.getMinutes()+":",s=e.getSeconds();return n+r+o+i+a+s}})},7:function(t,e){"use strict";function n(t,e){var o=e&&e.loc,i=void 0,a=void 0;o&&(i=o.start.line,a=o.start.column,t+=" - "+i+":"+a);for(var s=Error.prototype.constructor.call(this,t),u=0;u<r.length;u++)this[r[u]]=s[r[u]];Error.captureStackTrace&&Error.captureStackTrace(this,n),o&&(this.lineNumber=i,this.column=a)}e.__esModule=!0;var r=["description","fileName","lineNumber","message","name","number","stack"];n.prototype=new Error,e["default"]=n,t.exports=e["default"]},8:function(t,e,n){t.exports=!n(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},9:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},10:function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},11:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},12:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},13:function(t,e,n){var r=n(33),o=n(47),i=n(43),a=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},14:function(t,e,n){var r=n(26),o=n(21);t.exports=function(t){return r(o(t))}},15:function(t,e,n){t.exports={"default":n(52),__esModule:!0}},16:function(t,e,n){var r=n(9),o=n(10),i=n(56),a=n(22),s="prototype",u=function(t,e,n){var l,c,f,d=t&u.F,p=t&u.G,h=t&u.S,v=t&u.P,m=t&u.B,g=t&u.W,b=p?o:o[e]||(o[e]={}),x=b[s],y=p?r:h?r[e]:(r[e]||{})[s];p&&(n=e);for(l in n)c=!d&&y&&void 0!==y[l],c&&l in b||(f=c?y[l]:n[l],b[l]=p&&"function"!=typeof y[l]?n[l]:m&&c?i(f,r):g&&y[l]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((b.virtual||(b.virtual={}))[l]=f,t&u.R&&x&&!x[l]&&a(x,l,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},17:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},19:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},20:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(51),i=r(o);e["default"]=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i["default"])(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},21:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},22:function(t,e,n){var r=n(13),o=n(35);t.exports=n(8)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},23:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},25:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(15),i=r(o),a=n(19),s=r(a),u=n(20),l=r(u),c=n(1),f={none:{"in":"overlay-in",out:"overlay-out"},fade:{"in":"overlay-fade-in",out:"overlay-fade-out"}},d=function(){function t(e){var n=this;(0,s["default"])(this,t),this.isVisible=!1,this.defaults={className:"overlay",clickToClose:!0,onClose:c.noop,animation:"fade",disableScrolling:!0},this.settings=(0,i["default"])({},this.defaults,e),this.settings.animationClasses={"in":f[this.settings.animation]["in"],out:f[this.settings.animation].out},this.elem=c("<div/>",{"class":this.settings.className}),this.elem.click(function(){n.settings.clickToClose&&n.hide()}),this.settings.disableScrolling&&c(window).on("touchmove",function(t){n.isVisible&&t.preventDefault()}),this.elem[0].addEventListener("webkitTransitionEnd",this._cleanup.bind(this))}return(0,l["default"])(t,[{key:"_cleanup",value:function(){this.isVisible||this.elem.detach()}},{key:"show",value:function(){0!==this.elem.parent().length||this.isVisible||(this.elem.appendTo("body"),this.elem.css({visibility:"visible"}).show().removeClass(this.settings.animationClasses.out).addClass(this.settings.animationClasses["in"]),this.settings.disableScrolling&&c("body").css({overflow:"hidden"}),this.isVisible=!0)}},{key:"hide",value:function(){this.isVisible&&(this.elem.removeClass(this.settings.animationClasses["in"]).addClass(this.settings.animationClasses.out),this.settings.disableScrolling&&c("body").css({overflow:"auto"}),this._cleanup(),this.isVisible=!1,this.settings.onClose())}}]),t}();t.exports=d},26:function(t,e,n){var r=n(45);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},27:function(t,e,n){var r=n(48),o=n(39);t.exports=Object.keys||function(t){return r(t,o)}},29:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e,n){this.helpers=t||{},this.partials=e||{},this.decorators=n||{},u.registerDefaultHelpers(this),l.registerDefaultDecorators(this)}e.__esModule=!0,e.HandlebarsEnvironment=o;var i=n(3),a=n(7),s=r(a),u=n(66),l=n(64),c=n(74),f=r(c),d="4.0.5";e.VERSION=d;var p=7;e.COMPILER_REVISION=p;var h={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};e.REVISION_CHANGES=h;var v="[object Object]";o.prototype={constructor:o,logger:f["default"],log:f["default"].log,registerHelper:function(t,e){if(i.toString.call(t)===v){if(e)throw new s["default"]("Arg not supported with multiple helpers");i.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if(i.toString.call(t)===v)i.extend(this.partials,t);else{if("undefined"==typeof e)throw new s["default"]('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if(i.toString.call(t)===v){if(e)throw new s["default"]("Arg not supported with multiple decorators");i.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]}};var m=f["default"].log;e.log=m,e.createFrame=i.createFrame,e.logger=f["default"]},33:function(t,e,n){var r=n(12);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},34:function(t,e){e.f={}.propertyIsEnumerable},35:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},36:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},37:function(t,e,n){t.exports=n(63)["default"]},39:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},40:function(t,e){e.f=Object.getOwnPropertySymbols},41:function(t,e,n){var r=n(42)("keys"),o=n(36);t.exports=function(t){return r[t]||(r[t]=o(t))}},42:function(t,e,n){var r=n(9),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},43:function(t,e,n){var r=n(12);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},45:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},46:function(t,e,n){var r=n(12),o=n(9).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},47:function(t,e,n){t.exports=!n(8)&&!n(11)(function(){return 7!=Object.defineProperty(n(46)("div"),"a",{get:function(){return 7}}).a})},48:function(t,e,n){var r=n(17),o=n(14),i=n(55)(!1),a=n(41)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(l,n)||l.push(n));return l}},49:function(t,e,n){var r=n(21);t.exports=function(t){return Object(r(t))}},51:function(t,e,n){t.exports={"default":n(53),__esModule:!0}},52:function(t,e,n){n(60),t.exports=n(10).Object.assign},53:function(t,e,n){n(61);var r=n(10).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},54:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},55:function(t,e,n){var r=n(14),o=n(59),i=n(58);t.exports=function(t){return function(e,n,a){var s,u=r(e),l=o(u.length),c=i(a,l);if(t&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}}},56:function(t,e,n){var r=n(54);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},57:function(t,e,n){"use strict";var r=n(27),o=n(40),i=n(34),a=n(49),s=n(26),u=Object.assign;t.exports=!u||n(11)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,l=1,c=o.f,f=i.f;u>l;)for(var d,p=s(arguments[l++]),h=c?r(p).concat(c(p)):r(p),v=h.length,m=0;v>m;)f.call(p,d=h[m++])&&(n[d]=p[d]);return n}:u},58:function(t,e,n){var r=n(23),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},59:function(t,e,n){var r=n(23),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},60:function(t,e,n){var r=n(16);r(r.S+r.F,"Object",{assign:n(57)})},61:function(t,e,n){var r=n(16);r(r.S+r.F*!n(8),"Object",{defineProperty:n(13).f})},63:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(){var t=new s.HandlebarsEnvironment;return p.extend(t,s),t.SafeString=l["default"],t.Exception=f["default"],t.Utils=p,t.escapeExpression=p.escapeExpression,t.VM=v,t.template=function(e){return v.template(e,t)},t}e.__esModule=!0;var a=n(29),s=o(a),u=n(77),l=r(u),c=n(7),f=r(c),d=n(3),p=o(d),h=n(76),v=o(h),m=n(75),g=r(m),b=i();b.create=i,g["default"](b),b["default"]=b,e["default"]=b,t.exports=e["default"]},64:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){a["default"](t)}e.__esModule=!0,e.registerDefaultDecorators=o;var i=n(65),a=r(i)},65:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerDecorator("inline",function(t,e,n,o){var i=t;return e.partials||(e.partials={},i=function(o,i){var a=n.partials;n.partials=r.extend({},a,e.partials);var s=t(o,i);return n.partials=a,s}),e.partials[o.args[0]]=o.fn,i})},t.exports=e["default"]},66:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){a["default"](t),u["default"](t),c["default"](t),d["default"](t),h["default"](t),m["default"](t),b["default"](t)}e.__esModule=!0,e.registerDefaultHelpers=o;var i=n(67),a=r(i),s=n(68),u=r(s),l=n(69),c=r(l),f=n(70),d=r(f),p=n(71),h=r(p),v=n(72),m=r(v),g=n(73),b=r(g)},67:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("blockHelperMissing",function(e,n){var o=n.inverse,i=n.fn;if(e===!0)return i(this);if(e===!1||null==e)return o(this);if(r.isArray(e))return e.length>0?(n.ids&&(n.ids=[n.name]),t.helpers.each(e,n)):o(this);if(n.data&&n.ids){var a=r.createFrame(n.data);a.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:a}}return i(e,n)})},t.exports=e["default"]},68:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(3),i=n(7),a=r(i);e["default"]=function(t){t.registerHelper("each",function(t,e){function n(e,n,i){l&&(l.key=e,l.index=n,l.first=0===n,l.last=!!i,c&&(l.contextPath=c+e)),u+=r(t[e],{data:l,blockParams:o.blockParams([t[e],e],[c+e,null])})}if(!e)throw new a["default"]("Must pass iterator to #each");var r=e.fn,i=e.inverse,s=0,u="",l=void 0,c=void 0;if(e.data&&e.ids&&(c=o.appendContextPath(e.data.contextPath,e.ids[0])+"."),o.isFunction(t)&&(t=t.call(this)),e.data&&(l=o.createFrame(e.data)),t&&"object"==typeof t)if(o.isArray(t))for(var f=t.length;s<f;s++)s in t&&n(s,s,s===t.length-1);else{var d=void 0;for(var p in t)t.hasOwnProperty(p)&&(void 0!==d&&n(d,s-1),d=p,s++);void 0!==d&&n(d,s-1,!0)}return 0===s&&(u=i(this)),u})},t.exports=e["default"]},69:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(7),i=r(o);e["default"]=function(t){t.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new i["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')})},t.exports=e["default"]},70:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("if",function(t,e){return r.isFunction(t)&&(t=t.call(this)),!e.hash.includeZero&&!t||r.isEmpty(t)?e.inverse(this):e.fn(this)}),t.registerHelper("unless",function(e,n){return t.helpers["if"].call(this,e,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},t.exports=e["default"]},71:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t){t.registerHelper("log",function(){for(var e=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)e.push(arguments[r]);var o=1;null!=n.hash.level?o=n.hash.level:n.data&&null!=n.data.level&&(o=n.data.level),e[0]=o,t.log.apply(t,e)})},t.exports=e["default"]},72:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t){t.registerHelper("lookup",function(t,e){return t&&t[e]})},t.exports=e["default"]},73:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("with",function(t,e){r.isFunction(t)&&(t=t.call(this));var n=e.fn;if(r.isEmpty(t))return e.inverse(this);var o=e.data;return e.data&&e.ids&&(o=r.createFrame(e.data),o.contextPath=r.appendContextPath(e.data.contextPath,e.ids[0])),n(t,{data:o,blockParams:r.blockParams([t],[o&&o.contextPath])})})},t.exports=e["default"]},74:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var e=r.indexOf(o.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=o.lookupLevel(t),"undefined"!=typeof console&&o.lookupLevel(o.level)<=t){var e=o.methodMap[t];console[e]||(e="log");for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];console[e].apply(console,r)}}};e["default"]=o,t.exports=e["default"]},75:function(t,e){(function(n){"use strict";e.__esModule=!0,e["default"]=function(t){var e="undefined"!=typeof n?n:window,r=e.Handlebars;t.noConflict=function(){return e.Handlebars===t&&(e.Handlebars=r),t}},t.exports=e["default"]}).call(e,function(){return this}())},76:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){var e=t&&t[0]||1,n=g.COMPILER_REVISION;if(e!==n){if(e<n){var r=g.REVISION_CHANGES[n],o=g.REVISION_CHANGES[e];throw new m["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+o+").")}throw new m["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}}function a(t,e){function n(n,r,o){o.hash&&(r=h.extend({},r,o.hash),o.ids&&(o.ids[0]=!0)),n=e.VM.resolvePartial.call(this,n,r,o);var i=e.VM.invokePartial.call(this,n,r,o);if(null==i&&e.compile&&(o.partials[o.name]=e.compile(n,t.compilerOptions,e),i=o.partials[o.name](r,o)),null!=i){if(o.indent){for(var a=i.split("\n"),s=0,u=a.length;s<u&&(a[s]||s+1!==u);s++)a[s]=o.indent+a[s];i=a.join("\n")}return i}throw new m["default"]("The partial "+o.name+" could not be compiled when running in runtime-only mode")}function r(e){function n(e){return""+t.main(o,e,o.helpers,o.partials,a,u,s)}var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=i.data;r._setup(i),!i.partial&&t.useData&&(a=f(e,a));var s=void 0,u=t.useBlockParams?[]:void 0;return t.useDepths&&(s=i.depths?e!==i.depths[0]?[e].concat(i.depths):i.depths:[e]),(n=d(t.main,n,o,i.depths||[],a,u))(e,i)}if(!e)throw new m["default"]("No environment passed to template");if(!t||!t.main)throw new m["default"]("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var o={strict:function(t,e){if(!(e in t))throw new m["default"]('"'+e+'" not defined in '+t);return t[e]},lookup:function(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r]&&null!=t[r][e])return t[r][e]},lambda:function(t,e){return"function"==typeof t?t.call(e):t},escapeExpression:h.escapeExpression,invokePartial:n,fn:function(e){var n=t[e];return n.decorator=t[e+"_d"],n},programs:[],program:function(t,e,n,r,o){var i=this.programs[t],a=this.fn(t);return e||o||r||n?i=s(this,t,a,e,n,r,o):i||(i=this.programs[t]=s(this,t,a)),i},data:function(t,e){for(;t&&e--;)t=t._parent;return t},merge:function(t,e){var n=t||e;return t&&e&&t!==e&&(n=h.extend({},e,t)),n},noop:e.VM.noop,compilerInfo:t.compiler};return r.isTop=!0,r._setup=function(n){n.partial?(o.helpers=n.helpers,o.partials=n.partials,o.decorators=n.decorators):(o.helpers=o.merge(n.helpers,e.helpers),t.usePartial&&(o.partials=o.merge(n.partials,e.partials)),(t.usePartial||t.useDecorators)&&(o.decorators=o.merge(n.decorators,e.decorators)))},r._child=function(e,n,r,i){if(t.useBlockParams&&!r)throw new m["default"]("must pass block params");if(t.useDepths&&!i)throw new m["default"]("must pass parent depths");return s(o,e,t[e],n,0,r,i)},r}function s(t,e,n,r,o,i,a){function s(e){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=a;return a&&e!==a[0]&&(s=[e].concat(a)),n(t,e,t.helpers,t.partials,o.data||r,i&&[o.blockParams].concat(i),s)}return s=d(n,s,t,a,r,i),s.program=e,s.depth=a?a.length:0,s.blockParams=o||0,s}function u(t,e,n){return t?t.call||n.name||(n.name=t,t=n.partials[t]):t="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],t}function l(t,e,n){n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var r=void 0;if(n.fn&&n.fn!==c&&(n.data=g.createFrame(n.data),r=n.data["partial-block"]=n.fn,r.partials&&(n.partials=h.extend({},n.partials,r.partials))),void 0===t&&r&&(t=r),void 0===t)throw new m["default"]("The partial "+n.name+" could not be found");if(t instanceof Function)return t(e,n)}function c(){return""}function f(t,e){return e&&"root"in e||(e=e?g.createFrame(e):{},e.root=t),e}function d(t,e,n,r,o,i){if(t.decorator){var a={};e=t.decorator(e,a,n,r&&r[0],o,i,r),h.extend(e,a)}return e}e.__esModule=!0,e.checkRevision=i,e.template=a,e.wrapProgram=s,e.resolvePartial=u,e.invokePartial=l,e.noop=c;var p=n(3),h=o(p),v=n(7),m=r(v),g=n(29)},77:function(t,e){"use strict";function n(t){this.string=t}e.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},e["default"]=n,t.exports=e["default"]},87:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(15),i=r(o),a=n(19),s=r(a),u=n(20),l=r(u),c=n(1),f=n(96),d=n(25),p=function(){function t(e){var n=this;(0,s["default"])(this,t),this.defaults={isModal:!0,template:f,title:"",text:"",buttons:[{text:"好",handler:function(){n.hide()}}]},this.settings=(0,i["default"])({},this.defaults,e);var r=this.settings.template({title:this.settings.title,text:this.settings.text,buttons:this.settings.buttons});this.elem=c(r);var o=this.elem.find(".button-group").children(),a=this;o.each(function(t){c(this).click(a.settings.buttons[t].handler.bind(a))}),this.overlay=new d({clickToClose:!1})}return(0,l["default"])(t,[{key:"show",value:function(){this.overlay.show(),0===this.elem.parent().length&&this.elem.appendTo("body"),this.elem.css({left:(c(window).width()-this.elem.outerWidth())/2,top:(c(window).height()-this.elem.outerHeight())/2+c(window).scrollTop()}).show().addClass("animation-target")}},{key:"hide",value:function(){this.overlay.hide(),this.elem.detach()}}]),t}();c.extend(p,{alert:function(t,e){var n=new p({text:t,title:e});n.show()},confirm:function(t,e,n){var r=new p({text:t,title:e,buttons:[{text:"取消",handler:function(){this.hide()}},{text:"好",handler:n||c.noop}]});r.show()}}),t.exports=p},96:function(t,e,n){var r=n(37);t.exports=(r["default"]||r).template({1:function(t,e,n,r,o){var i;return' <a href="javascript:void(0);" class="modal-button">'+t.escapeExpression((i=null!=(i=n.text||(null!=e?e.text:e))?i:n.helperMissing,"function"==typeof i?i.call(null!=e?e:{},{name:"text",hash:{},data:o}):i))+"</a>\n"},compiler:[7,">= 4.0.0"],main:function(t,e,n,r,o){var i,a,s=null!=e?e:{},u=n.helperMissing,l="function",c=t.escapeExpression;return'<div class="modal">\n <h2>'+c((a=null!=(a=n.title||(null!=e?e.title:e))?a:u,typeof a===l?a.call(s,{name:"title",hash:{},data:o}):a))+"</h2>\n <p>"+c((a=null!=(a=n.text||(null!=e?e.text:e))?a:u,typeof a===l?a.call(s,{name:"text",hash:{},data:o}):a))+'</p>\n <hr>\n <div class="button-group">\n'+(null!=(i=n.each.call(s,null!=e?e.buttons:e,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o}))?i:"")+" </div>\n</div>\n"},useData:!0})},185:function(t,e,n){"use strict";var r=n(1),o=n(4),i=n(87);t.exports={data:function(){return{order:{}}},ready:function(){this.getOrderData()},methods:{getOrderData:function(){var t=this;r.ajax({url:"/home/get-order",data:{orderCode:this.$parent.$data.orderCode}}).then(function(e){e&&t.$set("order",e.data)}).fail(function(){o("网络错误")})},cancelOrder:function(t){i.confirm("订单取消后不能恢复,确认取消订单吗?","",function(){r.ajax({url:"/home/cancel-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.href="/home/orders":o(t.message)}).fail(function(){o("操作失敗")})})},deleteOrder:function(t){i.confirm("确认删除订单?","",function(){r.ajax({url:"/home/delete-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.href="/home/orders":o(t.message)}).fail(function(){o("操作失敗")})})},confirmGoods:function(t){r.ajax({url:"/home/confirm-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.reload():o(t.message)}).fail(function(){o("操作失敗")})},goBuy:function(){location.href=""},seeExpress:function(){location.href=""}}}},239:function(t,e){},272:function(t,e){t.exports=' <div class=order-status> <p>{{order.status | convertOrderState}}</p> <p v-if="order.status == 0">剩余: 订单将被取消</p> </div> <div class=order-address> <p><span>{{order.userName}}</span><span>{{order.phone}}</span></p> <p>{{order.area}} <br>{{order.address}}</p> </div> <div class=order-code> <p>订单号:{{order.orderCode}}</p> <p>下单时间:{{order.createTime | convertTime}}</p> </div> <div class=order-goods> <ul> <li class=goods-info v-for="product in order.orderGoods"> <div class=img-box> <img v-bind:src="product.goodsImage | resize 49 65" alt=""> </div> <div class=goods-detail> <p class=name>{{product.productName}}</p> <p class=size> <span>颜色:{{product.colorName}}</span> <span>尺码:{{product.sizeName}}</span> </p> </div> <div class=goods-price> <p>&yen;{{product.goodsPrice}}</p> <p>×{{product.buyNumber}}</p> </div> </li> </ul> </div> <div class=order-amount> <ul> <li><label>商品:</label><span>{{order.goodsTotalAmount}}</span></li> <li><label>YOHO币:</label><span>{{order.yohoCoinNum}}</span></li> <li><label>运费:</label><span>{{order.shippingCost}}</span></li> <li><label>总计:</label><span>&yen;{{order.paymentAmount}}</span></li> </ul> </div> <div class=order-button> <button v-if="order.status == 0" @click=cancelOrder(order.orderCode)>取消订单</button> <button v-if="order.status == 0 " class=countdown @click=goBuy()>去支付 11:58:12</button> <button v-if="order.status == 4 || order.status == 5 ">查看物流</button> <button v-if="order.status == 4 || order.status == 5 " class=black @click=confirmGoods(order.orderCode)>确认收货</button> <button v-if="order.status == 6" @click=deleteOrder(order,index)>删除订单</button> <button v-if="order.status == 6" class=normal>再次购买</button> </div> '},306:function(t,e,n){var r,o;n(239),r=n(185),o=n(272),t.exports=r||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)}});
1 -webpackJsonp([3],{0:function(t,e,n){"use strict";var r=n(2),o=n(308),i=n(50);r.use(i),n(6),new r({el:"#home-order-list",data:{type:document.getElementById("order-type").value},components:{Order:o}})},3:function(t,e){"use strict";function n(t){return c[t]}function r(t){for(var e=1;e<arguments.length;e++)for(var n in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],n)&&(t[n]=arguments[e][n]);return t}function o(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function i(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}return d.test(t)?t.replace(f,n):t}function a(t){return!t&&0!==t||!(!v(t)||0!==t.length)}function s(t){var e=r({},t);return e._parent=t,e}function u(t,e){return t.path=e,t}function l(t,e){return(t?t+".":"")+e}e.__esModule=!0,e.extend=r,e.indexOf=o,e.escapeExpression=i,e.isEmpty=a,e.createFrame=s,e.blockParams=u,e.appendContextPath=l;var c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},f=/[&<>"'`=]/g,d=/[&<>"'`=]/,p=Object.prototype.toString;e.toString=p;var h=function(t){return"function"==typeof t};h(/x/)&&(e.isFunction=h=function(t){return"function"==typeof t&&"[object Function]"===p.call(t)}),e.isFunction=h;var v=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===p.call(t)};e.isArray=v},4:function(t,e,n){(function(e){"use strict";function n(t){var n=void 0,r={mask:!1,delay:2e3,txt:""};"string"==typeof t?e.extend(r,{txt:t}):e.extend(r,t);var o='<div class="tip-box"><div class="tip">'+r.txt+"</div></div>",i=e(".tip-box");i.length&&(n=i.data("timer"),clearTimeout(n),i.remove());var a=e(o).appendTo(document.body);a.data("timer",setTimeout(function(){a.remove()},r.delay))}t.exports=n}).call(e,n(1))},6:function(t,e,n){"use strict";var r=n(2);r.filter("resize",function(t,e,n,r){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var o={"{width}":e,"{height}":n,"{mode}":r||2};return o[t]}):""}),r.filter("clothingGenderIdentity",function(t){var e=null;switch(t){case 1:e="男款";break;case 2:e="女款";break;default:e="通用"}return e}),r.filter("brandUrl",function(t){return"/brand?domain="+t}),r.filter("convertOrderState",function(t){var e="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:e="待付款";break;case 1:e="待发货";break;case 2:e="待发货";break;case 3:e="待发货";break;case 4:e="待收货";break;case 5:e="待发货";break;case 6:e="已完成";break;default:e=""}return e}),r.filter("convertTime",function(t){if("undefined"!=typeof t){var e=new Date(1e3*parseFloat(t)),n=e.getFullYear()+"-",r=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",o=e.getDate()+" ",i=e.getHours()+":",a=e.getMinutes()+":",s=e.getSeconds();return n+r+o+i+a+s}})},7:function(t,e){"use strict";function n(t,e){var o=e&&e.loc,i=void 0,a=void 0;o&&(i=o.start.line,a=o.start.column,t+=" - "+i+":"+a);for(var s=Error.prototype.constructor.call(this,t),u=0;u<r.length;u++)this[r[u]]=s[r[u]];Error.captureStackTrace&&Error.captureStackTrace(this,n),o&&(this.lineNumber=i,this.column=a)}e.__esModule=!0;var r=["description","fileName","lineNumber","message","name","number","stack"];n.prototype=new Error,e["default"]=n,t.exports=e["default"]},8:function(t,e,n){t.exports=!n(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},9:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},10:function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},11:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},12:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},13:function(t,e,n){var r=n(33),o=n(47),i=n(43),a=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},14:function(t,e,n){var r=n(26),o=n(21);t.exports=function(t){return r(o(t))}},15:function(t,e,n){t.exports={"default":n(52),__esModule:!0}},16:function(t,e,n){var r=n(9),o=n(10),i=n(56),a=n(22),s="prototype",u=function(t,e,n){var l,c,f,d=t&u.F,p=t&u.G,h=t&u.S,v=t&u.P,m=t&u.B,g=t&u.W,b=p?o:o[e]||(o[e]={}),y=b[s],x=p?r:h?r[e]:(r[e]||{})[s];p&&(n=e);for(l in n)c=!d&&x&&void 0!==x[l],c&&l in b||(f=c?x[l]:n[l],b[l]=p&&"function"!=typeof x[l]?n[l]:m&&c?i(f,r):g&&x[l]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((b.virtual||(b.virtual={}))[l]=f,t&u.R&&y&&!y[l]&&a(y,l,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},17:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},19:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},20:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(51),i=r(o);e["default"]=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i["default"])(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},21:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},22:function(t,e,n){var r=n(13),o=n(35);t.exports=n(8)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},23:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},25:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(15),i=r(o),a=n(19),s=r(a),u=n(20),l=r(u),c=n(1),f={none:{"in":"overlay-in",out:"overlay-out"},fade:{"in":"overlay-fade-in",out:"overlay-fade-out"}},d=function(){function t(e){var n=this;(0,s["default"])(this,t),this.isVisible=!1,this.defaults={className:"overlay",clickToClose:!0,onClose:c.noop,animation:"fade",disableScrolling:!0},this.settings=(0,i["default"])({},this.defaults,e),this.settings.animationClasses={"in":f[this.settings.animation]["in"],out:f[this.settings.animation].out},this.elem=c("<div/>",{"class":this.settings.className}),this.elem.click(function(){n.settings.clickToClose&&n.hide()}),this.settings.disableScrolling&&c(window).on("touchmove",function(t){n.isVisible&&t.preventDefault()})}return(0,l["default"])(t,[{key:"_clearStylesClasses",value:function(){this.elem.removeClass(this.settings.animationClasses["in"]).removeClass(this.settings.animationClasses.out)}},{key:"_cleanupListener",value:function(){this.elem.css({visibility:"hidden"}),this._clearStylesClasses(),this.isVisible=!1,this.elem.detach(),this.elem[0].removeEventListener("webkitTransitionEnd",this._cleanupListener)}},{key:"show",value:function(){0!==this.elem.parent().length||this.isVisible||(this.elem.appendTo("body"),this._clearStylesClasses(),this.elem.css({visibility:"visible"}).show().addClass(this.settings.animationClasses["in"]),this.settings.disableScrolling&&c("body").css({overflow:"hidden"}),this.isVisible=!0)}},{key:"hide",value:function(){var t=this;this.isVisible&&(this._clearStylesClasses(),this.elem[0].addEventListener("webkitTransitionEnd",this._cleanupListener.bind(this)),this.elem.addClass(this.settings.animationClasses.out),this.settings.disableScrolling&&c("body").css({overflow:"auto"}),setTimeout(function(){t._cleanupListener()},100),this.settings.onClose())}}]),t}();t.exports=d},26:function(t,e,n){var r=n(45);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},27:function(t,e,n){var r=n(48),o=n(39);t.exports=Object.keys||function(t){return r(t,o)}},29:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e,n){this.helpers=t||{},this.partials=e||{},this.decorators=n||{},u.registerDefaultHelpers(this),l.registerDefaultDecorators(this)}e.__esModule=!0,e.HandlebarsEnvironment=o;var i=n(3),a=n(7),s=r(a),u=n(66),l=n(64),c=n(74),f=r(c),d="4.0.5";e.VERSION=d;var p=7;e.COMPILER_REVISION=p;var h={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};e.REVISION_CHANGES=h;var v="[object Object]";o.prototype={constructor:o,logger:f["default"],log:f["default"].log,registerHelper:function(t,e){if(i.toString.call(t)===v){if(e)throw new s["default"]("Arg not supported with multiple helpers");i.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if(i.toString.call(t)===v)i.extend(this.partials,t);else{if("undefined"==typeof e)throw new s["default"]('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if(i.toString.call(t)===v){if(e)throw new s["default"]("Arg not supported with multiple decorators");i.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]}};var m=f["default"].log;e.log=m,e.createFrame=i.createFrame,e.logger=f["default"]},33:function(t,e,n){var r=n(12);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},34:function(t,e){e.f={}.propertyIsEnumerable},35:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},36:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},37:function(t,e,n){t.exports=n(63)["default"]},39:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},40:function(t,e){e.f=Object.getOwnPropertySymbols},41:function(t,e,n){var r=n(42)("keys"),o=n(36);t.exports=function(t){return r[t]||(r[t]=o(t))}},42:function(t,e,n){var r=n(9),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},43:function(t,e,n){var r=n(12);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},45:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},46:function(t,e,n){var r=n(12),o=n(9).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},47:function(t,e,n){t.exports=!n(8)&&!n(11)(function(){return 7!=Object.defineProperty(n(46)("div"),"a",{get:function(){return 7}}).a})},48:function(t,e,n){var r=n(17),o=n(14),i=n(55)(!1),a=n(41)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(l,n)||l.push(n));return l}},49:function(t,e,n){var r=n(21);t.exports=function(t){return Object(r(t))}},51:function(t,e,n){t.exports={"default":n(53),__esModule:!0}},52:function(t,e,n){n(60),t.exports=n(10).Object.assign},53:function(t,e,n){n(61);var r=n(10).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},54:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},55:function(t,e,n){var r=n(14),o=n(59),i=n(58);t.exports=function(t){return function(e,n,a){var s,u=r(e),l=o(u.length),c=i(a,l);if(t&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}}},56:function(t,e,n){var r=n(54);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},57:function(t,e,n){"use strict";var r=n(27),o=n(40),i=n(34),a=n(49),s=n(26),u=Object.assign;t.exports=!u||n(11)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,l=1,c=o.f,f=i.f;u>l;)for(var d,p=s(arguments[l++]),h=c?r(p).concat(c(p)):r(p),v=h.length,m=0;v>m;)f.call(p,d=h[m++])&&(n[d]=p[d]);return n}:u},58:function(t,e,n){var r=n(23),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},59:function(t,e,n){var r=n(23),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},60:function(t,e,n){var r=n(16);r(r.S+r.F,"Object",{assign:n(57)})},61:function(t,e,n){var r=n(16);r(r.S+r.F*!n(8),"Object",{defineProperty:n(13).f})},63:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(){var t=new s.HandlebarsEnvironment;return p.extend(t,s),t.SafeString=l["default"],t.Exception=f["default"],t.Utils=p,t.escapeExpression=p.escapeExpression,t.VM=v,t.template=function(e){return v.template(e,t)},t}e.__esModule=!0;var a=n(29),s=o(a),u=n(77),l=r(u),c=n(7),f=r(c),d=n(3),p=o(d),h=n(76),v=o(h),m=n(75),g=r(m),b=i();b.create=i,g["default"](b),b["default"]=b,e["default"]=b,t.exports=e["default"]},64:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){a["default"](t)}e.__esModule=!0,e.registerDefaultDecorators=o;var i=n(65),a=r(i)},65:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerDecorator("inline",function(t,e,n,o){var i=t;return e.partials||(e.partials={},i=function(o,i){var a=n.partials;n.partials=r.extend({},a,e.partials);var s=t(o,i);return n.partials=a,s}),e.partials[o.args[0]]=o.fn,i})},t.exports=e["default"]},66:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){a["default"](t),u["default"](t),c["default"](t),d["default"](t),h["default"](t),m["default"](t),b["default"](t)}e.__esModule=!0,e.registerDefaultHelpers=o;var i=n(67),a=r(i),s=n(68),u=r(s),l=n(69),c=r(l),f=n(70),d=r(f),p=n(71),h=r(p),v=n(72),m=r(v),g=n(73),b=r(g)},67:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("blockHelperMissing",function(e,n){var o=n.inverse,i=n.fn;if(e===!0)return i(this);if(e===!1||null==e)return o(this);if(r.isArray(e))return e.length>0?(n.ids&&(n.ids=[n.name]),t.helpers.each(e,n)):o(this);if(n.data&&n.ids){var a=r.createFrame(n.data);a.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:a}}return i(e,n)})},t.exports=e["default"]},68:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(3),i=n(7),a=r(i);e["default"]=function(t){t.registerHelper("each",function(t,e){function n(e,n,i){l&&(l.key=e,l.index=n,l.first=0===n,l.last=!!i,c&&(l.contextPath=c+e)),u+=r(t[e],{data:l,blockParams:o.blockParams([t[e],e],[c+e,null])})}if(!e)throw new a["default"]("Must pass iterator to #each");var r=e.fn,i=e.inverse,s=0,u="",l=void 0,c=void 0;if(e.data&&e.ids&&(c=o.appendContextPath(e.data.contextPath,e.ids[0])+"."),o.isFunction(t)&&(t=t.call(this)),e.data&&(l=o.createFrame(e.data)),t&&"object"==typeof t)if(o.isArray(t))for(var f=t.length;s<f;s++)s in t&&n(s,s,s===t.length-1);else{var d=void 0;for(var p in t)t.hasOwnProperty(p)&&(void 0!==d&&n(d,s-1),d=p,s++);void 0!==d&&n(d,s-1,!0)}return 0===s&&(u=i(this)),u})},t.exports=e["default"]},69:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(7),i=r(o);e["default"]=function(t){t.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new i["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')})},t.exports=e["default"]},70:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("if",function(t,e){return r.isFunction(t)&&(t=t.call(this)),!e.hash.includeZero&&!t||r.isEmpty(t)?e.inverse(this):e.fn(this)}),t.registerHelper("unless",function(e,n){return t.helpers["if"].call(this,e,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},t.exports=e["default"]},71:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t){t.registerHelper("log",function(){for(var e=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)e.push(arguments[r]);var o=1;null!=n.hash.level?o=n.hash.level:n.data&&null!=n.data.level&&(o=n.data.level),e[0]=o,t.log.apply(t,e)})},t.exports=e["default"]},72:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t){t.registerHelper("lookup",function(t,e){return t&&t[e]})},t.exports=e["default"]},73:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("with",function(t,e){r.isFunction(t)&&(t=t.call(this));var n=e.fn;if(r.isEmpty(t))return e.inverse(this);var o=e.data;return e.data&&e.ids&&(o=r.createFrame(e.data),o.contextPath=r.appendContextPath(e.data.contextPath,e.ids[0])),n(t,{data:o,blockParams:r.blockParams([t],[o&&o.contextPath])})})},t.exports=e["default"]},74:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var e=r.indexOf(o.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=o.lookupLevel(t),"undefined"!=typeof console&&o.lookupLevel(o.level)<=t){var e=o.methodMap[t];console[e]||(e="log");for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];console[e].apply(console,r)}}};e["default"]=o,t.exports=e["default"]},75:function(t,e){(function(n){"use strict";e.__esModule=!0,e["default"]=function(t){var e="undefined"!=typeof n?n:window,r=e.Handlebars;t.noConflict=function(){return e.Handlebars===t&&(e.Handlebars=r),t}},t.exports=e["default"]}).call(e,function(){return this}())},76:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){var e=t&&t[0]||1,n=g.COMPILER_REVISION;if(e!==n){if(e<n){var r=g.REVISION_CHANGES[n],o=g.REVISION_CHANGES[e];throw new m["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+o+").")}throw new m["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}}function a(t,e){function n(n,r,o){o.hash&&(r=h.extend({},r,o.hash),o.ids&&(o.ids[0]=!0)),n=e.VM.resolvePartial.call(this,n,r,o);var i=e.VM.invokePartial.call(this,n,r,o);if(null==i&&e.compile&&(o.partials[o.name]=e.compile(n,t.compilerOptions,e),i=o.partials[o.name](r,o)),null!=i){if(o.indent){for(var a=i.split("\n"),s=0,u=a.length;s<u&&(a[s]||s+1!==u);s++)a[s]=o.indent+a[s];i=a.join("\n")}return i}throw new m["default"]("The partial "+o.name+" could not be compiled when running in runtime-only mode")}function r(e){function n(e){return""+t.main(o,e,o.helpers,o.partials,a,u,s)}var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=i.data;r._setup(i),!i.partial&&t.useData&&(a=f(e,a));var s=void 0,u=t.useBlockParams?[]:void 0;return t.useDepths&&(s=i.depths?e!==i.depths[0]?[e].concat(i.depths):i.depths:[e]),(n=d(t.main,n,o,i.depths||[],a,u))(e,i)}if(!e)throw new m["default"]("No environment passed to template");if(!t||!t.main)throw new m["default"]("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var o={strict:function(t,e){if(!(e in t))throw new m["default"]('"'+e+'" not defined in '+t);return t[e]},lookup:function(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r]&&null!=t[r][e])return t[r][e]},lambda:function(t,e){return"function"==typeof t?t.call(e):t},escapeExpression:h.escapeExpression,invokePartial:n,fn:function(e){var n=t[e];return n.decorator=t[e+"_d"],n},programs:[],program:function(t,e,n,r,o){var i=this.programs[t],a=this.fn(t);return e||o||r||n?i=s(this,t,a,e,n,r,o):i||(i=this.programs[t]=s(this,t,a)),i},data:function(t,e){for(;t&&e--;)t=t._parent;return t},merge:function(t,e){var n=t||e;return t&&e&&t!==e&&(n=h.extend({},e,t)),n},noop:e.VM.noop,compilerInfo:t.compiler};return r.isTop=!0,r._setup=function(n){n.partial?(o.helpers=n.helpers,o.partials=n.partials,o.decorators=n.decorators):(o.helpers=o.merge(n.helpers,e.helpers),t.usePartial&&(o.partials=o.merge(n.partials,e.partials)),(t.usePartial||t.useDecorators)&&(o.decorators=o.merge(n.decorators,e.decorators)))},r._child=function(e,n,r,i){if(t.useBlockParams&&!r)throw new m["default"]("must pass block params");if(t.useDepths&&!i)throw new m["default"]("must pass parent depths");return s(o,e,t[e],n,0,r,i)},r}function s(t,e,n,r,o,i,a){function s(e){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=a;return a&&e!==a[0]&&(s=[e].concat(a)),n(t,e,t.helpers,t.partials,o.data||r,i&&[o.blockParams].concat(i),s)}return s=d(n,s,t,a,r,i),s.program=e,s.depth=a?a.length:0,s.blockParams=o||0,s}function u(t,e,n){return t?t.call||n.name||(n.name=t,t=n.partials[t]):t="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],t}function l(t,e,n){n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var r=void 0;if(n.fn&&n.fn!==c&&(n.data=g.createFrame(n.data),r=n.data["partial-block"]=n.fn,r.partials&&(n.partials=h.extend({},n.partials,r.partials))),void 0===t&&r&&(t=r),void 0===t)throw new m["default"]("The partial "+n.name+" could not be found");if(t instanceof Function)return t(e,n)}function c(){return""}function f(t,e){return e&&"root"in e||(e=e?g.createFrame(e):{},e.root=t),e}function d(t,e,n,r,o,i){if(t.decorator){var a={};e=t.decorator(e,a,n,r&&r[0],o,i,r),h.extend(e,a)}return e}e.__esModule=!0,e.checkRevision=i,e.template=a,e.wrapProgram=s,e.resolvePartial=u,e.invokePartial=l,e.noop=c;var p=n(3),h=o(p),v=n(7),m=r(v),g=n(29)},77:function(t,e){"use strict";function n(t){this.string=t}e.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},e["default"]=n,t.exports=e["default"]},87:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(15),i=r(o),a=n(19),s=r(a),u=n(20),l=r(u),c=n(1),f=n(96),d=n(25),p=function(){function t(e){var n=this;(0,s["default"])(this,t),this.defaults={isModal:!0,template:f,title:"",text:"",buttons:[{text:"好",handler:function(){n.hide()}}]},this.settings=(0,i["default"])({},this.defaults,e);var r=this.settings.template({title:this.settings.title,text:this.settings.text,buttons:this.settings.buttons});this.elem=c(r);var o=this.elem.find(".button-group").children(),a=this;o.each(function(t){c(this).click(a.settings.buttons[t].handler.bind(a))}),this.overlay=new d({clickToClose:!1})}return(0,l["default"])(t,[{key:"show",value:function(){this.overlay.show(),0===this.elem.parent().length&&this.elem.appendTo("body"),this.elem.css({left:(c(window).width()-this.elem.outerWidth())/2,top:(c(window).height()-this.elem.outerHeight())/2+c(window).scrollTop()}).show().addClass("animation-target")}},{key:"hide",value:function(){this.overlay.hide(),this.elem.detach()}}]),t}();c.extend(p,{alert:function(t,e){var n=new p({text:t,title:e});n.show()},confirm:function(t,e,n){var r=new p({text:t,title:e,buttons:[{text:"取消",handler:function(){this.hide()}},{text:"好",handler:n||c.noop}]});r.show()}}),t.exports=p},96:function(t,e,n){var r=n(37);t.exports=(r["default"]||r).template({1:function(t,e,n,r,o){var i;return' <a href="javascript:void(0);" class="modal-button">'+t.escapeExpression((i=null!=(i=n.text||(null!=e?e.text:e))?i:n.helperMissing,"function"==typeof i?i.call(null!=e?e:{},{name:"text",hash:{},data:o}):i))+"</a>\n"},compiler:[7,">= 4.0.0"],main:function(t,e,n,r,o){var i,a,s=null!=e?e:{},u=n.helperMissing,l="function",c=t.escapeExpression;return'<div class="modal">\n <h2>'+c((a=null!=(a=n.title||(null!=e?e.title:e))?a:u,typeof a===l?a.call(s,{name:"title",hash:{},data:o}):a))+"</h2>\n <p>"+c((a=null!=(a=n.text||(null!=e?e.text:e))?a:u,typeof a===l?a.call(s,{name:"text",hash:{},data:o}):a))+'</p>\n <hr>\n <div class="button-group">\n'+(null!=(i=n.each.call(s,null!=e?e.buttons:e,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o}))?i:"")+" </div>\n</div>\n"},useData:!0})},187:function(t,e,n){"use strict";var r=n(1),o=n(4),i=n(87);t.exports={data:function(){return{page:0,limit:10,type:this.$parent.$data.type,orderList:[],busy:!1}},ready:function(){this.getOrderData()},methods:{getOrderData:function(){var t=this,e=this;this.busy=!0,r.ajax({url:"/home/get-orders",data:{page:++this.page,limit:this.limit,type:this.type}}).then(function(n){200===n.code&&(n.isend?e.busy=!0:e.busy=!1,n.data.orderList.length>0&&t.$set("orderList",n.data.orderList))}).fail(function(){o("网络错误")})},cancelOrder:function(t){i.confirm("订单取消后不能恢复,确认取消订单吗?","",function(){r.ajax({url:"/home/cancel-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.reload():o(t.message)}).fail(function(){o("操作失敗")})})},deleteOrder:function(t,e){var n=this;i.confirm("确认删除订单?","",function(){r.ajax({url:"/home/delete-order",type:"post",data:{orderCode:t.orderCode}}).then(function(t){200===t.code?n.$el.querySelectorAll(".order-item")[e].remove():o(t.message)}).fail(function(){o("操作失敗")})})},confirmGoods:function(t){r.ajax({url:"/home/confirm-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.reload():o(t.message)}).fail(function(){o("操作失敗")})},goBuy:function(){location.href=""},seeExpress:function(){location.href=""}}}},241:function(t,e){},274:function(t,e){t.exports=' <ul v-infinite-scroll=getOrderData() infinite-scroll-disabled=busy infinite-scroll-distance=10> <li class=order-item v-for="(index, order) in orderList"> <div class=order-detail> <div class=order-code> <p>订单号:{{order.orderCode}}</p> <p>{{order.status | convertOrderState}}</p> </div> <div class=order-goods> <div class=goods-info v-for="goods in order.orderGoods"> <div class=img-box> <img v-bind:src="goods.goodsImage | resize 49 65" alt={{goods.productName}}> </div> <div class=goods-detail> <p class=name>{{goods.productName}}</p> <p class=size> <span>颜色:{{goods.colorName}}</span> <span>尺码:{{goods.sizeName}}</span> </p> </div> <div class=goods-price> <p>&yen; {{goods.goodsPrice}}</p> <p>×{{goods.buyNumber}}</p> </div> <a href="/home/order-detail?orderCode={{order.orderCode}}"></a> </div> </div> <div class=order-option> <div class=goods-total>合计: <b>&yen;{{order.amount}}</b></div> <div class=options> <button v-if="order.status === 0" @click=cancelOrder(order.orderCode)>取消订单</button> <button v-if="order.status === 0 " class=countdown @click=goBuy()>去支付 11:58:12</button> <button v-if="order.status === 4 || order.status === 5 ">查看物流</button> <button v-if="order.status === 4 || order.status === 5 " class=black @click=confirmGoods(order.orderCode)>确认收货</button> <button v-if="order.status === 6" @click=deleteOrder(order,index)>删除订单</button> <button v-if="order.status === 6" class=normal>再次购买</button> </div> </div> </div> </li> </ul> '},308:function(t,e,n){var r,o;n(241),r=n(187),o=n(274),t.exports=r||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)}});  
  1 +webpackJsonp([3],{0:function(t,e,n){"use strict";var r=n(2),o=n(308),i=n(50);r.use(i),n(6),new r({el:"#home-order-list",data:{type:document.getElementById("order-type").value},components:{Order:o}})},3:function(t,e){"use strict";function n(t){return c[t]}function r(t){for(var e=1;e<arguments.length;e++)for(var n in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],n)&&(t[n]=arguments[e][n]);return t}function o(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function i(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}return d.test(t)?t.replace(f,n):t}function a(t){return!t&&0!==t||!(!v(t)||0!==t.length)}function s(t){var e=r({},t);return e._parent=t,e}function u(t,e){return t.path=e,t}function l(t,e){return(t?t+".":"")+e}e.__esModule=!0,e.extend=r,e.indexOf=o,e.escapeExpression=i,e.isEmpty=a,e.createFrame=s,e.blockParams=u,e.appendContextPath=l;var c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},f=/[&<>"'`=]/g,d=/[&<>"'`=]/,p=Object.prototype.toString;e.toString=p;var h=function(t){return"function"==typeof t};h(/x/)&&(e.isFunction=h=function(t){return"function"==typeof t&&"[object Function]"===p.call(t)}),e.isFunction=h;var v=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===p.call(t)};e.isArray=v},4:function(t,e,n){(function(e){"use strict";function n(t){var n=void 0,r={mask:!1,delay:2e3,txt:""};"string"==typeof t?e.extend(r,{txt:t}):e.extend(r,t);var o='<div class="tip-box"><div class="tip">'+r.txt+"</div></div>",i=e(".tip-box");i.length&&(n=i.data("timer"),clearTimeout(n),i.remove());var a=e(o).appendTo(document.body);a.data("timer",setTimeout(function(){a.remove()},r.delay))}t.exports=n}).call(e,n(1))},6:function(t,e,n){"use strict";var r=n(2);r.filter("resize",function(t,e,n,r){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var o={"{width}":e,"{height}":n,"{mode}":r||2};return o[t]}):""}),r.filter("clothingGenderIdentity",function(t){var e=null;switch(t){case 1:e="男款";break;case 2:e="女款";break;default:e="通用"}return e}),r.filter("brandUrl",function(t){return"/brand?domain="+t}),r.filter("convertOrderState",function(t){var e="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:e="待付款";break;case 1:e="待发货";break;case 2:e="待发货";break;case 3:e="待发货";break;case 4:e="待收货";break;case 5:e="待发货";break;case 6:e="已完成";break;default:e=""}return e}),r.filter("convertTime",function(t){if("undefined"!=typeof t){var e=new Date(1e3*parseFloat(t)),n=e.getFullYear()+"-",r=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",o=e.getDate()+" ",i=e.getHours()+":",a=e.getMinutes()+":",s=e.getSeconds();return n+r+o+i+a+s}})},7:function(t,e){"use strict";function n(t,e){var o=e&&e.loc,i=void 0,a=void 0;o&&(i=o.start.line,a=o.start.column,t+=" - "+i+":"+a);for(var s=Error.prototype.constructor.call(this,t),u=0;u<r.length;u++)this[r[u]]=s[r[u]];Error.captureStackTrace&&Error.captureStackTrace(this,n),o&&(this.lineNumber=i,this.column=a)}e.__esModule=!0;var r=["description","fileName","lineNumber","message","name","number","stack"];n.prototype=new Error,e["default"]=n,t.exports=e["default"]},8:function(t,e,n){t.exports=!n(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},9:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},10:function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},11:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},12:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},13:function(t,e,n){var r=n(33),o=n(47),i=n(43),a=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},14:function(t,e,n){var r=n(26),o=n(21);t.exports=function(t){return r(o(t))}},15:function(t,e,n){t.exports={"default":n(52),__esModule:!0}},16:function(t,e,n){var r=n(9),o=n(10),i=n(56),a=n(22),s="prototype",u=function(t,e,n){var l,c,f,d=t&u.F,p=t&u.G,h=t&u.S,v=t&u.P,m=t&u.B,g=t&u.W,b=p?o:o[e]||(o[e]={}),y=b[s],x=p?r:h?r[e]:(r[e]||{})[s];p&&(n=e);for(l in n)c=!d&&x&&void 0!==x[l],c&&l in b||(f=c?x[l]:n[l],b[l]=p&&"function"!=typeof x[l]?n[l]:m&&c?i(f,r):g&&x[l]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((b.virtual||(b.virtual={}))[l]=f,t&u.R&&y&&!y[l]&&a(y,l,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},17:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},19:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},20:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(51),i=r(o);e["default"]=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i["default"])(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},21:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},22:function(t,e,n){var r=n(13),o=n(35);t.exports=n(8)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},23:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},25:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(15),i=r(o),a=n(19),s=r(a),u=n(20),l=r(u),c=n(1),f={none:{"in":"overlay-in",out:"overlay-out"},fade:{"in":"overlay-fade-in",out:"overlay-fade-out"}},d=function(){function t(e){var n=this;(0,s["default"])(this,t),this.isVisible=!1,this.defaults={className:"overlay",clickToClose:!0,onClose:c.noop,animation:"fade",disableScrolling:!0},this.settings=(0,i["default"])({},this.defaults,e),this.settings.animationClasses={"in":f[this.settings.animation]["in"],out:f[this.settings.animation].out},this.elem=c("<div/>",{"class":this.settings.className}),this.elem.click(function(){n.settings.clickToClose&&n.hide()}),this.settings.disableScrolling&&c(window).on("touchmove",function(t){n.isVisible&&t.preventDefault()}),this.elem[0].addEventListener("webkitTransitionEnd",this._cleanup.bind(this))}return(0,l["default"])(t,[{key:"_cleanup",value:function(){this.isVisible||this.elem.detach()}},{key:"show",value:function(){0!==this.elem.parent().length||this.isVisible||(this.elem.appendTo("body"),this.elem.css({visibility:"visible"}).show().removeClass(this.settings.animationClasses.out).addClass(this.settings.animationClasses["in"]),this.settings.disableScrolling&&c("body").css({overflow:"hidden"}),this.isVisible=!0)}},{key:"hide",value:function(){this.isVisible&&(this.elem.removeClass(this.settings.animationClasses["in"]).addClass(this.settings.animationClasses.out),this.settings.disableScrolling&&c("body").css({overflow:"auto"}),this._cleanup(),this.isVisible=!1,this.settings.onClose())}}]),t}();t.exports=d},26:function(t,e,n){var r=n(45);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},27:function(t,e,n){var r=n(48),o=n(39);t.exports=Object.keys||function(t){return r(t,o)}},29:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e,n){this.helpers=t||{},this.partials=e||{},this.decorators=n||{},u.registerDefaultHelpers(this),l.registerDefaultDecorators(this)}e.__esModule=!0,e.HandlebarsEnvironment=o;var i=n(3),a=n(7),s=r(a),u=n(66),l=n(64),c=n(74),f=r(c),d="4.0.5";e.VERSION=d;var p=7;e.COMPILER_REVISION=p;var h={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};e.REVISION_CHANGES=h;var v="[object Object]";o.prototype={constructor:o,logger:f["default"],log:f["default"].log,registerHelper:function(t,e){if(i.toString.call(t)===v){if(e)throw new s["default"]("Arg not supported with multiple helpers");i.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if(i.toString.call(t)===v)i.extend(this.partials,t);else{if("undefined"==typeof e)throw new s["default"]('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if(i.toString.call(t)===v){if(e)throw new s["default"]("Arg not supported with multiple decorators");i.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]}};var m=f["default"].log;e.log=m,e.createFrame=i.createFrame,e.logger=f["default"]},33:function(t,e,n){var r=n(12);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},34:function(t,e){e.f={}.propertyIsEnumerable},35:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},36:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},37:function(t,e,n){t.exports=n(63)["default"]},39:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},40:function(t,e){e.f=Object.getOwnPropertySymbols},41:function(t,e,n){var r=n(42)("keys"),o=n(36);t.exports=function(t){return r[t]||(r[t]=o(t))}},42:function(t,e,n){var r=n(9),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},43:function(t,e,n){var r=n(12);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},45:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},46:function(t,e,n){var r=n(12),o=n(9).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},47:function(t,e,n){t.exports=!n(8)&&!n(11)(function(){return 7!=Object.defineProperty(n(46)("div"),"a",{get:function(){return 7}}).a})},48:function(t,e,n){var r=n(17),o=n(14),i=n(55)(!1),a=n(41)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(l,n)||l.push(n));return l}},49:function(t,e,n){var r=n(21);t.exports=function(t){return Object(r(t))}},51:function(t,e,n){t.exports={"default":n(53),__esModule:!0}},52:function(t,e,n){n(60),t.exports=n(10).Object.assign},53:function(t,e,n){n(61);var r=n(10).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},54:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},55:function(t,e,n){var r=n(14),o=n(59),i=n(58);t.exports=function(t){return function(e,n,a){var s,u=r(e),l=o(u.length),c=i(a,l);if(t&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}}},56:function(t,e,n){var r=n(54);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},57:function(t,e,n){"use strict";var r=n(27),o=n(40),i=n(34),a=n(49),s=n(26),u=Object.assign;t.exports=!u||n(11)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,l=1,c=o.f,f=i.f;u>l;)for(var d,p=s(arguments[l++]),h=c?r(p).concat(c(p)):r(p),v=h.length,m=0;v>m;)f.call(p,d=h[m++])&&(n[d]=p[d]);return n}:u},58:function(t,e,n){var r=n(23),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},59:function(t,e,n){var r=n(23),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},60:function(t,e,n){var r=n(16);r(r.S+r.F,"Object",{assign:n(57)})},61:function(t,e,n){var r=n(16);r(r.S+r.F*!n(8),"Object",{defineProperty:n(13).f})},63:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(){var t=new s.HandlebarsEnvironment;return p.extend(t,s),t.SafeString=l["default"],t.Exception=f["default"],t.Utils=p,t.escapeExpression=p.escapeExpression,t.VM=v,t.template=function(e){return v.template(e,t)},t}e.__esModule=!0;var a=n(29),s=o(a),u=n(77),l=r(u),c=n(7),f=r(c),d=n(3),p=o(d),h=n(76),v=o(h),m=n(75),g=r(m),b=i();b.create=i,g["default"](b),b["default"]=b,e["default"]=b,t.exports=e["default"]},64:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){a["default"](t)}e.__esModule=!0,e.registerDefaultDecorators=o;var i=n(65),a=r(i)},65:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerDecorator("inline",function(t,e,n,o){var i=t;return e.partials||(e.partials={},i=function(o,i){var a=n.partials;n.partials=r.extend({},a,e.partials);var s=t(o,i);return n.partials=a,s}),e.partials[o.args[0]]=o.fn,i})},t.exports=e["default"]},66:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){a["default"](t),u["default"](t),c["default"](t),d["default"](t),h["default"](t),m["default"](t),b["default"](t)}e.__esModule=!0,e.registerDefaultHelpers=o;var i=n(67),a=r(i),s=n(68),u=r(s),l=n(69),c=r(l),f=n(70),d=r(f),p=n(71),h=r(p),v=n(72),m=r(v),g=n(73),b=r(g)},67:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("blockHelperMissing",function(e,n){var o=n.inverse,i=n.fn;if(e===!0)return i(this);if(e===!1||null==e)return o(this);if(r.isArray(e))return e.length>0?(n.ids&&(n.ids=[n.name]),t.helpers.each(e,n)):o(this);if(n.data&&n.ids){var a=r.createFrame(n.data);a.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:a}}return i(e,n)})},t.exports=e["default"]},68:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(3),i=n(7),a=r(i);e["default"]=function(t){t.registerHelper("each",function(t,e){function n(e,n,i){l&&(l.key=e,l.index=n,l.first=0===n,l.last=!!i,c&&(l.contextPath=c+e)),u+=r(t[e],{data:l,blockParams:o.blockParams([t[e],e],[c+e,null])})}if(!e)throw new a["default"]("Must pass iterator to #each");var r=e.fn,i=e.inverse,s=0,u="",l=void 0,c=void 0;if(e.data&&e.ids&&(c=o.appendContextPath(e.data.contextPath,e.ids[0])+"."),o.isFunction(t)&&(t=t.call(this)),e.data&&(l=o.createFrame(e.data)),t&&"object"==typeof t)if(o.isArray(t))for(var f=t.length;s<f;s++)s in t&&n(s,s,s===t.length-1);else{var d=void 0;for(var p in t)t.hasOwnProperty(p)&&(void 0!==d&&n(d,s-1),d=p,s++);void 0!==d&&n(d,s-1,!0)}return 0===s&&(u=i(this)),u})},t.exports=e["default"]},69:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(7),i=r(o);e["default"]=function(t){t.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new i["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')})},t.exports=e["default"]},70:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("if",function(t,e){return r.isFunction(t)&&(t=t.call(this)),!e.hash.includeZero&&!t||r.isEmpty(t)?e.inverse(this):e.fn(this)}),t.registerHelper("unless",function(e,n){return t.helpers["if"].call(this,e,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},t.exports=e["default"]},71:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t){t.registerHelper("log",function(){for(var e=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)e.push(arguments[r]);var o=1;null!=n.hash.level?o=n.hash.level:n.data&&null!=n.data.level&&(o=n.data.level),e[0]=o,t.log.apply(t,e)})},t.exports=e["default"]},72:function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t){t.registerHelper("lookup",function(t,e){return t&&t[e]})},t.exports=e["default"]},73:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3);e["default"]=function(t){t.registerHelper("with",function(t,e){r.isFunction(t)&&(t=t.call(this));var n=e.fn;if(r.isEmpty(t))return e.inverse(this);var o=e.data;return e.data&&e.ids&&(o=r.createFrame(e.data),o.contextPath=r.appendContextPath(e.data.contextPath,e.ids[0])),n(t,{data:o,blockParams:r.blockParams([t],[o&&o.contextPath])})})},t.exports=e["default"]},74:function(t,e,n){"use strict";e.__esModule=!0;var r=n(3),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var e=r.indexOf(o.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=o.lookupLevel(t),"undefined"!=typeof console&&o.lookupLevel(o.level)<=t){var e=o.methodMap[t];console[e]||(e="log");for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];console[e].apply(console,r)}}};e["default"]=o,t.exports=e["default"]},75:function(t,e){(function(n){"use strict";e.__esModule=!0,e["default"]=function(t){var e="undefined"!=typeof n?n:window,r=e.Handlebars;t.noConflict=function(){return e.Handlebars===t&&(e.Handlebars=r),t}},t.exports=e["default"]}).call(e,function(){return this}())},76:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function i(t){var e=t&&t[0]||1,n=g.COMPILER_REVISION;if(e!==n){if(e<n){var r=g.REVISION_CHANGES[n],o=g.REVISION_CHANGES[e];throw new m["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+o+").")}throw new m["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}}function a(t,e){function n(n,r,o){o.hash&&(r=h.extend({},r,o.hash),o.ids&&(o.ids[0]=!0)),n=e.VM.resolvePartial.call(this,n,r,o);var i=e.VM.invokePartial.call(this,n,r,o);if(null==i&&e.compile&&(o.partials[o.name]=e.compile(n,t.compilerOptions,e),i=o.partials[o.name](r,o)),null!=i){if(o.indent){for(var a=i.split("\n"),s=0,u=a.length;s<u&&(a[s]||s+1!==u);s++)a[s]=o.indent+a[s];i=a.join("\n")}return i}throw new m["default"]("The partial "+o.name+" could not be compiled when running in runtime-only mode")}function r(e){function n(e){return""+t.main(o,e,o.helpers,o.partials,a,u,s)}var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=i.data;r._setup(i),!i.partial&&t.useData&&(a=f(e,a));var s=void 0,u=t.useBlockParams?[]:void 0;return t.useDepths&&(s=i.depths?e!==i.depths[0]?[e].concat(i.depths):i.depths:[e]),(n=d(t.main,n,o,i.depths||[],a,u))(e,i)}if(!e)throw new m["default"]("No environment passed to template");if(!t||!t.main)throw new m["default"]("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var o={strict:function(t,e){if(!(e in t))throw new m["default"]('"'+e+'" not defined in '+t);return t[e]},lookup:function(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r]&&null!=t[r][e])return t[r][e]},lambda:function(t,e){return"function"==typeof t?t.call(e):t},escapeExpression:h.escapeExpression,invokePartial:n,fn:function(e){var n=t[e];return n.decorator=t[e+"_d"],n},programs:[],program:function(t,e,n,r,o){var i=this.programs[t],a=this.fn(t);return e||o||r||n?i=s(this,t,a,e,n,r,o):i||(i=this.programs[t]=s(this,t,a)),i},data:function(t,e){for(;t&&e--;)t=t._parent;return t},merge:function(t,e){var n=t||e;return t&&e&&t!==e&&(n=h.extend({},e,t)),n},noop:e.VM.noop,compilerInfo:t.compiler};return r.isTop=!0,r._setup=function(n){n.partial?(o.helpers=n.helpers,o.partials=n.partials,o.decorators=n.decorators):(o.helpers=o.merge(n.helpers,e.helpers),t.usePartial&&(o.partials=o.merge(n.partials,e.partials)),(t.usePartial||t.useDecorators)&&(o.decorators=o.merge(n.decorators,e.decorators)))},r._child=function(e,n,r,i){if(t.useBlockParams&&!r)throw new m["default"]("must pass block params");if(t.useDepths&&!i)throw new m["default"]("must pass parent depths");return s(o,e,t[e],n,0,r,i)},r}function s(t,e,n,r,o,i,a){function s(e){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=a;return a&&e!==a[0]&&(s=[e].concat(a)),n(t,e,t.helpers,t.partials,o.data||r,i&&[o.blockParams].concat(i),s)}return s=d(n,s,t,a,r,i),s.program=e,s.depth=a?a.length:0,s.blockParams=o||0,s}function u(t,e,n){return t?t.call||n.name||(n.name=t,t=n.partials[t]):t="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],t}function l(t,e,n){n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var r=void 0;if(n.fn&&n.fn!==c&&(n.data=g.createFrame(n.data),r=n.data["partial-block"]=n.fn,r.partials&&(n.partials=h.extend({},n.partials,r.partials))),void 0===t&&r&&(t=r),void 0===t)throw new m["default"]("The partial "+n.name+" could not be found");if(t instanceof Function)return t(e,n)}function c(){return""}function f(t,e){return e&&"root"in e||(e=e?g.createFrame(e):{},e.root=t),e}function d(t,e,n,r,o,i){if(t.decorator){var a={};e=t.decorator(e,a,n,r&&r[0],o,i,r),h.extend(e,a)}return e}e.__esModule=!0,e.checkRevision=i,e.template=a,e.wrapProgram=s,e.resolvePartial=u,e.invokePartial=l,e.noop=c;var p=n(3),h=o(p),v=n(7),m=r(v),g=n(29)},77:function(t,e){"use strict";function n(t){this.string=t}e.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},e["default"]=n,t.exports=e["default"]},87:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=n(15),i=r(o),a=n(19),s=r(a),u=n(20),l=r(u),c=n(1),f=n(96),d=n(25),p=function(){function t(e){var n=this;(0,s["default"])(this,t),this.defaults={isModal:!0,template:f,title:"",text:"",buttons:[{text:"好",handler:function(){n.hide()}}]},this.settings=(0,i["default"])({},this.defaults,e);var r=this.settings.template({title:this.settings.title,text:this.settings.text,buttons:this.settings.buttons});this.elem=c(r);var o=this.elem.find(".button-group").children(),a=this;o.each(function(t){c(this).click(a.settings.buttons[t].handler.bind(a))}),this.overlay=new d({clickToClose:!1})}return(0,l["default"])(t,[{key:"show",value:function(){this.overlay.show(),0===this.elem.parent().length&&this.elem.appendTo("body"),this.elem.css({left:(c(window).width()-this.elem.outerWidth())/2,top:(c(window).height()-this.elem.outerHeight())/2+c(window).scrollTop()}).show().addClass("animation-target")}},{key:"hide",value:function(){this.overlay.hide(),this.elem.detach()}}]),t}();c.extend(p,{alert:function(t,e){var n=new p({text:t,title:e});n.show()},confirm:function(t,e,n){var r=new p({text:t,title:e,buttons:[{text:"取消",handler:function(){this.hide()}},{text:"好",handler:n||c.noop}]});r.show()}}),t.exports=p},96:function(t,e,n){var r=n(37);t.exports=(r["default"]||r).template({1:function(t,e,n,r,o){var i;return' <a href="javascript:void(0);" class="modal-button">'+t.escapeExpression((i=null!=(i=n.text||(null!=e?e.text:e))?i:n.helperMissing,"function"==typeof i?i.call(null!=e?e:{},{name:"text",hash:{},data:o}):i))+"</a>\n"},compiler:[7,">= 4.0.0"],main:function(t,e,n,r,o){var i,a,s=null!=e?e:{},u=n.helperMissing,l="function",c=t.escapeExpression;return'<div class="modal">\n <h2>'+c((a=null!=(a=n.title||(null!=e?e.title:e))?a:u,typeof a===l?a.call(s,{name:"title",hash:{},data:o}):a))+"</h2>\n <p>"+c((a=null!=(a=n.text||(null!=e?e.text:e))?a:u,typeof a===l?a.call(s,{name:"text",hash:{},data:o}):a))+'</p>\n <hr>\n <div class="button-group">\n'+(null!=(i=n.each.call(s,null!=e?e.buttons:e,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o}))?i:"")+" </div>\n</div>\n"},useData:!0})},187:function(t,e,n){"use strict";var r=n(1),o=n(4),i=n(87);t.exports={data:function(){return{page:0,limit:10,type:this.$parent.$data.type,orderList:[],busy:!1}},ready:function(){this.getOrderData()},methods:{getOrderData:function(){var t=this,e=this;this.busy=!0,r.ajax({url:"/home/get-orders",data:{page:++this.page,limit:this.limit,type:this.type}}).then(function(n){200===n.code&&(n.isend?e.busy=!0:e.busy=!1,n.data.orderList.length>0&&t.$set("orderList",n.data.orderList))}).fail(function(){o("网络错误")})},cancelOrder:function(t){i.confirm("订单取消后不能恢复,确认取消订单吗?","",function(){r.ajax({url:"/home/cancel-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.reload():o(t.message)}).fail(function(){o("操作失敗")})})},deleteOrder:function(t,e){var n=this;i.confirm("确认删除订单?","",function(){r.ajax({url:"/home/delete-order",type:"post",data:{orderCode:t.orderCode}}).then(function(t){200===t.code?n.$el.querySelectorAll(".order-item")[e].remove():o(t.message)}).fail(function(){o("操作失敗")})})},confirmGoods:function(t){r.ajax({url:"/home/confirm-order",type:"post",data:{orderCode:t}}).then(function(t){200===t.code?location.reload():o(t.message)}).fail(function(){o("操作失敗")})},goBuy:function(){location.href=""},seeExpress:function(){location.href=""}}}},241:function(t,e){},274:function(t,e){t.exports=' <ul v-infinite-scroll=getOrderData() infinite-scroll-disabled=busy infinite-scroll-distance=10> <li class=order-item v-for="(index, order) in orderList"> <div class=order-detail> <div class=order-code> <p>订单号:{{order.orderCode}}</p> <p>{{order.status | convertOrderState}}</p> </div> <div class=order-goods> <div class=goods-info v-for="goods in order.orderGoods"> <div class=img-box> <img v-bind:src="goods.goodsImage | resize 49 65" alt={{goods.productName}}> </div> <div class=goods-detail> <p class=name>{{goods.productName}}</p> <p class=size> <span>颜色:{{goods.colorName}}</span> <span>尺码:{{goods.sizeName}}</span> </p> </div> <div class=goods-price> <p>&yen; {{goods.goodsPrice}}</p> <p>×{{goods.buyNumber}}</p> </div> <a href="/home/order-detail?orderCode={{order.orderCode}}"></a> </div> </div> <div class=order-option> <div class=goods-total>合计: <b>&yen;{{order.amount}}</b></div> <div class=options> <button v-if="order.status === 0" @click=cancelOrder(order.orderCode)>取消订单</button> <button v-if="order.status === 0 " class=countdown @click=goBuy()>去支付 11:58:12</button> <button v-if="order.status === 4 || order.status === 5 ">查看物流</button> <button v-if="order.status === 4 || order.status === 5 " class=black @click=confirmGoods(order.orderCode)>确认收货</button> <button v-if="order.status === 6" @click=deleteOrder(order,index)>删除订单</button> <button v-if="order.status === 6" class=normal>再次购买</button> </div> </div> </div> </li> </ul> '},308:function(t,e,n){var r,o;n(241),r=n(187),o=n(274),t.exports=r||{},t.exports.__esModule&&(t.exports=t.exports["default"]),o&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=o)}});
1 @charset "utf-8"; 1 @charset "utf-8";
2 -/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}progress{vertical-align:baseline}[hidden],template{display:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}figure{margin:1em 1rem}hr{box-sizing:content-box;height:0;overflow:visible}button,input,select,textarea{font:inherit;margin:0}optgroup{font-weight:700}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 .05rem;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-.05rem}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.clearfix:after{content:'';display:block;clear:both}*,:after,:before{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}body,html{width:100%;font-size:.6rem;font-family:Helvetica,Roboto,Heiti SC,黑体,Arial;line-height:1.4}a{outline:none;color:#000;text-decoration:none}input{border:0}ol,ul{list-style:none}:focus{outline:none}.main-wrap{position:relative;margin-right:auto;margin-left:auto;width:100%;max-width:18.75rem}.text-center{text-align:center}.overflow-hidden{overflow:hidden;height:100%}.left,.right{float:right}.hide{display:none}.mr50{margin-right:1.25rem}.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-all}.list{list-style:none;margin:0;padding:0;background-color:#fff}.list-item{position:relative;padding:.75rem}.list-item:after{content:"";position:absolute;left:.75rem;bottom:-1px;width:17.25rem;height:0;border-bottom:1px solid #eee;z-index:1}.list-item:last-of-type:after{display:none}@font-face{font-family:iconfont;src:url(../assets/font/iconfont.eot?vqs6e2&v15625dd2c38);src:url(../assets/font/iconfont.eot?vqs6e2&v15625dd2c38#iefix) format("embedded-opentype"),url(../assets/font/iconfont.ttf?vqs6e2&v15625dd3bd8) format("truetype"),url(../assets/font/iconfont.woff?vqs6e2&v15625dd3fc0) format("woff"),url(../assets/font/iconfont.svg?vqs6e2&v15625dd37f0#iconfont) format("svg");font-weight:400;font-style:normal}.icon{font-family:iconfont!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-x:before{content:"\e908"}.icon-delete:before{content:"\e600"}.icon-bag:before{content:"\e601"}.icon-down:before{content:"\e602"}.icon-check:before{content:"\e603"}.icon-love:before{content:"\e604"}.icon-close:before{content:"\e605"}.icon-left:before{content:"\e606"}.icon-right:before{content:"\e607"}.icon-search:before{content:"\e608"}.icon-love-solid:before{content:"\e609"}.icon-yoho-share:before{content:"\e60a"}.icon-filter:before{content:"\e60b"}.icon-focus:before{content:"\e60c"}.icon-focused:before{content:"\e60d"}.icon-share:before{content:"\e60e"}.icon-up:before{content:"\e617"}.icon-notdef:before{content:"\e900"}.icon-wait-cargo:before{content:"\e901"}.icon-wait-pay:before{content:"\e902"}.icon-send-cargo:before{content:"\e903"}.icon-refund-exchange:before{content:"\e904"}.icon-sort-asc:before{content:"\e905"}.icon-sort-desc:before{content:"\e906"}.tip-box{position:fixed;top:50%;left:50%;z-index:1001;transform:translate(-50%,-50%);display:table;max-width:90%;min-height:2.5rem;border-radius:.2rem;text-align:center;font-size:.7rem;color:#fff;background-color:rgba(0,0,0,.7);padding:.25rem .5rem}.tip-box .tip{display:table-cell;vertical-align:middle}.button{display:inline-block;min-width:7.75rem;min-height:2.5rem;border:1px solid #000;background:#fff;color:#000;font-size:.5rem;padding:0 .25rem;-webkit-appearance:button}.button.button-solid{background:#000;color:#fff}.button.button-solid:disabled{background:#b0b0b0;color:#fff}.button.button-round{border-radius:.1rem}.button.button-small{min-width:4.5rem;min-height:1.75rem}.button.button-large{min-width:17.5rem;min-height:2.5rem}.button:disabled{border:1px solid #b0b0b0;color:#b0b0b0}.swiper-container{position:relative;z-index:1;overflow:hidden;margin:0 auto}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{-ms-flex-direction:column;flex-direction:column;-webkit-box-orient:vertical;-moz-box-orient:vertical}.swiper-wrapper{position:relative;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;box-sizing:content-box;width:100%;height:100%;-webkit-transition-property:-webkit-transform;transition-property:transform;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translateZ(0);transform:translateZ(0)}.swiper-container-multirow>.swiper-wrapper{-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-lines:multiple;-moz-box-lines:multiple}.swiper-container-free-mode>.swiper-wrapper{margin:0 auto;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-slide{position:relative;-ms-flex:0 0 auto;flex-shrink:0;width:100%;height:100%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container .swiper-notification{position:absolute;top:0;left:0;z-index:-1000;opacity:0;pointer-events:none}.swiper-wp8-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-wp8-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;z-index:10;margin-top:-.55rem;width:.675rem;height:1.1rem;background-position:50%;background-size:.675rem 1.1rem;background-repeat:no-repeat;cursor:pointer}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{right:auto;left:.25rem;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23007aff'/%3E%3C/svg%3E")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z'/%3E%3C/svg%3E")}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23fff'/%3E%3C/svg%3E")}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{right:.25rem;left:auto;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23007aff'/%3E%3C/svg%3E")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z'/%3E%3C/svg%3E")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23fff'/%3E%3C/svg%3E")}.swiper-pagination{position:absolute;z-index:10;text-align:center;-webkit-transition:.3s;transition:.3s;-webkit-transform:translateZ(0);transform:translateZ(0)}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-bullet{display:inline-block;width:.2rem;height:.2rem;border-radius:100%;background:#000;opacity:.2}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-white .swiper-pagination-bullet{background:#fff}.swiper-pagination-bullet-active{background:#007aff;opacity:1}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-container-vertical>.swiper-pagination{top:50%;right:.25rem;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination .swiper-pagination-bullet{display:block;margin:.125rem 0}.swiper-container-horizontal>.swiper-pagination{bottom:.25rem;left:0;width:100%}.swiper-container-horizontal>.swiper-pagination .swiper-pagination-bullet{margin:0 .125rem}.swiper-container-3d{-webkit-perspective:30rem;-o-perspective:30rem;perspective:30rem}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;top:0;left:0;z-index:10;width:100%;height:100%;pointer-events:none}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(right,rgba(0,0,0,.5),transparent);background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5),transparent);background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,.5),transparent);background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(top,rgba(0,0,0,.5),transparent);background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-container-coverflow .swiper-wrapper{-ms-perspective:30rem}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide,.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{visibility:hidden;width:100%;height:100%;-webkit-transform-origin:0 0;transform-origin:0 0;pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{visibility:visible;pointer-events:auto}.swiper-container-cube .swiper-cube-shadow{position:absolute;bottom:0;left:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(1.25rem);filter:blur(1.25rem)}.swiper-container-cube.swiper-container-vertical .swiper-cube-shadow{z-index:0}.swiper-scrollbar{position:relative;border-radius:.25rem;background:rgba(0,0,0,.1);-ms-touch-action:none}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;bottom:.075rem;left:1%;z-index:50;width:98%;height:.125rem}.swiper-container-vertical>.swiper-scrollbar{position:absolute;top:1%;right:.075rem;z-index:50;width:.125rem;height:98%}.swiper-scrollbar-drag{position:relative;top:0;left:0;width:100%;height:100%;border-radius:.25rem;background:rgba(0,0,0,.5)}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-lazy-preloader{position:absolute;top:50%;left:50%;z-index:10;margin-top:-.525rem;margin-left:-.525rem;width:1.05rem;height:1.05rem;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:a 1s steps(12) infinite;animation:a 1s steps(12) infinite}.swiper-lazy-preloader:after{display:block;width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath id='a' stroke='%236c6c6c' stroke-width='11' stroke-linecap='round' d='M60 7v20'/%3E%3C/defs%3E%3Cuse xlink:href='%23a' opacity='.27'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(30 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(60 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(90 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(120 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(150 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.37' transform='rotate(180 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.46' transform='rotate(210 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.56' transform='rotate(240 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.66' transform='rotate(270 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.75' transform='rotate(300 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.85' transform='rotate(330 60 60)'/%3E%3C/svg%3E");background-position:50%;background-size:100%;background-repeat:no-repeat;content:""}.swiper-lazy-preloader-white:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath id='a' stroke='%23fff' stroke-width='11' stroke-linecap='round' d='M60 7v20'/%3E%3C/defs%3E%3Cuse xlink:href='%23a' opacity='.27'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(30 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(60 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(90 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(120 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(150 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.37' transform='rotate(180 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.46' transform='rotate(210 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.56' transform='rotate(240 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.66' transform='rotate(270 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.75' transform='rotate(300 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.85' transform='rotate(330 60 60)'/%3E%3C/svg%3E")}@-webkit-keyframes a{to{-webkit-transform:rotate(1turn)}}@keyframes a{to{transform:rotate(1turn)}}.badge{min-width:.4rem;padding:.075rem .175rem;margin-left:.25rem;margin-right:.25rem;border-radius:249.975rem;font-size:.35rem;line-height:1;text-align:center;white-space:nowrap;background-color:#3790de;color:#fff}.badge-tr{position:absolute;top:-.125rem;right:-.275rem;margin:0}.checkbox,.radio{position:relative;display:inline-block}.checkbox label,.radio label{padding-left:.825rem}.checkbox label:before,.radio label:before{z-index:8;border:2px solid #000;content:""}.checkbox label:after,.radio label:after{position:absolute;top:.15rem;left:.3rem;z-index:9;display:none;width:.2rem;height:.4rem;border:2px solid #fff;border-top:0;border-left:0;content:"";transform:rotate(45deg)}.checkbox input,.checkbox label:before,.radio input,.radio label:before{position:absolute;top:0;left:0;width:.75rem;height:.75rem}.checkbox input,.radio input{z-index:10;opacity:0}.checkbox input:checked~label:before,.radio input:checked~label:before{background:#000}.checkbox input:checked~label:after,.radio input:checked~label:after{display:block}.checkbox input:disabled~label,.radio input:disabled~label{color:#ccc}.checkbox input:disabled~label:before,.radio input:disabled~label:before{border-color:#e4e4e4}.checkbox input:disabled:checked~label:before,.radio input:disabled:checked~label:before{background-color:#e4e4e4}.radio label:before{border-radius:50%}.switch{display:inline-block}.switch input{display:none}.switch input:checked~label{border:.05rem solid #4bd865;box-shadow:inset 0 0 0 .7rem #4bd865}.switch input:checked~label:after{left:1.1rem;box-shadow:0 .125rem .125rem -1px rgba(0,0,0,.2),0 0 0 .05rem #4bd865}.switch input:disabled:checked~label,.switch input:disabled~label{opacity:.6}.switch label{position:relative;display:inline-block;width:2.5rem;height:1.5rem;border:.05rem solid #ddd;border-radius:2499.975rem;background-color:#fff;transition:.3s}.switch label:after{position:absolute;left:0;width:1.4rem;height:1.4rem;border:none;border-radius:50%;background-color:#fff;box-shadow:0 .125rem .125rem -1px rgba(0,0,0,.2),0 0 0 .05rem #ddd;content:"";transition:.4s}.overlay{position:fixed;background:#000;opacity:0;left:0;top:0;width:100%;height:100%;z-index:1000}.overlay-fade-in{opacity:.5;transition:opacity .1s linear}.overlay-fade-out{opacity:0;transition:opacity .1s linear}.overlay-in{opacity:.5}.overlay-in,.overlay-out{transition:opacity .1s linear}.overlay-out{opacity:0}.modal{position:absolute;margin:0 auto;background:#fcfcfc;width:12.8rem;z-index:1001}.modal h2{font-size:.8rem;text-align:center;margin-top:1.25rem;margin-bottom:0}.modal p{font-size:.525rem;text-align:center;margin-top:.5rem;margin-bottom:1.2rem}.modal hr{border:none;border-top:1px solid #e0e0e0;margin:0}.modal .button-group{display:flex;flex-direction:row;justify-content:space-around;align-items:stretch;height:2.2rem}.modal .button-group a.modal-button{flex:1;align-self:center;text-align:center;color:#3790de;font-size:.75rem}.modal .button-group :not(:first-child){border-left:1px solid #e0e0e0}.animation-target{animation:b 1s linear both}@keyframes b{0%{transform:matrix(.5,0,0,.5,0,0)}4.3%{transform:matrix(.757,0,0,.757,0,0)}8.61%{transform:matrix(.939,0,0,.939,0,0)}12.91%{transform:matrix(1.026,0,0,1.026,0,0)}17.22%{transform:matrix(1.047,0,0,1.047,0,0)}28.33%{transform:matrix(1.01,0,0,1.01,0,0)}39.44%{transform:matrix(.997,0,0,.997,0,0)}61.66%{transform:matrix(1,0,0,1,0,0)}83.98%{transform:matrix(1,0,0,1,0,0)}to{transform:matrix(1,0,0,1,0,0)}}@keyframes c{0%{transform:scale(1);opacity:1}45%{transform:scale(.1);opacity:.7}80%{transform:scale(1);opacity:1}}.loading{position:fixed;top:50%;left:50%;margin-top:-.5rem;margin-left:-1.5rem;width:3.2rem;height:1rem;z-index:1001}.loading>div{display:inline-block;margin:.1rem;width:.75rem;height:.75rem;border-radius:100%;background:#fff}.loading>div:nth-child(1){animation:c .75s .12s infinite cubic-bezier(.2,.68,.18,1.08)}.loading>div:nth-child(2){animation:c .75s .24s infinite cubic-bezier(.2,.68,.18,1.08)}.loading>div:nth-child(3){animation:c .75s .36s infinite cubic-bezier(.2,.68,.18,1.08)}.example.color{display:inline-block;width:.45rem;height:.45rem;border:1px solid #999}.example.color.black{background:#000}.example.color.white{background:#fff}.example.color.red{background:#ff081c}.example.color.green{background:#1ed96c}.example.color.grey{background:#b0b0b0}.example.color.blue{background:#3790de}.my-page{color:#444;background:#f0f0f0}.my-page a{color:#000}.my-page .user-info{display:block;position:relative;padding:0 .75rem;color:#000;font-size:.85rem;line-height:3.45rem;height:11.725rem;text-align:center;background:url(../assets/img/home/header-bg.png?v15625dd5348);background-size:cover}.my-page .user-info .user-avatar{display:inline-block;position:relative;top:2.25rem;width:5rem;height:5rem;border-radius:50%;border:.15rem solid #a7a8a9;background:url(../assets/img/home/user-icon.png?v15625dd5348);background-size:100%}.my-page .user-info .username{display:inline-block;padding:0 .4rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:.8rem;max-width:6.5rem}.my-page .login-btn{display:inline-block;top:1rem;left:4.85rem;width:6.1rem;height:2.05rem;line-height:2.05rem;color:#fff;border:.1rem solid #fff;margin:3.75rem auto}.my-page .my-order{margin-bottom:.75rem;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;background:#fff}.my-page .my-order .order-title{display:block;padding:0 .725rem;font-size:.85rem;line-height:2.2rem}.my-page .my-order .order-title .read-order{color:#b0b0b0;font-size:.75rem;float:right}.my-page .my-order .order-title.highlight{background:#eee}.my-page .my-order .order-type{padding:.5rem .75rem;text-align:center;border-top:1px solid #e0e0e0}.my-page .my-order .order-type .icon{font-size:1.125rem}.my-page .my-order .order-type .type-item{position:relative;float:left;color:#444;font-size:.6rem;line-height:1.5;width:4.25rem}.my-page .my-order .order-type .type-item .num{position:absolute;top:-.875rem;right:.5rem;width:1.8rem;height:1.8rem;font-size:.85rem;line-height:1.8rem;color:#fff;background:#f03d35;text-align:center;border-radius:50%;transform:scale(.5)}.my-page .my-order .order-type .type-item.highlight{background:#eee}.my-page .group-list{margin-bottom:.75rem;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;background:#fff}.my-page .group-list .list-item{display:block;position:relative;padding:0 .75rem;font-size:.85rem;line-height:2.25rem;overflow:hidden}.my-page .group-list .list-item.highlight{background:#eee}.my-page .group-list .list-item:after{content:"";position:absolute;right:0;bottom:0;width:100%;height:0;border-top:1px solid #f0f0f0}.my-page .group-list .list-item:last-child:after{content:none}.my-page .group-list .icon{margin-right:.125rem;font-size:.85rem;vertical-align:top}.my-page .group-list .num{color:#b0b0b0;float:right}.help,.help ul{overflow:hidden;width:100%;height:auto}.help ul{display:block;margin:0;padding-left:0;border-top:1px solid #e0e0e0}.help ul li{float:right;overflow:hidden;width:100%;height:2rem;border-bottom:1px solid #e0e0e0;color:#444;list-style:none;font-size:.7rem;line-height:2.1rem}.help ul li a:visited{color:#444}.help ul li span{float:left;overflow:hidden;padding-left:5%;width:90%;height:100%}.help ul li i{color:#e0e0e0}.help ul li:last-of-type{border-bottom:none}.help .iconfont{color:#fff}.help-detail-page{margin-right:.75rem;margin-left:.75rem}.yoho-suggest-sub-page{width:100%;height:100%;background:#f6f6f6}.yoho-suggest-sub-page .suggest-sub-form{background:#fff;width:100%}.yoho-suggest-sub-page .suggest-sub-form #suggest-textarea{box-sizing:border-box;width:100%;max-width:100%;min-width:100%;height:10.5rem;max-height:6.375rem;min-height:6.375rem;padding:.75rem;font-size:.65rem;line-height:1.2rem;color:#000;display:block;background:#fff;border:none;outline:none;resize:none}.yoho-suggest-sub-page #submit-button{width:2.5rem;height:1rem;border:1px solid #e0e0e0}.yoho-favorite-page{width:100%;height:auto}.yoho-favorite-page .fav-content .fav-type{display:block}.yoho-favorite-page .fav-content .fav-product-list{padding-left:.5rem;list-style:none}.yoho-favorite-page .fav-content .fav-product-list li{height:5.125rem;overflow:hidden;margin-top:.5rem}.yoho-favorite-page .fav-content .fav-product-list .fav-del-left{display:none;float:left;width:1.25rem;height:100%}.yoho-favorite-page .fav-content .fav-product-list .fav-del-left .fav-del-span{display:inline-block;width:.875rem;height:.875rem;margin-right:.375rem;margin-top:2rem;background:url(../assets/img/home/fav/fav-del.png?v15625dd5730);background-size:100%}.yoho-favorite-page .fav-content .fav-product-list .delshow{display:block}.yoho-favorite-page .fav-content .fav-product-list .fav-del-right{position:absolute;top:0;right:-3.15rem;background:#ff3b30;width:3.15rem;height:5rem;text-align:center}.yoho-favorite-page .fav-content .fav-product-list .fav-del-right .fav-del-btn{display:inline-block;width:.875rem;height:1.075rem;margin-top:1.25rem;background:url(../assets/img/home/fav/fav-del-btn.png?v15625dd5348);background-size:100%}.yoho-favorite-page .fav-content .fav-product-list .fav-del-right .fav-del-txt{font-size:.6rem;color:#fff}.yoho-favorite-page .fav-content .fav-product-list .fav-img-box{width:3.8rem;height:5.075rem;float:left;margin-right:.6rem}.yoho-favorite-page .fav-content .fav-product-list .fav-img-box img{display:block;overflow:hidden;width:100%;height:100%}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list{color:#444;font-size:.6rem;border-bottom:1px solid #e0e0e0;padding-bottom:.5rem;margin-right:.125rem;height:5.075rem;overflow:hidden;position:relative}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .title{width:10.75rem;text-overflow:ellipsis;font-size:.7rem;margin:0}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .fav-price{margin-top:.5rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .new-price{color:#d1021c;font-size:.6rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .price-underline{text-decoration:line-through;margin-left:.375rem;color:#b0b0b0;font-size:.6rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .save-price{position:absolute;bottom:.5rem;left:0;width:100%;min-height:.6rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .sell-out{float:right;padding:.125rem .45rem;color:#b0b0b0;border-radius:.5rem;font-size:.55rem}.yoho-favorite-page .fav-content .fav-null{font-size:.55rem;color:#444;display:block;margin-top:2.5rem;text-align:center}.yoho-favorite-page .fav-content .fav-null:before{content:"";display:block;width:4.7rem;height:4.275rem;background:url(../assets/img/home/fav/fav-null.png?v15625dd5730);background-size:100% 100%;margin:0 auto 1.125rem}.yoho-favorite-page .fav-content .go-shopping{width:11.8rem;height:2.2rem;line-height:2.2rem;margin:2rem auto 0;background:#444;text-align:center;color:#fff;display:block;font-size:.65rem;border-radius:.2rem}.yoho-favorite-brand-page{width:100%;height:auto}.yoho-favorite-brand-page .fav-content .fav-type{display:block}.yoho-favorite-brand-page .fav-content .fav-brand-list{padding-left:.5rem;list-style:none}.yoho-favorite-brand-page .fav-content .fav-brand-list li{height:3.375rem;overflow:hidden;margin-top:.5rem;border-bottom:1px solid #e0e0e0}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-left{display:none;float:left;width:1.25rem;height:100%}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-left .fav-del-span{display:inline-block;width:.875rem;height:.875rem;margin-right:.375rem;margin-top:1.25rem;background:url(../assets/img/home/fav/fav-del.png?v15625dd5730);background-size:100%}.yoho-favorite-brand-page .fav-content .fav-brand-list .delshow{display:block}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-right{position:absolute;top:0;right:-3.15rem;background:#ff3b30;width:3.15rem;height:3.125rem;text-align:center}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-right .fav-del-btn{display:inline-block;width:.875rem;height:1.075rem;margin-top:.75rem;background:url(../assets/img/home/fav/fav-del-btn.png?v15625dd5348);background-size:100%}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-right .fav-del-txt{font-size:.6rem;color:#fff}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-img-box{width:4rem;height:3.125rem;float:left;margin-right:.6rem}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-img-box img{display:block;overflow:hidden;width:100%;height:100%}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-info-list{color:#444;font-size:.6rem;padding-bottom:.25rem;margin-right:.25rem;margin-top:.875rem;height:2.5rem;overflow:hidden;position:relative}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-info-list .title{width:10.75rem;color:#b0b0b0;text-overflow:ellipsis;font-size:.85rem;margin:0}.yoho-favorite-brand-page .fav-content .fav-brand-list span.down{float:right;padding:.125rem .45rem;color:#fffefe;background:#b0b0b0;border-radius:.5rem;font-size:.55rem}.yoho-favorite-brand-page .fav-content .fav-null{font-size:.55rem;color:#444;display:block;margin-top:2.5rem;text-align:center}.yoho-favorite-brand-page .fav-content .fav-null:before{content:"";display:block;width:4.7rem;height:4.275rem;background:url(../assets/img/home/fav/fav-null.png?v15625dd5730);background-size:100% 100%;margin:0 auto 1.125rem}.yoho-favorite-brand-page .fav-content .go-shopping{width:11.8rem;height:2.2rem;line-height:2.2rem;margin:2rem auto 0;background:#444;text-align:center;color:#fff;display:block;font-size:.65rem;border-radius:.2rem}.about-us{width:100%;height:100%;background:#fff}.about-us .description{top:30%;width:10.275rem;height:1.875rem;background:url(../assets/img/home/about-us-tip.png?v15625dd4f60) no-repeat;background-size:100%}.about-us .description,.about-us .icon-container{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto}.about-us .icon-container{top:43%}.about-us .blk-icon{background:url(../assets/img/home/app-icon.png?v15625dd5348) no-repeat;width:4.5rem;height:4.5rem}.about-us .blk-icon,.about-us .icon-label{left:0;right:0;margin-left:auto;margin-right:auto}.about-us .icon-label{margin-top:.25rem;font-size:.75rem}.about-us p{text-align:center;font-size:.6rem;font-family:BrownStd Regular}.yoho-coin{background:#f6f6f6;padding-top:.5rem}.yoho-coin .coin-total{padding:.875rem 0;background:#fff;text-align:center}.yoho-coin .coin-total p:first-child{font-size:.85rem}.yoho-coin .coin-total p:nth-child(2){font-size:1.95rem;color:#4a90e2;line-height:2rem}.yoho-coin .coin-total p:last-child{color:#b0b0b0;font-size:.7rem}.yoho-coin .coin-detail{margin-top:1rem}.yoho-coin .coin-detail>p:first-child{padding:0 .75rem;font-size:.7rem;color:#b0b0b0}.yoho-coin .coin-detail .coin-detail-list{padding:0 .75rem;background:#fff;border-top:1px solid #eee;border-bottom:1px solid #eee}.yoho-coin .coin-detail .coin-detail-list li{display:flex;padding:.5rem 0;border-bottom:1px solid #eee}.yoho-coin .coin-detail .coin-detail-list li:last-child{border-bottom:0 none}.yoho-coin .coin-detail .coin-detail-list .coin-source{flex:1}.yoho-coin .coin-detail .coin-detail-list .coin-source p{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis;height:1.2em;line-height:1.25;overflow:hidden;font-size:.85rem;margin-right:1.5rem}.yoho-coin .coin-detail .coin-detail-list .coin-source time{display:block;margin-top:.125rem;font-size:.7rem;color:#b0b0b0}.yoho-coin .coin-detail .coin-detail-list .coin-num{font-size:.85rem;line-height:2.3rem}.logistics-page{width:100%}.logistics-page .edit-logistics-page{width:100%;color:#d0d0d0}.logistics-page .edit-logistics-page .edit-logistics{display:inline-block;margin-top:.5rem;padding:0 .75rem;width:100%;background:#fff;font-size:.75rem;line-height:2.2rem}.logistics-page .edit-logistics-page .edit-logistics label{display:block;position:relative;color:#000;font-size:.85rem;border-bottom:1px solid #e0e0e0}.logistics-page .edit-logistics-page .edit-logistics label .company-val{direction:rtl;margin-right:.25rem}.logistics-page .edit-logistics-page .edit-logistics label .icon{margin-top:.675rem;margin-right:.25rem;float:right}.logistics-page .edit-logistics-page .edit-logistics label:last-of-type:after{content:none}.logistics-page .edit-logistics-page .edit-logistics input{position:absolute;top:0;right:1rem;width:9rem;height:2.15rem;color:#444;padding:0;border:none;-webkit-appearance:none}.logistics-page .edit-logistics-page .edit-logistics .num{width:11rem;text-align:right}.logistics-page .edit-logistics-page .submit{position:fixed;bottom:.5rem;width:92%;margin:0 4%;height:2.5rem;color:#fff;background:#000;text-align:center;font-size:.7rem;line-height:2.5rem}.logistics-page .edit-logistics-page .submit.highlight{background:rgba(0,0,0,.6)}.logistics-page .companylist-page{width:100%;color:#d0d0d0}.logistics-page .companylist-page .search-input{position:relative;text-align:center;padding:.4rem;border-bottom:1px solid #e6e6e6}.logistics-page .companylist-page .search-input input{height:1.4rem;width:100%;padding-left:.625rem;border-radius:.5rem;font-size:.55rem;color:#b0b0b0;background:#eee;border:none}.logistics-page .companylist-page .search-input input::-webkit-input-placeholder{text-align:center}.logistics-page .companylist-page .search-input input:-ms-input-placeholder{text-align:center}.logistics-page .companylist-page .company-data{color:#000;margin-left:.75rem}.logistics-page .companylist-page .company-data .company-item .tag{height:1.25rem;line-height:1.25rem;font-size:.85rem;border-bottom:1px solid #f3f3f3}.logistics-page .companylist-page .company-data .company-item span{display:block;height:2.25rem;line-height:2.25rem;font-size:.85rem;border-bottom:1px solid #f3f3f3}  
  2 +/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}progress{vertical-align:baseline}[hidden],template{display:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}figure{margin:1em 1rem}hr{box-sizing:content-box;height:0;overflow:visible}button,input,select,textarea{font:inherit;margin:0}optgroup{font-weight:700}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 .05rem;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-.05rem}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.clearfix:after{content:'';display:block;clear:both}*,:after,:before{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}body,html{width:100%;font-size:.6rem;font-family:Helvetica,Roboto,Heiti SC,黑体,Arial;line-height:1.4}a{outline:none;color:#000;text-decoration:none}input{border:0}ol,ul{list-style:none}:focus{outline:none}.main-wrap{position:relative;margin-right:auto;margin-left:auto;width:100%;max-width:18.75rem}.text-center{text-align:center}.overflow-hidden{overflow:hidden;height:100%}.left,.right{float:right}.hide{display:none}.mr50{margin-right:1.25rem}.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-all}.list{list-style:none;margin:0;padding:0;background-color:#fff}.list-item{position:relative;padding:.75rem}.list-item:after{content:"";position:absolute;left:.75rem;bottom:-1px;width:17.25rem;height:0;border-bottom:1px solid #eee;z-index:1}.list-item:last-of-type:after{display:none}@font-face{font-family:iconfont;src:url(../assets/font/iconfont.eot?vqs6e2&v15625fdb070);src:url(../assets/font/iconfont.eot?vqs6e2&v15625fdb070#iefix) format("embedded-opentype"),url(../assets/font/iconfont.ttf?vqs6e2&v15625fdc010) format("truetype"),url(../assets/font/iconfont.woff?vqs6e2&v15625fdc3f8) format("woff"),url(../assets/font/iconfont.svg?vqs6e2&v15625fdbc28#iconfont) format("svg");font-weight:400;font-style:normal}.icon{font-family:iconfont!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-x:before{content:"\e908"}.icon-delete:before{content:"\e600"}.icon-bag:before{content:"\e601"}.icon-down:before{content:"\e602"}.icon-check:before{content:"\e603"}.icon-love:before{content:"\e604"}.icon-close:before{content:"\e605"}.icon-left:before{content:"\e606"}.icon-right:before{content:"\e607"}.icon-search:before{content:"\e608"}.icon-love-solid:before{content:"\e609"}.icon-yoho-share:before{content:"\e60a"}.icon-filter:before{content:"\e60b"}.icon-focus:before{content:"\e60c"}.icon-focused:before{content:"\e60d"}.icon-share:before{content:"\e60e"}.icon-up:before{content:"\e617"}.icon-notdef:before{content:"\e900"}.icon-wait-cargo:before{content:"\e901"}.icon-wait-pay:before{content:"\e902"}.icon-send-cargo:before{content:"\e903"}.icon-refund-exchange:before{content:"\e904"}.icon-sort-asc:before{content:"\e905"}.icon-sort-desc:before{content:"\e906"}.tip-box{position:fixed;top:50%;left:50%;z-index:1001;transform:translate(-50%,-50%);display:table;max-width:90%;min-height:2.5rem;border-radius:.2rem;text-align:center;font-size:.7rem;color:#fff;background-color:rgba(0,0,0,.7);padding:.25rem .5rem}.tip-box .tip{display:table-cell;vertical-align:middle}.button{display:inline-block;min-width:7.75rem;min-height:2.5rem;border:1px solid #000;background:#fff;color:#000;font-size:.5rem;padding:0 .25rem;-webkit-appearance:button}.button.button-solid{background:#000;color:#fff}.button.button-solid:disabled{background:#b0b0b0;color:#fff}.button.button-round{border-radius:.1rem}.button.button-small{min-width:4.5rem;min-height:1.75rem}.button.button-large{min-width:17.5rem;min-height:2.5rem}.button:disabled{border:1px solid #b0b0b0;color:#b0b0b0}.swiper-container{position:relative;z-index:1;overflow:hidden;margin:0 auto}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{-ms-flex-direction:column;flex-direction:column;-webkit-box-orient:vertical;-moz-box-orient:vertical}.swiper-wrapper{position:relative;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;box-sizing:content-box;width:100%;height:100%;-webkit-transition-property:-webkit-transform;transition-property:transform;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translateZ(0);transform:translateZ(0)}.swiper-container-multirow>.swiper-wrapper{-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-lines:multiple;-moz-box-lines:multiple}.swiper-container-free-mode>.swiper-wrapper{margin:0 auto;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-slide{position:relative;-ms-flex:0 0 auto;flex-shrink:0;width:100%;height:100%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container .swiper-notification{position:absolute;top:0;left:0;z-index:-1000;opacity:0;pointer-events:none}.swiper-wp8-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-wp8-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;z-index:10;margin-top:-.55rem;width:.675rem;height:1.1rem;background-position:50%;background-size:.675rem 1.1rem;background-repeat:no-repeat;cursor:pointer}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{right:auto;left:.25rem;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23007aff'/%3E%3C/svg%3E")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z'/%3E%3C/svg%3E")}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23fff'/%3E%3C/svg%3E")}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{right:.25rem;left:auto;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23007aff'/%3E%3C/svg%3E")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z'/%3E%3C/svg%3E")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23fff'/%3E%3C/svg%3E")}.swiper-pagination{position:absolute;z-index:10;text-align:center;-webkit-transition:.3s;transition:.3s;-webkit-transform:translateZ(0);transform:translateZ(0)}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-bullet{display:inline-block;width:.2rem;height:.2rem;border-radius:100%;background:#000;opacity:.2}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-white .swiper-pagination-bullet{background:#fff}.swiper-pagination-bullet-active{background:#007aff;opacity:1}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-container-vertical>.swiper-pagination{top:50%;right:.25rem;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination .swiper-pagination-bullet{display:block;margin:.125rem 0}.swiper-container-horizontal>.swiper-pagination{bottom:.25rem;left:0;width:100%}.swiper-container-horizontal>.swiper-pagination .swiper-pagination-bullet{margin:0 .125rem}.swiper-container-3d{-webkit-perspective:30rem;-o-perspective:30rem;perspective:30rem}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;top:0;left:0;z-index:10;width:100%;height:100%;pointer-events:none}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(right,rgba(0,0,0,.5),transparent);background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5),transparent);background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,.5),transparent);background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:-webkit-linear-gradient(top,rgba(0,0,0,.5),transparent);background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-container-coverflow .swiper-wrapper{-ms-perspective:30rem}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide,.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{visibility:hidden;width:100%;height:100%;-webkit-transform-origin:0 0;transform-origin:0 0;pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{visibility:visible;pointer-events:auto}.swiper-container-cube .swiper-cube-shadow{position:absolute;bottom:0;left:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(1.25rem);filter:blur(1.25rem)}.swiper-container-cube.swiper-container-vertical .swiper-cube-shadow{z-index:0}.swiper-scrollbar{position:relative;border-radius:.25rem;background:rgba(0,0,0,.1);-ms-touch-action:none}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;bottom:.075rem;left:1%;z-index:50;width:98%;height:.125rem}.swiper-container-vertical>.swiper-scrollbar{position:absolute;top:1%;right:.075rem;z-index:50;width:.125rem;height:98%}.swiper-scrollbar-drag{position:relative;top:0;left:0;width:100%;height:100%;border-radius:.25rem;background:rgba(0,0,0,.5)}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-lazy-preloader{position:absolute;top:50%;left:50%;z-index:10;margin-top:-.525rem;margin-left:-.525rem;width:1.05rem;height:1.05rem;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:a 1s steps(12) infinite;animation:a 1s steps(12) infinite}.swiper-lazy-preloader:after{display:block;width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath id='a' stroke='%236c6c6c' stroke-width='11' stroke-linecap='round' d='M60 7v20'/%3E%3C/defs%3E%3Cuse xlink:href='%23a' opacity='.27'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(30 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(60 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(90 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(120 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(150 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.37' transform='rotate(180 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.46' transform='rotate(210 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.56' transform='rotate(240 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.66' transform='rotate(270 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.75' transform='rotate(300 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.85' transform='rotate(330 60 60)'/%3E%3C/svg%3E");background-position:50%;background-size:100%;background-repeat:no-repeat;content:""}.swiper-lazy-preloader-white:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath id='a' stroke='%23fff' stroke-width='11' stroke-linecap='round' d='M60 7v20'/%3E%3C/defs%3E%3Cuse xlink:href='%23a' opacity='.27'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(30 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(60 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(90 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(120 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(150 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.37' transform='rotate(180 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.46' transform='rotate(210 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.56' transform='rotate(240 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.66' transform='rotate(270 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.75' transform='rotate(300 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.85' transform='rotate(330 60 60)'/%3E%3C/svg%3E")}@-webkit-keyframes a{to{-webkit-transform:rotate(1turn)}}@keyframes a{to{transform:rotate(1turn)}}.badge{min-width:.4rem;padding:.075rem .175rem;margin-left:.25rem;margin-right:.25rem;border-radius:249.975rem;font-size:.35rem;line-height:1;text-align:center;white-space:nowrap;background-color:#3790de;color:#fff}.badge-tr{position:absolute;top:-.125rem;right:-.275rem;margin:0}.checkbox,.radio{position:relative;display:inline-block}.checkbox label,.radio label{padding-left:.825rem}.checkbox label:before,.radio label:before{z-index:8;border:2px solid #000;content:""}.checkbox label:after,.radio label:after{position:absolute;top:.15rem;left:.3rem;z-index:9;display:none;width:.2rem;height:.4rem;border:2px solid #fff;border-top:0;border-left:0;content:"";transform:rotate(45deg)}.checkbox input,.checkbox label:before,.radio input,.radio label:before{position:absolute;top:0;left:0;width:.75rem;height:.75rem}.checkbox input,.radio input{z-index:10;opacity:0}.checkbox input:checked~label:before,.radio input:checked~label:before{background:#000}.checkbox input:checked~label:after,.radio input:checked~label:after{display:block}.checkbox input:disabled~label,.radio input:disabled~label{color:#ccc}.checkbox input:disabled~label:before,.radio input:disabled~label:before{border-color:#e4e4e4}.checkbox input:disabled:checked~label:before,.radio input:disabled:checked~label:before{background-color:#e4e4e4}.radio label:before{border-radius:50%}.switch{display:inline-block}.switch input{display:none}.switch input:checked~label{border:.05rem solid #4bd865;box-shadow:inset 0 0 0 .7rem #4bd865}.switch input:checked~label:after{left:1.1rem;box-shadow:0 .125rem .125rem -1px rgba(0,0,0,.2),0 0 0 .05rem #4bd865}.switch input:disabled:checked~label,.switch input:disabled~label{opacity:.6}.switch label{position:relative;display:inline-block;width:2.5rem;height:1.5rem;border:.05rem solid #ddd;border-radius:2499.975rem;background-color:#fff;transition:.3s}.switch label:after{position:absolute;left:0;width:1.4rem;height:1.4rem;border:none;border-radius:50%;background-color:#fff;box-shadow:0 .125rem .125rem -1px rgba(0,0,0,.2),0 0 0 .05rem #ddd;content:"";transition:.4s}.overlay{position:fixed;background:#000;opacity:0;left:0;top:0;width:100%;height:100%;z-index:1000}.overlay-fade-in{opacity:.5;transition:opacity .1s linear}.overlay-fade-out{opacity:0;transition:opacity .1s linear}.overlay-in{opacity:.5}.overlay-in,.overlay-out{transition:opacity .1s linear}.overlay-out{opacity:0}.modal{position:absolute;margin:0 auto;background:#fcfcfc;width:12.8rem;z-index:1001}.modal h2{font-size:.8rem;text-align:center;margin-top:1.25rem;margin-bottom:0}.modal p{font-size:.525rem;text-align:center;margin-top:.5rem;margin-bottom:1.2rem}.modal hr{border:none;border-top:1px solid #e0e0e0;margin:0}.modal .button-group{display:flex;flex-direction:row;justify-content:space-around;align-items:stretch;height:2.2rem}.modal .button-group a.modal-button{flex:1;align-self:center;text-align:center;color:#3790de;font-size:.75rem}.modal .button-group :not(:first-child){border-left:1px solid #e0e0e0}.animation-target{animation:b 1s linear both}@keyframes b{0%{transform:matrix(.5,0,0,.5,0,0)}4.3%{transform:matrix(.757,0,0,.757,0,0)}8.61%{transform:matrix(.939,0,0,.939,0,0)}12.91%{transform:matrix(1.026,0,0,1.026,0,0)}17.22%{transform:matrix(1.047,0,0,1.047,0,0)}28.33%{transform:matrix(1.01,0,0,1.01,0,0)}39.44%{transform:matrix(.997,0,0,.997,0,0)}61.66%{transform:matrix(1,0,0,1,0,0)}83.98%{transform:matrix(1,0,0,1,0,0)}to{transform:matrix(1,0,0,1,0,0)}}@keyframes c{0%{transform:scale(1);opacity:1}45%{transform:scale(.1);opacity:.7}80%{transform:scale(1);opacity:1}}.loading{position:fixed;top:50%;left:50%;margin-top:-.5rem;margin-left:-1.5rem;width:3.2rem;height:1rem;z-index:1001}.loading>div{display:inline-block;margin:.1rem;width:.75rem;height:.75rem;border-radius:100%;background:#fff}.loading>div:nth-child(1){animation:c .75s .12s infinite cubic-bezier(.2,.68,.18,1.08)}.loading>div:nth-child(2){animation:c .75s .24s infinite cubic-bezier(.2,.68,.18,1.08)}.loading>div:nth-child(3){animation:c .75s .36s infinite cubic-bezier(.2,.68,.18,1.08)}.example.color{display:inline-block;width:.45rem;height:.45rem;border:1px solid #999}.example.color.black{background:#000}.example.color.white{background:#fff}.example.color.red{background:#ff081c}.example.color.green{background:#1ed96c}.example.color.grey{background:#b0b0b0}.example.color.blue{background:#3790de}.my-page{color:#444;background:#f0f0f0}.my-page a{color:#000}.my-page .user-info{display:block;position:relative;padding:0 .75rem;color:#000;font-size:.85rem;line-height:3.45rem;height:11.725rem;text-align:center;background:url(../assets/img/home/header-bg.png?v15625fddb68);background-size:cover}.my-page .user-info .user-avatar{display:inline-block;position:relative;top:2.25rem;width:5rem;height:5rem;border-radius:50%;border:.15rem solid #a7a8a9;background:url(../assets/img/home/user-icon.png?v15625fddb68);background-size:100%}.my-page .user-info .username{display:inline-block;padding:0 .4rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:.8rem;max-width:6.5rem}.my-page .login-btn{display:inline-block;top:1rem;left:4.85rem;width:6.1rem;height:2.05rem;line-height:2.05rem;color:#fff;border:.1rem solid #fff;margin:3.75rem auto}.my-page .my-order{margin-bottom:.75rem;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;background:#fff}.my-page .my-order .order-title{display:block;padding:0 .725rem;font-size:.85rem;line-height:2.2rem}.my-page .my-order .order-title .read-order{color:#b0b0b0;font-size:.75rem;float:right}.my-page .my-order .order-title.highlight{background:#eee}.my-page .my-order .order-type{padding:.5rem .75rem;text-align:center;border-top:1px solid #e0e0e0}.my-page .my-order .order-type .icon{font-size:1.125rem}.my-page .my-order .order-type .type-item{position:relative;float:left;color:#444;font-size:.6rem;line-height:1.5;width:4.25rem}.my-page .my-order .order-type .type-item .num{position:absolute;top:-.875rem;right:.5rem;width:1.8rem;height:1.8rem;font-size:.85rem;line-height:1.8rem;color:#fff;background:#f03d35;text-align:center;border-radius:50%;transform:scale(.5)}.my-page .my-order .order-type .type-item.highlight{background:#eee}.my-page .group-list{margin-bottom:.75rem;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;background:#fff}.my-page .group-list .list-item{display:block;position:relative;padding:0 .75rem;font-size:.85rem;line-height:2.25rem;overflow:hidden}.my-page .group-list .list-item.highlight{background:#eee}.my-page .group-list .list-item:after{content:"";position:absolute;right:0;bottom:0;width:100%;height:0;border-top:1px solid #f0f0f0}.my-page .group-list .list-item:last-child:after{content:none}.my-page .group-list .icon{margin-right:.125rem;font-size:.85rem;vertical-align:top}.my-page .group-list .num{color:#b0b0b0;float:right}.help,.help ul{overflow:hidden;width:100%;height:auto}.help ul{display:block;margin:0;padding-left:0;border-top:1px solid #e0e0e0}.help ul li{float:right;overflow:hidden;width:100%;height:2rem;border-bottom:1px solid #e0e0e0;color:#444;list-style:none;font-size:.7rem;line-height:2.1rem}.help ul li a:visited{color:#444}.help ul li span{float:left;overflow:hidden;padding-left:5%;width:90%;height:100%}.help ul li i{color:#e0e0e0}.help ul li:last-of-type{border-bottom:none}.help .iconfont{color:#fff}.help-detail-page{margin-right:.75rem;margin-left:.75rem}.yoho-suggest-sub-page{width:100%;height:100%;background:#f6f6f6}.yoho-suggest-sub-page .suggest-sub-form{background:#fff;width:100%}.yoho-suggest-sub-page .suggest-sub-form #suggest-textarea{box-sizing:border-box;width:100%;max-width:100%;min-width:100%;height:10.5rem;max-height:6.375rem;min-height:6.375rem;padding:.75rem;font-size:.65rem;line-height:1.2rem;color:#000;display:block;background:#fff;border:none;outline:none;resize:none}.yoho-suggest-sub-page #submit-button{width:2.5rem;height:1rem;border:1px solid #e0e0e0}.yoho-favorite-page{width:100%;height:auto}.yoho-favorite-page .fav-content .fav-type{display:block}.yoho-favorite-page .fav-content .fav-product-list{padding-left:.5rem;list-style:none}.yoho-favorite-page .fav-content .fav-product-list li{height:5.125rem;overflow:hidden;margin-top:.5rem}.yoho-favorite-page .fav-content .fav-product-list .fav-del-left{display:none;float:left;width:1.25rem;height:100%}.yoho-favorite-page .fav-content .fav-product-list .fav-del-left .fav-del-span{display:inline-block;width:.875rem;height:.875rem;margin-right:.375rem;margin-top:2rem;background:url(../assets/img/home/fav/fav-del.png?v15625fddb68);background-size:100%}.yoho-favorite-page .fav-content .fav-product-list .delshow{display:block}.yoho-favorite-page .fav-content .fav-product-list .fav-del-right{position:absolute;top:0;right:-3.15rem;background:#ff3b30;width:3.15rem;height:5rem;text-align:center}.yoho-favorite-page .fav-content .fav-product-list .fav-del-right .fav-del-btn{display:inline-block;width:.875rem;height:1.075rem;margin-top:1.25rem;background:url(../assets/img/home/fav/fav-del-btn.png?v15625fddb68);background-size:100%}.yoho-favorite-page .fav-content .fav-product-list .fav-del-right .fav-del-txt{font-size:.6rem;color:#fff}.yoho-favorite-page .fav-content .fav-product-list .fav-img-box{width:3.8rem;height:5.075rem;float:left;margin-right:.6rem}.yoho-favorite-page .fav-content .fav-product-list .fav-img-box img{display:block;overflow:hidden;width:100%;height:100%}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list{color:#444;font-size:.6rem;border-bottom:1px solid #e0e0e0;padding-bottom:.5rem;margin-right:.125rem;height:5.075rem;overflow:hidden;position:relative}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .title{width:10.75rem;text-overflow:ellipsis;font-size:.7rem;margin:0}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .fav-price{margin-top:.5rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .new-price{color:#d1021c;font-size:.6rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .price-underline{text-decoration:line-through;margin-left:.375rem;color:#b0b0b0;font-size:.6rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .save-price{position:absolute;bottom:.5rem;left:0;width:100%;min-height:.6rem}.yoho-favorite-page .fav-content .fav-product-list .fav-info-list .sell-out{float:right;padding:.125rem .45rem;color:#b0b0b0;border-radius:.5rem;font-size:.55rem}.yoho-favorite-page .fav-content .fav-null{font-size:.55rem;color:#444;display:block;margin-top:2.5rem;text-align:center}.yoho-favorite-page .fav-content .fav-null:before{content:"";display:block;width:4.7rem;height:4.275rem;background:url(../assets/img/home/fav/fav-null.png?v15625fddb68);background-size:100% 100%;margin:0 auto 1.125rem}.yoho-favorite-page .fav-content .go-shopping{width:11.8rem;height:2.2rem;line-height:2.2rem;margin:2rem auto 0;background:#444;text-align:center;color:#fff;display:block;font-size:.65rem;border-radius:.2rem}.yoho-favorite-brand-page{width:100%;height:auto}.yoho-favorite-brand-page .fav-content .fav-type{display:block}.yoho-favorite-brand-page .fav-content .fav-brand-list{padding-left:.5rem;list-style:none}.yoho-favorite-brand-page .fav-content .fav-brand-list li{height:3.375rem;overflow:hidden;margin-top:.5rem;border-bottom:1px solid #e0e0e0}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-left{display:none;float:left;width:1.25rem;height:100%}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-left .fav-del-span{display:inline-block;width:.875rem;height:.875rem;margin-right:.375rem;margin-top:1.25rem;background:url(../assets/img/home/fav/fav-del.png?v15625fddb68);background-size:100%}.yoho-favorite-brand-page .fav-content .fav-brand-list .delshow{display:block}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-right{position:absolute;top:0;right:-3.15rem;background:#ff3b30;width:3.15rem;height:3.125rem;text-align:center}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-right .fav-del-btn{display:inline-block;width:.875rem;height:1.075rem;margin-top:.75rem;background:url(../assets/img/home/fav/fav-del-btn.png?v15625fddb68);background-size:100%}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-del-right .fav-del-txt{font-size:.6rem;color:#fff}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-img-box{width:4rem;height:3.125rem;float:left;margin-right:.6rem}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-img-box img{display:block;overflow:hidden;width:100%;height:100%}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-info-list{color:#444;font-size:.6rem;padding-bottom:.25rem;margin-right:.25rem;margin-top:.875rem;height:2.5rem;overflow:hidden;position:relative}.yoho-favorite-brand-page .fav-content .fav-brand-list .fav-info-list .title{width:10.75rem;color:#b0b0b0;text-overflow:ellipsis;font-size:.85rem;margin:0}.yoho-favorite-brand-page .fav-content .fav-brand-list span.down{float:right;padding:.125rem .45rem;color:#fffefe;background:#b0b0b0;border-radius:.5rem;font-size:.55rem}.yoho-favorite-brand-page .fav-content .fav-null{font-size:.55rem;color:#444;display:block;margin-top:2.5rem;text-align:center}.yoho-favorite-brand-page .fav-content .fav-null:before{content:"";display:block;width:4.7rem;height:4.275rem;background:url(../assets/img/home/fav/fav-null.png?v15625fddb68);background-size:100% 100%;margin:0 auto 1.125rem}.yoho-favorite-brand-page .fav-content .go-shopping{width:11.8rem;height:2.2rem;line-height:2.2rem;margin:2rem auto 0;background:#444;text-align:center;color:#fff;display:block;font-size:.65rem;border-radius:.2rem}.about-us{width:100%;height:100%;background:#fff}.about-us .description{top:30%;width:10.275rem;height:1.875rem;background:url(../assets/img/home/about-us-tip.png?v15625fdd398) no-repeat;background-size:100%}.about-us .description,.about-us .icon-container{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto}.about-us .icon-container{top:43%}.about-us .blk-icon{background:url(../assets/img/home/app-icon.png?v15625fdd780) no-repeat;width:4.5rem;height:4.5rem}.about-us .blk-icon,.about-us .icon-label{left:0;right:0;margin-left:auto;margin-right:auto}.about-us .icon-label{margin-top:.25rem;font-size:.75rem}.about-us p{text-align:center;font-size:.6rem;font-family:BrownStd Regular}.yoho-coin{background:#f6f6f6;padding-top:.5rem}.yoho-coin .coin-total{padding:.875rem 0;background:#fff;text-align:center}.yoho-coin .coin-total p:first-child{font-size:.85rem}.yoho-coin .coin-total p:nth-child(2){font-size:1.95rem;color:#4a90e2;line-height:2rem}.yoho-coin .coin-total p:last-child{color:#b0b0b0;font-size:.7rem}.yoho-coin .coin-detail{margin-top:1rem}.yoho-coin .coin-detail>p:first-child{padding:0 .75rem;font-size:.7rem;color:#b0b0b0}.yoho-coin .coin-detail .coin-detail-list{padding:0 .75rem;background:#fff;border-top:1px solid #eee;border-bottom:1px solid #eee}.yoho-coin .coin-detail .coin-detail-list li{display:flex;padding:.5rem 0;border-bottom:1px solid #eee}.yoho-coin .coin-detail .coin-detail-list li:last-child{border-bottom:0 none}.yoho-coin .coin-detail .coin-detail-list .coin-source{flex:1}.yoho-coin .coin-detail .coin-detail-list .coin-source p{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis;height:1.2em;line-height:1.25;overflow:hidden;font-size:.85rem;margin-right:1.5rem}.yoho-coin .coin-detail .coin-detail-list .coin-source time{display:block;margin-top:.125rem;font-size:.7rem;color:#b0b0b0}.yoho-coin .coin-detail .coin-detail-list .coin-num{font-size:.85rem;line-height:2.3rem}.logistics-page{width:100%}.logistics-page .edit-logistics-page{width:100%;color:#d0d0d0}.logistics-page .edit-logistics-page .edit-logistics{display:inline-block;margin-top:.5rem;padding:0 .75rem;width:100%;background:#fff;font-size:.75rem;line-height:2.2rem}.logistics-page .edit-logistics-page .edit-logistics label{display:block;position:relative;color:#000;font-size:.85rem;border-bottom:1px solid #e0e0e0}.logistics-page .edit-logistics-page .edit-logistics label .company-val{direction:rtl;margin-right:.25rem}.logistics-page .edit-logistics-page .edit-logistics label .icon{margin-top:.675rem;margin-right:.25rem;float:right}.logistics-page .edit-logistics-page .edit-logistics label:last-of-type:after{content:none}.logistics-page .edit-logistics-page .edit-logistics input{position:absolute;top:0;right:1rem;width:9rem;height:2.15rem;color:#444;padding:0;border:none;-webkit-appearance:none}.logistics-page .edit-logistics-page .edit-logistics .num{width:11rem;text-align:right}.logistics-page .edit-logistics-page .submit{position:fixed;bottom:.5rem;width:92%;margin:0 4%;height:2.5rem;color:#fff;background:#000;text-align:center;font-size:.7rem;line-height:2.5rem}.logistics-page .edit-logistics-page .submit.highlight{background:rgba(0,0,0,.6)}.logistics-page .companylist-page{width:100%;color:#d0d0d0}.logistics-page .companylist-page .search-input{position:relative;text-align:center;padding:.4rem;border-bottom:1px solid #e6e6e6}.logistics-page .companylist-page .search-input input{height:1.4rem;width:100%;padding-left:.625rem;border-radius:.5rem;font-size:.55rem;color:#b0b0b0;background:#eee;border:none}.logistics-page .companylist-page .search-input input::-webkit-input-placeholder{text-align:center}.logistics-page .companylist-page .search-input input:-ms-input-placeholder{text-align:center}.logistics-page .companylist-page .company-data{color:#000;margin-left:.75rem}.logistics-page .companylist-page .company-data .company-item .tag{height:1.25rem;line-height:1.25rem;font-size:.85rem;border-bottom:1px solid #f3f3f3}.logistics-page .companylist-page .company-data .company-item span{display:block;height:2.25rem;line-height:2.25rem;font-size:.85rem;border-bottom:1px solid #f3f3f3}
This diff could not be displayed because it is too large.
1 -webpackJsonp([15],{0:function(e,t,r){"use strict";var o=r(2),n=r(18),s=r(319);r(6),o.use(n),new o({el:"#share",components:{shareBox:s}})},6:function(e,t,r){"use strict";var o=r(2);o.filter("resize",function(e,t,r,o){return e?e.replace(/(\{width}|\{height}|\{mode})/g,function(e){var n={"{width}":t,"{height}":r,"{mode}":o||2};return n[e]}):""}),o.filter("clothingGenderIdentity",function(e){var t=null;switch(e){case 1:t="男款";break;case 2:t="女款";break;default:t="通用"}return t}),o.filter("brandUrl",function(e){return"/brand?domain="+e}),o.filter("convertOrderState",function(e){var t="";switch("undefined"==typeof e&&(e=parseInt(e,10)),e){case 0:t="待付款";break;case 1:t="待发货";break;case 2:t="待发货";break;case 3:t="待发货";break;case 4:t="待收货";break;case 5:t="待发货";break;case 6:t="已完成";break;default:t=""}return t}),o.filter("convertTime",function(e){if("undefined"!=typeof e){var t=new Date(1e3*parseFloat(e)),r=t.getFullYear()+"-",o=(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-",n=t.getDate()+" ",s=t.getHours()+":",a=t.getMinutes()+":",i=t.getSeconds();return r+o+n+s+a+i}})},196:function(e,t){"use strict";e.exports={data:function(){return{close:!1}},methods:{closeBottom:function(){this.close=!0}}}},197:function(e,t,r){"use strict";var o=r(318);e.exports={data:function(){return{brandName:"COLORMAD",brandBg:"http://7xwj52.com1.z0.glb.clouddn.com/brandbg.jpg",brandIntro:"COLORMAD坚持女性的时尚美丽不应为牺牲健康为代价,以健康,时尚,科技为理念,研发健康无伤害的新概念甲油。"}},components:{shareBottom:o}}},249:function(e,t){},250:function(e,t){},284:function(e,t){e.exports=' <div class="share-bottom clearfix" v-bind:class="{ \'hidden\': close }"> <span class="icon close" @click=closeBottom()>&#xe609;</span> <img v-lazy=""> <a href=javascript:; class=new-user>新用户送千元礼包</a> <a href=http://m.yohoblk.com class=download>立即下载</a> </div> '},285:function(e,t){e.exports=' <div class=brand-share> <div class=brand-top-box v-bind:style="{ \'background-image\': `url(${brandBg})` }"></div> <div class=brand-title>{{ brandName }}</div> <div class=brand-intro>{{ brandIntro }}</div> <div class=tip>进入 BLK 选购潮品</div> <div class=arrow>i</div> <img v-lazy="brandBg | resize 752 365"> </div> <share-bottom></share-bottom> '},318:function(e,t,r){var o,n;r(249),o=r(196),n=r(284),e.exports=o||{},e.exports.__esModule&&(e.exports=e.exports["default"]),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)},319:function(e,t,r){var o,n;r(250),o=r(197),n=r(285),e.exports=o||{},e.exports.__esModule&&(e.exports=e.exports["default"]),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)}});  
  1 +webpackJsonp([15],{0:function(e,t,o){"use strict";var r=o(2),n=o(18),s=o(319);o(6),r.use(n),new r({el:"#share",components:{shareBox:s}})},6:function(e,t,o){"use strict";var r=o(2);r.filter("resize",function(e,t,o,r){return e?e.replace(/(\{width}|\{height}|\{mode})/g,function(e){var n={"{width}":t,"{height}":o,"{mode}":r||2};return n[e]}):""}),r.filter("clothingGenderIdentity",function(e){var t=null;switch(e){case 1:t="男款";break;case 2:t="女款";break;default:t="通用"}return t}),r.filter("brandUrl",function(e){return"/brand?domain="+e}),r.filter("convertOrderState",function(e){var t="";switch("undefined"==typeof e&&(e=parseInt(e,10)),e){case 0:t="待付款";break;case 1:t="待发货";break;case 2:t="待发货";break;case 3:t="待发货";break;case 4:t="待收货";break;case 5:t="待发货";break;case 6:t="已完成";break;default:t=""}return t}),r.filter("convertTime",function(e){if("undefined"!=typeof e){var t=new Date(1e3*parseFloat(e)),o=t.getFullYear()+"-",r=(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-",n=t.getDate()+" ",s=t.getHours()+":",a=t.getMinutes()+":",i=t.getSeconds();return o+r+n+s+a+i}})},196:function(e,t){"use strict";e.exports={data:function(){return{close:!1}},methods:{closeBottom:function(){this.close=!0}}}},197:function(e,t,o){"use strict";var r=o(318);e.exports={data:function(){return{brandName:"COLORMAD",brandBg:"http://7xwj52.com1.z0.glb.clouddn.com/brandbg.jpg",brandIntro:"COLORMAD坚持女性的时尚美丽不应为牺牲健康为代价,以健康,时尚,科技为理念,研发健康无伤害的新概念甲油。"}},components:{shareBottom:r}}},249:function(e,t){},250:function(e,t){},284:function(e,t){e.exports=' <div class="share-bottom clearfix" v-bind:class="{ \'hidden\': close }"> <span class="icon close" @click=closeBottom()>&#xe609;</span> <img v-lazy=""> <a href=javascript:; class=new-user>新用户送千元礼包</a> <a href=http://m.yohoblk.com class=download>立即下载</a> </div> '},285:function(e,t){e.exports=' <div class=brand-share> <div class=brand-top-box v-bind:style="{ \'background-image\': `url(${brandBg})` }"></div> <div class=brand-title>{{ brandName }}</div> <div class=brand-intro>{{ brandIntro }}</div> <div class=tip>进入 BLK 选购潮品</div> <div class="icon arrow">&#xe602;</div> <img v-lazy="brandBg | resize 752 365"> </div> <share-bottom></share-bottom> '},318:function(e,t,o){var r,n;o(249),r=o(196),n=o(284),e.exports=r||{},e.exports.__esModule&&(e.exports=e.exports["default"]),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)},319:function(e,t,o){var r,n;o(250),r=o(197),n=o(285),e.exports=r||{},e.exports.__esModule&&(e.exports=e.exports["default"]),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)}});
1 -webpackJsonp([9],{0:function(t,o,e){"use strict";var n=e(2),i=e(18),s=e(50),r=e(320);n.use(i),n.use(s),new n({el:"#shop",components:{shopBox:r}})},4:function(t,o,e){(function(o){"use strict";function e(t){var e=void 0,n={mask:!1,delay:2e3,txt:""};"string"==typeof t?o.extend(n,{txt:t}):o.extend(n,t);var i='<div class="tip-box"><div class="tip">'+n.txt+"</div></div>",s=o(".tip-box");s.length&&(e=s.data("timer"),clearTimeout(e),s.remove());var r=o(i).appendTo(document.body);r.data("timer",setTimeout(function(){r.remove()},n.delay))}t.exports=e}).call(o,e(1))},5:function(t,o,e){"use strict";var n=e(2),i=new n;t.exports=i},6:function(t,o,e){"use strict";var n=e(2);n.filter("resize",function(t,o,e,n){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var i={"{width}":o,"{height}":e,"{mode}":n||2};return i[t]}):""}),n.filter("clothingGenderIdentity",function(t){var o=null;switch(t){case 1:o="男款";break;case 2:o="女款";break;default:o="通用"}return o}),n.filter("brandUrl",function(t){return"/brand?domain="+t}),n.filter("convertOrderState",function(t){var o="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:o="待付款";break;case 1:o="待发货";break;case 2:o="待发货";break;case 3:o="待发货";break;case 4:o="待收货";break;case 5:o="待发货";break;case 6:o="已完成";break;default:o=""}return o}),n.filter("convertTime",function(t){if("undefined"!=typeof t){var o=new Date(1e3*parseFloat(t)),e=o.getFullYear()+"-",n=(o.getMonth()+1<10?"0"+(o.getMonth()+1):o.getMonth()+1)+"-",i=o.getDate()+" ",s=o.getHours()+":",r=o.getMinutes()+":",a=o.getSeconds();return e+n+i+s+r+a}})},24:function(t,o,e){"use strict";var n=e(5);t.exports={props:{disableFetch:Boolean,data:Array},computed:{whenEmpty:function(){return!this.data.length}},methods:{fetch:function(){n.$emit("list.paging")}}}},28:function(t,o){},30:function(t,o){t.exports=' <div class=goods-box v-infinite-scroll=fetch() infinite-scroll-disable=disableFetch> <ul class="cardlist card-large clearfix"> <li class=card v-for="item in data"> <div class=card-pic> <a href=/product/{{item.productId}}> <img v-lazy="item.goodsList[0].imagesUrl | resize 372 499" alt={{item.productName}}> </a> </div> <div class=card-bd> <h2 class=card-label> <a href=/product/{{item.productId}} class=line-clamp-2>{{item.productName}}</a> </h2> <span class=good-price :class="{\'old-price\': item.marketPrice}" v-if=item.marketPrice>¥ {{item.marketPrice}}</span> <span class=good-price :class="{\'sale-price\': item.marketPrice}">¥ {{item.salesPrice}}</span> </div> </li> </ul> <p class="cardlist--loading text-center" v-show=inLoading>正在加载...</p> <p class="cardlist--end text-center" v-show="atEnd ">--End--</p> </div> '},31:function(t,o,e){var n,i;e(28),n=e(24),i=e(30),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},113:function(t,o){"use strict";t.exports={props:{on:Boolean}}},114:function(t,o,e){"use strict";var n=e(1),i=e(5);t.exports={props:{config:Object},data:function(){return{params:{},selected:{}}},watch:{},methods:{clearVals:function(){this.$set("params",{})},setCateParams:function(t,o){this.$set("params."+t,o)},okAction:function(){i.$emit("filter.change",{val:this.params,ref:this._uid})},entrySub:function(t){i.$emit("filter.sub.show",{val:t,ref:this._uid})}},filters:{unifyTxt:function(t,o){var e="",i=[],s=n.noop;return n.isArray(t)&&(s=function(t,e){i.push(e[o+"Name"])}),n.each(t,s),e=i.join(",")},txt:function(t){var o={color:"Color颜色",gender:"Gender性别",size:"Size尺寸",brand:"Brand品牌",priceRange:"Price价格",groupSort:"Category品类",discount:"Sale折扣"};return o[t]||""}}}},124:function(t,o,e){"use strict";var n=e(4),i={isApp:/yh_blk/i.test((navigator.userAgent||"").toLowerCase()),data:window.yohoInterfaceData,goTap:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.tab",arguments:t}):n("暂不支持,请在BLK应用中打开")},goLogin:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.login",arguments:t}):n("暂不支持,请在BLK应用中打开")},goLogout:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.loginout",arguments:t}):n("暂不支持,请在BLK应用中打开")},goShopingKey:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.shoppingkey",arguments:t}):n("暂不支持,请在BLK应用中打开")},goShopingCart:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.shopingCart",arguments:t}):n("暂不支持,请在BLK应用中打开")},goAddress:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.address",arguments:t}):n("暂不支持,请在BLK应用中打开")},goImageBrowser:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.imageBrowser",arguments:t}):n("暂不支持,请在BLK应用中打开")},goNewPage:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.newPage",arguments:t}):n("暂不支持,请在BLK应用中打开")},goPay:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.pay",arguments:t}):n("暂不支持,请在BLK应用中打开")},goBack:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.back",arguments:t}):n("暂不支持,请在BLK应用中打开")},goShare:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.share",arguments:t}):n("暂不支持,请在BLK应用中打开")},goSearch:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.search",arguments:t}):n("暂不支持,请在BLK应用中打开")},goSetting:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.setting",arguments:t}):n("暂不支持,请在BLK应用中打开")},addNativeMethod:function(t,o){window.yohoInterface[t]=o}};t.exports=i},130:function(t,o){},131:function(t,o){},141:function(t,o){t.exports=" <div class=drawer :class=\"{'drawer-open': on }\" v-show=on> <div class=drawer-main v-el:main> <slot></slot> </div> </div> "},142:function(t,o){t.exports=' <div class=filter> <div class=filter-actions> <a href=javascript:; class=filter-action @click=clearVals>清空</a> <button class="button button-small filter-action" @click=okAction>确定</button> </div> <div class=filter-params> <ul class=filter-cates> <li class=filter-cate v-for="classify in config" @click=entrySub($key)> <i class="icon icon-right right"></i> <span class=filter-cate-label>{{$key | txt }}</span> <span class=filter-cate-val>{{params[$key] | unifyTxt $key }}</span> </li> </ul> </div> </div> '},151:function(t,o,e){var n,i;e(130),n=e(113),i=e(141),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},152:function(t,o,e){var n,i;e(131),n=e(114),i=e(142),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},198:function(t,o,e){(function(o){"use strict";var n=e(1),i=e(38),s=e(5),r=e(4),a=e(322),c=e(321),p=e(31),f=e(151),u=e(152);e(6),t.exports={data:function(){return{domain:i.domain,shareData:{},shopInfo:{},sortConfig:o.sortConfig,filterConfig:o.filterConfig,url:"/product/get-brand-shop-goods",sort:"",filter:{},page:0,totalPage:3,productList:[],inSearching:!1}},watch:{domain:function(){this.getShopInfo()},sort:function(){this.research()},filter:function(){this.research()}},methods:{getShopInfo:function(){var t=this;n.get({url:"/product/get-shop-info",data:{domain:this.domain}}).done(function(o){o?(t.shopInfo=o,t.shopInfo.showBrandInfo=!0,t.shareData={title:o.brandName,link:"/brand-share?domain="+t.domain,img:o.brandBg}):t.shopInfo.showBrandInfo=!1}).fail(function(){r("网络错误")})},getProductList:function(){var t=this,o={};n.ajax({url:this.url,data:o}).done(function(o){t.productList=o.data.productList}).fail(function(){r("网络错误")})},search:function(){var t=this,o=this;this.inSearching||this.page&&this.page+1>this.totalPage||(this.inSearching=!0,this.page++,n.post(this.url,{sort:this.sort,filter:this.filter,page:this.page}).done(function(o){t.productList=o.data.productList}).fail(function(t){o.page--,console.log(t)}).always(function(){o.inSearching=!1}))},openFilterSub:function(){console.log("TODO: open filter sub")},research:function(){this.page=0,this.$set("productList",[]),this.search()}},components:{topBar:a,shopTop:c,goodsList:p,drawer:f,filter:u},created:function(){this.getShopInfo(),s.$on("list.paging",function(){this.search()}),s.$on("sort.change",function(t){var o=t.val;console.log(o),this.sort=o}),s.$on("filter.change",function(t){var o=t.val;console.log(o),this.filter=o,this.$refs.drawer.on=!1}),s.$on("filter.sub.show",function(t){var o=t.val;this.openFilterSub(o)})}}}).call(o,function(){return this}())},199:function(t,o){"use strict";t.exports={props:{shopInfo:{type:Object}},data:function(){return{showMore:!1}},methods:{introTrans:function(){this.showMore=this.showMore!==!0}}}},200:function(t,o,e){"use strict";var n=e(124),i=e(1),s=e(4);t.exports={props:{shareData:{type:Object}},methods:{goShare:function(){n.goShare(this.shareData,function(){},function(){})},goBack:function(){n.goBack({},function(){},function(){})},collectShop:function(){var t=this,o={shopId:this.shareData.shopId,isFav:this.shareData.isFav};i.post({url:"/collect-shop",data:o}).done(function(o){200===o.code?t.shareData.isFav=t.shareData.isFav!==!0:s("网络错误")}).fail(function(){s("网络错误")})},showFilter:function(){}}}},251:function(t,o){},252:function(t,o){},286:function(t,o){t.exports=" <top-bar v-bind:share-data=shareData></top-bar> <shop-top v-bind:shop-info=shopInfo></shop-top> <goods-list v-bind:data=productList></goods-list> <drawer v-ref:drawer> <filter :config.once=filterConfig></filter> </drawer> "},287:function(t,o){t.exports=' <div v-if=shopInfo.showBrandInfo class=brand-top-box v-bind:style="{ \'background-image\': `url(${shopInfo.brandBg})` }"> <div class=brand-bottom> <img v-if=shopInfo.showBrandLogo v-lazy=brandIntro.brandLogo alt="{{ shopInfo.brandName }}"> <div v-else class=brand-title>{{ shopInfo.brandName }}</div> <hr> <div v-show=showMore transition=brand-intro v-bind:class="{ \'brand-short\': !showMore }">{{ shopInfo.brandIntro }}</div> </div> <div v-if=!showMore class="showmore expand" @click=introTrans()><span class=icon>&#xe602;</span></div> <div v-else class="showmore collapse" @click=introTrans()><span class=icon>&#xe617;</span></div> </div> '},288:function(t,o){t.exports=' <div class="top-box clearfix"> <span class="icon back" @click=goBack()>&#xe606;</span> <div class=right> <span class=icon v-bind:class="{\'favorite\': shareData.isFav}" @click=collectShop()>&#xe609;</span> <span class="icon share" @click=goShare()>&#xe60e;</span> <span class="icon filter" @click=showFilter()>&#xe60b;</span> </div> </div> '},320:function(t,o,e){var n,i;n=e(198),i=e(286),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},321:function(t,o,e){var n,i;e(251),n=e(199),i=e(287),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},322:function(t,o,e){var n,i;e(252),n=e(200),i=e(288),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)}});  
  1 +webpackJsonp([9],{0:function(t,o,e){"use strict";var n=e(2),i=e(18),s=e(50),r=e(320);n.use(i),n.use(s),new n({el:"#shop",components:{shopBox:r}})},4:function(t,o,e){(function(o){"use strict";function e(t){var e=void 0,n={mask:!1,delay:2e3,txt:""};"string"==typeof t?o.extend(n,{txt:t}):o.extend(n,t);var i='<div class="tip-box"><div class="tip">'+n.txt+"</div></div>",s=o(".tip-box");s.length&&(e=s.data("timer"),clearTimeout(e),s.remove());var r=o(i).appendTo(document.body);r.data("timer",setTimeout(function(){r.remove()},n.delay))}t.exports=e}).call(o,e(1))},5:function(t,o,e){"use strict";var n=e(2),i=new n;t.exports=i},6:function(t,o,e){"use strict";var n=e(2);n.filter("resize",function(t,o,e,n){return t?t.replace(/(\{width}|\{height}|\{mode})/g,function(t){var i={"{width}":o,"{height}":e,"{mode}":n||2};return i[t]}):""}),n.filter("clothingGenderIdentity",function(t){var o=null;switch(t){case 1:o="男款";break;case 2:o="女款";break;default:o="通用"}return o}),n.filter("brandUrl",function(t){return"/brand?domain="+t}),n.filter("convertOrderState",function(t){var o="";switch("undefined"==typeof t&&(t=parseInt(t,10)),t){case 0:o="待付款";break;case 1:o="待发货";break;case 2:o="待发货";break;case 3:o="待发货";break;case 4:o="待收货";break;case 5:o="待发货";break;case 6:o="已完成";break;default:o=""}return o}),n.filter("convertTime",function(t){if("undefined"!=typeof t){var o=new Date(1e3*parseFloat(t)),e=o.getFullYear()+"-",n=(o.getMonth()+1<10?"0"+(o.getMonth()+1):o.getMonth()+1)+"-",i=o.getDate()+" ",s=o.getHours()+":",r=o.getMinutes()+":",a=o.getSeconds();return e+n+i+s+r+a}})},24:function(t,o,e){"use strict";var n=e(5);t.exports={props:{disableFetch:Boolean,data:Array},computed:{whenEmpty:function(){return!this.data.length}},methods:{fetch:function(){n.$emit("list.paging")}}}},28:function(t,o){},30:function(t,o){t.exports=' <div class=goods-box v-infinite-scroll=fetch() infinite-scroll-disable=disableFetch> <ul class="cardlist card-large clearfix"> <li class=card v-for="item in data"> <div class=card-pic> <a href=/product/{{item.productId}}> <img v-lazy="item.goodsList[0].imagesUrl | resize 372 499" alt={{item.productName}}> </a> </div> <div class=card-bd> <h2 class=card-label> <a href=/product/{{item.productId}} class=line-clamp-2>{{item.productName}}</a> </h2> <span class=good-price :class="{\'old-price\': item.marketPrice}" v-if=item.marketPrice>¥ {{item.marketPrice}}</span> <span class=good-price :class="{\'sale-price\': item.marketPrice}">¥ {{item.salesPrice}}</span> </div> </li> </ul> <p class="cardlist--loading text-center" v-show=inLoading>正在加载...</p> <p class="cardlist--end text-center" v-show="atEnd ">--End--</p> </div> '},31:function(t,o,e){var n,i;e(28),n=e(24),i=e(30),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},113:function(t,o){"use strict";t.exports={props:{on:Boolean}}},114:function(t,o,e){"use strict";var n=e(1),i=e(5);t.exports={props:{config:Object},data:function(){return{params:{},selected:{}}},watch:{},methods:{clearVals:function(){this.$set("params",{})},setCateParams:function(t,o){this.$set("params."+t,o)},okAction:function(){i.$emit("filter.change",{val:this.params,ref:this._uid})},entrySub:function(t){i.$emit("filter.sub.show",{val:t,ref:this._uid})}},filters:{unifyTxt:function(t,o){var e="",i=[],s=n.noop;return n.isArray(t)&&(s=function(t,e){i.push(e[o+"Name"])}),n.each(t,s),e=i.join(",")},txt:function(t){var o={color:"Color颜色",gender:"Gender性别",size:"Size尺寸",brand:"Brand品牌",priceRange:"Price价格",groupSort:"Category品类",discount:"Sale折扣"};return o[t]||""}}}},124:function(t,o,e){"use strict";var n=e(4),i={isApp:/yh_blk/i.test((navigator.userAgent||"").toLowerCase()),data:window.yohoInterfaceData,goTap:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.tab",arguments:t}):n("暂不支持,请在BLK应用中打开")},goLogin:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.login",arguments:t}):n("暂不支持,请在BLK应用中打开")},goLogout:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.loginout",arguments:t}):n("暂不支持,请在BLK应用中打开")},goShopingKey:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.shoppingkey",arguments:t}):n("暂不支持,请在BLK应用中打开")},goShopingCart:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.shopingCart",arguments:t}):n("暂不支持,请在BLK应用中打开")},goAddress:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.address",arguments:t}):n("暂不支持,请在BLK应用中打开")},goImageBrowser:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.imageBrowser",arguments:t}):n("暂不支持,请在BLK应用中打开")},goNewPage:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.newPage",arguments:t}):n("暂不支持,请在BLK应用中打开")},goPay:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.pay",arguments:t}):n("暂不支持,请在BLK应用中打开")},goBack:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.back",arguments:t}):n("暂不支持,请在BLK应用中打开")},goShare:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.share",arguments:t}):n("暂不支持,请在BLK应用中打开")},goSearch:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.search",arguments:t}):n("暂不支持,请在BLK应用中打开")},goSetting:function(t,o,e){this.isApp?window.yohoInterface.triggerEvent(o||function(){},e||function(){},{method:"go.setting",arguments:t}):n("暂不支持,请在BLK应用中打开")},addNativeMethod:function(t,o){window.yohoInterface&&(window.yohoInterface[t]=o)}};t.exports=i},130:function(t,o){},131:function(t,o){},141:function(t,o){t.exports=" <div class=drawer :class=\"{'drawer-open': on }\" v-show=on> <div class=drawer-main v-el:main> <slot></slot> </div> </div> "},142:function(t,o){t.exports=' <div class=filter> <div class=filter-actions> <a href=javascript:; class=filter-action @click=clearVals>清空</a> <button class="button button-small filter-action" @click=okAction>确定</button> </div> <div class=filter-params> <ul class=filter-cates> <li class=filter-cate v-for="classify in config" @click=entrySub($key)> <i class="icon icon-right right"></i> <span class=filter-cate-label>{{$key | txt }}</span> <span class=filter-cate-val>{{params[$key] | unifyTxt $key }}</span> </li> </ul> </div> </div> '},151:function(t,o,e){var n,i;e(130),n=e(113),i=e(141),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},152:function(t,o,e){var n,i;e(131),n=e(114),i=e(142),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},198:function(t,o,e){(function(o){"use strict";var n=e(1),i=e(38),s=e(5),r=e(4),a=e(322),c=e(321),p=e(31),f=e(151),u=e(152);e(6),t.exports={data:function(){return{domain:i.domain,shareData:{},shopInfo:{},sortConfig:o.sortConfig,filterConfig:o.filterConfig,url:"/product/get-brand-shop-goods",sort:"",filter:{},page:0,totalPage:3,productList:[],inSearching:!1}},watch:{domain:function(){this.getShopInfo()},sort:function(){this.research()},filter:function(){this.research()}},methods:{getShopInfo:function(){var t=this;n.get({url:"/product/get-shop-info",data:{domain:this.domain}}).done(function(o){o?(t.shopInfo=o,t.shopInfo.showBrandInfo=!0,t.shareData={title:o.brandName,link:"/brand-share?domain="+t.domain,img:o.brandBg}):t.shopInfo.showBrandInfo=!1}).fail(function(){r("网络错误")})},getProductList:function(){var t=this,o={};n.ajax({url:this.url,data:o}).done(function(o){t.productList=o.data.productList}).fail(function(){r("网络错误")})},search:function(){var t=this,o=this;this.inSearching||this.page&&this.page+1>this.totalPage||(this.inSearching=!0,this.page++,n.post(this.url,{sort:this.sort,filter:this.filter,page:this.page}).done(function(o){t.productList=o.data.productList}).fail(function(t){o.page--,console.log(t)}).always(function(){o.inSearching=!1}))},openFilterSub:function(){console.log("TODO: open filter sub")},research:function(){this.page=0,this.$set("productList",[]),this.search()}},components:{topBar:a,shopTop:c,goodsList:p,drawer:f,filter:u},created:function(){this.getShopInfo(),s.$on("list.paging",function(){this.search()}),s.$on("sort.change",function(t){var o=t.val;console.log(o),this.sort=o}),s.$on("filter.change",function(t){var o=t.val;console.log(o),this.filter=o,this.$refs.drawer.on=!1}),s.$on("filter.sub.show",function(t){var o=t.val;this.openFilterSub(o)})}}}).call(o,function(){return this}())},199:function(t,o){"use strict";t.exports={props:{shopInfo:{type:Object}},data:function(){return{showMore:!1}},methods:{introTrans:function(){this.showMore=this.showMore!==!0}}}},200:function(t,o,e){"use strict";var n=e(124),i=e(1),s=e(4);t.exports={props:{shareData:{type:Object}},methods:{goShare:function(){n.goShare(this.shareData,function(){},function(){})},goBack:function(){n.goBack({},function(){},function(){})},collectShop:function(){var t=this,o={shopId:this.shareData.shopId,isFav:this.shareData.isFav};i.post({url:"/collect-shop",data:o}).done(function(o){200===o.code?t.shareData.isFav=t.shareData.isFav!==!0:s("网络错误")}).fail(function(){s("网络错误")})},showFilter:function(){}}}},251:function(t,o){},252:function(t,o){},286:function(t,o){t.exports=" <top-bar v-bind:share-data=shareData></top-bar> <shop-top v-bind:shop-info=shopInfo></shop-top> <goods-list v-bind:data=productList></goods-list> <drawer v-ref:drawer> <filter :config.once=filterConfig></filter> </drawer> "},287:function(t,o){t.exports=' <div v-if=shopInfo.isBlkShop class=brand-top-box v-bind:style="{ \'background-image\': `url(${shopInfo.brandBg})` }"> <div class=brand-bottom> <img v-if=shopInfo.showBrandLogo v-lazy=brandIntro.brandLogo alt="{{ shopInfo.brandName }}"> <div v-else class=brand-title>{{ shopInfo.brandName }}</div> <hr> <div v-show=showMore transition=brand-intro v-bind:class="{ \'brand-short\': !showMore }">{{ shopInfo.brandIntro }}</div> </div> <div v-if=!showMore class="showmore expand" @click=introTrans()><span class=icon>&#xe602;</span></div> <div v-else class="showmore collapse" @click=introTrans()><span class=icon>&#xe617;</span></div> </div> '},288:function(t,o){t.exports=' <div class="top-box clearfix"> <span class="icon back" @click=goBack()>&#xe606;</span> <div class=right> <span class=icon v-bind:class="{\'favorite\': shareData.isFav}" @click=collectShop()>&#xe609;</span> <span class="icon share" @click=goShare()>&#xe60e;</span> <span class="icon filter" @click=showFilter()>&#xe60b;</span> </div> </div> '},320:function(t,o,e){var n,i;n=e(198),i=e(286),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},321:function(t,o,e){var n,i;e(251),n=e(199),i=e(287),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)},322:function(t,o,e){var n,i;e(252),n=e(200),i=e(288),t.exports=n||{},t.exports.__esModule&&(t.exports=t.exports["default"]),i&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=i)}});
  1 +/**
  2 + * Created by PhpStorm.
  3 + * User: Targaryen
  4 + * Date: 2016/7/26
  5 + * Time: 17:37
  6 + */
  7 +const Vue = require('yoho-vue');
  8 +const lazyload = require('yoho-vue-lazyload');
  9 +const infinitScroll = require('yoho-vue-infinite-scroll');
  10 +
  11 +const indexBox = require('news/index-box.vue');
  12 +
  13 +Vue.use(lazyload);
  14 +Vue.use(infinitScroll);
  15 +
  16 +new Vue({
  17 + el: '#index',
  18 + components: {
  19 + indexBox
  20 + }
  21 +});
@@ -249,7 +249,9 @@ const yoho = { @@ -249,7 +249,9 @@ const yoho = {
249 * @param callback 回调 249 * @param callback 回调
250 */ 250 */
251 addNativeMethod(name, callback) { 251 addNativeMethod(name, callback) {
252 - window.yohoInterface[name] = callback; 252 + if (window.yohoInterface) {
  253 + window.yohoInterface[name] = callback;
  254 + }
253 } 255 }
254 }; 256 };
255 257
@@ -19,8 +19,8 @@ @@ -19,8 +19,8 @@
19 }; 19 };
20 }, 20 },
21 components: { 21 components: {
22 - tab: tab,  
23 - resources: resources 22 + tab,
  23 + resources
24 }, 24 },
25 created() { 25 created() {
26 bus.$on('contentCode.change', (code) => { 26 bus.$on('contentCode.change', (code) => {
@@ -7,8 +7,14 @@ @@ -7,8 +7,14 @@
7 </template> 7 </template>
8 8
9 <script> 9 <script>
  10 + const cookie = require('yoho-cookie');
10 const bus = require('common/vue-bus'); 11 const bus = require('common/vue-bus');
11 - const channelMap = {}; 12 +
  13 + const channelMap = {
  14 + 301: 'men',
  15 + 302: 'women',
  16 + 303: 'lifestyle'
  17 + };
12 18
13 module.exports = { 19 module.exports = {
14 props: { 20 props: {
@@ -30,14 +36,14 @@ @@ -30,14 +36,14 @@
30 $.ajax({ 36 $.ajax({
31 url: '/channel/channel.json' 37 url: '/channel/channel.json'
32 }).then(res => { 38 }).then(res => {
33 - if (res.code === 200) { 39 + if (res.data.length) {
34 const channel = []; 40 const channel = [];
35 41
36 res.data.forEach(c => { 42 res.data.forEach(c => {
37 - channel.push[{ 43 + channel.push({
38 name: c.channelName, 44 name: c.channelName,
39 - channel: channelMap[c.channeId] || ''  
40 - }]; 45 + channel: channelMap[c.channelId] || ''
  46 + });
41 }); 47 });
42 48
43 this.channel = channel; 49 this.channel = channel;
@@ -48,6 +54,7 @@ @@ -48,6 +54,7 @@
48 changeChannel(index) { 54 changeChannel(index) {
49 this.current = index; 55 this.current = index;
50 bus.$emit('channel.change', this.page, this.channel[index].channel); 56 bus.$emit('channel.change', this.page, this.channel[index].channel);
  57 + cookie.set('_Channel', this.channel[index].channel);
51 } 58 }
52 } 59 }
53 }; 60 };
@@ -31,6 +31,14 @@ @@ -31,6 +31,14 @@
31 return { 31 return {
32 yoho 32 yoho
33 }; 33 };
  34 + },
  35 + created() {
  36 + yoho.addNativeMethod('headerRightTopBtn', function(data) {
  37 + alert('app 调用 H5 成功!');
  38 + if (data) {
  39 + alert('传递的信息是:' + data);
  40 + }
  41 + });
34 } 42 }
35 }; 43 };
36 </script> 44 </script>
  1 +<template>
  2 + <div></div>
  3 +</template>
  4 +<style>
  5 +</style>
  6 +<script>
  7 + module.exports = {
  8 + data() {
  9 + return {
  10 + msg: 'hello vue'
  11 + };
  12 + }
  13 + };
  14 +</script>
1 <template> 1 <template>
2 <div class="share-bottom clearfix" v-bind:class="{ 'hidden': close }"> 2 <div class="share-bottom clearfix" v-bind:class="{ 'hidden': close }">
3 -  
4 - <!-- TODO iconfont 要换-->  
5 - <span class="icon close" @click="closeBottom()">&#xe609;</span>  
6 - <img v-lazy=""> 3 + <span class="icon close" @click="closeBottom()">&#xe610;</span>
  4 + <span class="icon blk-icon">&#xe60f;</span>
7 <a href="javascript:;" class="new-user">新用户送千元礼包</a> 5 <a href="javascript:;" class="new-user">新用户送千元礼包</a>
8 <a href="http://m.yohoblk.com" class="download">立即下载</a> 6 <a href="http://m.yohoblk.com" class="download">立即下载</a>
9 </div> 7 </div>
@@ -30,10 +28,17 @@ @@ -30,10 +28,17 @@
30 float: left; 28 float: left;
31 } 29 }
32 30
  31 + .blk-icon {
  32 + margin-left: 50px;
  33 + margin-right: 20px;
  34 + float: left;
  35 + }
  36 +
33 a { 37 a {
34 border: #000 solid 2px; 38 border: #000 solid 2px;
35 padding: 10px; 39 padding: 10px;
36 border-radius: 40px; 40 border-radius: 40px;
  41 + float: left;
37 } 42 }
38 43
39 .new-user { 44 .new-user {
@@ -43,6 +48,7 @@ @@ -43,6 +48,7 @@
43 48
44 .download { 49 .download {
45 float: right; 50 float: right;
  51 + margin-right: 20px;
46 } 52 }
47 53
48 } 54 }
1 <template> 1 <template>
2 <div class="brand-share"> 2 <div class="brand-share">
3 - <div class="brand-top-box" v-bind:style="{ 'background-image': `url(${brandBg})` }"></div>  
4 - <div class="brand-title">{{ brandName }}</div>  
5 - <div class="brand-intro">{{ brandIntro }}</div> 3 + <div class="brand-top-box" v-bind:style="{ 'background-image': `url(${shopInfo.brandBg})` }"></div>
  4 + <div class="brand-title">{{ shopInfo.brandName }}</div>
  5 + <div class="brand-intro">{{ shopInfo.brandIntro }}</div>
6 <div class="tip">进入 BLK 选购潮品</div> 6 <div class="tip">进入 BLK 选购潮品</div>
7 - <div class="arrow">i</div>  
8 - <img v-lazy="brandBg | resize 752 365"> 7 + <div class="icon arrow">&#xe602;</div>
  8 + <a href="//m.yohoblk.com"><img v-lazy="shopInfo.brandBg | resize 752 365"></a>
9 </div> 9 </div>
10 <share-bottom></share-bottom> 10 <share-bottom></share-bottom>
11 </template> 11 </template>
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
15 width: 100%; 15 width: 100%;
16 height: 468px; 16 height: 468px;
17 color: #fff; 17 color: #fff;
18 - background-color: #000; 18 + background-color: #ccc;
19 position: relative; 19 position: relative;
20 } 20 }
21 21
@@ -54,20 +54,36 @@ @@ -54,20 +54,36 @@
54 </style> 54 </style>
55 <script> 55 <script>
56 const shareBottom = require('product/shop/share-bottom.vue'); 56 const shareBottom = require('product/shop/share-bottom.vue');
  57 + const qs = require('yoho-qs');
  58 + const tip = require('common/tip');
57 59
58 module.exports = { 60 module.exports = {
59 61
60 /* TODO 数据需要从接口获取 */ 62 /* TODO 数据需要从接口获取 */
61 data() { 63 data() {
62 return { 64 return {
63 - brandName: 'COLORMAD',  
64 - brandBg: 'http://7xwj52.com1.z0.glb.clouddn.com/brandbg.jpg',  
65 - brandIntro: 'COLORMAD坚持女性的时尚美丽不应为牺牲健康为代价,以健康,时尚,科技为理念,' +  
66 - '研发健康无伤害的新概念甲油。' 65 + shopInfo: {}
67 }; 66 };
68 }, 67 },
  68 + methods: {
  69 +
  70 + /* 获取店铺简介相关数据 */
  71 + getShopInfo() {
  72 + $.get({
  73 + url: '/product/get-shop-info',
  74 + data: { domain: qs.domain }
  75 + }).done(result => {
  76 + this.shopInfo = result;
  77 + }).fail(() => {
  78 + tip('网络错误');
  79 + });
  80 + }
  81 + },
69 components: { 82 components: {
70 shareBottom 83 shareBottom
  84 + },
  85 + created() {
  86 + this.getShopInfo();
71 } 87 }
72 }; 88 };
73 </script> 89 </script>
@@ -34,7 +34,9 @@ @@ -34,7 +34,9 @@
34 // query 34 // query
35 url: '/product/get-brand-shop-goods', 35 url: '/product/get-brand-shop-goods',
36 sort: '', 36 sort: '',
37 - filter: {}, 37 + filter: {
  38 + domain: qs.domain
  39 + },
38 page: 0, // page= 0 未搜索, 1 并且productList.length =0 没有数据, page = page_total 全部加载完 40 page: 0, // page= 0 未搜索, 1 并且productList.length =0 没有数据, page = page_total 全部加载完
39 totalPage: 3, 41 totalPage: 3,
40 42
@@ -46,9 +48,6 @@ @@ -46,9 +48,6 @@
46 }; 48 };
47 }, 49 },
48 watch: { 50 watch: {
49 - domain: function() {  
50 - this.getShopInfo();  
51 - },  
52 51
53 /* sort 和 filter 改变 都会触发 重新搜索 (想象成清空所有分页) */ 52 /* sort 和 filter 改变 都会触发 重新搜索 (想象成清空所有分页) */
54 sort: function() { 53 sort: function() {
@@ -71,8 +70,11 @@ @@ -71,8 +70,11 @@
71 this.shopInfo.showBrandInfo = true; 70 this.shopInfo.showBrandInfo = true;
72 this.shareData = { 71 this.shareData = {
73 title: result.brandName, 72 title: result.brandName,
74 - link: '/brand-share?domain=' + this.domain,  
75 - img: result.brandBg 73 + des: result.brandIntro,
  74 + url: '/product/brand-share?domain=' + this.domain,
  75 + img: result.brandBg,
  76 + shopId: result.shopId, // 不是分享的参数,收藏店铺使用
  77 + isFav: result.isFav // 不是分享的参数,收藏店铺使用
76 }; 78 };
77 } else { 79 } else {
78 this.shopInfo.showBrandInfo = false; 80 this.shopInfo.showBrandInfo = false;
@@ -81,18 +83,6 @@ @@ -81,18 +83,6 @@
81 tip('网络错误'); 83 tip('网络错误');
82 }); 84 });
83 }, 85 },
84 - getProductList() {  
85 - let data = {};  
86 -  
87 - $.ajax({  
88 - url: this.url,  
89 - data: data  
90 - }).done(result => {  
91 - this.productList = result.data.productList;  
92 - }).fail(() => {  
93 - tip('网络错误');  
94 - });  
95 - },  
96 search: function() { 86 search: function() {
97 const self = this; 87 const self = this;
98 88
@@ -141,8 +131,7 @@ @@ -141,8 +131,7 @@
141 }, 131 },
142 created() { 132 created() {
143 this.getShopInfo(); 133 this.getShopInfo();
144 -  
145 -// this.search(); 134 + this.search();
146 bus.$on('list.paging', function() { 135 bus.$on('list.paging', function() {
147 this.search(); 136 this.search();
148 }); 137 });
1 <template> 1 <template>
2 - <div v-if="shopInfo.showBrandInfo" class="brand-top-box" v-bind:style="{ 'background-image': `url(${shopInfo.brandBg})` }"> 2 + <div v-if="shopInfo.isBlkShop" class="brand-top-box" v-bind:style="{ 'background-image': `url(${shopInfo.brandBg})` }">
3 <div class="brand-bottom"> 3 <div class="brand-bottom">
4 <img v-if="shopInfo.showBrandLogo" v-lazy="brandIntro.brandLogo" alt="{{ shopInfo.brandName }}"> 4 <img v-if="shopInfo.showBrandLogo" v-lazy="brandIntro.brandLogo" alt="{{ shopInfo.brandName }}">
5 <div v-else class="brand-title">{{ shopInfo.brandName }}</div> 5 <div v-else class="brand-title">{{ shopInfo.brandName }}</div>
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
15 width: 100%; 15 width: 100%;
16 height: 468px; 16 height: 468px;
17 color: #fff; 17 color: #fff;
18 - background-color: #000; 18 + background-color: #ccc;
19 position: relative; 19 position: relative;
20 20
21 .brand-bottom { 21 .brand-bottom {
@@ -2,9 +2,10 @@ @@ -2,9 +2,10 @@
2 <div class="top-box clearfix"> 2 <div class="top-box clearfix">
3 <span class="icon back" @click="goBack()">&#xe606;</span> 3 <span class="icon back" @click="goBack()">&#xe606;</span>
4 <div class="right"> 4 <div class="right">
5 - <span class="icon" v-bind:class="{'favorite': shareData.isFav}" @click="collectShop()">&#xe609;</span>  
6 - <span class="icon share" @click="goShare()">&#xe60e;</span>  
7 - <span class="icon filter" @click="showFilter()">&#xe60b;</span> 5 + <span v-if="shareData.isFav" class="icon" @click="collectShop()">&#xe60d;</span>
  6 + <span v-else class="icon" @click="collectShop()">&#xe60c;</span>
  7 + <span class="icon" @click="goShare()">&#xe60e;</span>
  8 + <span class="icon" @click="showFilter()">&#xe60b;</span>
8 </div> 9 </div>
9 </div> 10 </div>
10 </template> 11 </template>
@@ -38,10 +39,6 @@ @@ -38,10 +39,6 @@
38 height: 60px; 39 height: 60px;
39 margin: 0 5px; 40 margin: 0 5px;
40 } 41 }
41 -  
42 - .favorite {  
43 - color: #000;  
44 - }  
45 } 42 }
46 } 43 }
47 </style> 44 </style>
@@ -59,6 +56,10 @@ @@ -59,6 +56,10 @@
59 }, 56 },
60 methods: { 57 methods: {
61 goShare() { 58 goShare() {
  59 +
  60 + // 删除两个多余的参数,两个参数是收藏时使用的
  61 + delete this.shareData.shopId;
  62 + delete this.shareData.isFav;
62 yoho.goShare(this.shareData, function() {}, function() {}); 63 yoho.goShare(this.shareData, function() {}, function() {});
63 }, 64 },
64 goBack() { 65 goBack() {
@@ -75,13 +76,12 @@ @@ -75,13 +76,12 @@
75 }; 76 };
76 77
77 $.post({ 78 $.post({
78 - url: '/collect-shop', 79 + url: '/product/collect-shop',
79 data: data 80 data: data
80 }).done(result => { 81 }).done(result => {
  82 + tip(result.message);
81 if (result.code === 200) { 83 if (result.code === 200) {
82 - this.shareData.isFav = this.shareData.isFav !== true;  
83 - } else {  
84 - tip('网络错误'); 84 + this.shareData.isFav = !this.shareData.isFav;
85 } 85 }
86 }).fail(() => { 86 }).fail(() => {
87 tip('网络错误'); 87 tip('网络错误');