master
xingyy 9 months ago
parent c3ff3708c6
commit c015fe630d

@ -112,6 +112,7 @@
{ {
"path": "pages/view-venues/index", "path": "pages/view-venues/index",
"style": { "style": {
"navigationStyle": "custom",
"navigationBarTitleText": "", "navigationBarTitleText": "",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"app-plus": { "app-plus": {

@ -59,7 +59,7 @@
<div class="wrap1_2_2">预约类型:{{item.isBlindBox===1?'正常预约':'盲盒预约'}}</div> <div class="wrap1_2_2">预约类型:{{item.isBlindBox===1?'正常预约':'盲盒预约'}}</div>
</div> </div>
<div class="wrap1_3" :style="{backgroundColor:item.isBlindBox===2?'#000':''}"> <div class="wrap1_3" :style="{backgroundColor:item.isBlindBox===2?'#000':''}">
<image @click="goViewVenues" v-if="item.isBlindBox===1" src="../../static/zu762@3x.png" alt=""/> <image @click="goViewVenues(item)" v-if="item.isBlindBox===1" src="../../static/zu762@3x.png" alt=""/>
<image @click="exchange" v-if="item.isBlindBox===2" style="width: 79rpx;height: 34rpx" src="../../static/zu1216@3x.png" alt=""/> <image @click="exchange" v-if="item.isBlindBox===2" style="width: 79rpx;height: 34rpx" src="../../static/zu1216@3x.png" alt=""/>
</div> </div>
<tm-drawer hideHeader :width="510" :height="636" ref="calendarView" placement="center" v-model:show="showWin4"> <tm-drawer hideHeader :width="510" :height="636" ref="calendarView" placement="center" v-model:show="showWin4">
@ -157,7 +157,8 @@ const exchange=async ()=>{
showWin4.value=true showWin4.value=true
} }
} }
const goViewVenues = () => { const goViewVenues = (item) => {
uni.setStorageSync('ticket',item)
uni.navigateTo({ uni.navigateTo({
url: '/pages/view-venues/index' url: '/pages/view-venues/index'
}) })

@ -1,6 +1,9 @@
<template> <template>
<div class="large-container"> <div class="large-container">
<div class="content1"> <custom-title class="title-block" :title="ticket?.ticketName">
</custom-title>
<div class="content1" :style="{backgroundImage:`url(${ticket?.ticketCoverPic})`}">
<div class="wrap1" @click="dialog=true"> <div class="wrap1" @click="dialog=true">
<image src="../../static/zu1041@3x.png"></image> <image src="../../static/zu1041@3x.png"></image>
</div> </div>
@ -55,6 +58,7 @@
import {ref,nextTick} from 'vue' import {ref,nextTick} from 'vue'
const dialogRef=ref(null) const dialogRef=ref(null)
const dialog=ref(false) const dialog=ref(false)
const ticket= uni.getStorageSync('ticket')
const closeDialog=()=>{ const closeDialog=()=>{
dialog.value=false dialog.value=false

Loading…
Cancel
Save