list.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552
  1. <template>
  2. <view>
  3. <!-- 第一种样式 人员管理-->
  4. <block v-if="datainfo.length>0">
  5. <!-- 人员管理 -->
  6. <block v-if="type=='people'">
  7. <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx">
  8. <view class="ctop flexc">
  9. <image :src="house" class="imgs" v-if="ite.houseStatus==1"></image>
  10. <image :src="housea" class="imgs" v-if="ite.houseStatus==4"></image>
  11. <image :src="houseb" class="imgs" v-if="ite.houseStatus==2"></image>
  12. <image :src="housec" class="imgs" v-if="ite.houseStatus==3"></image>
  13. <!-- <image :src="hicoa" class="imgs" v-if="ite.type==1"></image>
  14. <image :src="hicob" class="imgs" v-if="ite.type==2"></image> -->
  15. <view class="tit">{{ite.detailedAddress}}</view>
  16. <view class="flex1"></view>
  17. <!-- <view class="txt ca" v-if="ite.type==1">业主</view>
  18. <view class="txt cb" v-if="ite.type==2">租户</view> -->
  19. <view class="txt ca" v-if="ite.houseStatus==1">自住</view>
  20. <view class="txt cb" v-if="ite.houseStatus==4">出租</view>
  21. <view class="txt cc" v-if="ite.houseStatus==2">空闲</view>
  22. <view class="txt co6" v-if="ite.houseStatus==3">代售</view>
  23. </view>
  24. <view class="plists" v-if="ite.residentInfoList&&ite.residentInfoList.length">
  25. <block v-for="(aite,aidx) in ite.residentInfoList">
  26. <view class="flexc pr mb12" :key="`peo${aidx}`" v-if="aidx==0" @click="getDetail(aite.residentId)"
  27. :data-idx="idx" :data-aidx="aidx" data-type="peo"
  28. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+aite.right+'px'"
  29. >
  30. <view class="plist flexc">
  31. <image :src="man" class="head" v-if="aite.residentGender==1"></image>
  32. <image :src="woman" class="head" v-else></image>
  33. <view class="flex1">
  34. <view class="ptit">{{aite.residentName}}
  35. <view class="btn btnc ml10" v-if="aite.isHouseholder=='Y'">户主</view>
  36. </view>
  37. <view class="ptxt">身份证号 | {{aite.residentIdCard}}</view>
  38. <view class="flexc">
  39. <view class="ptxt">性别 | {{aite.residentGender==1?'男':'女'}}</view>
  40. <view class="ptxt">年龄 | {{getAgeFromID(aite.residentIdCard)}}岁</view>
  41. </view>
  42. <view class="flexc" v-if="aite.residentAppearance">
  43. <view class="ptxt">人员面貌 | {{kaType(aite.residentAppearance,rymmList)}}</view>
  44. </view>
  45. </view>
  46. </view>
  47. <view class="spdel" v-if="aite.right>0&&checkPermi(['wuYe:residentInfo:remove'])" @click.stop="getDelFn(aite.residentId)">删除</view>
  48. </view>
  49. <view class="flexc pr mb12" :key="`peo${aidx}`" v-if="aidx>0&&ite.zhanflag" @click="getDetail(aite.residentId)"
  50. :data-idx="idx" :data-aidx="aidx" data-type="peo"
  51. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+aite.right+'px'"
  52. >
  53. <view class="plist flexc">
  54. <image :src="man" class="head" v-if="aite.residentGender==1"></image>
  55. <image :src="woman" class="head" v-else></image>
  56. <view class="flex1">
  57. <view class="ptit">{{aite.residentName}}
  58. <view class="btn btnc ml10" v-if="aite.isHouseholder=='Y'">户主</view>
  59. </view>
  60. <view class="ptxt">身份证号 | {{aite.residentIdCard}}</view>
  61. <view class="flexc">
  62. <view class="ptxt">性别 | {{aite.residentGender==1?'男':'女'}}</view>
  63. <view class="ptxt">年龄 | {{getAgeFromID(aite.residentIdCard)}}岁</view>
  64. </view>
  65. <view class="flexc" v-if="aite.residentAppearance">
  66. <view class="ptxt">人员面貌 | {{kaType(aite.residentAppearance,rymmList)}}</view>
  67. </view>
  68. </view>
  69. </view>
  70. <view class="spdel" v-if="aite.right>0&&checkPermi(['wuYe:residentInfo:remove'])" @click.stop="getDelFn(aite.residentId)">删除</view>
  71. </view>
  72. </block>
  73. <image :src="upimg" v-if="ite.residentInfoList.length>1" :class="ite.zhanflag?'act':''" class="upimg" @click="getZhan(idx)"></image>
  74. </view>
  75. <!-- 无数据 -->
  76. <view class="nodata" v-else>
  77. <image :src="noiconpimg" style="width: 200rpx;height: 200rpx;"></image>
  78. <view style="font-size: 26rpx;margin-bottom: 20rpx;">暂无人员</view>
  79. </view>
  80. </view>
  81. </block>
  82. <!-- 维修人员管理 -->
  83. <view v-if="type=='staff'" class="flecw">
  84. <view class="stafflist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.staffId)">
  85. <view class="statop">
  86. <image class="head" :src="man" v-if="ite.gender==1"></image>
  87. <image class="head" :src="woman" v-else></image>
  88. <view class="flex1">
  89. <view class="statit">{{ite.staffName}}</view>
  90. <view class="statxt flexc" :class="{'co06':ite.status==1,'coff':ite.status==2}"><text class="cir" :class="{'bga':ite.status==1,'bgb':ite.status==2}"></text>{{kaType(ite.status,ygztList)}}</view>
  91. <!-- <view class="statxt flexc cof6"><text class="cir bgb"></text>指派中</view> -->
  92. </view>
  93. <image :src="pdel" class="stadel" v-if="checkPermi(['wuYe:staffManage:remove'])" @click.stop="getDelFn(ite.staffId)"></image>
  94. </view>
  95. <view class="stalist">
  96. <view class="imgs"><image :src="gzlx" class="gzlximg"></image></view>{{kaType(ite.staffCategory,yglbList)}}
  97. <view class="flex1"></view>
  98. <view class="flexcc eyes" @click.stop="getHideFn(idx)">
  99. <image :src="neye" class="neye" v-if="ite.hideflag"></image>
  100. <image :src="eye" class="eye" v-else></image>
  101. </view>
  102. </view>
  103. <view class="stalist">
  104. <view class="imgs"><image :src="mphone" class="mphone"></image></view>{{ite.hideflag?ite.phoneNumbera:ite.phoneNumber}}
  105. </view>
  106. <view class="stalist">
  107. <view class="imgs"><image :src="sfz" class="sfz"></image></view>{{ite.hideflag?ite.idCarda:ite.idCard}}
  108. </view>
  109. </view>
  110. </view>
  111. <!-- 来访管理 -->
  112. <block v-if="type=='comepeo'">
  113. <view class="carlist peolist pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite)"
  114. :data-idx="idx"
  115. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  116. >
  117. <view class="pbr">
  118. <view class="ctop flexc">
  119. <image :src="hicoa" class="imgs"></image>
  120. <!-- <image :src="hicob" class="imgs" v-if="ite.type==2"></image> -->
  121. <view class="tit">{{ite.houseAddress}}</view>
  122. <!-- <view class="btn" :class="{'btnbga':ite.status==1,'btnbgc':ite.status==2}">{{kaType(ite.status,visitorType)}}</view> -->
  123. <!-- <view class="btn btnbgc">临时</view> -->
  124. <view class="flex1"></view>
  125. <view class="txt cc" v-if="ite.isCar=='Y'">驾车</view>
  126. </view>
  127. <view class="clists">
  128. <!-- <view class="clist"><view class="tit">预约时间</view>{{ite.reserveTime}}</view> -->
  129. <view class="clist"><view class="tit">来访时间</view>{{ite.visitorTime}}</view>
  130. <view class="w50 flexc">
  131. <view class="clist"><view class="tit">访客姓名</view>{{ite.name}}</view>
  132. <view class="clist"><view class="tit">来访人数</view>{{ite.num}}人</view>
  133. </view>
  134. <view class="w50 flexc">
  135. <view class="clist"><view class="tit">来访事由</view>{{ite.reason}}</view>
  136. <view class="clist"><view class="tit">车牌号码</view>{{ite.plateNumber}}</view>
  137. </view>
  138. <view class="clist"><view class="tit">手机号码</view>{{ite.mobileNumber}}</view>
  139. </view>
  140. </view>
  141. <view class="spdel" v-if="ite.right>0" @click.stop="getDelFn(ite)">删除</view>
  142. </view>
  143. </block>
  144. <view class="shax">{{wtdt}}</view>
  145. </block>
  146. <!-- 无数据 -->
  147. <view class="nodata" v-else>
  148. <image :src="noiconpimg"></image>
  149. <view>
  150. 暂无数据
  151. </view>
  152. </view>
  153. </view>
  154. </template>
  155. <script>
  156. import {selectDictValue} from "@/utils/common.js"
  157. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  158. import config from '@/config'
  159. export default{
  160. props:{
  161. datainfo: {
  162. type: Array,
  163. default () {
  164. return []
  165. }
  166. },
  167. wtdt:{
  168. type:String,
  169. default () {
  170. return ''
  171. }
  172. },
  173. type:{
  174. type:String,
  175. default () {
  176. return 0
  177. }
  178. },
  179. visitorType:{
  180. type:Array,
  181. default () {
  182. return []
  183. }
  184. },
  185. yglbList:{//员工类别
  186. type:Array,
  187. default () {
  188. return []
  189. }
  190. },
  191. ygztList:{//员工状态
  192. type:Array,
  193. default () {
  194. return []
  195. }
  196. },
  197. tabval:{
  198. type:[Number,String],
  199. default () {
  200. return ''
  201. }
  202. },
  203. rymmList:{//人员面貌
  204. type:Array,
  205. default () {
  206. return []
  207. }
  208. }
  209. },
  210. data(){
  211. return{
  212. house:require("@/work/static/manage/house.png"),
  213. housea:require("@/work/static/manage/housea.png"),
  214. houseb:require("@/work/static/manage/houseb.png"),
  215. housec:require("@/work/static/manage/housec.png"),
  216. noiconpimg:require("@/static/nodata.png"),
  217. car:require("@/car/static/car/car.png"),
  218. cara:require("@/car/static/car/cara.png"),
  219. carb:require("@/car/static/car/carb.png"),
  220. hicoa:require("@/people/static/people/hicoa.png"),
  221. hicob:require("@/people/static/people/hicob.png"),
  222. man:require("@/people/static/people/man.png"),
  223. woman:require("@/people/static/people/woman.png"),
  224. rimg:require("@/people/static/people/rimg.png"),
  225. pdel:require("@/people/static/people/pdel.png"),
  226. gzlx:require("@/people/static/people/gzlx.png"),
  227. mphone:require("@/people/static/people/mphone.png"),
  228. sfz:require("@/people/static/people/sfz.png"),
  229. eye:require("@/people/static/people/eye.png"),
  230. neye:require("@/people/static/people/neye.png"),
  231. time:require("@/work/static/manage/time.png"),
  232. house:require("@/work/static/manage/house.png"),
  233. home:require("@/service/static/service/home.png"),
  234. upimg:require("@/static/images/home/up.png"),
  235. star:require('@/manage/static/community/star.png'),
  236. stara:require('@/manage/static/community/stara.png'),
  237. baseUrl:config.baseUrl,
  238. delBtnWidth:66,//左滑默认宽度
  239. }
  240. },
  241. mounted() {
  242. },
  243. methods:{
  244. checkPermi, checkRole,
  245. kaType(data, list) {
  246. return selectDictValue(list, data);
  247. },
  248. getAgeFromID(idNumber) {
  249. if(idNumber){
  250. const birthDateStr = idNumber.substring(6, 14);
  251. const birthYear = parseInt(birthDateStr.substring(0, 4));
  252. const birthMonth = parseInt(birthDateStr.substring(4, 6));
  253. const birthDay = parseInt(birthDateStr.substring(6, 8));
  254. const today = new Date();
  255. const currentYear = today.getFullYear();
  256. const currentMonth = today.getMonth() + 1;
  257. const currentDay = today.getDate();
  258. let age = currentYear - birthYear;
  259. if (currentMonth < birthMonth || (currentMonth === birthMonth && currentDay < birthDay)) {
  260. age--;
  261. }
  262. return age;
  263. }
  264. },
  265. getDetail(e){
  266. this.$emit('getDetail',e)
  267. },
  268. getAddFn(e){
  269. this.$emit('getAddFn',e)
  270. },
  271. getReadlist(e){
  272. this.$emit('getReadlist',e)
  273. },
  274. getDelFn(e){
  275. var that=this;
  276. uni.showModal({
  277. title: '确认删除',
  278. content: "是否确认删除",
  279. cancelText: '取消',
  280. confirmText: '确认',
  281. success: function(res) {
  282. if (res.confirm) {
  283. that.$emit('getDelFn',e)
  284. } else if (res.cancel) {
  285. }
  286. }
  287. });
  288. },
  289. getZhan(idx){
  290. // var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
  291. // obj.zhanflag=!obj.zhanflag;
  292. // this.datainfo.splice(idx,1,obj);
  293. this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
  294. },
  295. getHideFn(idx){
  296. this.datainfo[idx].hideflag=!this.datainfo[idx].hideflag
  297. },
  298. getPreview(idx,arr) {
  299. var newArr=[];
  300. arr.forEach(ite=>{
  301. var ds=this.baseUrl+ite
  302. newArr.push(ds)
  303. })
  304. uni.previewImage({
  305. urls: newArr,
  306. current:idx,
  307. success: function(data) {},
  308. fail: function(err) {}
  309. });
  310. },
  311. //开始触摸滑动
  312. drawStart(e) {
  313. // console.log("开始触发");
  314. var touch = e.touches[0];
  315. this.startX = touch.clientX;
  316. },
  317. //触摸滑动
  318. drawMove(e) {
  319. var idx=e.currentTarget.dataset.idx
  320. var aidx=e.currentTarget.dataset.aidx
  321. var type=e.currentTarget.dataset.type;
  322. for (var index in this.datainfo) {
  323. if(type&&type=='peo'){
  324. for(var i in this.datainfo[idx].residentInfoList){
  325. this.$set(this.datainfo[idx].residentInfoList[i],'right',0);
  326. }
  327. }else{
  328. this.$set(this.datainfo[index],'right',0);
  329. }
  330. }
  331. var touch = e.touches[0];
  332. var item = this.datainfo[idx];
  333. var disX = this.startX - touch.clientX;
  334. if (disX >= 20) {
  335. if (disX > this.delBtnWidth) {
  336. disX = this.delBtnWidth;
  337. }
  338. if(type&&type=='peo'){
  339. this.$set(this.datainfo[idx].residentInfoList[aidx],'right',disX);
  340. }else{
  341. this.$set(this.datainfo[idx],'right',disX);
  342. }
  343. // this.csListArrl[idx].right=disX
  344. } else {
  345. // this.csListArrl[idx].right=0
  346. this.$set(this.datainfo[idx],'right',0);
  347. }
  348. },
  349. //触摸滑动结束
  350. drawEnd(e) {
  351. // console.log("滑动结束");
  352. var idx=e.currentTarget.dataset.idx
  353. var item = this.datainfo[idx];
  354. if (item.right >= this.delBtnWidth / 2) {
  355. // this.datainfo[idx].right=this.delBtnWidth
  356. // this.$set(this.datainfo[idx],'right',this.delBtnWidth);
  357. } else {
  358. this.datainfo[idx].right=0
  359. }
  360. },
  361. }
  362. }
  363. </script>
  364. <style lang="scss" scoped>
  365. .flex{display: flex;}
  366. .flexc{display: flex;align-items: center;}
  367. .mb10{margin-bottom: 20rpx;}
  368. .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  369. .ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
  370. .imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
  371. .tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  372. .txt{font-weight: 500;font-size: 26rpx;
  373. &.ca{color: #3565ED;}
  374. &.cb{color: #FE5A0E;}
  375. &.cc{color: #28C529;}
  376. }
  377. .txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  378. .num{font-size: 24rpx;color: #AAAAAA;}
  379. }
  380. .btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
  381. &.btna{border: 2rpx solid #06C770;color: #06C770;}
  382. &.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
  383. &.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
  384. &.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
  385. &.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
  386. &.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
  387. }
  388. .clists{padding: 24rpx 24rpx 8rpx;
  389. .clist{font-weight: 500;margin-bottom: 16rpx;
  390. font-size: 26rpx;color: #272727;display: flex;line-height: 34rpx;
  391. .tit{font-size: 26rpx;color: #AAAAAA;flex: 0 0 auto;margin-right: 16rpx;min-width: 108rpx;text-align-last: justify;}
  392. .imgas{display: flex;align-items: center;flex-wrap: wrap;
  393. image{width: 142rpx;height: 142rpx;margin-right: 30rpx;margin-top: 8rpx;}
  394. }
  395. }
  396. .w50{
  397. .clist{width: 50%;}
  398. }
  399. }
  400. }
  401. // 人员
  402. .peolist{
  403. .ctop{padding: 24rpx 24rpx 22rpx;}
  404. .imgs{margin-right: 16rpx !important;}
  405. .tit{font-size: 28rpx !important;}
  406. .plists{padding: 30rpx 24rpx 6rpx;
  407. .plist{background: linear-gradient(-90deg, #F2F5FF 0%, #FBFDFF 100%);border-radius: 20rpx;border: 2rpx solid #E6E6E6;padding: 18rpx 26rpx 4rpx;width: 100%;z-index: 1;
  408. .head{width: 96rpx;height: 98rpx;margin-right: 32rpx;flex: 0 0 auto;}
  409. .ptit{font-weight: bold;font-size: 30rpx;color: #272727;display: flex;align-items: center;margin-bottom: 14rpx;}
  410. .ptxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 14rpx;min-width: 176rpx;}
  411. }
  412. }
  413. .upimg{width: 26rpx;height: 22rpx;display: block;transform: rotate(180deg);transition: all 0.3s;margin: 0 auto 18rpx;
  414. &.act{transform: rotate(0deg);}
  415. }
  416. }
  417. // 物业费
  418. .mlistl{width: 40%;display: flex;flex-direction: column;align-items: center;flex: 0 0 auto;
  419. .mltit{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 18rpx;}
  420. .mltxt{font-weight: bold;font-size: 32rpx;color: #0156FE;}
  421. }
  422. .houselist{
  423. .clists{padding-bottom: 2rpx !important;}
  424. .clist{margin-bottom: 22rpx !important;}
  425. }
  426. // 巡更地点
  427. .patlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;padding: 0 24rpx 30rpx;
  428. .pattop{padding:22rpx 30rpx;margin-bottom: 2rpx;
  429. .imgs{width: 28rpx;height: 28rpx;margin-right: 12rpx;}
  430. .tit{font-size: 30rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  431. .txt{font-weight: 500;font-size:24rpx;
  432. &.ca{color: #3565ED;}
  433. &.cb{color: #FE5A0E;}
  434. &.cc{color: #28C529;}
  435. &.cd{color: #FF6969;}
  436. }
  437. }
  438. .patlistr{background: #EFF4FF;border-radius: 20rpx;padding: 20rpx 32rpx;
  439. .clist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;line-height: 50rpx;
  440. .tit{font-size: 26rpx;flex: 0 0 auto;min-width: 108rpx;text-align-last: justify;font-weight: bold;}
  441. }
  442. }
  443. .patbtns{display: flex;justify-content: flex-end;align-items: center;flex-wrap: wrap;
  444. view{min-width: 156rpx;height: 52rpx;font-weight: 500;font-size: 26rpx;background: #FFFFFF;border-radius: 20rpx;box-sizing: border-box;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;margin-left: 24rpx;margin-top: 24rpx;
  445. &.btna{border: 2rpx solid #0256FD;color: #0256FD;}
  446. &.btnb{background: #0256FD;color: #ffffff;}
  447. }
  448. }
  449. }
  450. // 报修
  451. .walists{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx; position: relative;
  452. .watop{
  453. padding: 0 36rpx 8rpx 38rpx;
  454. .watit{padding: 24rpx 0;margin-bottom: 4rpx;display: flex;
  455. .tit{font-weight: bold;font-size: 28rpx;color: #272727;flex: 1;
  456. .cir{width: 14rpx;margin-left: 8rpx;margin-bottom: 10rpx;height: 14rpx;display: inline-block;background: #FF6969;border-radius: 8rpx;}
  457. }
  458. .txt{font-weight: bold;font-size: 26rpx;flex: 0 0 auto;
  459. }
  460. }
  461. }
  462. .walist{display: flex;font-weight: 500;font-size: 24rpx;color: #666666;margin-bottom: 16rpx;
  463. .tit{min-width: 100rpx;text-align-last: justify}
  464. }
  465. .wabtn{display: flex;align-items: center;justify-content: space-between;border-top: 2rpx solid #E5E5E5;height: 80rpx;padding: 0 38rpx;
  466. view{font-weight: 500;font-size: 24rpx;color: #666666;}
  467. image{width: 16rpx;height: 28rpx;}
  468. }
  469. }
  470. // 维修人员
  471. .stafflist{width: 344rpx;min-height: 256rpx;background: #FFFFFF;border-radius: 20rpx;margin:0 12rpx 24rpx 12rpx;padding-bottom: 20rpx;box-sizing: border-box;
  472. // &:nth-of-type(2n){margin-right: 0;}
  473. .statop{border-bottom: 2rpx solid #E5E5E5;display: flex;padding: 24rpx 24rpx 22rpx;
  474. .head{width: 80rpx;height: 82rpx;margin-right: 24rpx;flex: 0 0 auto;}
  475. .stadel{width: 30rpx;height: 30rpx;flex: 0 0 auto;margin-left: 12rpx;}
  476. .statit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 4rpx;}
  477. .statxt{font-weight: 500;font-size: 26rpx;
  478. .cir{width: 10rpx;height: 10rpx;border-radius: 50%;margin-right: 14rpx;display: inline-block;
  479. &.bga{background: #06C770;}
  480. &.bgb{background: #FF6969;}
  481. }
  482. }
  483. }
  484. .stalist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;align-items: center;padding: 20rpx 24rpx 0;
  485. .imgs{width: 24rpx;height: 30rpx;margin-right: 22rpx;flex: 0 0 auto;display: flex;align-items: center;justify-content: center;
  486. .gzlximg{width: 24rpx;height: 28rpx;}
  487. .mphone{width: 18rpx;height: 30rpx;}
  488. .sfz{width: 20rpx;height: 18rpx;}
  489. }
  490. .eyes{width: 34rpx;height: 34rpx;
  491. .eye{width: 22rpx;height: 15rpx;}
  492. .neye{width: 24rpx;height: 24rpx;}
  493. }
  494. }
  495. }
  496. .watopcom{background-color: #ffffff;border-radius: 20rpx;position: relative;z-index: 1;padding-bottom: 30rpx !important;
  497. .watopcoma{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 24rpx;}
  498. .watopcomb{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  499. }
  500. //资讯
  501. .newlists{
  502. background: #FFFFFF;padding: 22rpx 24rpx;margin-bottom: 24rpx;
  503. border-radius: 20rpx;
  504. .tit{font-size: 32rpx;font-weight: bold;color: #272727;line-height: 48rpx;margin-bottom:16rpx;}
  505. .txt{font-size: 24rpx;color: #666666;line-height: 36rpx;margin-bottom: 32rpx;}
  506. .stabox{
  507. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;line-height: 36rpx;}
  508. .btns{font-weight: 500;font-size: 22rpx;color: #666666;line-height: 36rpx;min-width: 100rpx;box-sizing: border-box;margin-left: 20rpx;
  509. .imga{width: 24rpx;height: 22rpx;margin-right: 8rpx;}
  510. .imgb{width: 24rpx;height: 18rpx;margin-right: 10rpx;}
  511. }
  512. }
  513. }
  514. // 视频
  515. .videolists{
  516. background: #FFFFFF;margin-bottom: 24rpx;border-radius: 20rpx;
  517. .titbox{padding-top: 16rpx;padding-right: 38rpx;}
  518. .videos{width: 260rpx;height: 180rpx;}
  519. .tit{font-weight: bold;font-size: 14px;color: #272727;text-align: left;margin-bottom: 10rpx;}
  520. .num{font-weight: 500;font-size: 20rpx;color: #666666;min-width: 68rpx;padding: 0 8rpx;box-sizing: border-box;
  521. height: 28rpx;background: #E6E6E6;border-radius: 14rpx;line-height: 28rpx;text-align: center;}
  522. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;margin-top: 44rpx;}
  523. }
  524. // 名单
  525. .readlist{background: #FFFFFF;border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 24rpx;display: flex;align-items: center;box-sizing: border-box;
  526. .head{width: 96rpx;height: 96rpx;margin-right: 28rpx;flex: 0 0 auto;}
  527. .tit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 12rpx;}
  528. .time{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;
  529. text{margin-right: 12rpx;display: inline-block;}
  530. }
  531. }
  532. .spdel{width: 164rpx;background: #EA2D2D;font-weight: bold;font-size: 26rpx;color: #FFFFFF;display: flex;align-items: center;justify-content: center;position: absolute;right: -146rpx;top: 0;bottom: 0;padding-left: 14rpx;}
  533. // 无数据
  534. .nodata{display: flex;flex-direction: column;align-items: center;
  535. image{width: 440rpx;height: 440rpx;}
  536. view{font-size: 30rpx;color: #666666;font-weight: bold;}
  537. }
  538. </style>