Authored by 毕凯

图片质量

  1 +0 info it worked if it ends with ok
  2 +1 verbose cli [ '/usr/local/Cellar/node@6/6.10.0/bin/node',
  3 +1 verbose cli '/usr/local/bin/npm',
  4 +1 verbose cli 'version',
  5 +1 verbose cli 'patch' ]
  6 +2 info using npm@3.10.10
  7 +3 info using node@v6.10.0
  8 +4 info git [ 'status', '--porcelain' ]
  9 +5 verbose stack Error: Git working directory not clean.
  10 +5 verbose stack M src/js/individuation.js
  11 +5 verbose stack at /usr/local/lib/node_modules/npm/lib/version.js:247:19
  12 +5 verbose stack at /usr/local/lib/node_modules/npm/lib/utils/no-progress-while-running.js:21:8
  13 +5 verbose stack at ChildProcess.exithandler (child_process.js:197:7)
  14 +5 verbose stack at emitTwo (events.js:106:13)
  15 +5 verbose stack at ChildProcess.emit (events.js:191:7)
  16 +5 verbose stack at maybeClose (internal/child_process.js:877:16)
  17 +5 verbose stack at Socket.<anonymous> (internal/child_process.js:334:11)
  18 +5 verbose stack at emitOne (events.js:96:13)
  19 +5 verbose stack at Socket.emit (events.js:188:7)
  20 +5 verbose stack at Pipe._handle.close [as _onclose] (net.js:498:12)
  21 +6 verbose cwd /Users/ccbikai/yoho/yoho-js-sdk
  22 +7 error Darwin 16.5.0
  23 +8 error argv "/usr/local/Cellar/node@6/6.10.0/bin/node" "/usr/local/bin/npm" "version" "patch"
  24 +9 error node v6.10.0
  25 +10 error npm v3.10.10
  26 +11 error Git working directory not clean.
  27 +11 error M src/js/individuation.js
  28 +12 error If you need help, you may report this error at:
  29 +12 error <https://github.com/npm/npm/issues>
  30 +13 verbose exit [ 1, true ]
@@ -12,7 +12,7 @@ let _replaceData = function(el, cond, data, wh, fp) { @@ -12,7 +12,7 @@ let _replaceData = function(el, cond, data, wh, fp) {
12 12
13 el.find('.brand-name').html(data.brand_name); 13 el.find('.brand-name').html(data.brand_name);
14 el.find('.product-detail').attr('href', `//m.yohobuy.com/product/pro_${data.product_id}_${data.goods_id}/${data.cn_alphabet}.html?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":${data.product_skn}}}`); 14 el.find('.product-detail').attr('href', `//m.yohobuy.com/product/pro_${data.product_id}_${data.goods_id}/${data.cn_alphabet}.html?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":${data.product_skn}}}`);
15 - el.find('.product-detail-img').attr('src', utils.image(data.default_images, wh.w, wh.h, 2, 60)); 15 + el.find('.product-detail-img').attr('src', utils.image(data.default_images, wh.w, wh.h, 2, 75));
16 el.find('.product-name').html(data.product_name); 16 el.find('.product-name').html(data.product_name);
17 el.find('.vip-price-val').html(${data.vip_price}`); 17 el.find('.vip-price-val').html(${data.vip_price}`);
18 el.find('.sale-price').html(${data.sales_price}`); 18 el.find('.sale-price').html(${data.sales_price}`);