statistics.vue 21 KB

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