Commit 65ab0be830cda163d557fad55b859b2ef22269e0
1 parent
078b63bf
商品详情页
Showing
1 changed file
with
1 additions
and
4 deletions
pages/goods/goodsInfo/goodsInfo.js
| ... | ... | @@ -2215,10 +2215,7 @@ Page({ |
| 2215 | 2215 | //---产品名称--- |
| 2216 | 2216 | //文本换行 参数:1、canvas对象,2、文本 3、距离左侧的距离 4、距离顶部的距离 5、6、文本的宽度 |
| 2217 | 2217 | console.log("ssssssss", th.data.data.goods_name); |
| 2218 | - | |
| 2219 | -f //文本换行 参数:1、canvas对象,2、文本 3、距离左侧的距离 4、距离顶部的距离 5、6、文本的宽度 | |
| 2220 | - console.log("ssssssss", th.data.data.goods_name); | |
| 2221 | - | |
| 2218 | + | |
| 2222 | 2219 | context.setFillStyle("black"); |
| 2223 | 2220 | context.setFontSize(21.3 * unit) |
| 2224 | 2221 | th.draw_Text(context, th.data.data.goods_name, | ... | ... |