details.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763
  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. props: {
  198. dict: {
  199. type: Object,
  200. default: () => [],
  201. },
  202. },
  203. data() {
  204. return {
  205. title: "编辑",
  206. model: "EDIT",
  207. open: false,
  208. loading: false,
  209. form: {
  210. id: undefined
  211. },
  212. corporateRremark:'',
  213. performerVisible: false,
  214. performerList: [],
  215. refund: false,
  216. statusList: {
  217. 0: '待支付',
  218. 2: '超时取消',
  219. 3: '支付完成,待使用',
  220. 4: '退款中',
  221. 5: '己退款',
  222. 6: '退款失败',
  223. 7: '己使用',
  224. 8: '己超期',
  225. 9: '关闭',
  226. },
  227. payWayList: {
  228. 'cahsh': '现金',
  229. 'wecaht.applet': '微信小程序支付',
  230. 'alipay': '支付宝OTA',
  231. 'wecaht.h5': '微信公众号支付',
  232. 'meituan': '美团支付',
  233. 'corporate': '对公支付',
  234. },
  235. sourceList: {
  236. 1: '小程序',
  237. 2: '公众号',
  238. 3: '美团',
  239. 4: '携程',
  240. 5: '团购',
  241. },
  242. dataList: [],
  243. voucherUrl:[],
  244. merchantTheatreAuditoriumListS: [], // 演出厅
  245. merchantPerformTimeListS: [], // 场次
  246. querySeatListS: [], // 座位
  247. goodsPageListS: [], // 票务
  248. goodsPageListSAll: [], // 票务全部
  249. setList: [],
  250. seatMapList: {},
  251. seatMapListKey: [], // key
  252. seatSelectList: [],
  253. lockOrUnLockLoading: false,
  254. performId: '',// 剧目ID
  255. scaleNum: 30,
  256. width: 0,
  257. justifyContent: false,
  258. activeName: 'first',
  259. seatTypeList: [],
  260. loading_form: false,// 加载表单
  261. loading_seta: false, // 加载座位
  262. };
  263. },
  264. created() {
  265. this.getSeatTypeList()
  266. },
  267. methods: {
  268. /**
  269. * 打开弹框
  270. * @date 2023-11-22
  271. * @param {any} obj
  272. * @returns {any}
  273. */
  274. openDialog(title, obj, type) {
  275. this.open = true;
  276. this.querySeatListS = [];
  277. this.setList = [];
  278. this.seatSelectList = [];
  279. this.getSelectByIdApi(obj);
  280. },
  281. /** 获取详情 */
  282. async getSelectByIdApi(row) {
  283. try {
  284. //this.loading = true
  285. this.loading_form = true// 加载表单
  286. this.loading_seta = true // 加载座位
  287. const id = row.id
  288. let res = await getSelectById(id)
  289. this.seatSelectList = res.data.viewersOrderList
  290. this.form = res.data;
  291. if(res.data.corporate){
  292. this.voucherUrl = res.data.corporate.voucherUrl.split(',')||[];
  293. this.corporateRremark = res.data.corporate.remark;
  294. }
  295. this.loading_form = false// 加载表单
  296. let res1 = await querySeatList({
  297. auditoriumId: res.data.auditoriumId,
  298. //seatTypeId: res.data.seatTypeId,
  299. timeId: res.data.performTimeId,
  300. })
  301. this.querySeatListS = res1.data;
  302. this.setList = res1.data;
  303. if (this.setList && this.setList.length > 0) {
  304. this.setSeatMapListCopy(this.setList);
  305. }
  306. this.loading_seta = false// 加载表单
  307. this.loading = false
  308. } catch (error) {
  309. this.loading = false
  310. this.loading_form = false// 加载表单
  311. this.loading_seta = false // 加载座位
  312. }
  313. },
  314. /**
  315. * 关闭弹框
  316. * @date 2023-11-22
  317. * @returns {any}
  318. */
  319. cancel() {
  320. this.open = false;
  321. },
  322. // 设置座位集合
  323. setSeatMapListCopy(list) {
  324. if (list && list.length > 0) {
  325. let listCopy = {}
  326. let lisyCopy1 = {}
  327. let listNum = JSON.parse(JSON.stringify(this.seatTypeList))
  328. listNum.forEach((item, index) => {
  329. listNum[index]['num'] = 0
  330. })
  331. list.forEach(item => {
  332. item.isDisabled = (item.occupyStatus != null && (item.occupyStatus == 0 || item.occupyStatus == 1) ? true : false); // 座位是否已被选择
  333. item.isSelect = this.setIsSelect(item);
  334. if (item.rowNo) {
  335. listNum.forEach((item1, index) => {
  336. if (item1.id == item.seatTypeId && item.status == 1 && !item.occupyStatus) {
  337. listNum[index]['num'] = listNum[index]['num'] + 1
  338. }
  339. })
  340. if (listCopy['my' + item.rowNo]) {
  341. listCopy['my' + item.rowNo].push(item)
  342. } else {
  343. listCopy['my' + item.rowNo] = [item]
  344. }
  345. }
  346. })
  347. this.seatTypeList = JSON.parse(JSON.stringify(listNum))
  348. let width = 0
  349. let flog = 0
  350. let seatMapListKey = []
  351. Object.keys(listCopy).forEach((item) => {
  352. if (listCopy[item].length > flog) {
  353. flog = listCopy[item].length
  354. }
  355. seatMapListKey.push({
  356. key: item,
  357. sort: Number(item.replace('my', ''))
  358. })
  359. })
  360. seatMapListKey.sort((a, b) => {
  361. return a.sort - b.sort
  362. })
  363. this.seatMapListKey = seatMapListKey
  364. console.log("seatMapListKey=====", seatMapListKey)
  365. this.width = 70 * flog
  366. this.$nextTick(() => {
  367. if (this.$refs.seatbox) {
  368. var ele = document.getElementById('seatbox-me');
  369. console.log(ele.getBoundingClientRect().width); // 100
  370. if (this.width < ele.getBoundingClientRect().width) {
  371. this.justifyContent = true
  372. } else {
  373. //this.justifyContent = false
  374. this.justifyContent = true
  375. }
  376. //this.$refs.seatbox.scrollTo(this.width/4,0)
  377. }
  378. })
  379. console.log("list====", listCopy)
  380. this.seatMapList = JSON.parse(JSON.stringify(listCopy))
  381. }
  382. },
  383. setIsSelect(item) {
  384. if (!this.seatSelectList || this.seatSelectList.length == 0) {
  385. return false
  386. }
  387. let flog = false
  388. this.seatSelectList.forEach((item1, index1) => {
  389. if (item.id == item1.seatId) {
  390. flog = true
  391. }
  392. })
  393. return flog
  394. },
  395. /** 获取座位类型 说明 */
  396. getSeatTypeList() {
  397. getSeatType({
  398. pageNum: 1,
  399. pageSize: 999,
  400. })
  401. .then(response => {
  402. this.seatTypeList = response.data.rows;
  403. });
  404. },
  405. /** 座位状态 展示 */
  406. setSeatClass(item){
  407. let srt =
  408. this.setIsSelect(item)?'purchased-status':
  409. item.occupyStatus == 0 ? 'occupy-status' :
  410. item.occupyStatus == 1 ? 'occupy-status-no' :
  411. item.isDisabled || item.status != 1 ? 'disabled-class' :
  412. item.isSelect ? 'select-class' : ''
  413. console.log("srt=====",srt)
  414. return srt
  415. }
  416. },
  417. };
  418. </script>
  419. <style lang="scss" scoped>
  420. .dialog {
  421. width: 100%;
  422. height: 70vh;
  423. }
  424. .dialog {
  425. padding: 0 30px;
  426. .upload-btn {
  427. width: 100px;
  428. height: 100px;
  429. background-color: #fbfdff;
  430. border: dashed 1px #c0ccda;
  431. border-radius: 5px;
  432. i {
  433. font-size: 30px;
  434. margin-top: 20px;
  435. }
  436. &-text {
  437. margin-top: -10px;
  438. }
  439. }
  440. .avatar {
  441. cursor: pointer;
  442. }
  443. .title-class{
  444. font-size: 16px;
  445. font-weight: bold;
  446. color: black;
  447. margin-bottom: 20px;
  448. margin-top: 20px;
  449. }
  450. .item-class{
  451. margin-bottom: 20px;
  452. }
  453. }
  454. .voucher-list{
  455. display: grid;
  456. grid-template-columns: repeat(4, 1fr);
  457. gap: 24rpx;
  458. }
  459. .pay-type-remark{
  460. margin:14px 0;
  461. }
  462. .dialog-bbb {
  463. width: 100%;
  464. display: flex;
  465. --widdd: 700px;
  466. >div:first-child {
  467. width: var(--widdd);
  468. flex-shrink: 0;
  469. overflow-y: auto;
  470. padding: 0 0 10px 0;
  471. margin-right: 10px;
  472. }
  473. .dialog-bbb_2 {
  474. width: calc(100% - var(--widdd));
  475. height: 100%;
  476. }
  477. }
  478. .dialog-bbb_2 {
  479. .seat-tool-box {
  480. height: 20px;
  481. box-sizing: border-box;
  482. display: flex;
  483. align-items: center;
  484. white-space: nowrap;
  485. span {
  486. flex-shrink: 0;
  487. font-size: 12px;
  488. white-space: nowrap;
  489. }
  490. .seat-tool-box-slider {
  491. width: 100px;
  492. margin-left: 10px;
  493. }
  494. }
  495. .seat-box {
  496. width: 100%;
  497. height: calc(100% - 50px);
  498. box-sizing: border-box;
  499. display: flex;
  500. position: relative;
  501. .seat-list-box {
  502. width: 100%;
  503. height: 100%;
  504. box-sizing: border-box;
  505. position: relative;
  506. }
  507. .seat-select-box {
  508. width: 200px;
  509. height: 100%;
  510. flex-shrink: 0;
  511. box-sizing: border-box;
  512. padding: 0 5px;
  513. margin-left: 10px;
  514. border: 1px solid #ccc;
  515. border-radius: 10px;
  516. .seat-select-info {
  517. width: 100%;
  518. height: calc(100% - 60px);
  519. overflow: hidden;
  520. overflow-y: auto;
  521. .seat-select-item {
  522. border: 1px solid #ccc;
  523. margin-bottom: 5px;
  524. padding: 5px;
  525. border-radius: 5px;
  526. display: flex;
  527. justify-content: space-between;
  528. align-items: center;
  529. font-size: 12px;
  530. >div:first-child {
  531. display: flex;
  532. flex-direction: column;
  533. span:first-child {
  534. font-weight: 600;
  535. }
  536. }
  537. >div:last-child {
  538. span:first-child {
  539. color: #f56c6c;
  540. cursor: pointer;
  541. }
  542. }
  543. }
  544. .seat-select-color-item {
  545. display: flex;
  546. align-items: center;
  547. margin-bottom: 5px;
  548. >span:first-child {
  549. width: 20px;
  550. height: 20px;
  551. flex-shrink: 0;
  552. }
  553. >span:last-child {
  554. font-size: 16px;
  555. font-weight: 600;
  556. margin-left: 10px;
  557. }
  558. }
  559. }
  560. }
  561. }
  562. .seat-list-box::before {
  563. content: "舞台";
  564. position: absolute;
  565. left: 50%;
  566. transform: translateX(-50%);
  567. width: 300px;
  568. height: 30px;
  569. background-color: rgb(204, 204, 204, 0.5);
  570. font-size: 18px;
  571. font-weight: 600;
  572. display: flex;
  573. align-items: center;
  574. justify-content: center;
  575. border-radius: 0 0 20px 20px;
  576. z-index: 99;
  577. }
  578. .dialogss {
  579. padding: 30px 10px 10px;
  580. width: 100%;
  581. height: 100%;
  582. box-sizing: border-box;
  583. overflow: auto;
  584. border-radius: 10px;
  585. border: 1px solid #323333;
  586. .dialogss-box {
  587. position: relative;
  588. }
  589. .upload-btn {
  590. width: 100px;
  591. height: 100px;
  592. background-color: #fbfdff;
  593. border: dashed 1px #c0ccda;
  594. border-radius: 5px;
  595. i {
  596. font-size: 30px;
  597. margin-top: 20px;
  598. }
  599. &-text {
  600. margin-top: -10px;
  601. }
  602. }
  603. .avatar {
  604. cursor: pointer;
  605. }
  606. .title-class {
  607. font-size: 16px;
  608. font-weight: bold;
  609. color: black;
  610. margin-bottom: 20px;
  611. margin-top: 20px;
  612. }
  613. .item-class {
  614. margin-bottom: 20px;
  615. }
  616. .seat-box-class {
  617. padding: 5px;
  618. transform-origin: 50% 0;
  619. transform: scale(var(--scaleNum));
  620. box-sizing: border-box;
  621. .disabled-class {
  622. background-color: #aaabad;
  623. user-select: none;
  624. // pointer-events: none;
  625. cursor: not-allowed !important;
  626. }
  627. .select-class {
  628. //background-color: #e85353 !important;
  629. border: 5px solid #1890ff !important;
  630. // color: #eceaea !important;
  631. position: relative;
  632. }
  633. .purchased-status:after {
  634. content: "";
  635. display: block;
  636. position: absolute;
  637. top: 0;
  638. left: 0;
  639. width: 100%;
  640. height: 100%;
  641. background-color: rgba(0, 0, 0, 0.5);
  642. z-index: -1;
  643. background-image: url('../../../../assets/renyuan.png');
  644. background-size: 50% 50%;
  645. background-position: 50% 50%;
  646. background-repeat: no-repeat;
  647. z-index: 99;
  648. }
  649. .occupy-status:after {
  650. content: "";
  651. display: block;
  652. position: absolute;
  653. top: 0;
  654. left: 0;
  655. width: 100%;
  656. height: 100%;
  657. background-color: rgba(0, 0, 0, 0.3);
  658. z-index: -1;
  659. background-image: url('../../../../assets/jinzhi.png');
  660. background-size: 50% 50%;
  661. background-position: 50% 50%;
  662. background-repeat: no-repeat;
  663. z-index: 99;
  664. }
  665. .occupy-status {
  666. //pointer-events: none;
  667. }
  668. .occupy-status-no {
  669. background-color: #f56c6c !important;
  670. user-select: none;
  671. // pointer-events: none;
  672. cursor: not-allowed !important;
  673. }
  674. .seat-item-class-box {
  675. width: 100%;
  676. display: flex;
  677. flex-wrap: nowrap;
  678. justify-content: center;
  679. margin: auto 0;
  680. text-align: center;
  681. }
  682. .seat-item-class {
  683. flex-shrink: 0;
  684. display: block;
  685. float: left;
  686. width: 60px;
  687. height: 60px;
  688. margin: 5px;
  689. border: 1px solid #4c4d4d;
  690. border-radius: 3px;
  691. cursor: pointer;
  692. position: relative;
  693. user-select: none;
  694. // transform-origin: 50% 50%;
  695. // transform: scale(var(--scaleNum));
  696. &:hover {
  697. opacity: 0.6;
  698. }
  699. .text-class {
  700. font-size: 12px;
  701. padding: 5px;
  702. line-height: 16px;
  703. margin: 0;
  704. color: #000;
  705. }
  706. }
  707. }
  708. }
  709. }
  710. </style>