Commit 72d8cd1f authored by youjie's avatar youjie

no message

parent ae709dfa
......@@ -36,14 +36,17 @@
margin-bottom: 0;
}
.sty-box {
width: 750px;
height: 1344px;
position: absolute;
top: -2000px;
left: -1500px;
// width: 750px;
// height: 1344px;
// position: fixed;
// top: -2000px;
// left: -1500px;
width: 500rpx;
height: 500rpx;
}
</style>
<template>
<view>
<u-popup mode="center" border-radius="20"
:popup="false"
v-model="currencyVisible" :maskCloseAble="true"
......@@ -58,7 +61,9 @@
<swiper indicator-dots circular style="height:500rpx;width:500rpx"
:current="current" @change="changeHandler">
<swiper-item v-for="(item, index) in list" :key="index">
<canvas canvas-id="TeamLeaderCanvas" class="sty-box" @error="canvasIdErrorCallback">
<image mode="aspectFit" :src="item.Url" />
</canvas>
</swiper-item>
</swiper>
<!-- <img :src="list[0].Url"/> -->
......@@ -68,9 +73,9 @@
<view class="flex1 PY20 text-center" @click="close">取消</view>
<view class="flex1 PY20 text-center" @click="preservation">保存</view>
</view>
<canvas canvas-id="firstCanvas" class="sty-box" @error="canvasIdErrorCallback"></canvas>
</view>
</u-popup>
</view>
</template>
<script>
export default {
......@@ -144,7 +149,7 @@ export default {
});
let that = this;
uni.canvasToTempFilePath({
canvasId: "firstCanvas",
canvasId: "TeamLeaderCanvas",
success: (res) => {
uni.hideLoading();
uni.showLoading({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment