submit
This commit is contained in:
parent
0d5038bffc
commit
731ad48407
@ -10,7 +10,7 @@
|
||||
<div class="wrap2">大运河博物馆纪念盲盒</div>
|
||||
</div>
|
||||
<div class="content2">
|
||||
<image src="https://cdns.fontree.cn/fonchain-main/prod/image/1833/avatar/76216159-e5a9-49ef-a6b3-6043924243e7.png"></image>
|
||||
<image src="https://cdns.fontree.cn/fonchain-main/prod/image/1833/avatar/13e8a0db-9dca-4bdf-89d5-5868ec7c96e0.png"></image>
|
||||
</div>
|
||||
<div class="content3" @click="goGet">领取兑换</div>
|
||||
<div class="content4"></div>
|
||||
@ -86,7 +86,7 @@ const goGet=async ()=>{
|
||||
"userName": userInfo().realName, //用户姓名
|
||||
"idCard": userInfo().idNum, //用户身份证号
|
||||
"phone": userInfo().telNum, //预约电话
|
||||
"blindBoxName": "博物馆开馆纪念盲盒", //盲盒名称
|
||||
"blindBoxName": "大运河博物馆纪念盲盒", //盲盒名称
|
||||
blindBoxPicUrl:'https://cdns.fontree.cn/fonchain-main/prod/image/1833/avatar/13e8a0db-9dca-4bdf-89d5-5868ec7c96e0.png'
|
||||
}
|
||||
const res=await extractingBlindBoxes(data)
|
||||
@ -258,6 +258,7 @@ const goGet=async ()=>{
|
||||
height: 82rpx;
|
||||
}
|
||||
.content2{
|
||||
overflow: hidden;
|
||||
margin-top: 12rpx;
|
||||
width: 100%;
|
||||
image{
|
||||
|
@ -53,9 +53,9 @@
|
||||
<div class="wrap1_1" style="background-color: #fff" v-if="item.isBlindBox===2">盲盒</div>
|
||||
<div class="wrap1_2">
|
||||
<div class="wrap1_2_1">{{item.ticketName}}</div>
|
||||
<div class="wrap1_2_2">预约场馆:{{item.venuesName}}</div>
|
||||
<div class="wrap1_2_2">预约日期:{{item.date?.replaceAll('/','.')}}</div>
|
||||
<div class="wrap1_2_2">预约类型:{{item.isBlindBox===1?'正常预约':'盲盒预约'}}</div>
|
||||
<div class="wrap1_2_2">兑换场馆:{{item.venuesName}}</div>
|
||||
<div class="wrap1_2_2">兑换日期:{{item.date?.replaceAll('/','.')}}</div>
|
||||
<div class="wrap1_2_2">预约数量:1</div>
|
||||
</div>
|
||||
<div class="wrap1_3" :style="{backgroundColor:item.isBlindBox===2?'#000':''}">
|
||||
<image @click="goViewVenues(item)" v-if="item.isBlindBox===1" src="../../static/zu762@3x.png" alt=""/>
|
||||
@ -160,8 +160,13 @@ const exchange=async (item)=>{
|
||||
console.log(res,'onSocketOpen')
|
||||
});
|
||||
uni.onSocketMessage((res)=>{
|
||||
|
||||
console.log('WebSocket接收到消息:', res.data);
|
||||
if (res.data==='start the camera'){
|
||||
uni.closeSocket()
|
||||
uni.navigateTo({
|
||||
url: '/pages/face-auth/index'
|
||||
})
|
||||
}
|
||||
console.log('WebSocket接收到消息:', res);
|
||||
|
||||
});
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
<div class="wrap1">
|
||||
<image src="../../static/zu1053@3x.png"></image>
|
||||
</div>
|
||||
<div class="wrap2">{{ticket.ticketName}}</div>
|
||||
<div class="wrap2">大运河博物馆</div>
|
||||
</div>
|
||||
<div class="content2">
|
||||
<image
|
||||
|
Loading…
Reference in New Issue
Block a user