e35d8ebc by zhangmeng

票务

1 parent d39c19a0
...@@ -98,6 +98,17 @@ ...@@ -98,6 +98,17 @@
98 </div> 98 </div>
99 </div> 99 </div>
100 </div> 100 </div>
101 <!-- 价格 -->
102 <div class="select_item_box">
103 <div class="label">
104 {{ triggerLanguage(language, '价格', "Price") }}
105 </div>
106 <div class="select_item">
107 <div class="tagActive" style="min-width: 80px">
108 {{ language == 0 ? '¥' : '€' }} {{ language == 0 ? selectForm.price : selectForm.priceEn }}
109 </div>
110 </div>
111 </div>
101 <!-- button --> 112 <!-- button -->
102 <div class="btn forPc" style="margin-left: 40px" @click="toSelectSeat()"> 113 <div class="btn forPc" style="margin-left: 40px" @click="toSelectSeat()">
103 {{ triggerLanguage(language, "添加观影人", "Add Moviegoers") }} 114 {{ triggerLanguage(language, "添加观影人", "Add Moviegoers") }}
...@@ -143,7 +154,9 @@ const matchForm = ref({}) ...@@ -143,7 +154,9 @@ const matchForm = ref({})
143 const tickClass = ref([]) 154 const tickClass = ref([])
144 const selectForm = ref({ 155 const selectForm = ref({
145 latId: null, 156 latId: null,
146 id: null 157 id: null,
158 price: '--',
159 priceEn: '--',
147 }) 160 })
148 const tickList = ref([]) 161 const tickList = ref([])
149 162
...@@ -186,7 +199,12 @@ function select(v) { ...@@ -186,7 +199,12 @@ function select(v) {
186 } 199 }
187 200
188 function selectTick(v) { 201 function selectTick(v) {
189 if (v.isView != 0) selectForm.value.id = v.id 202 if (v.isView != 0) {
203 selectForm.value.id = v.id
204 selectForm.value.price = v.price
205 selectForm.value.priceEn = v.priceEn
206 }
207
190 } 208 }
191 209
192 function toSelectSeat() { 210 function toSelectSeat() {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!