statistics.vue 22 KB

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