indexs.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552
  1. <template>
  2. <view class="content">
  3. <view class="ceheigh">
  4. <!-- 搜索 @getSearch='getSearch' @clickRight='clickRight'-->
  5. <tab-search :leftwith="checkPermi(['system:check:app'])?'80':'0'" :rightwith="checkPermi(['system:notice:list'])?'90':'0'" @clickLeft='clickLeft' @clickRight='clickRight' :noticenum="noticenum" @getSearch='getSearch'></tab-search>
  6. <!-- banner -->
  7. <block v-if="bannerlist.length">
  8. <banner :bannerlist="bannerlist" :currentdate="currentdate" type="zhong"></banner>
  9. </block>
  10. <!-- @click="getMessage" -->
  11. <view class="home_tz" v-if="noticenum">
  12. <image :src="tzimg"></image>
  13. <view class="c34 f15 f500 over flex1">您有1条预警项目未读,请前往查看详情…</view>
  14. <view class="f15 c6 ml4 flex0">{{currentdate}}</view>
  15. </view>
  16. <!-- 模块 -->
  17. <view class="homelist">
  18. <!-- -->
  19. <view class="list" v-if="checkPermi(['fgw:xmsb:list'])" @click="handleTozf(0)" >
  20. <image :src="homeaimg"></image>
  21. <view class="tit">政府项目</view>
  22. <view class="txt co4">{{census.zfxm||0}}</view>
  23. </view>
  24. <view class="list" @click="handleToZsFn" v-if="checkPermi(['projectV2:sbbzb:list'])">
  25. <image :src="homebimg"></image>
  26. <view class="tit">招商项目</view>
  27. <view class="txt co2">{{census.zsxm||0}}</view>
  28. </view>
  29. <view class="list" @click="handleToWtFn" v-if="checkPermi(['fgw:xmsb:list'])">
  30. <image :src="homecimg"></image>
  31. <view class="tit">问题项目</view>
  32. <view class="txt co3">{{census.wtxm||0}}</view>
  33. </view>
  34. <view class="list" v-if="checkPermi(['fgw:xmsb:list'])" @click="handleTozf(1)" >
  35. <image :src="homeeimg"></image>
  36. <view class="tit">申报库</view>
  37. <view class="txt co3">{{census.sbxm||0}}</view>
  38. </view>
  39. <view class="list" v-if="checkPermi(['fgw:xmsb:list'])" @click="handleTozf(2)" >
  40. <image :src="homefimg"></image>
  41. <view class="tit">项目库</view>
  42. <view class="txt co3">{{census.xmk||0}}</view>
  43. </view>
  44. <view class="list" @click="handleTold" v-if="checkPermi(['fgw:xmsb:ldps:list'])">
  45. <image :src="homegimg"></image>
  46. <view class="tit">领导批示</view>
  47. <view class="txt co3">{{census.psxm||0}}</view>
  48. </view>
  49. <view class="list" v-if="checkPermi(['fgw:xmsb:xmyj:list'])" @click="handleToxmyj">
  50. <image :src="homedimg"></image>
  51. <view class="tit">项目预警</view>
  52. <view class="txt co1">{{census.yjxm||0}}</view>
  53. </view>
  54. <!-- 超期项目 -->
  55. <view class="list" v-if="checkPermi(['fgw:xmsb:cqxm:list'])" @click="handleTocqxm">
  56. <image :src="homehimg"></image>
  57. <view class="tit">超期项目</view>
  58. <view class="txt co1">{{census.cqxm||0}}</view>
  59. </view>
  60. </view>
  61. <!-- <view class="home_sta flexc">
  62. <view>已报市局待审(<text>1</text>)</view>
  63. <view>涉林地项目(0)</view>
  64. <view>已批复(<text>1</text>)</view>
  65. <view class="bga">更多
  66. <image :src="morerimg"></image>
  67. </view>
  68. </view> -->
  69. <view class="zhanline"></view>
  70. <view class="home_nums" v-if="checkPermi(['fgw:common:sbAndJdNum'])">
  71. <view class="home_num">
  72. <view class="list">
  73. <view class="num co4">{{jdcensus.xmzs}}</view>
  74. <view class="tit">项目总数</view>
  75. </view>
  76. <view class="list">
  77. <view class="num co2">{{jdcensus.zcxm}}</view>
  78. <view class="tit">正常项目</view>
  79. </view>
  80. <view class="list">
  81. <view class="num co1">{{jdcensus.cqjdxm}}</view>
  82. <view class="tit">有超期节点项目</view>
  83. </view>
  84. <view class="list">
  85. <view class="num co3">{{jdcensus.yzzhxm}}</view>
  86. <view class="tit">有严重滞后节点项目</view>
  87. </view>
  88. <view class="list">
  89. <view class="num co2">{{jdcensus.jdzs}}</view>
  90. <view class="tit">节点安排总数</view>
  91. </view>
  92. <view class="list">
  93. <view class="num co4">{{jdcensus.zcjd}}</view>
  94. <view class="tit">正常节点</view>
  95. </view>
  96. <view class="list">
  97. <view class="num co1">{{jdcensus.cqjd}}</view>
  98. <view class="tit">超期节点</view>
  99. </view>
  100. <view class="list">
  101. <view class="num co3">{{jdcensus.yzzhjd}}</view>
  102. <view class="tit">严重滞后节点</view>
  103. </view>
  104. </view>
  105. <!-- <view class="home_tit">*严重滞后指超期后承诺时间内仍未完成</view> -->
  106. </view>
  107. <view class="zhanline"></view>
  108. </view>
  109. <!-- 超期节点公示 -->
  110. <view v-if="checkPermi(['fgw:common:zrdwCqNum'])">
  111. <!-- home_morefixed -->
  112. <view class="home_more" :class="moreflag?'home_morefixed':''">
  113. <view class="flexc pdlr14 pdtb8" @click="handleTozd">
  114. <view class="tit">超期节点公示</view>
  115. </view>
  116. <view class="tablebox">
  117. <table border='0' class='table'>
  118. <thead class='thead'>
  119. <tr class="tr_one">
  120. <th style="width: 230rpx;">责任单位</th>
  121. <th style="width: 160rpx;">节点安排总数</th>
  122. <!-- <th style="width: 120rpx;">今年到期</th> -->
  123. <th style="width: 150rpx;">超期节点</th>
  124. <th style="width: 160rpx;">严重滞后节点</th>
  125. <!-- <th style="width: 80rpx;">累计扣分</th> -->
  126. </tr>
  127. </thead>
  128. <tbody class="tbody" v-if="list.length>0">
  129. <tr v-for="(item,index) in list" :key="index">
  130. <td style="width: 230rpx;" >{{item.name}}</td>
  131. <td style="width: 160rpx;" class='co2'>{{item.jdzs}}</td>
  132. <!-- <td style="width: 120rpx;" class='co2'>{{item.a}}10</td> -->
  133. <td style="width: 150rpx;" class='co1'>{{item.cqjd}}</td>
  134. <td style="width: 160rpx;" class='co1'>{{item.yazhjd}}</td>
  135. <!-- <td style="width: 80rpx;" class='co1'>{{item.a}}10</td> -->
  136. </tr>
  137. <!-- <div class="shax" v-if="list.length>0">
  138. {{wtdt}}
  139. </div>
  140. <div class="shax" v-else><span>暂无数据</span></div> -->
  141. <!-- 查看更多 -->
  142. <view class="listmore" v-if="list.length>3&&!moreflag" @click="getMore">
  143. 查看更多
  144. <image :src="moredimg"></image>
  145. </view>
  146. </tbody>
  147. <div class="shax" v-else><span>暂无数据</span></div>
  148. </table>
  149. </view>
  150. </view>
  151. </view>
  152. <!-- 弹窗 -->
  153. <view class="bgbox" @click="getClose" v-if="titflag"></view>
  154. <!-- 弹窗 -->
  155. <view class="fixedbox" v-if="titflag">
  156. <image :src="closeimg" class="choseimg" @click="getClose"></image>
  157. <view class="top">温馨提示</view>
  158. <view class="boxs">
  159. <view class="c34 f16 fw">您好!您上报的<text class="coff6">“高速出入口片区环境 品质提升规划改造”</text>项目,本周还未进 行进度汇报,请尽快前去汇报!</view>
  160. </view>
  161. <view class="fixedbtn" @click="getClose">我知道了</view>
  162. </view>
  163. <footers v-if="isfootflag" :footlist="footlist" :footerindex="footerindex" :color_checked="color_checked" :color_nochecked="color_nochecked" :isHomeIndex="true"></footers>
  164. </view>
  165. </template>
  166. <script>
  167. import tabSearch from "@/components/toptab/search.vue"
  168. import banner from "@/components/toptab/banner.vue"
  169. import projectList from "@/components/projectlist/list.vue"
  170. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  171. import {getBannerlist,getNoticenumber,getCommonCensus,getCommonsbAndJdNum,getzrdwCqNumFn} from "@/api/zdwork/index.js"
  172. import { getsbbzblist} from '@/api/work/clue.js'
  173. import footers from '@/components/footer/footer.vue'
  174. export default {
  175. data(){
  176. return{
  177. closeimg:require('@/static/images/close.png'),
  178. titflag:false,
  179. tzimg:require('@/static/images/index/tzicon.png'),
  180. homeaimg:require('@/static/images/new/index/homea.png'),
  181. homebimg:require('@/static/images/new/index/homeb.png'),
  182. homecimg:require('@/static/images/new/index/homec.png'),
  183. homedimg:require('@/static/images/new/index/homed.png'),
  184. morerimg:require('@/static/images/new/index/morer.png'),
  185. moredimg:require('@/static/images/new/index/mored.png'),
  186. homeeimg:require('@/static/images/new/index/homee.png'),
  187. homefimg:require('@/static/images/new/index/homef.png'),
  188. homegimg:require('@/static/images/new/index/homeg.png'),
  189. homehimg:require('@/static/images/new/index/homeh.png'),
  190. mrimg:require("@/static/images/index/mrore.png") ,
  191. list:[],
  192. wtdt:'',
  193. bannerlist:[],
  194. noticenum:0,
  195. census:{},//统计
  196. jdcensus:{},//节点统计
  197. footlist:[
  198. {module:'zdhome',title:'首页',icon_checked:require('@/static/images/new/tabbar/home_.png'),icon_nochecked:require('@/static/images/new/tabbar/home.png')},
  199. {module:'zdcount',title:'统计分析',icon_checked:require('@/static/images/new/tabbar/tong_.png'),icon_nochecked:require('@/static/images/new/tabbar/tong.png')},
  200. {module:'zdmine',title:'我的',icon_checked:require('@/static/images/new/tabbar/mine_.png'),icon_nochecked:require('@/static/images/new/tabbar/mine.png')},
  201. ],
  202. footerindex:'zdhome',
  203. showfooter: 0,
  204. isfootflag:true,
  205. color_checked :'FA5F03',
  206. color_nochecked :'666666',
  207. topzhiflag:true,
  208. currentdate:'',
  209. moreflag:false,
  210. zanthreelist:[],
  211. zrdwcqlist:[],
  212. }
  213. },
  214. components:{tabSearch,banner,projectList,footers},
  215. onUnload(){
  216. uni.$off('refreshdatacensuszd')
  217. },
  218. onLoad() {
  219. this.init()
  220. this.currentdate = this.getNowFormatDate();
  221. // 拿取数据后
  222. var that=this;
  223. // uni.$on('refreshdatacensuszd',(e) => {
  224. // if(e&&e=='ldps'){
  225. // }else{
  226. // this.getCommonCensus();
  227. // }
  228. // })
  229. // that.$nextTick(function(){
  230. // setTimeout(function(){
  231. // that.ceheiFn();
  232. // })
  233. // },500)
  234. },
  235. onPageScroll(e) {
  236. // console.log(e,1)
  237. // let that = this;
  238. // if(e.scrollTop >= that.dingtop + 10){
  239. // that.topzhiflag = true;
  240. // that.topflag = true;
  241. // that.scrollju = e.scrollTop - (that.dingtop + 10);
  242. // }else{
  243. // that.topzhiflag = false;
  244. // that.topflag = false;
  245. // // if(that.from_type == 'all' && that.module_from == 'shop'){
  246. // // that.ceshiFn();
  247. // // }else if(that.from_type == 'waimai' && that.module_from == 'shop'){
  248. // // that.ceshitwoFn();
  249. // // }else if(that.module_from == 'product'){
  250. // // that.ceshithreeFn();
  251. // // }
  252. // }
  253. },
  254. methods:{
  255. checkPermi, checkRole,
  256. getNowFormatDate(){
  257. let date = new Date();
  258. let y = date.getFullYear();
  259. let m = date.getMonth() + 1;
  260. m = m < 10 ? "0" + m : m;
  261. let d = date.getDate();
  262. d = d < 10 ? "0" + d : d;
  263. const timeday = m + "-" + d;
  264. return timeday;
  265. },
  266. getMore(){
  267. this.moreflag=true;
  268. this.list=this.zrdwcqlist;
  269. },
  270. // 新的
  271. getClose(){
  272. this.titflag=false;
  273. },
  274. // 政府项目
  275. handleTozf(e){
  276. this.$tab.navigateTo('/pages/zdpages/work/zfitems?idx='+e)
  277. },
  278. // 招商项目
  279. handleToZsFn(){
  280. this.$tab.navigateTo('/pages/work/allitems?idx=0')
  281. },
  282. //问题项目
  283. handleToWtFn(){
  284. this.$tab.navigateTo('/pages/zdpages/work/wtitems')
  285. },
  286. getSearch(data){
  287. this.$tab.navigateTo('/pages/zdpages/work/zfitems?xmmc='+data)
  288. },
  289. handleTold(){
  290. this.$tab.navigateTo('/pages/zdpages/work/lditems')
  291. },
  292. // 项目预警
  293. handleToxmyj(){
  294. this.$tab.navigateTo('/pages/zdpages/work/xmyjitems')
  295. },
  296. // 超期项目
  297. handleTocqxm(){
  298. this.$tab.navigateTo('/pages/zdpages/work/cqitems')
  299. },
  300. ceheiFn(){
  301. var that = this;
  302. let cehei = uni.createSelectorQuery().in(this);
  303. cehei.select(".ceheigh").boundingClientRect(function(res){
  304. that.dingtop = res.height;
  305. }).exec();
  306. },
  307. init(){
  308. // if(checkPermi(['system:notice:number'])){
  309. // this.getNoticenumber()
  310. // }
  311. this.getBanList()
  312. this.getCommonCensus()
  313. this.getCommonsbAndJdNum()
  314. this.getzrdwCqNumFn()
  315. // this.getsbbzblist()
  316. },
  317. getzrdwCqNumFn(){
  318. if(checkPermi(['fgw:common:zrdwCqNum'])){
  319. getzrdwCqNumFn().then(res=>{
  320. if(res.code==200){
  321. this.zrdwcqlist=res.data;
  322. this.zanthreelist=res.data.slice(0,3);
  323. this.list=this.zanthreelist;
  324. if(this.moreflag){
  325. this.list=res.data;
  326. }else{
  327. this.list=this.zanthreelist;
  328. }
  329. }else{
  330. this.$toast(res.msg)
  331. }
  332. })
  333. }
  334. },
  335. getNoticenumber(){
  336. getNoticenumber().then(res=>{
  337. if(res.code==200){
  338. this.noticenum=Number(res.data)
  339. }else{
  340. this.$toast(res.msg)
  341. }
  342. })
  343. },
  344. getCommonsbAndJdNum(){
  345. if(checkPermi(['fgw:common:sbAndJdNum'])){
  346. getCommonsbAndJdNum().then(res=>{
  347. if(res.code==200){
  348. this.jdcensus=res.data
  349. }else{
  350. this.$toast(res.msg)
  351. }
  352. })
  353. }
  354. },
  355. getBanList(){
  356. getBannerlist().then(res=>{
  357. if(res.code==200){
  358. this.bannerlist=res.rows
  359. }else{
  360. this.$toast(res.msg)
  361. }
  362. })
  363. },
  364. getCommonCensus(){
  365. if(checkPermi(['fgw:common:census'])){
  366. getCommonCensus().then(res=>{
  367. if(res.code==200){
  368. this.census=res.data
  369. }else{
  370. this.$toast(res.msg)
  371. }
  372. })
  373. }
  374. },
  375. //重大项目
  376. getsbbzblist(){
  377. var params={
  378. pageSize:5,
  379. pageNum: 1,
  380. sfwlhxxxm:'Y'
  381. }
  382. getsbbzblist(params).then(res=>{
  383. if(res.code==200){
  384. this.list = res.rows;
  385. }else{
  386. this.$toast(res.msg)
  387. }
  388. })
  389. },
  390. //左侧点击
  391. clickLeft(){
  392. if(checkPermi(['system:check:app'])){
  393. this.$tab.reLaunch('/pages/index')
  394. }
  395. },
  396. //右侧点击
  397. clickRight(e){
  398. if(checkPermi(['system:notice:list'])){
  399. this.$tab.navigateTo('/pages/work/message')
  400. }
  401. },
  402. getMessage(){
  403. if(checkPermi(['system:notice:list'])){
  404. this.$tab.navigateTo('/pages/work/message')
  405. }
  406. // this.$tab.navigateTo('/pages/work/idea')
  407. },
  408. handleToAll(idx){
  409. this.$tab.navigateTo('/pages/work/allitems?idx='+idx)
  410. },
  411. handleTosk(){
  412. this.$tab.navigateTo('/pages/work/skitem')
  413. },
  414. handleTowt(){
  415. this.$tab.navigateTo('/pages/work/wtitem')
  416. },
  417. handleTozd(){
  418. // this.$tab.navigateTo('/pages/work/zditem')
  419. },
  420. goDetail(e){
  421. this.$tab.navigateTo('/pages/work/cluedetails?id='+e.id)
  422. }
  423. },
  424. }
  425. </script>
  426. <style lang="scss" scoped>
  427. .content{min-height: 100vh;background-color: #ffffff;}
  428. .home_tz{display: flex;align-items: center;padding: 0 28rpx;height: 80rpx;background: #FFE9D5;
  429. image{width: 66rpx;height: 30rpx;margin-right: 24rpx;flex: 0 0 auto;}
  430. }
  431. // border-bottom: 2rpx solid #DBDBDB;
  432. .homelist{display: flex;flex-wrap: wrap;padding: 40rpx 20rpx;
  433. .list{width: 25%;display: flex;flex-direction: column;align-items: center;position: relative;padding: 20rpx 0;
  434. .list_not{ position: absolute; background: #F63030;color: #ffffff;font-size: 18rpx;left: 50%;top: 24rpx;border-radius: 50%;min-width: 40rpx;height: 40rpx;text-align: center;padding: 0 4rpx;box-sizing: border-box;line-height: 40rpx;margin-left: 30rpx;}
  435. image{width: 80rpx;height: 80rpx;margin-bottom: 20rpx;}
  436. .tit{font-size: 30rpx;font-weight: bold;
  437. color: #444444;margin-bottom: 16rpx;}
  438. .txt{font-size: 30rpx;font-weight: bold;height: 40rpx;background: #F8F6FF;
  439. border-radius:20rpx;min-width: 100rpx;text-align: center;line-height: 40rpx;
  440. &.co1{color: #F84E57;}
  441. &.co2{color: #26C240;}
  442. &.co3{color: #F74E32;}
  443. &.co4{color: #3C9BCD;}
  444. }
  445. }
  446. }
  447. // 待审状态
  448. .home_sta{padding: 36rpx 24rpx;justify-content: space-between;
  449. view{min-height: 50rpx;background: #EBEBEB;border-radius: 26rpx;text-align: center;padding: 0 16rpx;height: 50rpx;line-height: 50rpx;box-sizing: border-box;font-size: 24rpx;font-weight: 500;color: #666666;display: flex;align-items: center;
  450. text{color: #F63030;}
  451. &.bga{background: #FFE9D5;color: #FC7300;}
  452. }
  453. image{width: 30rpx;height: 22rpx;margin-left: 8rpx;}
  454. }
  455. //统计
  456. .home_nums{
  457. padding: 28rpx 24rpx;
  458. .home_num{display: flex;align-items: center;flex-wrap: wrap;justify-content: space-between;
  459. .list{width: 158rpx;height: 176rpx;background: #F3F5FF;border-radius: 10rpx;display: flex;flex-direction: column;align-items: center;justify-content: space-around;padding: 8rpx 12rpx;box-sizing: border-box;margin-bottom: 24rpx;
  460. .num{font-size: 38rpx;font-weight: bold;
  461. &.co1{color: #F84E57;}
  462. &.co2{color: #26C240;}
  463. &.co3{color: #F74E32;}
  464. &.co4{color: #3C9BCD;}
  465. }
  466. .tit{font-size: 28rpx; color: #343434;font-weight: bold;text-align: center;}
  467. }
  468. }
  469. .home_tit{font-size: 28rpx;font-weight: bold;color: #FC3018;text-align: right;padding-top: 6rpx;}
  470. }
  471. .home_more{padding-top: 20rpx;
  472. .tit{font-size: 32rpx;font-weight: bold;color: #343434;position: relative;flex: 0 0 auto;
  473. &::before{content: '';width: 58rpx;height: 8rpx;position: absolute;left: 0;bottom: -22rpx;background-color: #FC7300;}
  474. }
  475. .home_morer{flex: 1;display: flex;align-items: center;justify-content: flex-end;
  476. view{font-size: 30rpx;color: #AAAAAA;font-weight: 500;}
  477. image{width: 24rpx;height: 24rpx;margin-left: 14rpx;}
  478. }
  479. }
  480. //列表
  481. .chao_top{min-height: 90rpx;background: #F3F5FF;border-radius: 10rpx;display: flex;align-items: center;margin-top: 70rpx;
  482. view{font-size: 28rpx;font-weight: bold;color: #343434;padding: 8rpx 10rpx;box-sizing: border-box;flex: 1 0 auto;text-align: center;}
  483. }
  484. .wid90{width:180rpx;}
  485. .wid60{width:120rpx;}
  486. .wid40{width:80rpx;}
  487. // .chao_list{border-bottom: 2rpx solid #DEDEDE;display: flex;align-items: center;
  488. // view{font-size: 28rpx;color: #343434;padding: 30rpx 10rpx;box-sizing: border-box;flex: 1 0 auto;text-align: center;
  489. // &.co1{color: #F84E57;}
  490. // &.co2{color: #26C240;}
  491. // &.co3{color: #F74E32;}
  492. // &.co4{color: #3C9BCD;}
  493. // }
  494. // }
  495. // 更多
  496. .listmore{display: flex;align-items: center;justify-content: center;font-size: 30rpx;color: #aaaaaa;font-weight: 500;padding: 40rpx 24rpx;
  497. image{width: 24rpx;height: 24rpx;margin-left: 12rpx;}
  498. }
  499. .fixedbox{box-sizing: border-box;padding:42rpx 46rpx 60rpx;
  500. .choseimg{top: 50rpx;}
  501. .boxs{padding: 60rpx 0 70rpx;}
  502. .fixedbtn{width:100%;height: 80rpx;background: #FF6400;
  503. border-radius: 10rpx;display: flex;align-items: center;justify-content: center;font-size: 32rpx;font-weight: bold;color: #FFFFFF;
  504. &.btn1{background-color: #20ACCF;margin-bottom: 36rpx;}
  505. }
  506. }
  507. // 表格
  508. .tablebox{padding:70rpx 24rpx 0;flex: 1;display: flex;flex-direction: column;overflow: hidden;box-sizing: border-box;
  509. th{padding:10rpx 8rpx;box-sizing: border-box;font-size: 28rpx;color: #343434;font-weight: bold;text-align: center;
  510. .num{font-size: 24rpx;margin-top: 8rpx;
  511. &.co1{color: #FE3155;}
  512. &.co2{color:#1686F6;}
  513. }
  514. }
  515. }
  516. .table{border-spacing: 0;width: 700rpx;display: flex;flex-direction: column;overflow: hidden;margin: 0 auto;}
  517. .thead{width: 100%;background-color: #F3F5FF;flex: 0 0 auto;border-radius: 10rpx;
  518. }
  519. .tbody {flex: 1;overflow: auto;}
  520. .tbody td{height: 120rpx;box-sizing: border-box;padding: 24rpx 14rpx;font-weight: 500;color: #343434;font-size: 28rpx;border-bottom: 2rpx solid #CDCDCD;text-align: center;word-break: break-all;
  521. &.co1{color: #FE3155;}
  522. &.co2{color:#26C240;}
  523. }
  524. // 滚动 固定
  525. .home_morefixed{height: calc(100vh - 100rpx);display: flex;flex-direction: column;}
  526. </style>