Commit 72d8cd1f authored by youjie's avatar youjie

no message

parent ae709dfa
...@@ -36,41 +36,46 @@ ...@@ -36,41 +36,46 @@
margin-bottom: 0; margin-bottom: 0;
} }
.sty-box { .sty-box {
width: 750px; // width: 750px;
height: 1344px; // height: 1344px;
position: absolute; // position: fixed;
top: -2000px; // top: -2000px;
left: -1500px; // left: -1500px;
width: 500rpx;
height: 500rpx;
} }
</style> </style>
<template> <template>
<u-popup mode="center" border-radius="20" <view>
:popup="false" <u-popup mode="center" border-radius="20"
v-model="currencyVisible" :maskCloseAble="true" :popup="false"
length="80%" :safeAreaInsetBottom="true" v-model="currencyVisible" :maskCloseAble="true"
@close="close" :z-index="9999"> length="80%" :safeAreaInsetBottom="true"
<view class="orcodeBox"> @close="close" :z-index="9999">
<view class="Title PY30 color000 column justify-center items-center"> <view class="orcodeBox">
<text class="fz28">领队小程序码({{current+1}}/{{list.length}}</text> <view class="Title PY30 color000 column justify-center items-center">
<text class="fz24">{{ list[current].TCNUMS }}</text> <text class="fz28">领队小程序码({{current+1}}/{{list.length}}</text>
</view> <text class="fz24">{{ list[current].TCNUMS }}</text>
<view class="orcodeImg row items-center justify-center PX40"> </view>
<swiper indicator-dots circular style="height:500rpx;width:500rpx" <view class="orcodeImg row items-center justify-center PX40">
:current="current" @change="changeHandler"> <swiper indicator-dots circular style="height:500rpx;width:500rpx"
<swiper-item v-for="(item, index) in list" :key="index"> :current="current" @change="changeHandler">
<image mode="aspectFit" :src="item.Url" /> <swiper-item v-for="(item, index) in list" :key="index">
</swiper-item> <canvas canvas-id="TeamLeaderCanvas" class="sty-box" @error="canvasIdErrorCallback">
</swiper> <image mode="aspectFit" :src="item.Url" />
<!-- <img :src="list[0].Url"/> --> </canvas>
<!-- <image :src="list[0].Url" style="width: 500rpx;height: 500rpx;"/> --> </swiper-item>
</view> </swiper>
<view class="SureBox row MT40"> <!-- <img :src="list[0].Url"/> -->
<view class="flex1 PY20 text-center" @click="close">取消</view> <!-- <image :src="list[0].Url" style="width: 500rpx;height: 500rpx;"/> -->
<view class="flex1 PY20 text-center" @click="preservation">保存</view> </view>
</view> <view class="SureBox row MT40">
<canvas canvas-id="firstCanvas" class="sty-box" @error="canvasIdErrorCallback"></canvas> <view class="flex1 PY20 text-center" @click="close">取消</view>
</view> <view class="flex1 PY20 text-center" @click="preservation">保存</view>
</u-popup> </view>
</view>
</u-popup>
</view>
</template> </template>
<script> <script>
export default { export default {
...@@ -144,7 +149,7 @@ export default { ...@@ -144,7 +149,7 @@ export default {
}); });
let that = this; let that = this;
uni.canvasToTempFilePath({ uni.canvasToTempFilePath({
canvasId: "firstCanvas", canvasId: "TeamLeaderCanvas",
success: (res) => { success: (res) => {
uni.hideLoading(); uni.hideLoading();
uni.showLoading({ 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