ticketingCollection.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660
  1. <template>
  2. <div class="app-container app-container-me" :style="{'--q-height':qHeight}">
  3. <div class="app-container-query" ref="queryFormBox">
  4. <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="110px">
  5. <el-form-item label="订单号">
  6. <el-input
  7. v-model="queryParams.orderId"
  8. placeholder="请输入订单号"
  9. clearable
  10. style="width: 240px;"
  11. @keyup.enter.native="handleQuery"
  12. />
  13. </el-form-item>
  14. <el-form-item label="取票码">
  15. <el-input
  16. v-model="queryParams.qrcodeNo"
  17. placeholder="请输入取票码"
  18. clearable
  19. style="width: 240px;"
  20. @keyup.enter.native="handleQuery"
  21. />
  22. </el-form-item>
  23. <el-form-item label="购票人手机号:" prop="saleMobile">
  24. <el-input
  25. v-model="queryParams.saleMobile"
  26. placeholder="请输入购票人手机号"
  27. clearable
  28. style="width: 240px;"
  29. @keyup.enter.native="handleQuery"
  30. />
  31. </el-form-item>
  32. <el-form-item label="身份证号:" prop="idcard">
  33. <el-input
  34. v-model="queryParams.idcard"
  35. placeholder="请输入身份证号"
  36. clearable
  37. style="width: 240px;"
  38. @keyup.enter.native="handleQuery"
  39. >
  40. <el-button slot="append" :loading="idcardLoading" size="mini" type="primary" @click="readCert">{{ idcardLoading ? '识别中':'识别' }}</el-button>
  41. </el-input>
  42. </el-form-item>
  43. <el-form-item label="座位号">
  44. <el-input
  45. v-model="queryParams.seatName"
  46. placeholder="请输入座位号"
  47. clearable
  48. style="width: 240px;"
  49. @keyup.enter.native="handleQuery"
  50. />
  51. </el-form-item>
  52. <el-form-item label="订单状态">
  53. <el-select
  54. v-model="queryParams.orderStatus"
  55. placeholder="订单状态"
  56. clearable
  57. style="width: 100%"
  58. >
  59. <el-option
  60. v-for="dict in dict.type.order_status_type"
  61. :key="dict.value"
  62. :label="dict.label"
  63. :value="dict.value"
  64. />
  65. </el-select>
  66. </el-form-item>
  67. <el-form-item>
  68. <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
  69. <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
  70. </el-form-item>
  71. </el-form>
  72. </div>
  73. <div class="app-container-table-box">
  74. <el-row :gutter="10" class="mb8">
  75. <el-col :span="1.5">
  76. <el-button
  77. :disabled="multipleSelection.length == 0"
  78. type="primary"
  79. plain
  80. icon="el-icon-plus"
  81. size="mini"
  82. @click="openMultipleSelectionVisible"
  83. v-hasPermi="['windowTicketSales:ticketingCollection:print']"
  84. >批量打印门票</el-button>
  85. </el-col>
  86. <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
  87. </el-row>
  88. <div class="app-container-table-info">
  89. <el-table
  90. ref="tables"
  91. height="100%"
  92. v-loading="loading"
  93. :data="dataList"
  94. @selection-change="handleSelectionChange"
  95. @sort-change="sortChangeFun"
  96. border>
  97. <el-table-column type="selection" width="55"></el-table-column>
  98. <el-table-column label="序号" align="center" type="index" width="50"></el-table-column>
  99. <el-table-column label="姓名" align="center" prop="name" />
  100. <el-table-column label="身份证号" align="center" width="150" prop="idcard" />
  101. <el-table-column label="购票人手机号" align="center" width="100" prop="saleMobile" />
  102. <el-table-column label="取票码" align="center" width="100" prop="qrcodeNo" />
  103. <el-table-column label="订单号" align="center" width="150" prop="orderId" />
  104. <el-table-column label="剧目名称" align="center" width="100" prop="performName" />
  105. <el-table-column label="票务名称" align="center" width="220" prop="goodsName" />
  106. <el-table-column label="座位信息" align="center" width="100" prop="seatName" />
  107. <el-table-column label="座位类型" align="center" width="150" prop="seatTypeName" />
  108. <el-table-column label="节目播出日期" align="center" width="100" prop="performDate" />
  109. <el-table-column label="下单时间" align="center" width="200" prop="createTime" />
  110. <el-table-column label="购票渠道" align="center" prop="source">
  111. <template slot-scope="scope">
  112. <dict-tag :options="dict.type.order_form_type" :value="scope.row.source"/>
  113. </template>
  114. </el-table-column>
  115. <el-table-column label="订单状态" align="center" prop="status">
  116. <template slot-scope="scope">
  117. <dict-tag :options="dict.type.order_status_type" :value="scope.row.status"/>
  118. </template>
  119. </el-table-column>
  120. <el-table-column label="打印次数" sortable="custom" align="center" width="100" prop="printNum" />
  121. <el-table-column label="操作" align="center" fixed="right" width="80" class-name="small-padding fixed-width">
  122. <template slot-scope="scope">
  123. <el-button
  124. size="mini"
  125. type="text"
  126. @click="handleOpenPrint([scope.row])"
  127. v-hasPermi="['windowTicketSales:ticketingCollection:print']"
  128. >打印门票</el-button>
  129. </template>
  130. </el-table-column>
  131. <template slot="empty">
  132. <div>
  133. <span>未查询到相关订单,请重新输入!</span>
  134. </div>
  135. </template>
  136. </el-table>
  137. <pagination
  138. v-show="total>0"
  139. :total="total"
  140. :page-sizes="[100, 200, 300, 400]"
  141. :page-size="queryParams.pageSize"
  142. :page.sync="queryParams.pageNum"
  143. :limit.sync="queryParams.pageSize"
  144. @pagination="getList"
  145. />
  146. </div>
  147. </div>
  148. <!-- 批量打印顺序 -->
  149. <el-dialog
  150. title="批量打印顺序"
  151. :visible.sync="multipleSelectionVisible"
  152. width="90%"
  153. :before-close="()=>{ multipleSelectionVisible = false}"
  154. >
  155. <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="80px" class="demo-ruleForm">
  156. <el-form-item label="打印机" prop="region">
  157. <el-select v-model="ruleForm.region" placeholder="选择打印机">
  158. <el-option v-for="(item,index) in printList" :label="item.deviceName" :key="item.id" :value="item.id" ></el-option>
  159. </el-select>
  160. </el-form-item>
  161. </el-form>
  162. <el-table
  163. ref="tabless"
  164. v-loading="loading"
  165. :data="multipleSelectionTabel"
  166. border>
  167. <el-table-column label="打印顺序" align="center" type="index" width="50"></el-table-column>
  168. <el-table-column label="姓名" align="center" prop="name" />
  169. <el-table-column label="身份证号" align="center" prop="idcard" />
  170. <el-table-column label="购票人手机号" align="center" prop="saleMobile" />
  171. <el-table-column label="取票码" align="center" prop="qrcodeNo" />
  172. <el-table-column label="订单号" align="center" prop="orderId" />
  173. <el-table-column label="剧目名称" align="center" prop="performName" />
  174. <el-table-column label="票务名称" align="center" prop="goodsName" />
  175. <el-table-column label="座位信息" align="center" prop="seatName" />
  176. <el-table-column label="座位类型" align="center" prop="seatTypeName" />
  177. <el-table-column label="节目播出日期" align="center" prop="performDate" />
  178. <el-table-column label="下单时间" align="center" prop="createTime" />
  179. <el-table-column label="购票渠道" align="center" prop="source">
  180. <template slot-scope="scope">
  181. <dict-tag :options="dict.type.order_form_type" :value="scope.row.source"/>
  182. </template>
  183. </el-table-column>
  184. <el-table-column label="订单状态" align="center" prop="status">
  185. <template slot-scope="scope">
  186. <dict-tag :options="dict.type.order_status_type" :value="scope.row.status"/>
  187. </template>
  188. </el-table-column>
  189. </el-table>
  190. <span slot="footer" class="dialog-footer">
  191. <el-button @click="multipleSelectionVisible = false">取 消</el-button>
  192. <el-button type="primary" :loading="loading" @click="handleOpen(multipleSelection)">{{ dialogVisibleLoading?'打印中...':'打印' }}</el-button>
  193. </span>
  194. </el-dialog>
  195. <!-- 选择打印机 -->
  196. <el-dialog
  197. title="选择打印机"
  198. :visible.sync="dialogVisible"
  199. width="30%"
  200. :before-close="handleClose">
  201. <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm">
  202. <el-form-item label="打印机" prop="region">
  203. <el-select v-model="ruleForm.region" placeholder="选择打印机">
  204. <el-option :label="item.deviceName" :key="item.id" :value="item.id" v-for="(item,index) in printList"></el-option>
  205. </el-select>
  206. </el-form-item>
  207. </el-form>
  208. <span slot="footer" class="dialog-footer">
  209. <el-button @click="dialogVisible = false">取 消</el-button>
  210. <el-button type="primary" :loading="dialogVisibleLoading" @click="print(viewerList)">{{ dialogVisibleLoading?'打印中...':'打印' }}</el-button>
  211. </span>
  212. </el-dialog>
  213. </div>
  214. </template>
  215. <script>
  216. import { pageListApi,printApi } from '@/api/windowTicketSales/ticketingCollection'
  217. import { pageList as getPrintListApi } from "@/api/device/pda";
  218. const https = require('https');
  219. const axios = require('axios');
  220. export default {
  221. name: "TicketingCollections",
  222. dicts: ['order_form_type','order_status_type'],
  223. data() {
  224. return {
  225. // 遮罩层
  226. loading: false,
  227. // 选中数组
  228. multipleSelection: [],
  229. multipleSelectionTabel: [],
  230. multipleSelectionVisible: false,
  231. // 显示搜索条件
  232. showSearch: true,
  233. // 总条数
  234. total: 0,
  235. // 用户表格数据
  236. dataList: null,
  237. // 查询参数
  238. queryParams: {
  239. pageNum: 1,
  240. pageSize: 100,
  241. // type: undefined
  242. //orderStatus: "3"
  243. },
  244. visibleStatus: false,
  245. visibleStatusLoading: false,
  246. ruleForm: {},
  247. rules: {
  248. remark: [
  249. { required: true, message: '请输入备注', trigger: ['blur','change'] },
  250. { min: 0, max: 50, message: '长度在 0 到 50 个字符', trigger: ['blur','change'] }
  251. ]
  252. },
  253. viewerList: [],
  254. printList: [],
  255. dialogVisible: false,
  256. ruleForm: {},
  257. rules: {
  258. region: [
  259. { required: true, message: '请选择打印机', trigger: ['change','blur' ]}
  260. ],
  261. },
  262. dialogVisibleLoading: false,
  263. idcardLoading: false,
  264. qHeight: '0px',
  265. };
  266. },
  267. created() {
  268. // console.log("params====",this.$route)
  269. if(this.$route.query&&this.$route.query.orderId) {
  270. this.$set(this.queryParams,'orderId',this.$route.query.orderId)
  271. this.getList()
  272. }
  273. //this.getList();
  274. this.getPrintListApi()
  275. },
  276. mounted() {
  277. this.resizeObserver = new ResizeObserver(entries => {
  278. for (let entry of entries) {
  279. const { width, height } = entry.contentRect;
  280. this.qHeight = height + 'px'
  281. }
  282. });
  283. this.resizeObserver.observe(this.$refs.queryFormBox);
  284. },
  285. activated() {
  286. if(this.$route.query&&this.$route.query.orderId) {
  287. this.$set(this.queryParams,'orderId',this.$route.query.orderId)
  288. this.getList()
  289. }
  290. },
  291. methods: {
  292. /** 查询列表 */
  293. getList() {
  294. this.loading = true;
  295. pageListApi(this.queryParams)
  296. .then(response => {
  297. let list = response.data.rows;
  298. // list.forEach((item,index)=>{
  299. // let num = item.printSortId == '-9999' ? index : item.printSortId
  300. // item.printSortId = num
  301. // item.sortIndex = index
  302. // })
  303. this.dataList = list
  304. this.total = response.data.total;
  305. this.loading = false;
  306. // 数据更新后执行全选
  307. this.$nextTick(() => {
  308. this.$refs.tables.toggleAllSelection();
  309. console.log("this.multipleSelection=====",this.multipleSelection)
  310. });
  311. }
  312. ).catch(()=>{
  313. this.dataList = []
  314. this.total = 0
  315. this.loading = false
  316. })
  317. },
  318. // 取消按钮
  319. cancel() {
  320. this.open = false;
  321. },
  322. /** 搜索按钮操作 */
  323. handleQuery() {
  324. this.getList();
  325. },
  326. /** 重置按钮操作 */
  327. resetQuery() {
  328. this.dateRange = [];
  329. this.$set(this.queryParams, 'orderId', '');
  330. this.$set(this.queryParams, 'qrcodeNo', '');
  331. this.$set(this.queryParams, 'idcard', '');
  332. this.$set(this.queryParams, 'saleMobile', '');
  333. this.$set(this.queryParams, 'orderStatus', '');
  334. this.$set(this.queryParams, 'seatName', '');
  335. this.handleQuery();
  336. },
  337. setRemark(data) {
  338. this.visibleStatus = true
  339. this.resetForm.id = data.id
  340. },
  341. submitForm(formName) {
  342. this.$refs[formName].validate(async (valid) => {
  343. if (valid) {
  344. try {
  345. this.visibleStatusLoading = true
  346. let res = await setRemark({
  347. id: this.resetForm.id,
  348. "remark": this.ruleForm.remark
  349. })
  350. this.visibleStatus = false
  351. this.visibleStatusLoading = false
  352. this.resetForm('ruleForm')
  353. this.queryParams.pageNum = 1;
  354. this.getList()
  355. } catch (error) {
  356. this.visibleStatusLoading = false
  357. }
  358. } else {
  359. this.visibleStatusLoading = false
  360. return false;
  361. }
  362. });
  363. },
  364. resetForm(formName) {
  365. this.$refs[formName].resetFields();
  366. },
  367. handleSelectionChange(val,row) {
  368. // console.log("val====",val,row)
  369. this.multipleSelection = val;
  370. },
  371. openMultipleSelectionVisible(){
  372. // console.log("sdfasgadfgadfgadfgadfg")
  373. this.multipleSelectionTabel = JSON.parse(JSON.stringify(this.multipleSelection))
  374. this.multipleSelectionVisible = true
  375. },
  376. // 单个打印 行操作
  377. handleOpenPrint(list=[]) {
  378. if(!list||list.length==0) return
  379. let idList = []
  380. list.forEach((item,index)=>{
  381. idList.push({
  382. viewerId: item.id,
  383. index: index
  384. })
  385. })
  386. this.viewerList = idList
  387. this.getPrintListApi()
  388. this.$set(this.ruleForm, 'region', '');
  389. this.$nextTick(()=>{
  390. this.$refs.ruleForm.clearValidate('region')
  391. })
  392. this.dialogVisible = true
  393. },
  394. // 批量打印
  395. handleOpen(list=[]) {
  396. // console.log(list,'list');
  397. if(!list||list.length==0) return
  398. if(!this.ruleForm.region) {
  399. this.$message.warning('请选择打印机!')
  400. return
  401. }
  402. let idList = []
  403. list.forEach((item,index)=>{
  404. idList.push({
  405. viewerId: item.id,
  406. index: index
  407. })
  408. })
  409. this.viewerList = idList;
  410. this.print(this.viewerList);
  411. // this.getPrintListApi()
  412. // this.$set(this.ruleForm, 'region', '');
  413. // this.$nextTick(()=>{
  414. // this.$refs.ruleForm.clearValidate('region')
  415. // })
  416. // this.dialogVisible = true
  417. },
  418. handleClose(){
  419. this.dialogVisible = false
  420. },
  421. /** 查询打印机列表 */
  422. getPrintListApi() {
  423. getPrintListApi({deviceType:5,pageNum: 1,
  424. pageSize: 999,})
  425. .then(response => {
  426. this.printList = response.data.rows;
  427. this.$set(this.ruleForm, 'region', '');
  428. // this.$nextTick(()=>{
  429. // this.$refs.ruleForm.clearValidate('region')
  430. // })
  431. }).catch((error)=>{
  432. console.log("error===",error)
  433. }
  434. );
  435. },
  436. /** 选择打印机 */
  437. selectPrint(){
  438. },
  439. // 打印
  440. async print(list = []){
  441. this.$refs.ruleForm.validate(async (valid) => {
  442. if (valid) {
  443. this.dialogVisibleLoading = true
  444. try {
  445. let res = await printApi({
  446. viewerList2:list,
  447. source: 2,
  448. deviceId: this.ruleForm.region
  449. })
  450. if(res.code == 200) {
  451. let url = res.data.linkIp
  452. let printInfo = res.data.printInfo
  453. this.connectPrint(url,printInfo)
  454. }else {
  455. throw new Error(res)
  456. }
  457. } catch (error) {
  458. // this.dialogVisible = false
  459. this.dialogVisibleLoading = false
  460. console.error("error=====",error)
  461. }
  462. } else {
  463. console.log('error submit!!');
  464. return false;
  465. }
  466. });
  467. },
  468. /** 连接打印机 */
  469. connectPrint(url,data){
  470. // let xhr = new XMLHttpRequest();
  471. // xhr.withCredentials = true
  472. // xhr.onreadystatechange = ()=>{
  473. // if(xhr.readyState == 4){ // 监听请求完成
  474. // if((xhr.status >=200 && xhr.status <300) || xhr.status == 304){
  475. // console.log(xhr.responseText)
  476. // this.dialogVisible = false
  477. // this.dialogVisibleLoading = false
  478. // }else{
  479. // console.log('请求失败')
  480. // this.dialogVisible = false
  481. // this.dialogVisibleLoading = false
  482. // }
  483. // }
  484. // }
  485. // xhr.open("post", url, true); // 异步请求
  486. // xhr.setRequestHeader('Content-Type', 'application/json')
  487. // xhr.send(JSON.stringify(data));
  488. // 创建忽略 SSL 的 axios 实例
  489. const ignoreSSL = axios.create({
  490. httpsAgent: new https.Agent({
  491. rejectUnauthorized: false
  492. }),
  493. withCredentials: true, // 跨域请求时发送Cookie
  494. timeout: 60000, // 请求超时
  495. headers: {
  496. "Content-Type": "application/json; charset=UTF-8;"
  497. }
  498. });
  499. ignoreSSL.post(url,
  500. { ...data }
  501. ).then(()=>{
  502. // this.dialogVisible = false
  503. this.dialogVisibleLoading = false
  504. }).catch(()=>{
  505. // this.dialogVisible = false
  506. this.dialogVisibleLoading = false
  507. })
  508. // 在 axios 请求时,选择性忽略 SSL
  509. // const agent = new https.Agent({
  510. // rejectUnauthorized: false
  511. // });
  512. // axios.post(
  513. // url,
  514. // { httpsAgent: agent,...data }
  515. // ).then(()=>{
  516. // this.dialogVisible = false
  517. // this.dialogVisibleLoading = false
  518. // })
  519. // .catch(()=>{
  520. // this.dialogVisible = false
  521. // this.dialogVisibleLoading = false
  522. // })
  523. },
  524. /** 读取身份证 */
  525. readCert(){
  526. this.idcardLoading = true
  527. var result = "";
  528. try {
  529. let xmlHttp = new XMLHttpRequest();
  530. let Protocol = window.location.protocol.split(':')[0];
  531. //获取当前协议,并且分割字符串,得到http或者https
  532. if (Protocol === 'https'){
  533. //创建请求 第一个参数是代表以post方式发送;第二个是请求端口和地址;第三个表示是否异步
  534. xmlHttp.open("POST", "http://127.0.0.1:18889/api/readCert?ReadSN=" + 0, false); //readCert读卡,生成正反面仿复印件
  535. }else {
  536. //创建请求 第一个参数是代表以post方式发送;第二个是请求端口和地址;第三个表示是否异步
  537. xmlHttp.open("POST", "http://127.0.0.1:18889/api/readCert?ReadSN=" + 0, false); //readCert读卡,生成正反面仿复印件
  538. }
  539. //发送请求
  540. xmlHttp.send();
  541. if (xmlHttp.readyState == 4 && xmlHttp.status == 200) {
  542. result = xmlHttp.responseText;
  543. xmlHttp.readyState = 1;
  544. }
  545. } catch (e) {
  546. console.error("e====",e)
  547. }
  548. let obj = JSON.parse(result)
  549. if(obj.resultContent && obj.resultContent.certNumber){
  550. this.$set(this.queryParams,"idcard",obj.resultContent.certNumber)
  551. }else {
  552. this.$message.error('读取失败!!!');
  553. }
  554. this.idcardLoading = false
  555. //return result;
  556. // console.log(result,obj)
  557. },
  558. sortChangeFun (row) {
  559. // console.log("row=====",row)
  560. if(this.dataList.length == 0) return
  561. let list = JSON.parse(JSON.stringify(this.dataList))
  562. if(row.order == 'descending') {
  563. list.sort((a,b)=>{
  564. return a[row.prop] - b[row.prop]
  565. })
  566. }else {
  567. list.sort((a,b)=>{
  568. return b[row.prop] - a[row.prop]
  569. })
  570. }
  571. this.dataList = list
  572. }
  573. },
  574. };
  575. </script>
  576. <style lang="scss" scoped>
  577. .upload-btn {
  578. width: 100px;
  579. height: 100px;
  580. background-color: #fbfdff;
  581. border: dashed 1px #c0ccda;
  582. border-radius: 5px;
  583. i {
  584. font-size: 30px;
  585. margin-top: 20px;
  586. }
  587. &-text {
  588. margin-top: -10px;
  589. }
  590. }
  591. .avatar {
  592. cursor: pointer;
  593. }
  594. .app-container {
  595. height: calc( 100vh - 110px );
  596. box-sizing: border-box;
  597. }
  598. .app-container-query {
  599. }
  600. .app-container-table-box {
  601. height: calc( 100% - var(--q-height) );
  602. .app-container-table-info {
  603. height: calc( 100% - 100px );
  604. }
  605. }
  606. .upload-box {
  607. ::v-deep .el-upload--picture-card {
  608. display: none;
  609. }
  610. }
  611. ::v-deep .avatar-uploader .el-upload {
  612. border: 1px dashed #d9d9d9;
  613. border-radius: 6px;
  614. cursor: pointer;
  615. position: relative;
  616. overflow: hidden;
  617. }
  618. ::v-deep .avatar-uploader .el-upload:hover {
  619. border-color: #409EFF;
  620. }
  621. ::v-deep .avatar-uploader-icon {
  622. font-size: 28px;
  623. color: #8c939d;
  624. width: 100px;
  625. height: 100px;
  626. line-height: 100px;
  627. text-align: center;
  628. }
  629. ::v-deep .avatar {
  630. width: 100px;
  631. height: 100px;
  632. display: block;
  633. }
  634. </style>