Browse Source

上传

hfll
前端-胡立永 2 months ago
parent
commit
c55dc4a992
2 changed files with 5 additions and 5 deletions
  1. +1
    -1
      config.js
  2. +4
    -4
      pages_order/mine/promotion.vue

+ 1
- 1
config.js View File

@ -6,7 +6,7 @@ import uvUI from '@/uni_modules/uv-ui-tools'
Vue.use(uvUI);
// 当前环境
const type = 'local'
const type = 'test'
// 环境配置


+ 4
- 4
pages_order/mine/promotion.vue View File

@ -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 {


Loading…
Cancel
Save