statistics.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700
  1. <template>
  2. <view>
  3. <view class="view-bg">
  4. <text class="title-txt">工程用料统计</text>
  5. <view>
  6. <view class="uni-list-cell">
  7. <view class="uni-list-cell-left">
  8. 工程周期
  9. </view>
  10. <view class="uni-list-cell-db">
  11. <view v-if="this.isEmpty(this.projectValue.dictValue)" style="margin-top: 10;"
  12. @click="pickerShow('gczq')">
  13. <span style="color: darkgray;">请选择工程周期</span>
  14. <image src="../../static/images/icon_right.png"
  15. style=" position: absolute; width: 15px;height: 15px;"></image>
  16. </view>
  17. <view v-else style="margin-top: 10;" @click="pickerShow('gczq')">
  18. <span style="color: black;">{{projectValue.dictLabel}}</span>
  19. <image src="../../static/images/icon_right.png"
  20. style=" position: absolute; width: 15px;height: 15px;"></image>
  21. </view>
  22. </view>
  23. </view>
  24. <view class="uni-list-cell">
  25. <view class="uni-list-cell-left">
  26. 行政区
  27. </view>
  28. <view class="uni-list-cell-db">
  29. <view v-if="this.isEmpty(this.XZQValue.dictValue)" style="margin-top: 10;"
  30. @click="pickerShow('xzq')">
  31. <span style="color: darkgray;">请选择行政区</span>
  32. <image src="../../static/images/icon_right.png"
  33. style=" position: absolute; width: 15px;height: 15px;"></image>
  34. </view>
  35. <view v-else style="margin-top: 10;" @click="pickerShow('xzq')">
  36. <span style="color: black;">{{XZQValue.dictLabel}}</span>
  37. <image src="../../static/images/icon_right.png"
  38. style=" position: absolute; width: 15px;height: 15px;"></image>
  39. </view>
  40. </view>
  41. </view>
  42. <view class="uni-list-cell">
  43. <view class="uni-list-cell-left">
  44. 小区
  45. </view>
  46. <view class="uni-list-cell-db">
  47. <view v-if="this.isEmpty(this.XQValue.id)" style="margin-top: 10;" @click="pickerShow('xq')">
  48. <span style="color: darkgray;">请选择小区</span>
  49. <image src="../../static/images/icon_right.png"
  50. style=" position: absolute; width: 15px;height: 15px;"></image>
  51. </view>
  52. <view v-else style="margin-top: 10;" @click="pickerShow('xq')">
  53. <span style="color: black;">{{XQValue.name}}</span>
  54. <image src="../../static/images/icon_right.png"
  55. style=" position: absolute; width: 15px;height: 15px;"></image>
  56. </view>
  57. </view>
  58. </view>
  59. <view class="uni-list-cell">
  60. <view class="uni-list-cell-left">
  61. 材料
  62. </view>
  63. <view class="uni-list-cell-db">
  64. <view v-if="this.isEmpty(this.materialValue.name)" style="margin-top: 10;"
  65. @click="pickerShow('cz')">
  66. <span style="color: darkgray;">请选择材料</span>
  67. <image src="../../static/images/icon_right.png"
  68. style=" position: absolute; width: 15px;height: 15px;"></image>
  69. </view>
  70. <view v-else style="margin-top: 10;" @click="pickerShow('cz')">
  71. <span style="color: black;">{{materialValue.name}}</span>
  72. <image src="../../static/images/icon_right.png"
  73. style=" position: absolute; width: 15px;height: 15px;"></image>
  74. </view>
  75. </view>
  76. </view>
  77. <view class="uni-list-cell">
  78. <view class="uni-list-cell-left">
  79. 规格
  80. </view>
  81. <view class="uni-list-cell-db">
  82. <view v-if="this.isEmpty(this.specificationValue.name)" style="margin-top: 10;"
  83. @click="pickerShow('gg')">
  84. <span style="color: darkgray;">请选择规格</span>
  85. <image src="../../static/images/icon_right.png"
  86. style=" position: absolute; width: 15px;height: 15px;"></image>
  87. </view>
  88. <view v-else style="margin-top: 10;" @click="pickerShow('gg')">
  89. <span style="color: black;">{{specificationValue.name}}</span>
  90. <image src="../../static/images/icon_right.png"
  91. style=" position: absolute; width: 15px;height: 15px;"></image>
  92. </view>
  93. </view>
  94. </view>
  95. </view>
  96. <view class="table">
  97. <view class="felx-row">
  98. <view class="h-tr" style="flex: 1">名称</view>
  99. <view class="h-tr" style="flex: 1;align-items: center;">预计用量</view>
  100. <view class="h-tr" style="flex: 1">实际用量</view>
  101. </view>
  102. </view>
  103. <view class="felx-row" v-for="(item, index) in materialUsageList" :key="index">
  104. <view class="h-td" style="flex: 1">{{ item.materialQuality }}</view>
  105. <view class="h-td" style="flex: 1">{{ item.estimatedSize }}</view>
  106. <view class="h-td" style="flex: 1">{{ item.realitySize }}</view>
  107. </view>
  108. </view>
  109. <view class="view-bg">
  110. <text class="title-txt">工程进度统计</text>
  111. <view>
  112. <view class="uni-list-cell">
  113. <view class="uni-list-cell-left">工程周期</view>
  114. <view class="uni-list-cell-db">
  115. <view v-if="this.isEmpty(this.projectValue2.dictValue)" style="margin-top: 10;"
  116. @click="pickerShow('gczq2')">
  117. <span style="color: darkgray;">请选择工程周期</span>
  118. <image src="../../static/images/icon_right.png"
  119. style=" position: absolute; width: 15px;height: 15px;"></image>
  120. </view>
  121. <view v-else style="margin-top: 10;" @click="pickerShow('gczq2')">
  122. <span style="color: black;">{{projectValue2.dictLabel}}</span>
  123. <image src="../../static/images/icon_right.png"
  124. style=" position: absolute; width: 15px;height: 15px;"></image>
  125. </view>
  126. </view>
  127. </view>
  128. <view class="uni-list-cell">
  129. <view class="uni-list-cell-left">
  130. 行政区
  131. </view>
  132. <view class="uni-list-cell-db">
  133. <view v-if="this.isEmpty(this.XZQValue2.dictValue)" style="margin-top: 10;"
  134. @click="pickerShow('xzq2')">
  135. <span style="color: darkgray;">请选择行政区</span>
  136. <image src="../../static/images/icon_right.png"
  137. style=" position: absolute; width: 15px;height: 15px;"></image>
  138. </view>
  139. <view v-else style="margin-top: 10;" @click="pickerShow('xzq2')">
  140. <span style="color: black;">{{XZQValue2.dictLabel}}</span>
  141. <image src="../../static/images/icon_right.png"
  142. style=" position: absolute; width: 15px;height: 15px;"></image>
  143. </view>
  144. </view>
  145. </view>
  146. <view class="uni-list-cell">
  147. <view class="uni-list-cell-left"> 小区</view>
  148. <view class="uni-list-cell-db">
  149. <view v-if="this.isEmpty(this.XQValue2.id)" style="margin-top: 10;" @click="pickerShow('xq2')">
  150. <span style="color: darkgray;">请选择小区</span>
  151. <image src="../../static/images/icon_right.png"
  152. style=" position: absolute; width: 15px;height: 15px;"></image>
  153. </view>
  154. <view v-else style="margin-top: 10;" @click="pickerShow('xq2')">
  155. <span style="color: black;">{{XQValue2.name}}</span>
  156. <image src="../../static/images/icon_right.png"
  157. style=" position: absolute; width: 15px;height: 15px;"></image>
  158. </view>
  159. </view>
  160. </view>
  161. <view class="uni-list-cell">
  162. <view class="uni-list-cell-left">楼栋</view>
  163. <view class="uni-list-cell-db">
  164. <view v-if="this.isEmpty(this.LDValue2.id)" style="margin-top: 10;" @click="pickerShow('ld2')">
  165. <span style="color: darkgray;">请选择楼栋</span>
  166. <image src="../../static/images/icon_right.png"
  167. style=" position: absolute; width: 15px;height: 15px;"></image>
  168. </view>
  169. <view style="margin-top: 10;" @click="pickerShow('ld2')">
  170. <span style="color: black;">{{LDValue2.name}}</span>
  171. <image src="../../static/images/icon_right.png"
  172. style=" position: absolute; width: 15px;height: 15px;"></image>
  173. </view>
  174. </view>
  175. </view>
  176. <view class="uni-list-cell">
  177. <view class="uni-list-cell-left">单元</view>
  178. <view class="uni-list-cell-db">
  179. <view v-if="this.isEmpty(this.DYValue2.id)" style="margin-top: 10;" @click="pickerShow('dy2')">
  180. <span style="color: darkgray;">请选择单元</span>
  181. <image src="../../static/images/icon_right.png"
  182. style=" position: absolute; width: 15px;height: 15px;"></image>
  183. </view>
  184. <view v-else style="margin-top: 10;" @click="pickerShow('dy2')">
  185. <span style="color: black;">{{DYValue2.name}}</span>
  186. <image src="../../static/images/icon_right.png"
  187. style=" position: absolute; width: 15px;height: 15px;"></image>
  188. </view>
  189. </view>
  190. </view>
  191. </view>
  192. <uni-divider></uni-divider>
  193. <view class="view_bg_build" v-if="roomList.length > 0">
  194. <view v-for="(item,index) in roomList" :key="index">
  195. <uni-grid :border="false" :column="roomCount" :highlight="true" @change="change">
  196. <uni-grid-item v-for="(item2, index2) in roomList[index]" :index="index2" :key="index2">
  197. <view :style="{backgroundColor: getColorByStatus(item2.roomStatus)}">
  198. <text class="grid-text">{{item2.roomName}}</text>
  199. </view>
  200. </uni-grid-item>
  201. </uni-grid>
  202. </view>
  203. </view>
  204. <view v-if="roomList.length == 0">暂无数据</view>
  205. <view style="align-items: center;">
  206. <view style="display: flex;align-items: center;">
  207. <image class="block-iv" src="../../static/images/ic_legend.png"></image>
  208. <text style="margin-right: 20px;margin-left: 5px;">图例: </text>
  209. <div class="block-iv" style="background-color: #80d9ae;"></div>
  210. <text style="margin-right: 20px;margin-left: 5px;">完工</text>
  211. <div class="block-iv" style="background-color: #5bd3ff;"></div>
  212. <text style="margin-right: 20px;margin-left: 5px;">未完工</text>
  213. <div class="block-iv" style="background-color: #ffc881;"></div>
  214. <text style="margin-right: 20px;margin-left: 5px;">未开工</text>
  215. </view>
  216. </view>
  217. </view>
  218. <SelectPicker :list="selectList" @change="changeSelect" v-if="open" @close="close" titleKey="name"
  219. subtitleKey="id" v-model="name"></SelectPicker>
  220. <SelectPicker :list="dictOptions" @change="changeSelect" v-if="openDict" @close="closeDict" titleKey="dictLabel"
  221. subtitleKey="dictValue" v-model="dictLabel"></SelectPicker>
  222. </view>
  223. </template>
  224. <script>
  225. import SelectPicker from '../../components/selectPicker/select_picker.vue'
  226. import {
  227. getDicts
  228. } from "@/api/system/dict/data";
  229. import {
  230. getAreaList,
  231. getBuildingList,
  232. getUnitList,
  233. getHousesList,
  234. getEnginMaterialQualityList,
  235. getEnginSpecificationsList,
  236. getMunicipalStatisticsData,
  237. getObtainRoomcCompletionInformationList,
  238. } from '@/api/common'
  239. export default {
  240. components: {
  241. SelectPicker
  242. },
  243. data() {
  244. return {
  245. villageIndex: 0,
  246. specificationIndex: 0,
  247. materialIndex: 0,
  248. villageIndex2: 0,
  249. buildIndex: 0,
  250. unitIndex: 0,
  251. open: false,
  252. openDict: false,
  253. selectList: [],
  254. dictOptions: [],
  255. XQList: [],
  256. LDList: [],
  257. DYList: [],
  258. projectValue: {},
  259. XZQValue: {},
  260. XQValue: {},
  261. XQList2: [],
  262. LDList2: [],
  263. DYList2: [],
  264. projectValue2: {},
  265. XZQValue2: {},
  266. XQValue2: {},
  267. LDValue2: {},
  268. DYValue2: {},
  269. specificationValue: {},
  270. specificationList: [],
  271. materialValue: {},
  272. materialList: [],
  273. materialUsageList: [],
  274. roomList: [],
  275. roomCount: 4
  276. }
  277. },
  278. created() {},
  279. methods: {
  280. isEmpty(str) {
  281. return (!str || 0 === str.length);
  282. },
  283. pickerShow(e) {
  284. this.type = e; //赋值类型
  285. if (e == 'gczq') { //工程周期
  286. this.openDict = true;
  287. getDicts("engin_cycle").then(response => {
  288. this.dictOptions = response.data;
  289. });
  290. } else if (e == 'xzq') {
  291. if (this.isEmpty(this.projectValue.dictValue)) {
  292. this.$modal.msg('请选择工程周期')
  293. } else {
  294. this.openDict = true;
  295. getDicts("district").then(response => {
  296. this.dictOptions = response.data;
  297. });
  298. }
  299. } else if (e == 'xq') { //小区
  300. if (this.isEmpty(this.XZQValue.dictValue)) {
  301. this.$modal.msg('请选择行政区')
  302. } else {
  303. this.open = true;
  304. this.selectList = this.XQList;
  305. }
  306. } else if (e == 'ld') { //楼栋
  307. if (this.isEmpty(this.XQValue.id)) {
  308. this.$modal.msg('请选择小区')
  309. } else {
  310. this.open = true;
  311. this.selectList = this.LDList;
  312. }
  313. } else if (e == 'dy') { //单元
  314. if (this.isEmpty(this.LDValue.id)) {
  315. this.$modal.msg('请选择楼栋')
  316. } else {
  317. this.open = true;
  318. this.selectList = this.DYList;
  319. }
  320. } else if (e == 'gczq2') { //工程周期
  321. this.openDict = true;
  322. getDicts("engin_cycle").then(response => {
  323. this.dictOptions = response.data;
  324. });
  325. } else if (e == 'xzq2') { //行政区2
  326. if (this.isEmpty(this.projectValue2.dictValue)) {
  327. this.$modal.msg('请选择工程周期')
  328. } else {
  329. this.openDict = true;
  330. getDicts("district").then(response => {
  331. this.dictOptions = response.data;
  332. });
  333. }
  334. } else if (e == 'xq2') { //小区2
  335. if (this.isEmpty(this.XZQValue2.dictValue)) {
  336. this.$modal.msg('请选择行政区')
  337. } else {
  338. this.open = true;
  339. this.selectList = this.XQList2;
  340. }
  341. } else if (e == 'ld2') { //楼栋2
  342. if (this.isEmpty(this.XQValue2.id)) {
  343. this.$modal.msg('请选择小区')
  344. } else {
  345. this.open = true;
  346. this.selectList = this.LDList2;
  347. }
  348. } else if (e == 'dy2') { //单元2
  349. if (this.isEmpty(this.LDValue2.id)) {
  350. this.$modal.msg('请选择楼栋')
  351. } else {
  352. this.open = true;
  353. this.selectList = this.DYList2;
  354. }
  355. } else if (e == 'gg') { //规格
  356. if (this.isEmpty(this.materialValue.id)) {
  357. this.$modal.msg('请选择材料')
  358. } else {
  359. this.open = true;
  360. this.selectList = this.materialList;
  361. }
  362. } else if (e == 'cz') { //材料
  363. this.open = true;
  364. getEnginMaterialQualityList("民用工程").then(response => {
  365. this.selectList = response.data;
  366. });
  367. }
  368. },
  369. changeSelect(item, index) {
  370. // this.index = index;
  371. // this.address = item.communityName;
  372. this.open = false;
  373. this.openDict = false;
  374. if (this.type == 'xzq') {
  375. this.XZQValue = item;
  376. //根据行政区id获取小区数据
  377. this.XQValue = ''; //重置小区数据
  378. this.LDValue = ''; //重置楼栋数据
  379. this.DYValue = ''; //重置单元数据
  380. this.FJValue = ''; //重置房间数据
  381. getAreaList(item.dictValue).then(res => {
  382. this.XQList = res.data;
  383. })
  384. } else if (this.type == 'gczq') {
  385. this.projectValue = item
  386. } else if (this.type == 'xq') {
  387. this.XQValue = item;
  388. //根据小区id 获取楼栋数据
  389. this.LDValue = ''; //重置楼栋数据
  390. this.DYValue = ''; //重置单元数据
  391. this.FJValue = ''; //重置房间数据
  392. // getBuildingList(item.id).then(res => {
  393. // this.LDList = res.data
  394. // // console.log("楼栋=", res)
  395. // })
  396. this.queryMaterialsUsedList();
  397. } else if (this.type == 'ld') {
  398. this.LDValue = item;
  399. //根据楼栋ID 获取单元数据
  400. this.DYValue = ''; //重置单元数据
  401. this.FJValue = ''; //重置房间数据
  402. getUnitList(item.id).then(res => {
  403. this.DYList = res.data
  404. // console.log("单元=", res)
  405. })
  406. } else if (this.type == 'dy') {
  407. this.DYValue = item;
  408. } else if (this.type == 'gczq2') {
  409. this.projectValue2 = item
  410. } else if (this.type == 'xzq2') {
  411. this.XZQValue2 = item;
  412. //根据行政区id获取小区数据
  413. this.XQValue2 = ''; //重置小区数据
  414. this.LDValue2 = ''; //重置楼栋数据
  415. this.DYValue2 = ''; //重置单元数据
  416. this.FJValue2 = ''; //重置房间数据
  417. getAreaList(item.dictValue).then(res => {
  418. this.XQList2 = res.data;
  419. })
  420. } else if (this.type == 'xq2') { //小区2
  421. this.XQValue2 = item;
  422. //根据小区id 获取楼栋数据
  423. this.LDValue2 = ''; //重置楼栋数据
  424. this.DYValue2 = ''; //重置单元数据
  425. this.FJValue2 = ''; //重置房间数据
  426. getBuildingList(item.id).then(res => {
  427. this.LDList2 = res.data
  428. // console.log("楼栋=", res)
  429. })
  430. } else if (this.type == 'ld2') {
  431. this.LDValue2 = item;
  432. //根据楼栋ID 获取单元数据
  433. this.DYValue2 = ''; //重置单元数据
  434. this.FJValue2 = ''; //重置房间数据
  435. getUnitList(item.id).then(res => {
  436. this.DYList2 = res.data
  437. // console.log("单元=", res)
  438. })
  439. } else if (this.type == 'dy2') {
  440. this.DYValue2 = item;
  441. this.queryProjectStatisticsList();
  442. } else if (this.type == 'gg') { //规格
  443. this.specificationValue = item;
  444. this.queryMaterialsUsedList();
  445. } else if (this.type == 'cz') { //材料
  446. this.materialValue = item;
  447. this.specificationValue = ''; //重置规格
  448. //根据材质ID 获取规格数据
  449. getEnginSpecificationsList(item.id).then(res => {
  450. this.materialList = res.data
  451. })
  452. }
  453. },
  454. //关闭弹窗
  455. close(e) {
  456. this.open = false
  457. },
  458. //关闭弹窗
  459. closeDict(e) {
  460. this.openDict = false
  461. },
  462. queryMaterialsUsedList() {
  463. if (this.isEmpty(this.XQValue.id)) {
  464. this.$modal.msg('请选择小区')
  465. return;
  466. }
  467. if (this.isEmpty(this.specificationValue.id)) {
  468. this.$modal.msg('请选择规格')
  469. return;
  470. }
  471. let param = {
  472. enginCycle: this.projectValue.dictValue, //工程周期
  473. areaId: this.XQValue.id,
  474. realityQuality: this.materialValue.id,
  475. realitySpecifications: this.specificationValue.id,
  476. };
  477. getMunicipalStatisticsData(param).then(res => {
  478. this.materialUsageList = res.data;
  479. })
  480. },
  481. queryProjectStatisticsList() {
  482. let param = {
  483. enginCycle: this.projectValue.dictValue, //工程周期
  484. areaId: this.XQValue2.id,
  485. buildingId: this.LDValue2.id,
  486. unitId: this.DYValue2.id,
  487. };
  488. getObtainRoomcCompletionInformationList(param).then(res => {
  489. this.roomList = res.data[0].roomStatusVoList;
  490. this.roomCount = res.data[0].roomStatusVoList.length;
  491. })
  492. },
  493. getColorByStatus(status) {
  494. if (this.isEmpty(status)) {
  495. return "#fff";
  496. }
  497. if (status == '未完工') {
  498. return "#5bd3ff";
  499. } else if (status == '未开工') {
  500. return "#ffc881";
  501. } else if (status == '完工') {
  502. return "#80d9ae";
  503. }
  504. }
  505. }
  506. }
  507. </script>
  508. <style>
  509. .marginLeft5 {
  510. margin-left: 5px;
  511. }
  512. .title-txt {
  513. font-size: 15px;
  514. font-weight: bold;
  515. color: black;
  516. }
  517. .content-txt {
  518. font-size: 10px;
  519. font-weight: bold;
  520. color: black;
  521. }
  522. .view-bg {
  523. margin-left: 8px;
  524. margin-right: 8px;
  525. margin-top: 8px;
  526. background-color: #fff;
  527. border-radius: 5px;
  528. padding: 10px 20px 10px 10px;
  529. }
  530. .uni-list {
  531. background-color: #FFFFFF;
  532. position: relative;
  533. width: 100%;
  534. display: flex;
  535. flex-direction: column;
  536. }
  537. .uni-list-cell {
  538. position: relative;
  539. display: flex;
  540. flex-direction: row;
  541. justify-content: space-between;
  542. align-items: center;
  543. }
  544. .uni-list-cell-left {
  545. white-space: nowrap;
  546. font-size: 28rpx;
  547. }
  548. .centered {
  549. text-align: center;
  550. background-color: #e2f4ff;
  551. }
  552. .text {
  553. background-color: #e2f4ff;
  554. height: 20rpx;
  555. }
  556. .view_bg_build {
  557. background-color: #e2f4ff;
  558. padding: 10rpx;
  559. margin: 20rpx;
  560. }
  561. .grid-text {
  562. font-size: 14px;
  563. color: #000000;
  564. text-align: center;
  565. padding-left: 30rpx;
  566. padding-right: 30rpx;
  567. padding-top: 20rpx;
  568. padding-bottom: 20rpx;
  569. }
  570. .name {
  571. flex: 0;
  572. font-size: 14px;
  573. color: #000000;
  574. overflow: hidden;
  575. text-overflow: ellipsis;
  576. white-space: nowrap;
  577. }
  578. .table-item {
  579. overflow: hidden;
  580. text-overflow: ellipsis;
  581. white-space: nowrap;
  582. }
  583. .block-iv {
  584. width: 10px;
  585. height: 10px;
  586. }
  587. .table {
  588. width: 100%;
  589. border-radius: 8rpx;
  590. background: #FFFFFF;
  591. /* border: 1rpx solid #EFEFEF; */
  592. font-size: 28rpx;
  593. }
  594. .felx-row {
  595. width: 100%;
  596. display: flex;
  597. justify-content: space-between;
  598. align-items: center;
  599. }
  600. .h-tr {
  601. box-sizing: border-box;
  602. display: flex;
  603. flex-direction: row;
  604. flex-wrap: nowrap;
  605. justify-content: center;
  606. align-items: center;
  607. align-content: center;
  608. border-color: #ccc;
  609. border-style: solid;
  610. border-width: 0;
  611. border-width: 1px;
  612. color: #333;
  613. }
  614. .h-td {
  615. box-sizing: border-box;
  616. padding: 3px;
  617. word-break: break-all;
  618. border-color: #ccc;
  619. border-style: solid;
  620. border-width: 1px;
  621. border-right-width: 1px;
  622. display: flex;
  623. flex-direction: row;
  624. flex-wrap: nowrap;
  625. justify-content: center;
  626. align-items: center;
  627. align-content: center;
  628. min-height: 64rpx;
  629. }
  630. </style>