details.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757
  1. <!--
  2. * @Description: 详情弹框
  3. * @Author: Sugar.
  4. * @Date: 2023-11-24 13:55:00
  5. * @LastEditors: gcz
  6. * @LastEditTime: 2024-03-15 15:13:27
  7. * @FilePath: \great_webui\src\views\order\groupBuyingMr\dialog\details.vue
  8. * @Copyright: Copyright (c) 2016~2023 by Sugar., All Rights Reserved.
  9. -->
  10. <template>
  11. <el-dialog
  12. title="订单详情"
  13. :visible.sync="open"
  14. width="96%"
  15. append-to-body
  16. :close-on-click-modal="false"
  17. @close="cancel"
  18. >
  19. <div v-loading="loading" class="dialog dialog-bbb" v-if="form">
  20. <div v-loading="loading_form"
  21. element-loading-text="加载详情中...">
  22. <!-- 基础信息 -->
  23. <div class="title-class" style="margin-top: 0">基础信息</div>
  24. <el-row>
  25. <el-col :span="12">
  26. <div class="grid-content bg-purple item-class">团队名称: <span>{{ form.teamName || ''}}</span></div>
  27. </el-col>
  28. <el-col :span="12">
  29. <div class="grid-content bg-purple item-class">团队类型: <span><dict-tag style="display: inline-block" :options="dict.type.team_type" :value="form.teamType"/></span></div>
  30. </el-col>
  31. <el-col :span="12">
  32. <div class="grid-content bg-purple item-class">预约场馆: <span>{{ form.theatreName || '' }}</span></div>
  33. </el-col>
  34. <el-col :span="12">
  35. <div class="grid-content bg-purple item-class">预约演出厅: <span>{{ form.auditoriumName || '' }}</span></div>
  36. </el-col>
  37. <el-col :span="12">
  38. <div class="grid-content bg-purple item-class">预约剧目: <span>{{ form.performName || '' }}</span></div>
  39. </el-col>
  40. <el-col :span="12">
  41. <div class="grid-content bg-purple item-class">票务名称: <span>{{ form.goodsName || '' }}</span></div>
  42. </el-col>
  43. <el-col :span="12">
  44. <div class="grid-content bg-purple item-class">座位类型: <span>{{ form.seatTypeName || '' }}</span></div>
  45. </el-col>
  46. <el-col :span="12">
  47. <div class="grid-content bg-purple item-class">团购单价: <span v-if="form.price">¥{{ form.price || '' }}/人</span></div>
  48. </el-col>
  49. <el-col :span="12">
  50. <div class="grid-content bg-purple item-class">预约时间: <span v-if="form.performDate">{{ form.performDate + " " || '' }}{{ form.performTimeStart +' --' || '' }}{{ form.performTimeEnd || '' }}</span></div>
  51. </el-col>
  52. <el-col :span="12">
  53. <div class="grid-content bg-purple item-class">报名时间: <span>{{ form.applyTime || '' }}</span></div>
  54. </el-col>
  55. <el-col :span="12">
  56. <div class="grid-content bg-purple item-class">客户负责人: <span>{{ form.teamContact || '' }}</span></div>
  57. </el-col>
  58. <el-col :span="12">
  59. <div class="grid-content bg-purple item-class">销售员: <span>{{ form.salerPerson || '' }}</span></div>
  60. </el-col>
  61. <el-col :span="12">
  62. <div class="grid-content bg-purple item-class">联系电话: <span>{{ form.teamMobile || '' }}</span></div>
  63. </el-col>
  64. <!-- <el-col :span="12">
  65. <div class="grid-content bg-purple item-class">支付总额: <span>¥{{ form.orderPrice || '' }}</span></div>
  66. </el-col> -->
  67. <el-col :span="12">
  68. <div class="grid-content bg-purple item-class">应收金额: <span>¥{{ form.orderPrice || form.orderPrice == 0 ? form.orderPrice : '' }}</span></div>
  69. </el-col>
  70. <el-col :span="12">
  71. <div class="grid-content bg-purple item-class">实收金额: <span>¥{{ form.realPrice || form.realPrice == 0 ? form.realPrice : '' }}</span></div>
  72. </el-col>
  73. <el-col :span="12">
  74. <div class="grid-content bg-purple item-class">团购人数: <span>{{ form.quantity || '' }}</span></div>
  75. </el-col>
  76. <el-col :span="12">
  77. <div class="grid-content bg-purple item-class">支付时间: <span>{{ form.payTime || '' }}</span></div>
  78. </el-col>
  79. <!-- <el-col :span="12">
  80. <div class="grid-content bg-purple item-class">支付方式: <span>{{ payWayList[form.payWay] || '' }}</span></div>
  81. </el-col>
  82. <el-col :span="12">
  83. <div class="grid-content bg-purple item-class">订单状态: <span>{{ statusList[form.status] || '' }}</span></div>
  84. </el-col> -->
  85. <el-col :span="12">
  86. <div class="grid-content bg-purple item-class" style="display: flex;">支付方式: <span
  87. style="display: block;margin-left: 5px;"><dict-tag :options="dict.type.pay_way_type"
  88. :value="form.payWay" /></span></div>
  89. </el-col>
  90. <el-col :span="12">
  91. <div class="grid-content bg-purple item-class" style="display: flex;">订单状态: <span
  92. style="display: block;margin-left: 5px;"><dict-tag :options="dict.type.order_status_type"
  93. :value="form.status" /></span></div>
  94. </el-col>
  95. <el-col :span="12">
  96. <div class="grid-content bg-purple item-class" style="display: flex;">是否成功开票: <span style="display: block;margin-left: 5px;">{{ form.ifSuccessInvoice=='1'?'是':'否' }}</span></div>
  97. </el-col>
  98. </el-row>
  99. <!-- 对公支付信息 -->
  100. <div v-if="form.payWay=='corporate'&&form.status>0&&form.corporate">
  101. <div class="title-class">对公支付信息</div>
  102. <el-row>
  103. <el-col :span="24">
  104. <div class="voucher-list">
  105. <el-image
  106. v-for="(item,index) in voucherUrl" :key="index"
  107. style="width: 100px; height: 100px"
  108. :src="item"
  109. :preview-src-list="voucherUrl">
  110. </el-image>
  111. </div>
  112. </el-col>
  113. <el-col class="pay-type-remark" :span="24">
  114. 对公支付备注:{{corporateRremark}}
  115. </el-col>
  116. </el-row>
  117. </div>
  118. <!-- 观影人员信息 -->
  119. <div class="title-class">观影人员信息</div>
  120. <el-row>
  121. <el-col :span="24">
  122. <el-table ref="tables" :data="form.viewersOrderList" border>
  123. <el-table-column label="序号" align="center" type="index" width="60"></el-table-column>
  124. <el-table-column label="姓名" align="center" prop="name" />
  125. <el-table-column label="身份证号码" align="center" prop="idCard" />
  126. <el-table-column label="核销状态" align="center">
  127. <template slot-scope="scope">
  128. <dict-tag :options="dict.type.order_status_type" :value="scope.row.status"/>
  129. <!-- <el-tag v-if="scope.row.qrcodeStatus == 0">未使用</el-tag>
  130. <el-tag v-if="scope.row.qrcodeStatus == 1" type="success">已使用</el-tag>
  131. <el-tag v-if="scope.row.qrcodeStatus == 2" type="info">过期</el-tag> -->
  132. </template>
  133. </el-table-column>
  134. <el-table-column label="核销时间" align="center" prop="useTime" />
  135. <el-table-column label="座位信息" align="center" prop="seatName" />
  136. <el-table-column label="座位类型" align="center" prop="seatTypeName" />
  137. </el-table>
  138. </el-col>
  139. </el-row>
  140. </div>
  141. <div class="dialog-bbb_2" v-loading="loading_seta" element-loading-text="加载座位图中...">
  142. <div class="seat-tool-box">
  143. <span class="demonstration">座位大小</span>
  144. <div class="seat-tool-box-slider">
  145. <el-slider v-model="scaleNum" :min="30" :max="100"></el-slider>
  146. </div>
  147. <div style="display: flex;margin-left: 20px;" v-if="seatMapList && JSON.stringify(seatMapList) != '{}'">
  148. <div>座位余量:</div>
  149. <div :key="index" v-for="(item, index) in seatTypeList" style="margin-left: 10px;align-items: center;">
  150. <span :style="{ color: item.color ? item.color : 'none' }">{{ item.name ? (item.name + '(剩余:' + (item.num || 0) + ')')
  151. :
  152. '暂未命名'}}</span>
  153. </div>
  154. </div>
  155. </div>
  156. <div class="seat-box" :style="{ '--scaleNum': scaleNum / 100 }">
  157. <!-- 选择座位 -->
  158. <div class="seat-list-box">
  159. <!-- 座位排版 -->
  160. <div id="seatbox-me" ref="seatbox" class="dialogss">
  161. <div class="dialogss-box"
  162. :style="{ width: width * (scaleNum / 100) + 'px', margin: justifyContent ? 'auto' : 'unset' }">
  163. <div style="width: 100%;position: absolute;" class="seat-box-class clearfix" v-if="seatMapList">
  164. <div class="seat-item-class-box" v-for="(item1, index1) in seatMapListKey" :key="item1.key">
  165. <div class="seat-item-class"
  166. :class="setSeatClass(item)"
  167. v-for="(item, index) in seatMapList[item1.key]"
  168. :style="{ backgroundColor: item.color ? item.color : 'none' }" @click.stop="seatClick(item)"
  169. :key="index">
  170. <p class="text-class">{{ item.status != 1 ? '不可售' : (item.name ? item.name : '暂未命名') }}</p>
  171. </div>
  172. </div>
  173. </div>
  174. </div>
  175. </div>
  176. <div style="margin-top: 5px; margin-left: 30px;display: flex;">
  177. <div style="flex-shrink: 0;">
  178. 已勾选:{{ seatSelectList.length }}个座位
  179. </div>
  180. </div>
  181. </div>
  182. </div>
  183. </div>
  184. </div>
  185. <!-- <span slot="footer" class="dialog-footer">
  186. <el-button type="primary" @click="cancel">关闭</el-button>
  187. </span> -->
  188. </el-dialog>
  189. </template>
  190. <script>
  191. import { getSelectById } from '@/api/order/groupBuyingMr'
  192. import { querySeatList } from '@/api/team/applicationMr'
  193. import { pageList as getSeatType } from '@/api/seatTypeMr/seatTypeMr'
  194. export default {
  195. name: "detailsDia",
  196. dicts: ['order_form_type', 'order_status_type', 'pay_way_type', 'personnel_type'],
  197. data() {
  198. return {
  199. title: "编辑",
  200. model: "EDIT",
  201. open: false,
  202. loading: false,
  203. form: {
  204. id: undefined
  205. },
  206. corporateRremark:'',
  207. performerVisible: false,
  208. performerList: [],
  209. refund: false,
  210. statusList: {
  211. 0: '待支付',
  212. 2: '超时取消',
  213. 3: '支付完成,待使用',
  214. 4: '退款中',
  215. 5: '己退款',
  216. 6: '退款失败',
  217. 7: '己使用',
  218. 8: '己超期',
  219. 9: '关闭',
  220. },
  221. payWayList: {
  222. 'cahsh': '现金',
  223. 'wecaht.applet': '微信小程序支付',
  224. 'alipay': '支付宝OTA',
  225. 'wecaht.h5': '微信公众号支付',
  226. 'meituan': '美团支付',
  227. 'corporate': '对公支付',
  228. },
  229. sourceList: {
  230. 1: '小程序',
  231. 2: '公众号',
  232. 3: '美团',
  233. 4: '携程',
  234. 5: '团购',
  235. },
  236. dataList: [],
  237. voucherUrl:[],
  238. merchantTheatreAuditoriumListS: [], // 演出厅
  239. merchantPerformTimeListS: [], // 场次
  240. querySeatListS: [], // 座位
  241. goodsPageListS: [], // 票务
  242. goodsPageListSAll: [], // 票务全部
  243. setList: [],
  244. seatMapList: {},
  245. seatMapListKey: [], // key
  246. seatSelectList: [],
  247. lockOrUnLockLoading: false,
  248. performId: '',// 剧目ID
  249. scaleNum: 30,
  250. width: 0,
  251. justifyContent: false,
  252. activeName: 'first',
  253. seatTypeList: [],
  254. loading_form: false,// 加载表单
  255. loading_seta: false, // 加载座位
  256. };
  257. },
  258. created() {
  259. this.getSeatTypeList()
  260. },
  261. methods: {
  262. /**
  263. * 打开弹框
  264. * @date 2023-11-22
  265. * @param {any} obj
  266. * @returns {any}
  267. */
  268. openDialog(title, obj, type) {
  269. this.open = true;
  270. this.querySeatListS = [];
  271. this.setList = [];
  272. this.seatSelectList = [];
  273. this.getSelectByIdApi(obj);
  274. },
  275. /** 获取详情 */
  276. async getSelectByIdApi(row) {
  277. try {
  278. //this.loading = true
  279. this.loading_form = true// 加载表单
  280. this.loading_seta = true // 加载座位
  281. const id = row.id
  282. let res = await getSelectById(id)
  283. this.seatSelectList = res.data.viewersOrderList
  284. this.form = res.data;
  285. if(res.data.corporate){
  286. this.voucherUrl = res.data.corporate.voucherUrl.split(',')||[];
  287. this.corporateRremark = res.data.corporate.remark;
  288. }
  289. this.loading_form = false// 加载表单
  290. let res1 = await querySeatList({
  291. auditoriumId: res.data.auditoriumId,
  292. //seatTypeId: res.data.seatTypeId,
  293. timeId: res.data.performTimeId,
  294. })
  295. this.querySeatListS = res1.data;
  296. this.setList = res1.data;
  297. if (this.setList && this.setList.length > 0) {
  298. this.setSeatMapListCopy(this.setList);
  299. }
  300. this.loading_seta = false// 加载表单
  301. this.loading = false
  302. } catch (error) {
  303. this.loading = false
  304. this.loading_form = false// 加载表单
  305. this.loading_seta = false // 加载座位
  306. }
  307. },
  308. /**
  309. * 关闭弹框
  310. * @date 2023-11-22
  311. * @returns {any}
  312. */
  313. cancel() {
  314. this.open = false;
  315. },
  316. // 设置座位集合
  317. setSeatMapListCopy(list) {
  318. if (list && list.length > 0) {
  319. let listCopy = {}
  320. let lisyCopy1 = {}
  321. let listNum = JSON.parse(JSON.stringify(this.seatTypeList))
  322. listNum.forEach((item, index) => {
  323. listNum[index]['num'] = 0
  324. })
  325. list.forEach(item => {
  326. item.isDisabled = (item.occupyStatus != null && (item.occupyStatus == 0 || item.occupyStatus == 1) ? true : false); // 座位是否已被选择
  327. item.isSelect = this.setIsSelect(item);
  328. if (item.rowNo) {
  329. listNum.forEach((item1, index) => {
  330. if (item1.id == item.seatTypeId && item.status == 1 && !item.occupyStatus) {
  331. listNum[index]['num'] = listNum[index]['num'] + 1
  332. }
  333. })
  334. if (listCopy['my' + item.rowNo]) {
  335. listCopy['my' + item.rowNo].push(item)
  336. } else {
  337. listCopy['my' + item.rowNo] = [item]
  338. }
  339. }
  340. })
  341. this.seatTypeList = JSON.parse(JSON.stringify(listNum))
  342. let width = 0
  343. let flog = 0
  344. let seatMapListKey = []
  345. Object.keys(listCopy).forEach((item) => {
  346. if (listCopy[item].length > flog) {
  347. flog = listCopy[item].length
  348. }
  349. seatMapListKey.push({
  350. key: item,
  351. sort: Number(item.replace('my', ''))
  352. })
  353. })
  354. seatMapListKey.sort((a, b) => {
  355. return a.sort - b.sort
  356. })
  357. this.seatMapListKey = seatMapListKey
  358. console.log("seatMapListKey=====", seatMapListKey)
  359. this.width = 70 * flog
  360. this.$nextTick(() => {
  361. if (this.$refs.seatbox) {
  362. var ele = document.getElementById('seatbox-me');
  363. console.log(ele.getBoundingClientRect().width); // 100
  364. if (this.width < ele.getBoundingClientRect().width) {
  365. this.justifyContent = true
  366. } else {
  367. //this.justifyContent = false
  368. this.justifyContent = true
  369. }
  370. //this.$refs.seatbox.scrollTo(this.width/4,0)
  371. }
  372. })
  373. console.log("list====", listCopy)
  374. this.seatMapList = JSON.parse(JSON.stringify(listCopy))
  375. }
  376. },
  377. setIsSelect(item) {
  378. if (!this.seatSelectList || this.seatSelectList.length == 0) {
  379. return false
  380. }
  381. let flog = false
  382. this.seatSelectList.forEach((item1, index1) => {
  383. if (item.id == item1.seatId) {
  384. flog = true
  385. }
  386. })
  387. return flog
  388. },
  389. /** 获取座位类型 说明 */
  390. getSeatTypeList() {
  391. getSeatType({
  392. pageNum: 1,
  393. pageSize: 999,
  394. })
  395. .then(response => {
  396. this.seatTypeList = response.data.rows;
  397. });
  398. },
  399. /** 座位状态 展示 */
  400. setSeatClass(item){
  401. let srt =
  402. this.setIsSelect(item)?'purchased-status':
  403. item.occupyStatus == 0 ? 'occupy-status' :
  404. item.occupyStatus == 1 ? 'occupy-status-no' :
  405. item.isDisabled || item.status != 1 ? 'disabled-class' :
  406. item.isSelect ? 'select-class' : ''
  407. console.log("srt=====",srt)
  408. return srt
  409. }
  410. },
  411. };
  412. </script>
  413. <style lang="scss" scoped>
  414. .dialog {
  415. width: 100%;
  416. height: 70vh;
  417. }
  418. .dialog {
  419. padding: 0 30px;
  420. .upload-btn {
  421. width: 100px;
  422. height: 100px;
  423. background-color: #fbfdff;
  424. border: dashed 1px #c0ccda;
  425. border-radius: 5px;
  426. i {
  427. font-size: 30px;
  428. margin-top: 20px;
  429. }
  430. &-text {
  431. margin-top: -10px;
  432. }
  433. }
  434. .avatar {
  435. cursor: pointer;
  436. }
  437. .title-class{
  438. font-size: 16px;
  439. font-weight: bold;
  440. color: black;
  441. margin-bottom: 20px;
  442. margin-top: 20px;
  443. }
  444. .item-class{
  445. margin-bottom: 20px;
  446. }
  447. }
  448. .voucher-list{
  449. display: grid;
  450. grid-template-columns: repeat(4, 1fr);
  451. gap: 24rpx;
  452. }
  453. .pay-type-remark{
  454. margin:14px 0;
  455. }
  456. .dialog-bbb {
  457. width: 100%;
  458. display: flex;
  459. --widdd: 700px;
  460. >div:first-child {
  461. width: var(--widdd);
  462. flex-shrink: 0;
  463. overflow-y: auto;
  464. padding: 0 0 10px 0;
  465. margin-right: 10px;
  466. }
  467. .dialog-bbb_2 {
  468. width: calc(100% - var(--widdd));
  469. height: 100%;
  470. }
  471. }
  472. .dialog-bbb_2 {
  473. .seat-tool-box {
  474. height: 20px;
  475. box-sizing: border-box;
  476. display: flex;
  477. align-items: center;
  478. white-space: nowrap;
  479. span {
  480. flex-shrink: 0;
  481. font-size: 12px;
  482. white-space: nowrap;
  483. }
  484. .seat-tool-box-slider {
  485. width: 100px;
  486. margin-left: 10px;
  487. }
  488. }
  489. .seat-box {
  490. width: 100%;
  491. height: calc(100% - 50px);
  492. box-sizing: border-box;
  493. display: flex;
  494. position: relative;
  495. .seat-list-box {
  496. width: 100%;
  497. height: 100%;
  498. box-sizing: border-box;
  499. position: relative;
  500. }
  501. .seat-select-box {
  502. width: 200px;
  503. height: 100%;
  504. flex-shrink: 0;
  505. box-sizing: border-box;
  506. padding: 0 5px;
  507. margin-left: 10px;
  508. border: 1px solid #ccc;
  509. border-radius: 10px;
  510. .seat-select-info {
  511. width: 100%;
  512. height: calc(100% - 60px);
  513. overflow: hidden;
  514. overflow-y: auto;
  515. .seat-select-item {
  516. border: 1px solid #ccc;
  517. margin-bottom: 5px;
  518. padding: 5px;
  519. border-radius: 5px;
  520. display: flex;
  521. justify-content: space-between;
  522. align-items: center;
  523. font-size: 12px;
  524. >div:first-child {
  525. display: flex;
  526. flex-direction: column;
  527. span:first-child {
  528. font-weight: 600;
  529. }
  530. }
  531. >div:last-child {
  532. span:first-child {
  533. color: #f56c6c;
  534. cursor: pointer;
  535. }
  536. }
  537. }
  538. .seat-select-color-item {
  539. display: flex;
  540. align-items: center;
  541. margin-bottom: 5px;
  542. >span:first-child {
  543. width: 20px;
  544. height: 20px;
  545. flex-shrink: 0;
  546. }
  547. >span:last-child {
  548. font-size: 16px;
  549. font-weight: 600;
  550. margin-left: 10px;
  551. }
  552. }
  553. }
  554. }
  555. }
  556. .seat-list-box::before {
  557. content: "舞台";
  558. position: absolute;
  559. left: 50%;
  560. transform: translateX(-50%);
  561. width: 300px;
  562. height: 30px;
  563. background-color: rgb(204, 204, 204, 0.5);
  564. font-size: 18px;
  565. font-weight: 600;
  566. display: flex;
  567. align-items: center;
  568. justify-content: center;
  569. border-radius: 0 0 20px 20px;
  570. z-index: 99;
  571. }
  572. .dialogss {
  573. padding: 30px 10px 10px;
  574. width: 100%;
  575. height: 100%;
  576. box-sizing: border-box;
  577. overflow: auto;
  578. border-radius: 10px;
  579. border: 1px solid #323333;
  580. .dialogss-box {
  581. position: relative;
  582. }
  583. .upload-btn {
  584. width: 100px;
  585. height: 100px;
  586. background-color: #fbfdff;
  587. border: dashed 1px #c0ccda;
  588. border-radius: 5px;
  589. i {
  590. font-size: 30px;
  591. margin-top: 20px;
  592. }
  593. &-text {
  594. margin-top: -10px;
  595. }
  596. }
  597. .avatar {
  598. cursor: pointer;
  599. }
  600. .title-class {
  601. font-size: 16px;
  602. font-weight: bold;
  603. color: black;
  604. margin-bottom: 20px;
  605. margin-top: 20px;
  606. }
  607. .item-class {
  608. margin-bottom: 20px;
  609. }
  610. .seat-box-class {
  611. padding: 5px;
  612. transform-origin: 50% 0;
  613. transform: scale(var(--scaleNum));
  614. box-sizing: border-box;
  615. .disabled-class {
  616. background-color: #aaabad;
  617. user-select: none;
  618. // pointer-events: none;
  619. cursor: not-allowed !important;
  620. }
  621. .select-class {
  622. //background-color: #e85353 !important;
  623. border: 5px solid #1890ff !important;
  624. // color: #eceaea !important;
  625. position: relative;
  626. }
  627. .purchased-status:after {
  628. content: "";
  629. display: block;
  630. position: absolute;
  631. top: 0;
  632. left: 0;
  633. width: 100%;
  634. height: 100%;
  635. background-color: rgba(0, 0, 0, 0.5);
  636. z-index: -1;
  637. background-image: url('../../../../assets/renyuan.png');
  638. background-size: 50% 50%;
  639. background-position: 50% 50%;
  640. background-repeat: no-repeat;
  641. z-index: 99;
  642. }
  643. .occupy-status:after {
  644. content: "";
  645. display: block;
  646. position: absolute;
  647. top: 0;
  648. left: 0;
  649. width: 100%;
  650. height: 100%;
  651. background-color: rgba(0, 0, 0, 0.3);
  652. z-index: -1;
  653. background-image: url('../../../../assets/jinzhi.png');
  654. background-size: 50% 50%;
  655. background-position: 50% 50%;
  656. background-repeat: no-repeat;
  657. z-index: 99;
  658. }
  659. .occupy-status {
  660. //pointer-events: none;
  661. }
  662. .occupy-status-no {
  663. background-color: #f56c6c !important;
  664. user-select: none;
  665. // pointer-events: none;
  666. cursor: not-allowed !important;
  667. }
  668. .seat-item-class-box {
  669. width: 100%;
  670. display: flex;
  671. flex-wrap: nowrap;
  672. justify-content: center;
  673. margin: auto 0;
  674. text-align: center;
  675. }
  676. .seat-item-class {
  677. flex-shrink: 0;
  678. display: block;
  679. float: left;
  680. width: 60px;
  681. height: 60px;
  682. margin: 5px;
  683. border: 1px solid #4c4d4d;
  684. border-radius: 3px;
  685. cursor: pointer;
  686. position: relative;
  687. user-select: none;
  688. // transform-origin: 50% 50%;
  689. // transform: scale(var(--scaleNum));
  690. &:hover {
  691. opacity: 0.6;
  692. }
  693. .text-class {
  694. font-size: 12px;
  695. padding: 5px;
  696. line-height: 16px;
  697. margin: 0;
  698. color: #000;
  699. }
  700. }
  701. }
  702. }
  703. }
  704. </style>