statistics.vue 20 KB

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