details.vue 21 KB

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