|
|
|
|
@ -22,30 +22,30 @@
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="orderBoxTitle flex-row">
|
|
|
|
|
<text style="padding-top:25rpx" class="orderBoxTitleTxt">可扫“入馆码”入馆</text>
|
|
|
|
|
<text style="padding-top:25rpx" class="orderBoxTitleTxt">可扫“活动码”入场</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="orderBoxList p0">
|
|
|
|
|
<view class="orderBox">
|
|
|
|
|
|
|
|
|
|
<view v-if="info.type==1" class="orderBoxInfo flex-col ewmcode">
|
|
|
|
|
<text>入馆码:{{info.code}}-0</text>
|
|
|
|
|
<text>入场码:{{info.code}}-0</text>
|
|
|
|
|
<view>
|
|
|
|
|
<view class="imgs" >
|
|
|
|
|
<view :class="info.status!=1?'isuse':''">
|
|
|
|
|
<img v-if="info.status!=1" src="../../static/img/used.png" alt="">
|
|
|
|
|
<canvas canvas-id="qrcode" style="width: 300rpx;margin: 0 auto;" />
|
|
|
|
|
<canvas canvas-id="qrcode" style="width: 360rpx;height:350rpx;margin: 0 auto;" />
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- <text class="ewminfo">{{isuse?'已使用':'请前往现场核销订单二维码'}}</text> -->
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="info.type==2" class="orderBoxInfo flex-col ewmcode" :key='index' v-for="(item,index) in detailsinfo">
|
|
|
|
|
<text>入馆码:{{info.code}}-{{item.code}}</text>
|
|
|
|
|
<text>入场码:{{info.code}}-{{item.code}}</text>
|
|
|
|
|
<view>
|
|
|
|
|
<view class="imgs" >
|
|
|
|
|
<view :class="item.status!=1?'isuse':''">
|
|
|
|
|
<img v-if="item.status!=1" src="../../static/img/used.png" alt="">
|
|
|
|
|
<canvas :canvas-id="'qrcode'+index" style="width: 300rpx;margin: 0 auto;" />
|
|
|
|
|
<img v-if="item.status!=1" src="../../static/img/used.png" alt="">
|
|
|
|
|
<canvas :canvas-id="'qrcode'+index" style="width: 360rpx;height:350rpx;margin: 0 auto;" />
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<text class="orderBoxTitleTxt">{{item.name}}</text>
|
|
|
|
|
@ -118,8 +118,8 @@
|
|
|
|
|
canvasId: id,
|
|
|
|
|
componentInstance: this,
|
|
|
|
|
text: text,
|
|
|
|
|
size: 140,
|
|
|
|
|
margin: 10,
|
|
|
|
|
size: 200,
|
|
|
|
|
// margin: 10,
|
|
|
|
|
backgroundColor: '#ffffff',
|
|
|
|
|
foregroundColor: '#000000',
|
|
|
|
|
fileType: 'jpg',
|
|
|
|
|
@ -292,15 +292,16 @@
|
|
|
|
|
.imgs view{
|
|
|
|
|
position: relative;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
}
|
|
|
|
|
.imgs image {
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 120rpx;
|
|
|
|
|
height: 120rpx;
|
|
|
|
|
width: 200rpx;
|
|
|
|
|
height: 200rpx;
|
|
|
|
|
z-index: 999;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
right: 67rpx;
|
|
|
|
|
bottom: 39rpx;
|
|
|
|
|
right: 0rpx;
|
|
|
|
|
bottom: 0rpx;
|
|
|
|
|
}
|
|
|
|
|
.imgs canvas{
|
|
|
|
|
display: inline-block;
|
|
|
|
|
@ -308,6 +309,7 @@
|
|
|
|
|
}
|
|
|
|
|
.imgs text{
|
|
|
|
|
display: inline-block;
|
|
|
|
|
margin-left: 40rpx;
|
|
|
|
|
}
|
|
|
|
|
.imgs .isuse canvas{
|
|
|
|
|
opacity: .4;
|
|
|
|
|
|