|
|
@ -11,11 +11,11 @@ |
|
|
|
class="image" |
|
|
|
:src="promotionUrl" mode="aspectFill"></image> |
|
|
|
|
|
|
|
<canvas id="myCanvas" type="2d" canvas-id="firstCanvas1"></canvas> |
|
|
|
<!-- <canvas id="myCanvas" type="2d" canvas-id="firstCanvas1"></canvas> --> |
|
|
|
|
|
|
|
<view class="btn" |
|
|
|
v-if="imagePath" |
|
|
|
@click="preservationImg(imagePath)"> |
|
|
|
v-if="promotionUrl" |
|
|
|
@click="preservationImg(promotionUrl)"> |
|
|
|
保存到相册 |
|
|
|
</view> |
|
|
|
|
|
|
@ -234,7 +234,7 @@ import index from '../../uni_modules/uv-ui-tools' |
|
|
|
} |
|
|
|
.image{ |
|
|
|
width: 100%; |
|
|
|
height: calc(100vh - 300rpx); |
|
|
|
height: calc(100vh - 320rpx); |
|
|
|
} |
|
|
|
|
|
|
|
#myCanvas { |
|
|
|