|
|
|
@ -102,7 +102,7 @@ |
|
|
|
</skeleton> |
|
|
|
|
|
|
|
<view class="canvas-box"> |
|
|
|
<canvas style="width: 375px;height: 667px;position:fixed;top:9999px" canvas-id="mycanvas" /> |
|
|
|
<canvas style="width: 375px;height: 496px;position:fixed;top:9999px" canvas-id="mycanvas" /> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class='imagePathBox' v-if="maskHidden == true && imagePath" @click="maskHidden = false "> |
|
|
|
@ -279,7 +279,7 @@ |
|
|
|
}, |
|
|
|
createNewImg() { |
|
|
|
var that = this; |
|
|
|
var context = uni.createCanvasContext('mycanvas'); |
|
|
|
var context = uni.createCanvasContext('mycanvas', this); |
|
|
|
let goods = that.goods_detail; |
|
|
|
let title = goods.name; |
|
|
|
let price = '¥'+goods.specs[0].selling_price; |
|
|
|
|