Commit ccd5f1004fca69f57b585709c258ff74952e3d19
1 parent
b82358ba
小程序自定义,要有商家名称
Showing
2 changed files
with
5 additions
and
3 deletions
components/diy_video/diy_video.js
... | ... | @@ -38,6 +38,8 @@ Component({ |
38 | 38 | var arr = new Array(), arrs = new Array(); |
39 | 39 | arr = text.split('vid='); |
40 | 40 | /*console.log("截取vid后面的"+arr[1]);*/ |
41 | + if(!arr || arr.length<=0 || !arr[1]) return false; | |
42 | + | |
41 | 43 | arrs = arr[1].split('"'); |
42 | 44 | /* console.log("截取&前面的的"+arrs[0]);*/ |
43 | 45 | var vipid = arrs[0]; | ... | ... |
pages/goods/goodsInfo/goodsInfo.js
... | ... | @@ -3750,9 +3750,9 @@ Page({ |
3750 | 3750 | context.setFillStyle("white") |
3751 | 3751 | context.fillText('强烈推荐', x1 + width+8*unit, y1-1*unit); |
3752 | 3752 | |
3753 | - context.setFillStyle("black") | |
3754 | - context.setFontSize(24 * unit) | |
3755 | - context.fillText(getApp().globalData.config.store_name, 40 * unit, 130 * unit); | |
3753 | + //context.setFillStyle("black") | |
3754 | + //context.setFontSize(24 * unit) | |
3755 | + //context.fillText(getApp().globalData.config.store_name, 40 * unit, 130 * unit); | |
3756 | 3756 | } |
3757 | 3757 | } else { |
3758 | 3758 | //--昵称--- | ... | ... |