diff --git a/components/diy_video/diy_video.js b/components/diy_video/diy_video.js index 9564a86..bb34cac 100644 --- a/components/diy_video/diy_video.js +++ b/components/diy_video/diy_video.js @@ -38,6 +38,8 @@ Component({ var arr = new Array(), arrs = new Array(); arr = text.split('vid='); /*console.log("截取vid后面的"+arr[1]);*/ + if(!arr || arr.length<=0 || !arr[1]) return false; + arrs = arr[1].split('"'); /* console.log("截取&前面的的"+arrs[0]);*/ var vipid = arrs[0]; diff --git a/pages/goods/goodsInfo/goodsInfo.js b/pages/goods/goodsInfo/goodsInfo.js index 2f2c3da..bf7e9c2 100644 --- a/pages/goods/goodsInfo/goodsInfo.js +++ b/pages/goods/goodsInfo/goodsInfo.js @@ -3750,9 +3750,9 @@ Page({ context.setFillStyle("white") context.fillText('强烈推荐', x1 + width+8*unit, y1-1*unit); - context.setFillStyle("black") - context.setFontSize(24 * unit) - context.fillText(getApp().globalData.config.store_name, 40 * unit, 130 * unit); + //context.setFillStyle("black") + //context.setFontSize(24 * unit) + //context.fillText(getApp().globalData.config.store_name, 40 * unit, 130 * unit); } } else { //--昵称---