list.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506
  1. <template>
  2. <view>
  3. <!-- 第一种样式 人员管理-->
  4. <block v-if="datainfo.length>0">
  5. <!-- 房屋管理 -->
  6. <block v-if="type=='comehouse'">
  7. <view class="carlist houselist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.houseId)">
  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. <view class="tit">{{ite.communityName}}{{ite.detailedAddress}}</view>
  14. <!-- view class="btn btnbga">预约</view>
  15. <view class="btn btnbgb">已来访</view>
  16. <view class="btn btnbgc">待来访</view> -->
  17. <view class="flex1"></view>
  18. <view class="txt ca" v-if="ite.houseStatus==1">自住</view>
  19. <view class="txt cb" v-if="ite.houseStatus==4">出租</view>
  20. <view class="txt cc" v-if="ite.houseStatus==2">空闲</view>
  21. <view class="txt co6" v-if="ite.houseStatus==3">代售</view>
  22. </view>
  23. <view class="clists">
  24. <view class="clist"><view class="tit">房屋坐落</view>{{ite.location}}</view>
  25. <view class="clist"><view class="tit">建筑面积</view>{{ite.area}}m²</view>
  26. <!-- <view class="w50 flexc">
  27. <view class="clist"><view class="tit">房屋所属</view>袁玥</view>
  28. <view class="clist"><view class="tit">建筑面积</view>121.3m²</view>
  29. </view>
  30. <view class="w50 flexc">
  31. <view class="clist"><view class="tit">房型</view>3室1厅</view>
  32. <view class="clist"><view class="tit">居住人口</view>3口人</view>
  33. </view>
  34. <view class="w50 flexc">
  35. <view class="clist"><view class="tit">有无车位 </view>有</view>
  36. </view> -->
  37. <!-- <view class="clist"><view class="tit">手机号码</view>13656788668</view> -->
  38. </view>
  39. <view class="btns flexc">
  40. <view class="bga" v-if="checkPermi(['wuYe:houseInfo:edit'])" @click.stop="getPut(ite.houseId)">编辑信息</view>
  41. <view class="bgb" v-if="checkPermi(['wuYe:residentInfo:list'])" @click.stop="getJuzhu(ite.houseId)">居住信息</view>
  42. <view class="bgc" v-if="checkPermi(['wuYe:car:list'])" @click.stop="getCar(ite.houseId)"> 车辆信息</view>
  43. </view>
  44. </view>
  45. </block>
  46. <block v-if="type=='mycar'">
  47. <view class="carlist pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.carId)"
  48. :data-idx="idx"
  49. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  50. >
  51. <view class="delleft" style="padding: 0 24rpx;">
  52. <view class="carltop flexc">
  53. <view class="flex1">
  54. <view class="tit mb6 flexc" :class="ite.vehicleEnergy=='新能源'?'co16':'co01'">{{ite.plateNumber}}
  55. <text class="cir"></text>
  56. <text v-if="ite.vehicleColour">{{ite.vehicleColour}}</text>
  57. </view>
  58. <view class="txt flexc">
  59. {{ite.vehicleBrand}}
  60. <view class="txtbtn flexcc" v-if="ite.vehicleEnergy=='新能源'">{{ite.vehicleEnergy}}</view>
  61. <!-- <view class="txtbtn flexcc" v-if="ite.vehicleType==2">新能源</view> -->
  62. </view>
  63. </view>
  64. <image :src="carb" class="carb" v-if="ite.vehicleEnergy=='新能源'"></image>
  65. <image :src="cara" class="cara" v-else></image>
  66. </view>
  67. <view class="carlf">
  68. <view class="clflist">发动机号码 :{{ite.engineNumber}}</view>
  69. <view class="clflist">车辆识别代号:{{ite.identificationNumber}}</view>
  70. <view class="flexc">
  71. <view class="clflist w50">注册日期:{{ite.registrationDate}}</view>
  72. <view class="clflist w50">发证日期:{{ite.issueDate}}</view>
  73. </view>
  74. </view>
  75. </view>
  76. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:car:remove'])" @click.stop="getDelFn(ite.carId)">删除</view>
  77. </view>
  78. </block>
  79. <!-- 物业费管理 -->
  80. <block v-if="type=='money'">
  81. <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.propertyId)">
  82. <view class="ctop flexc" style="padding: 26rpx 24rpx 24rpx;">
  83. <image :src="hicoa" class="imgs"></image>
  84. <view class="tit">{{ite.detailedAddress}}</view>
  85. <view class="flex1"></view>
  86. <view class="txta">{{ite.year}}/01 -{{ite.year}}/12</view>
  87. </view>
  88. <view class="clists flexc">
  89. <view class="mlistl">
  90. <view class="mltit">应缴总额 /元</view>
  91. <view class="mltxt">{{ite.totalExpense}}</view>
  92. </view>
  93. <view class="mlistr">
  94. <view class="clist"><view class="tit">物业费用:</view>{{ite.tenementExpense}}元</view>
  95. <view class="clist"><view class="tit">车位费用:</view>{{ite.parkingExpense}}元</view>
  96. <view class="clist"><view class="tit">能耗费用:</view>{{ite.energyExpense}}元</view>
  97. </view>
  98. </view>
  99. </view>
  100. </block>
  101. <!-- 历史账单 -->
  102. <block v-if="type=='moneybill'">
  103. <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx">
  104. <view class="ctop flexc" style="padding: 26rpx 24rpx 24rpx;">
  105. <image :src="time" class="imgs"></image>
  106. <view class="tit">{{ite.year}}/01 {{ite.year}}/12</view>
  107. <view class="btn btnbgb" v-if="ite.isExpense=='Y'">已缴费</view>
  108. <view class="btn btnbgc" v-else>未缴费</view>
  109. <view class="flex1"></view>
  110. <view class="txta">{{ite.detailedAddress}}</view>
  111. </view>
  112. <view class="clists flexc">
  113. <view class="mlistl">
  114. <view class="mltit">应缴总额 /元</view>
  115. <view class="mltxt">{{ite.totalExpense}}</view>
  116. </view>
  117. <view class="mlistr">
  118. <view class="clist"><view class="tit">物业费用:</view>{{ite.tenementExpense}}元</view>
  119. <view class="clist"><view class="tit">车位费用:</view>{{ite.parkingExpense}}元</view>
  120. <view class="clist"><view class="tit">能耗费用:</view>{{ite.energyExpense}}元</view>
  121. </view>
  122. </view>
  123. </view>
  124. </block>
  125. <view class="shax">{{wtdt}}</view>
  126. </block>
  127. <!-- 无数据 -->
  128. <view class="nodata" v-else>
  129. <image :src="noiconpimg"></image>
  130. <view>
  131. 暂无数据
  132. </view>
  133. </view>
  134. </view>
  135. </template>
  136. <script>
  137. import {selectDictValue} from "@/utils/common.js"
  138. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  139. import config from '@/config'
  140. export default{
  141. props:{
  142. datainfo: {
  143. type: Array,
  144. default () {
  145. return []
  146. }
  147. },
  148. wtdt:{
  149. type:String,
  150. default () {
  151. return ''
  152. }
  153. },
  154. type:{
  155. type:String,
  156. default () {
  157. return 0
  158. }
  159. },
  160. clcxList:{
  161. type:Array,
  162. default () {
  163. return []
  164. }
  165. }
  166. },
  167. data(){
  168. return{
  169. noiconpimg:require("@/static/nodata.png"),
  170. car:require("@/car/static/car/car.png"),
  171. cara:require("@/car/static/car/carba.png"),
  172. carb:require("@/car/static/car/carbb.png"),
  173. hicoa:require("@/people/static/people/hicoa.png"),
  174. hicob:require("@/people/static/people/hicob.png"),
  175. man:require("@/people/static/people/man.png"),
  176. woman:require("@/people/static/people/woman.png"),
  177. rimg:require("@/people/static/people/rimg.png"),
  178. pdel:require("@/people/static/people/pdel.png"),
  179. gzlx:require("@/people/static/people/gzlx.png"),
  180. mphone:require("@/people/static/people/mphone.png"),
  181. time:require("@/work/static/manage/time.png"),
  182. house:require("@/work/static/manage/house.png"),
  183. housea:require("@/work/static/manage/housea.png"),
  184. houseb:require("@/work/static/manage/houseb.png"),
  185. housec:require("@/work/static/manage/housec.png"),
  186. home:require("@/service/static/service/home.png"),
  187. upimg:require("@/static/images/home/up.png"),
  188. star:require('@/manage/static/community/star.png'),
  189. stara:require('@/manage/static/community/stara.png'),
  190. eye:require('@/manage/static/community/eye.png'),
  191. baseUrl:config.baseUrl,
  192. delBtnWidth:66,//左滑默认宽度
  193. }
  194. },
  195. mounted() {
  196. },
  197. methods:{
  198. checkPermi, checkRole,
  199. kaType(data, list) {
  200. return selectDictValue(list, data);
  201. },
  202. getDetail(e){
  203. this.$emit('getDetail',e)
  204. },
  205. getPut(e){
  206. this.$emit('getPut',e)
  207. },
  208. getJuzhu(e){
  209. this.$emit('getJuzhu',e)
  210. },
  211. getCar(e){
  212. this.$emit('getCar',e)
  213. },
  214. getAddFn(e){
  215. this.$emit('getAddFn',e)
  216. },
  217. getReadlist(e){
  218. this.$emit('getReadlist',e)
  219. },
  220. getZhan(idx){
  221. // var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
  222. // obj.zhanflag=!obj.zhanflag;
  223. // this.datainfo.splice(idx,1,obj);
  224. this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
  225. },
  226. getDelFn(id){
  227. var that=this;
  228. uni.showModal({
  229. title: '确认删除',
  230. content: "是否确认删除",
  231. cancelText: '取消',
  232. confirmText: '确认',
  233. success: function(res) {
  234. if (res.confirm) {
  235. that.$emit('getDelFn',id)
  236. } else if (res.cancel) {
  237. }
  238. }
  239. });
  240. },
  241. getPreview(idx,arr) {
  242. var newArr=[];
  243. arr.forEach(ite=>{
  244. var ds=this.baseUrl+ite
  245. newArr.push(ds)
  246. })
  247. uni.previewImage({
  248. urls: newArr,
  249. current:idx,
  250. success: function(data) {},
  251. fail: function(err) {}
  252. });
  253. },
  254. //开始触摸滑动
  255. drawStart(e) {
  256. // console.log("开始触发");
  257. var touch = e.touches[0];
  258. this.startX = touch.clientX;
  259. },
  260. //触摸滑动
  261. drawMove(e) {
  262. // console.log("滑动");
  263. for (var index in this.datainfo) {
  264. // this.csListArrl[index].right=0
  265. this.$set(this.datainfo[index],'right',0);
  266. }
  267. var idx=e.currentTarget.dataset.idx
  268. var touch = e.touches[0];
  269. var item = this.datainfo[idx];
  270. var disX = this.startX - touch.clientX;
  271. if (disX >= 20) {
  272. if (disX > this.delBtnWidth) {
  273. disX = this.delBtnWidth;
  274. }
  275. // this.csListArrl[idx].right=disX
  276. this.$set(this.datainfo[idx],'right',disX);
  277. } else {
  278. // this.csListArrl[idx].right=0
  279. this.$set(this.datainfo[idx],'right',0);
  280. }
  281. },
  282. //触摸滑动结束
  283. drawEnd(e) {
  284. // console.log("滑动结束");
  285. var idx=e.currentTarget.dataset.idx
  286. var item = this.datainfo[idx];
  287. if (item.right >= this.delBtnWidth / 2) {
  288. // this.datainfo[idx].right=this.delBtnWidth
  289. this.$set(this.datainfo[idx],'right',this.delBtnWidth);
  290. } else {
  291. this.datainfo[idx].right=0
  292. }
  293. },
  294. }
  295. }
  296. </script>
  297. <style lang="scss" scoped>
  298. .flex{display: flex;}
  299. .flexc{display: flex;align-items: center;}
  300. .mb10{margin-bottom: 20rpx;}
  301. .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  302. .carltop{min-height: 154rpx;border-bottom: 2rpx solid #E5E5E5;
  303. .cir{width: 8rpx;height: 8rpx;border-radius: 50%;margin: 0 8rpx;display: inline-block;}
  304. .co16{
  305. .cir{background: #16BE7F;}
  306. }
  307. .co01{
  308. .cir{background: #0156FE;}
  309. }
  310. .tit{font-weight: bold;font-size: 32rpx;}
  311. .txt{font-weight: 500;font-size: 26rpx;color: #272727;}
  312. .txtbtn{min-width: 82rpx;
  313. height: 32rpx;font-weight: 500;font-size: 20rpx;color: #45CB99;
  314. border-radius: 16rpx;border: 1px solid #45CB99;margin-left: 12rpx;}
  315. .cara{flex: 0 0 auto;width: 232rpx;height: 74rpx;margin-right: 40rpx;}
  316. .carb{flex: 0 0 auto;width: 278rpx;height: 130rpx;}
  317. }
  318. .carlf{padding:26rpx 0 10rpx;
  319. .clflist{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 16rpx;}
  320. }
  321. .ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
  322. .imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
  323. .tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  324. .txt{font-weight: 500;font-size: 26rpx;
  325. &.ca{color: #3565ED;}
  326. &.cb{color: #FE5A0E;}
  327. &.cc{color: #28C529;}
  328. }
  329. .txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  330. .num{font-size: 24rpx;color: #AAAAAA;}
  331. }
  332. .btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
  333. &.btna{border: 2rpx solid #06C770;color: #06C770;}
  334. &.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
  335. &.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
  336. &.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
  337. &.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
  338. &.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
  339. }
  340. .clists{padding: 24rpx 24rpx 8rpx;
  341. .clist{font-weight: 500;margin-bottom: 16rpx;
  342. font-size: 26rpx;color: #272727;display: flex;line-height: 34rpx;
  343. .tit{font-size: 26rpx;color: #AAAAAA;flex: 0 0 auto;margin-right: 16rpx;min-width: 108rpx;text-align-last: justify;}
  344. .imgas{display: flex;align-items: center;flex-wrap: wrap;
  345. image{width: 142rpx;height: 142rpx;margin-right: 30rpx;margin-top: 8rpx;}
  346. }
  347. }
  348. .w50{
  349. .clist{width: 50%;}
  350. }
  351. }
  352. }
  353. // 人员
  354. .peolist{
  355. .ctop{padding: 24rpx 24rpx 22rpx;}
  356. .imgs{margin-right: 16rpx !important;}
  357. .tit{font-size: 28rpx !important;}
  358. .plists{padding: 30rpx 24rpx 6rpx;
  359. .plist{background: linear-gradient(-90deg, #F2F5FF 0%, #FBFDFF 100%);border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 18rpx 26rpx 4rpx;
  360. .head{width: 96rpx;height: 98rpx;margin-right: 32rpx;flex: 0 0 auto;}
  361. .ptit{font-weight: bold;font-size: 30rpx;color: #272727;display: flex;align-items: center;margin-bottom: 14rpx;}
  362. .ptxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 14rpx;min-width: 176rpx;}
  363. }
  364. }
  365. .upimg{width: 26rpx;height: 22rpx;display: block;transform: rotate(180deg);transition: all 0.3s;margin: 0 auto 18rpx;
  366. &.act{transform: rotate(0deg);}
  367. }
  368. }
  369. // 物业费
  370. .mlistl{width: 40%;display: flex;flex-direction: column;align-items: center;flex: 0 0 auto;
  371. .mltit{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 18rpx;}
  372. .mltxt{font-weight: bold;font-size: 32rpx;color: #0156FE;}
  373. }
  374. .houselist{
  375. .clists{padding-bottom: 2rpx !important;}
  376. .clist{margin-bottom: 22rpx !important;}
  377. .btns{justify-content: flex-end;
  378. view{min-width: 156rpx;font-weight: 500;font-size: 26rpx;margin-right: 24rpx;border-radius: 20rpx;padding: 6rpx 8rpx;box-sizing: border-box;text-align: center;margin-bottom: 26rpx;
  379. &.bga{border: 2rpx solid #FE5A0E;background: #FFF8F5;color: #FE5A0E;}
  380. &.bgb{border: 2rpx solid #0256FD;background: #F1F5FC;color: #0256FD;}
  381. &.bgc{border: 2rpx solid #06C770;background: #EEF8F4;color: #06C770;}
  382. }
  383. }
  384. }
  385. // 巡更地点
  386. .patlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;padding: 0 24rpx 30rpx;
  387. .pattop{padding:22rpx 30rpx;margin-bottom: 2rpx;
  388. .imgs{width: 28rpx;height: 28rpx;margin-right: 12rpx;}
  389. .tit{font-size: 30rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  390. .txt{font-weight: 500;font-size:24rpx;
  391. &.ca{color: #3565ED;}
  392. &.cb{color: #FE5A0E;}
  393. &.cc{color: #28C529;}
  394. &.cd{color: #FF6969;}
  395. }
  396. }
  397. .patlistr{background: #EFF4FF;border-radius: 20rpx;padding: 20rpx 32rpx;
  398. .clist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;line-height: 50rpx;
  399. .tit{font-size: 26rpx;flex: 0 0 auto;min-width: 108rpx;text-align-last: justify;font-weight: bold;}
  400. }
  401. }
  402. .patbtns{display: flex;justify-content: flex-end;align-items: center;flex-wrap: wrap;
  403. 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;
  404. &.btna{border: 2rpx solid #0256FD;color: #0256FD;}
  405. &.btnb{background: #0256FD;color: #ffffff;}
  406. }
  407. }
  408. }
  409. // 报修
  410. .walists{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx; position: relative;
  411. .watop{
  412. padding: 0 36rpx 8rpx 38rpx;
  413. .watit{padding: 24rpx 0;margin-bottom: 4rpx;display: flex;
  414. .tit{font-weight: bold;font-size: 28rpx;color: #272727;flex: 1;
  415. .cir{width: 14rpx;margin-left: 8rpx;margin-bottom: 10rpx;height: 14rpx;display: inline-block;background: #FF6969;border-radius: 8rpx;}
  416. }
  417. .txt{font-weight: bold;font-size: 26rpx;flex: 0 0 auto;
  418. }
  419. }
  420. }
  421. .walist{display: flex;font-weight: 500;font-size: 24rpx;color: #666666;margin-bottom: 16rpx;
  422. .tit{min-width: 100rpx;text-align-last: justify}
  423. }
  424. .wabtn{display: flex;align-items: center;justify-content: space-between;border-top: 2rpx solid #E5E5E5;height: 80rpx;padding: 0 38rpx;
  425. view{font-weight: 500;font-size: 24rpx;color: #666666;}
  426. image{width: 16rpx;height: 28rpx;}
  427. }
  428. }
  429. // 维修人员
  430. .stafflist{width: 344rpx;min-height: 256rpx;background: #FFFFFF;border-radius: 20rpx;margin:0 12rpx 24rpx 12rpx;padding-bottom: 20rpx;box-sizing: border-box;
  431. // &:nth-of-type(2n){margin-right: 0;}
  432. .statop{border-bottom: 2rpx solid #E5E5E5;display: flex;padding: 24rpx 24rpx 22rpx;
  433. .head{width: 80rpx;height: 82rpx;margin-right: 24rpx;flex: 0 0 auto;}
  434. .stadel{width: 30rpx;height: 30rpx;flex: 0 0 auto;margin-left: 12rpx;}
  435. .statit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 4rpx;}
  436. .statxt{font-weight: 500;font-size: 26rpx;
  437. .cir{width: 10rpx;height: 10rpx;border-radius: 50%;margin-right: 14rpx;display: inline-block;
  438. &.bga{background: #06C770;}
  439. &.bgb{background: #FF6969;}
  440. }
  441. }
  442. }
  443. .stalist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;align-items: center;padding: 20rpx 24rpx 0;
  444. .imgs{width: 24rpx;height: 30rpx;margin-right: 22rpx;flex: 0 0 auto;display: flex;align-items: center;justify-content: center;
  445. .gzlximg{width: 24rpx;height: 28rpx;}
  446. .mphone{width: 18rpx;height: 30rpx;}
  447. }
  448. }
  449. }
  450. .watopcom{background-color: #ffffff;border-radius: 20rpx;position: relative;z-index: 1;padding-bottom: 30rpx !important;
  451. .watopcoma{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 24rpx;}
  452. .watopcomb{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  453. }
  454. //资讯
  455. .newlists{
  456. background: #FFFFFF;padding: 22rpx 24rpx;margin-bottom: 24rpx;
  457. border-radius: 20rpx;
  458. .tit{font-size: 32rpx;font-weight: bold;color: #272727;line-height: 48rpx;margin-bottom:16rpx;}
  459. .txt{font-size: 24rpx;color: #666666;line-height: 36rpx;margin-bottom: 32rpx;}
  460. .stabox{
  461. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;line-height: 36rpx;}
  462. .btns{font-weight: 500;font-size: 22rpx;color: #666666;line-height: 36rpx;min-width: 100rpx;box-sizing: border-box;margin-left: 20rpx;
  463. .imga{width: 24rpx;height: 22rpx;margin-right: 8rpx;}
  464. .imgb{width: 24rpx;height: 18rpx;margin-right: 10rpx;}
  465. }
  466. }
  467. }
  468. // 视频
  469. .videolists{
  470. background: #FFFFFF;margin-bottom: 24rpx;border-radius: 20rpx;
  471. .titbox{padding-top: 16rpx;padding-right: 38rpx;}
  472. .videos{width: 260rpx;height: 180rpx;}
  473. .tit{font-weight: bold;font-size: 14px;color: #272727;text-align: left;margin-bottom: 10rpx;}
  474. .num{font-weight: 500;font-size: 20rpx;color: #666666;min-width: 68rpx;padding: 0 8rpx;box-sizing: border-box;
  475. height: 28rpx;background: #E6E6E6;border-radius: 14rpx;line-height: 28rpx;text-align: center;}
  476. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;margin-top: 44rpx;}
  477. }
  478. // 名单
  479. .readlist{background: #FFFFFF;border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 24rpx;display: flex;align-items: center;box-sizing: border-box;
  480. .head{width: 96rpx;height: 96rpx;margin-right: 28rpx;flex: 0 0 auto;}
  481. .tit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 12rpx;}
  482. .time{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;
  483. text{margin-right: 12rpx;display: inline-block;}
  484. }
  485. }
  486. .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;}
  487. // 无数据
  488. .nodata{display: flex;flex-direction: column;align-items: center;
  489. image{width: 440rpx;height: 440rpx;}
  490. view{font-size: 30rpx;color: #666666;font-weight: bold;}
  491. }
  492. </style>