邓平艺 4 years ago
parent
commit
131f2d371a
  1. 5
      pages/goodsDetail/index.vue

5
pages/goodsDetail/index.vue

@ -298,14 +298,14 @@
console.log(title.substr(18,41)) console.log(title.substr(18,41))
let before = title.substr(0,18) let before = title.substr(0,18)
let last = title.substr(18,28) let last = title.substr(18,28)
let last1 = title.substr(36,title.length)
// let last1 = title.substr(36,title.length)
// //
context.setFontSize(20); context.setFontSize(20);
context.setFillStyle('#222'); context.setFillStyle('#222');
context.setTextAlign('left'); context.setTextAlign('left');
context.fillText(before, 10, 350); context.fillText(before, 10, 350);
context.fillText(last, 10, 374); context.fillText(last, 10, 374);
context.fillText(last1, 10, 398);
// context.fillText(last1, 10, 398);
} }
context.stroke(); context.stroke();
context.draw(); context.draw();
@ -617,7 +617,6 @@
position: fixed; position: fixed;
bottom: 0; bottom: 0;
left: 0; left: 0;
z-index: 9;
background-color: #FFFFFF; background-color: #FFFFFF;
width: 100%; width: 100%;
height: auto; height: auto;

Loading…
Cancel
Save