|
|
|
@ -280,7 +280,7 @@ |
|
|
|
context.setTextAlign('center'); |
|
|
|
context.fillText(price,50, 450); |
|
|
|
|
|
|
|
console.log('长度',title.length) |
|
|
|
console.log('标题长度',title.length) |
|
|
|
if(title.length < 18 ) { |
|
|
|
context.fillText(title, 10, 350); |
|
|
|
}else if(18<title.length && title.length<36) { |
|
|
|
|