3e60a276 by zhangmeng

购票修改

1 parent ff1d1919
...@@ -60,45 +60,55 @@ ...@@ -60,45 +60,55 @@
60 </van-count-down> 60 </van-count-down>
61 </div> 61 </div>
62 <div v-else> 62 <div v-else>
63 <!-- 时间 --> 63 <div v-if="matchForm.ticketLayout">
64 <span style="color: #493ceb;cursor:pointer"
65 @click="show=true">{{
66 language == 0 ? '查看场馆布局' : 'View Venue Layout'
67 }}</span>
68 <br>
69 <br>
70 </div>
71 <!-- 票档 -->
64 <div class="select_item_box"> 72 <div class="select_item_box">
65 <div class="label"> 73 <div class="label">
66 {{ triggerLanguage(language, "场次", "Session") }} 74 {{ triggerLanguage(language, "票档", "Tickets") }}
67 </div> 75 </div>
68 <div class="select_item"> 76 <div class="select_item">
69 <div 77 <div
70 v-for="(it, index) in tickList" 78 v-for="(it, index) in tickClass"
71 :key="index" 79 :key="index"
72 :class="[ 80 :class="[
73 it.id == selectForm.id ? 'tagActive' : 'tag', 81 it.id == selectForm.latId ? 'tagActive' : 'tag',
74 it.isView==0?'forbid':''
75 ]" 82 ]"
76 @click="selectTick(it)" 83 @click="select(it)"
77 > 84 >
78 {{ it.name }} <span v-if="it.ticketType==1" class="tao">{{ 85 {{ it.name }}
79 language == 0 ? '套票' : 'Package ticket'
80 }}</span>
81 </div> 86 </div>
82 </div> 87 </div>
83 </div> 88 </div>
84 <!-- 票档 --> 89
90 <!-- 时间 -->
85 <div class="select_item_box"> 91 <div class="select_item_box">
86 <div class="label"> 92 <div class="label">
87 {{ triggerLanguage(language, "票档", "Tickets") }} 93 {{ triggerLanguage(language, "场次", "Session") }}
88 </div> 94 </div>
89 <div class="select_item"> 95 <div class="select_item">
90 <div 96 <div
91 v-for="(it, index) in tickClass" 97 v-for="(it, index) in tickList"
92 :key="index" 98 :key="index"
93 :class="[ 99 :class="[
94 it.id == selectForm.latId ? 'tagActive' : 'tag', 100 it.id == selectForm.id ? 'tagActive' : 'tag',
101 it.isView==0?'forbid':''
95 ]" 102 ]"
96 @click="select(it)" 103 @click="selectTick(it)"
97 > 104 >
98 {{ it.name }} 105 {{ it.name }} <span v-if="it.ticketType==1" class="tao">{{
106 language == 0 ? '套票' : 'Package ticket'
107 }}</span>
99 </div> 108 </div>
100 </div> 109 </div>
101 </div> 110 </div>
111
102 <!-- 价格 --> 112 <!-- 价格 -->
103 <div class="select_item_box"> 113 <div class="select_item_box">
104 <div class="label"> 114 <div class="label">
...@@ -110,6 +120,17 @@ ...@@ -110,6 +120,17 @@
110 </div> 120 </div>
111 </div> 121 </div>
112 </div> 122 </div>
123 <!-- 购票备注-->
124 <div v-if="matchForm.ticketRemark" class="select_item_box">
125 <div class="label">
126 {{
127 triggerLanguage(language, '购票备注', "Ticket Purchase Note")
128 }}
129 </div>
130 <div class="select_item">
131 {{ matchForm.ticketRemark }}
132 </div>
133 </div>
113 134
114 <div v-if="endTime<=0" class="btn" style="margin-left: 40px;opacity: 0.5;cursor: not-allowed;" 135 <div v-if="endTime<=0" class="btn" style="margin-left: 40px;opacity: 0.5;cursor: not-allowed;"
115 @click="toSelectClosed"> 136 @click="toSelectClosed">
...@@ -135,6 +156,12 @@ ...@@ -135,6 +156,12 @@
135 </div> 156 </div>
136 <div v-show="active==1" class="rich_content" v-html="matchForm.ticketDes"/> 157 <div v-show="active==1" class="rich_content" v-html="matchForm.ticketDes"/>
137 <div v-show="active==2" class="rich_content" v-html="matchForm.ticketNotice"/> 158 <div v-show="active==2" class="rich_content" v-html="matchForm.ticketNotice"/>
159
160 <el-dialog v-model="show" title="" width="1000px">
161 <div>
162 <img :src="fillImgUrl(matchForm.ticketLayout)" alt="" style="width: 100%">
163 </div>
164 </el-dialog>
138 </div> 165 </div>
139 </div> 166 </div>
140 </template> 167 </template>
...@@ -157,6 +184,7 @@ const useStore = useUserStore() ...@@ -157,6 +184,7 @@ const useStore = useUserStore()
157 const user = computed(() => useUserStore().user) 184 const user = computed(() => useUserStore().user)
158 const route = useRoute(); 185 const route = useRoute();
159 const router = useRouter(); 186 const router = useRouter();
187 const show = ref(false)
160 const activeId = ref(route.params.activeId) 188 const activeId = ref(route.params.activeId)
161 const flag = ref(false) 189 const flag = ref(false)
162 const active = ref(1) 190 const active = ref(1)
...@@ -468,9 +496,12 @@ function toSelectClosed() { ...@@ -468,9 +496,12 @@ function toSelectClosed() {
468 margin-right: 15px; 496 margin-right: 15px;
469 } 497 }
470 498
471 .info {padding: 0; 499 .info {
500 padding: 0;
501
472 .title { 502 .title {
473 font-size: 14px;margin: 0; 503 font-size: 14px;
504 margin: 0;
474 } 505 }
475 506
476 .time, .address, .label, .tip { 507 .time, .address, .label, .tip {
...@@ -501,7 +532,9 @@ function toSelectClosed() { ...@@ -501,7 +532,9 @@ function toSelectClosed() {
501 font-size: 12px; 532 font-size: 12px;
502 } 533 }
503 } 534 }
504 .btn {display: inline-block; 535
536 .btn {
537 display: inline-block;
505 margin: 10px 0 0; 538 margin: 10px 0 0;
506 background: linear-gradient(270deg, #493ceb 0%, #8623fc 100%); 539 background: linear-gradient(270deg, #493ceb 0%, #8623fc 100%);
507 border-radius: 20px; 540 border-radius: 20px;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!