1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066 |
- <template>
- <view>
- <!-- 第一种样式 人员管理-->
- <block v-if="datainfo.length>0">
- <!-- 车辆管控 -->
- <block v-if="type=='car'">
- <view class="carlist" v-for="(ite,idx) in datainfo" :key="idx">
- <view class="ctop flexc">
- <image :src="cara" class="imgs" v-if="ite.type==1"></image>
- <image :src="carb" class="imgs" v-if="ite.type==2"></image>
- <view class="tit">皖A IC520</view>
- <view class="btn btna">新能源</view>
- <view class="btn btnb">小型车</view>
- <view class="flex1"></view>
- <view class="txt ca" v-if="ite.type==1">小区车辆</view>
- <view class="txt cb" v-if="ite.type==2">外来车辆</view>
- </view>
- <view class="clists">
- <view class="clist"><view class="tit">车库名称</view>地下停车场</view>
- <view class="clist"><view class="tit">进入时间</view>2024-11-27 16:27:48</view>
- <block v-if="topval=='sl'">
- <view class="clist"><view class="tit">驶离时间</view>2024-11-27 16:27:48</view>
- <view class="clist"><view class="tit">停车时长</view>3小时19分钟</view>
- </block>
- <view class="clist"><view class="tit">{{ite.type==1?'门户号 ':'来访门户'}}</view>8#303</view>
- <view class="clist"><view class="tit">手机号码</view>13656788668</view>
- </view>
- </view>
- </block>
- <!-- 车辆违规 -->
- <block v-if="type=='carpark'">
- <view class="carlist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
- <view class="ctop flexc">
- <image :src="cara" class="imgs" v-if="ite.type==1"></image>
- <image :src="carb" class="imgs" v-if="ite.type==2"></image>
- <view class="tit">皖A IC520</view>
- <view class="num" :class="ite.heiflag?'coff':''">(本年度2次)</view>
- <view class="flex1"></view>
- <view class="txt ca" v-if="ite.type==1">小区车辆</view>
- <view class="txt cb" v-if="ite.type==2">外来车辆</view>
- </view>
- <view class="clists">
- <view class="clist"><view class="tit">关联房号</view>12#1403</view>
- <view class="clist"><view class="tit">手机号码</view>13656788668</view>
- <view class="clist"><view class="tit">登记时间</view>2024-11-27 17:30:55</view>
- <view class="clist"><view class="tit">违停拍照</view>
- <view class="imgas">
- <image :src="cara" @click="getPreview(idx,cara)"></image>
- <image :src="cara"></image>
- <image :src="cara"></image>
- <image :src="cara"></image>
- </view>
- </view>
- </view>
- </view>
- </block>
- <!-- 人员管理 -->
- <block v-if="type=='people'">
- <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
- <view class="ctop flexc">
- <image :src="hicoa" class="imgs" v-if="ite.type==1"></image>
- <image :src="hicob" class="imgs" v-if="ite.type==2"></image>
- <view class="tit">一号楼3单元1101</view>
- <view class="flex1"></view>
- <view class="txt ca" v-if="ite.type==1">业主</view>
- <view class="txt cb" v-if="ite.type==2">租户</view>
- </view>
- <view class="plists">
- <view class="plist flexc">
- <image :src="man" class="head" v-if="ite.sex==1"></image>
- <image :src="woman" class="head" v-else></image>
- <view class="flex1">
- <view class="ptit">张伟<view class="btn btnc ml10" v-if="ite.hzflag">户主</view></view>
- <view class="ptxt">身份证号 | 41072719880603022X</view>
- <view class="flexc">
- <view class="ptxt">性别 | {{ite.sex==1?'男':'女'}}</view>
- <view class="ptxt">年龄 | 36岁</view>
- </view>
- </view>
- </view>
- <view class="plist flexc" v-if="ite.zhanflag">
- <image :src="man" class="head" v-if="ite.sex==1"></image>
- <image :src="woman" class="head" v-else></image>
- <view class="flex1">
- <view class="ptit">张伟<view class="btn btnc ml10" v-if="ite.hzflag">户主</view></view>
- <view class="ptxt">身份证号 | 41072719880603022X</view>
- <view class="flexc">
- <view class="ptxt">性别 | {{ite.sex==1?'男':'女'}}</view>
- <view class="ptxt">年龄 | 36岁</view>
- </view>
- </view>
- </view>
- <image :src="upimg" :class="ite.zhanflag?'act':''" class="upimg" @click="getZhan(idx)"></image>
- </view>
- </view>
- </block>
- <!-- 维修人员管理 -->
- <view v-if="type=='staff'" class="flexcw">
- <view class="stafflist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
- <view class="statop">
- <image class="head" :src="man" v-if="ite.sex==1"></image>
- <image class="head" :src="woman" v-else></image>
- <view class="flex1">
- <view class="statit">张伟</view>
- <view class="statxt flexc co06" v-if="ite.hzflag"><text class="cir bga"></text>空闲中</view>
- <view class="statxt flexc cof6" v-else><text class="cir bgb"></text>指派中</view>
- </view>
- <image :src="pdel" class="stadel"></image>
- </view>
- <view class="stalist">
- <view class="imgs"><image :src="gzlx" class="gzlximg"></image></view>电梯维修
- </view>
- <view class="stalist">
- <view class="imgs"><image :src="mphone" class="mphone"></image></view>158****0088
- </view>
- </view>
- </view>
- <!-- 来访管理 -->
- <block v-if="type=='comepeo'">
- <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx">
- <view class="ctop flexc">
- <image :src="hicoa" class="imgs"></image>
- <!-- <image :src="hicob" class="imgs" v-if="ite.type==2"></image> -->
- <view class="tit">幸福小区12#301</view>
- <view class="btn btnbga">预约</view>
- <view class="btn btnbgb">已来访</view>
- <view class="btn btnbgc">待来访</view>
- <view class="flex1"></view>
- <view class="txt cc" v-if="ite.type==1">驾车</view>
- </view>
- <view class="clists">
- <view class="clist"><view class="tit">预约时间</view>2024-11-25 10:00:00</view>
- <view class="clist"><view class="tit">来访时间</view>2024-11-27 16:27:48</view>
- <view class="w50 flexc">
- <view class="clist"><view class="tit">访客姓名</view>刘女士</view>
- <view class="clist"><view class="tit">来访人数</view>1人</view>
- </view>
- <view class="w50 flexc">
- <view class="clist"><view class="tit">来访事由</view>亲友</view>
- <view class="clist"><view class="tit">车牌号码</view>皖A 86KY2</view>
- </view>
- <view class="clist"><view class="tit">手机号码</view>13656788668</view>
- </view>
- </view>
- </block>
- <!-- 房屋管理 -->
- <block v-if="type=='comehouse'">
- <view class="carlist houselist" v-for="(ite,idx) in datainfo" :key="idx">
- <view class="ctop flexc">
- <image :src="house" class="imgs" v-if="ite.type==1"></image>
- <image :src="housea" class="imgs" v-if="ite.type==2"></image>
- <view class="tit">幸福小区12#1101室</view>
- <!-- view class="btn btnbga">预约</view>
- <view class="btn btnbgb">已来访</view>
- <view class="btn btnbgc">待来访</view> -->
- <view class="flex1"></view>
- <view class="txt ca" v-if="ite.type==1">业主</view>
- <view class="txt cb" v-if="ite.type==2">租户</view>
- </view>
- <view class="clists">
- <view class="w50 flexc">
- <view class="clist"><view class="tit">房屋所属</view>袁玥</view>
- <view class="clist"><view class="tit">建筑面积</view>121.3m²</view>
- </view>
- <view class="w50 flexc">
- <view class="clist"><view class="tit">房型</view>3室1厅</view>
- <view class="clist"><view class="tit">居住人口</view>3口人</view>
- </view>
- <view class="w50 flexc">
- <view class="clist"><view class="tit">有无车位 </view>有</view>
- </view>
- <!-- <view class="clist"><view class="tit">手机号码</view>13656788668</view> -->
- </view>
- </view>
- </block>
- <!-- 物业费管理 -->
- <block v-if="type=='money'">
- <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
- <view class="ctop flexc" style="padding: 26rpx 24rpx 24rpx;">
- <image :src="hicoa" class="imgs"></image>
- <view class="tit">幸福小区12#301</view>
- <view class="flex1"></view>
- <view class="txta">2024/01 -2024/12</view>
- </view>
- <view class="clists flexc">
- <view class="mlistl">
- <view class="mltit">应缴总额 /元</view>
- <view class="mltxt">4307.20</view>
- </view>
- <view class="mlistr">
- <view class="clist"><view class="tit">物业费用:</view>3247.20元</view>
- <view class="clist"><view class="tit">车位费用:</view>960.00元</view>
- <view class="clist"><view class="tit">能耗费用:</view>100.00元</view>
- </view>
- </view>
- </view>
- </block>
- <!-- 历史账单 -->
- <block v-if="type=='moneybill'">
- <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx">
- <view class="ctop flexc" style="padding: 26rpx 24rpx 24rpx;">
- <image :src="time" class="imgs"></image>
- <view class="tit">2024/01 -2024/12</view>
- <view class="btn btnbgb" v-if="ite.type==1">已缴费</view>
- <view class="btn btnbgc" v-else>未缴费</view>
- <view class="flex1"></view>
- <view class="txta">1号楼3单元1102</view>
- </view>
- <view class="clists flexc">
- <view class="mlistl">
- <view class="mltit">应缴总额 /元</view>
- <view class="mltxt">4307.20</view>
- </view>
- <view class="mlistr">
- <view class="clist"><view class="tit">物业费用:</view>3247.20元</view>
- <view class="clist"><view class="tit">车位费用:</view>960.00元</view>
- <view class="clist"><view class="tit">能耗费用:</view>100.00元</view>
- </view>
- </view>
- </view>
- </block>
- <!-- 巡更地点patrol -->
- <block v-if="type=='patrol'">
- <view class="patlist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
- <view class="pattop flexc">
- <image :src="home" class="imgs"></image>
- <view class="tit">幸福小区1栋2单元电梯间</view>
- <view class="flex1"></view>
- <view class="txt cd" v-if="ite.type==1">未巡更</view>
- <view class="txt cc" v-if="ite.type==2">已巡更</view>
- </view>
- <view class="patlistr">
- <view class="clist"><view class="tit">巡检类型</view>:设备维修</view>
- <view class="clist"><view class="tit">巡检时间</view>:2024-11-27 10:00</view>
- <view class="clist"><view class="tit">巡检人</view>:刘兵琦</view>
- </view>
- <view class="patbtns">
- <view class="btna" @click.stop="getDetail">查看</view>
- <view class="btnb" @click.stop="getAddFn">去巡更</view>
- </view>
- </view>
- </block>
- <!-- 报修管理 -->
- <block v-if="type=='warranty'">
- <view class="walists" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
- <view class="watop ">
- <view class="watit">
- <view class="tit">一号楼3单元12楼楼梯间灯不亮</view>
- <view class="txt co01" v-if="ite.type==1">待分派</view>
- <view class="txt coa" v-if="ite.type==3">已完成</view>
- <view class="txt co28" v-if="ite.type==2">处理中</view>
- </view>
- <view class="walist"><view class="tit">小区名称</view>:幸福小区</view>
- <view class="walist"><view class="tit">报修门户</view>:3号楼1单元406</view>
- <view class="walist"><view class="tit">报修时间</view>:2024-11-14 17:16:31</view>
- <view class="walist" v-if="ite.type==3"><view class="tit" >完成时间</view>:2024-11-14 18:16:31</view>
- </view>
- <view class="wabtn">
- <view>查看详情</view>
- <image :src="rimg"></image>
- </view>
- </view>
- </block>
- <!-- 党建资讯 -->
- <block v-if="type=='newsdj'">
- <view class="newlists pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.partyId)"
- :data-idx="idx"
- @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
- >
- <view class="watopcom">
- <view class="tit">{{ite.partyTitle}}</view>
- <view class="txt overtwo">
- <rich-text :nodes="ite.partyContent"></rich-text>
- <!-- {{ite.partyContent}} -->
- </view>
- <view class="stabox flexc">
- <view class="time flex1">{{ite.publishTime}}</view>
- <view class="btns flexc" @click.stop="getScFn(ite,idx)">
- <image :src="star" class="imga" v-if="ite.isStars=='Y'"></image>
- <image :src="stara" class="imga" v-else></image>{{ite.starsCount||0}}
- </view>
- <view class="btns flexc">
- <image :src="eye" class="imgb"></image>{{ite.viewCount}}
- </view>
- </view>
- </view>
- <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:partyNews:remove'])" @click.stop="getDelFn(ite.partyId)">删除</view>
- </view>
- <!-- checkPermi(['system:menuFood:remove'])&& -->
- </block>
- <!-- 社区资讯 -->
- <block v-if="type=='newssq'">
- <view class="walists" v-for="(ite,idx) in datainfo" :key="idx" @click="getPut(ite.communityId)"
- :data-idx="idx"
- @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
- >
- <view class="watopcom">
- <view class="watop ">
- <view class="watit">
- <view class="tit">{{ite.communityTitle}}<text class="cir" v-if="ite.isInteraction=='Y'"></text></view>
- </view>
- <view class="watopcoma overtwo">
- <rich-text :nodes="ite.communityContent"></rich-text>
- </view>
- <view class="watopcomb">{{ite.publishTime}}</view>
- </view>
- <view class="wabtn" @click.stop="getDetail(ite.communityId)">
- <view>查看详情</view>
- <image :src="rimg"></image>
- </view>
- </view>
- <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:news:remove'])" @click.stop="getDelFn(ite.communityId)">删除</view>
- </view>
- </block>
- <!-- 评论信息 -->
- <block v-if="type=='comment'">
- <view class="pllist flex" v-for="(ite,idx) in datainfo" :key="`yj${idx}`">
- <image :src="ite.commentUser.avatar&&ite.commentUser.avatar.indexOf('/static/img/profile')==-1?baseUrl+ite.commentUser.avatar:head" class="head"></image>
- <view class="flex1 overh">
- <view class="flexat mb9 ">
- <view class="plname flex1 over">{{ite.commentUser.nickName}}</view>
- <view class="plrbtn flexc flex0" @click="getDzFn(ite.id,'2',ite.content,idx)">
- <image :src="nicond" v-if="ite.isLike=='Y'"></image>
- <image :src="niconb" class="imga" v-else></image>{{ite.likeCount}}
- </view>
- <!-- <view class="plrbtn flexc flex0" @touchend.prevent="getHfFn('yjhf',ite,ite.id)">
- <image :src="niconf" class="imgd"></image>
- <image :src="niconb" class="imge"></image>2
- </view> -->
- <view class="plrbtn flexc flex0" @click="getDelFn(ite.id)" v-if="checkPermi(['wuYe:commentIndex:remove'])&&ite.isMyself=='Y'">
- <image :src="del" class="imgc"></image>
- <view class="cof4">删除</view>
- </view>
- </view>
- <view class="infotxt">
- <rich-text v-if="ite.content" :nodes="analyzeEmoji(ite.content)"></rich-text>
- <view class="flexc mt10">
- <view class="inforeply" @touchend.prevent="getHfFn('yjhf',ite,ite.id)">回复</view>
- <view class="infotime">{{formatTimeDiff(ite.createTime)}}</view></view>
- </view>
- <!-- 新二级回复 -->
- <view class="pllista" v-if="ite.childrenList&&ite.childrenList.length">
- <view class="flexat ptb3" v-for="(aite,aidx) in ite.childrenList" :key="`ej${aidx}`">
- <view class="plnamea flexcw flex1" @touchend.prevent="getHfFn('ejhf',aite,ite.id)">
- <view class="over namea">{{aite.commentUser.nickName}}</view>
- <block v-if="aite.toRoot=='Y'">
- <view class="plrep">回复</view>
- <view class="over namea">{{aite.targetUser.nickName}}</view>
- </block>:
- <rich-text v-if="aite.content" :nodes="analyzeEmoji(aite.content)"></rich-text>
- </view>
- <view class="plrbtn flexc flex0" @click="getDelFn(aite.id)" v-if="checkPermi(['wuYe:commentIndex:remove'])&&aite.isMyself=='Y'">
- <image :src="del" class="imgc"></image>
- <view class="cof4">删除</view>
- </view>
- </view>
- </view>
- <view class="flexc" v-if="ite.childrenListCount>0">
- <view class="zhanbox flexc" v-if="ite.reachflag" @click.stop="getZhanFn(ite,idx)">
- <block v-if="ite.childrenList&&ite.childrenList.length">展开更多</block>
- <block v-else>展开{{ite.childrenListCount}}条回复</block>
- <image :src="upimg" class="zhan"></image>
- </view>
- <view v-if="ite.childrenList&&ite.childrenList.length" class="zhanbox flexc ml10" @click.stop="getShouFn(idx)">收起<image :src="upimg"></view>
- </view>
- </view>
- </view>
- </block>
- <!-- 员工图文 -->
- <block v-if="type=='ystv'">
- <view class="walists" v-for="(ite,idx) in datainfo" :key="idx" @click="getPut(ite.manualId)"
- :data-idx="idx"
- @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
- >
- <view class="watopcom">
- <view class="watop " style="padding-bottom: 22rpx !important;">
- <view class="watit">
- <view class="tit">{{ite.manualTitle}}</view>
- </view>
- <view class="watopcoma overtwo">
- <rich-text :nodes="ite.manualContent"></rich-text>
- </view>
-
- <view class="flexcj">
- <view class="watopcomb">{{ite.publishTime}}</view>
- <!-- 管理员 -->
- <view class="f12 cofe fw5" @click.stop="getReadlist(ite.manualId)" v-if="checkPermi(['wuYe:manual:getRead'])">已读名单</view>
- <!-- 员工 -->
- <view class="f12 co27 fw5" v-else>进度:{{ite.progress||0}}%</view>
- </view>
- </view>
- <view class="wabtn" @click.stop="getDetail(ite.manualId)">
- <view>查看详情</view>
- <image :src="rimg"></image>
- </view>
- </view>
-
- <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:news:remove'])" @click.stop="getDelFn(ite.manualId)">删除</view>
- </view>
- </block>
- <!-- 员工视频 -->
- <block v-if="type=='ygsp'">
- <view class="videolists flex pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.manualId)"
- :data-idx="idx"
- @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
- >
- <view class="watopcom flex flex1">
- <view class="flex0 mr12" @click.stop="getTime(idx)">
- <video class="videos" :ref="`video${idx}`" :src="baseUrl+ite.videoUrl" @pause="getPause" @timeupdate='onTimeUpdate' @loadedmetadata="onLoadedmetadata" @play="handlePlay(idx)" @ended="getended" :data-id="ite.manualId"
- :data-idx="idx" :data-progress="ite.progress" :data-putflag="ite.putflag" :data-time="ite.initialtime"
- @error="videoErrorCallback" controls></video>
- </view>
- <view class="flex1 over titbox">
- <view class="tit over">{{ite.manualTitle}}</view>
- <view class="flexcj">
- <!-- #ifndef APP-PLUS -->
- <view class="num">{{ite.duration}}</view>
- <!-- #endif -->
- <!-- 管理员 -->
- <view class="f12 cofe fw5" v-if="checkPermi(['wuYe:manual:getRead'])" @click.stop="getReadlist(ite.manualId)">已读名单</view>
- <!-- 员工 -->
- <view class="f12 co27 fw5" v-else>进度:{{ite.progress||0}}%</view>
- </view>
- <view class="time">{{ite.publishTime}}</view>
- </view>
- </view>
- <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:manual:remove'])" @click.stop="getDelFn(ite.manualId)">删除</view>
- </view>
- </block>
- <!-- 阅读名单 -->
- <block v-if="type=='readlist'" >
- <view class="readlist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
- <image class="head" :src="man" v-if="ite.sex==1"></image>
- <image class="head" :src="woman" v-else></image>
- <view class="flex1">
- <view class="tit">{{ite.name}}</view>
- <view class="time"><text>阅读时间 |</text> {{ite.time}}</view>
- </view>
- </view>
- </block>
- <block v-if="type=='readcount'" >
- <view class="readlist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
- <image class="head" :src="head" ></image>
- <!-- <image class="head" :src="man" v-if="ite.sex==1"></image>
- <image class="head" :src="woman" v-else></image> -->
- <view class="flex1">
- <view class="tit">{{ite.staffName}}</view>
- <view class="time"><text>阅读总时长 |</text> {{kaTime(ite.staffTime)}}</view>
- </view>
- </view>
- </block>
- <view class="shax">{{wtdt}}</view>
- </block>
-
- <!-- 无数据 -->
- <view class="nodata" v-else>
- <image :src="noiconpimg"></image>
- <view>
- 暂无数据
- </view>
- </view>
- </view>
- </template>
- <script>
- import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
- import config from '@/config'
- export default{
- props:{
- datainfo: {
- type: Array,
- default () {
- return []
- }
- },
- wtdt:{
- type:String,
- default () {
- return ''
- }
- },
- type:{
- type:String,
- default () {
- return 0
- }
- },
- topval:{
- type:String,
- default () {
- return ''
- }
- }
- },
- data(){
- return{
- noiconpimg:require("@/static/nodata.png"),
- car:require("@/car/static/car/car.png"),
- cara:require("@/car/static/car/cara.png"),
- carb:require("@/car/static/car/carb.png"),
- hicoa:require("@/people/static/people/hicoa.png"),
- hicob:require("@/people/static/people/hicob.png"),
- man:require("@/people/static/people/man.png"),
- woman:require("@/people/static/people/woman.png"),
- rimg:require("@/people/static/people/rimg.png"),
- pdel:require("@/people/static/people/pdel.png"),
- gzlx:require("@/people/static/people/gzlx.png"),
- mphone:require("@/people/static/people/mphone.png"),
- time:require("@/work/static/manage/time.png"),
- house:require("@/work/static/manage/house.png"),
- housea:require("@/work/static/manage/housea.png"),
- home:require("@/service/static/service/home.png"),
- upimg:require("@/static/images/home/up.png"),
- star:require('@/manage/static/news/starb.png'),
- stara:require('@/manage/static/news/stara.png'),
- eye:require('@/manage/static/community/eye.png'),
- nicona:require('@/manage/static/news/nicona.png'),
- niconb:require('@/manage/static/news/niconb.png'),
- niconc:require('@/manage/static/news/niconc.png'),
- nicond:require('@/manage/static/news/nicond.png'),
- nicone:require('@/manage/static/news/nicone.png'),
- head:require('@/manage/static/news/head.png'),
- del:require('@/manage/static/news/delb.png'),
- baseUrl:config.baseUrl,
- delBtnWidth:66,//左滑默认宽度
- OwOlist: [
- //表情包和表情路径
- { title: "微笑", url: "weixiao.gif" },
- { title: "嘻嘻", url: "xixi.gif" },
- { title: "哈哈", url: "haha.gif" },
- { title: "可爱", url: "keai.gif" },
- { title: "可怜", url: "kelian.gif" },
- { title: "挖鼻", url: "wabi.gif" },
- { title: "吃惊", url: "chijing.gif" },
- { title: "害羞", url: "haixiu.gif" },
- { title: "挤眼", url: "jiyan.gif" },
- { title: "闭嘴", url: "bizui.gif" },
- { title: "鄙视", url: "bishi.gif" },
- { title: "爱你", url: "aini.gif" },
- { title: "泪", url: "lei.gif" },
- { title: "偷笑", url: "touxiao.gif" },
- { title: "亲亲", url: "qinqin.gif" },
- { title: "生病", url: "shengbing.gif" },
- { title: "太开心", url: "taikaixin.gif" },
- { title: "白眼", url: "baiyan.gif" },
- { title: "右哼哼", url: "youhengheng.gif" },
- { title: "左哼哼", url: "zuohengheng.gif" },
- { title: "嘘", url: "xu.gif" },
- { title: "衰", url: "shuai.gif" },
- { title: "吐", url: "tu.gif" },
- { title: "哈欠", url: "haqian.gif" },
- { title: "抱抱", url: "baobao.gif" },
- { title: "怒", url: "nu.gif" },
- { title: "疑问", url: "yiwen.gif" },
- { title: "馋嘴", url: "chanzui.gif" },
- { title: "拜拜", url: "baibai.gif" },
- { title: "思考", url: "sikao.gif" },
- { title: "汗", url: "han.gif" },
- { title: "困", url: "kun.gif" },
- { title: "睡", url: "shui.gif" },
- { title: "钱", url: "qian.gif" },
- { title: "失望", url: "shiwang.gif" },
- { title: "酷", url: "ku.gif" },
- { title: "色", url: "se.gif" },
- { title: "哼", url: "heng.gif" },
- { title: "鼓掌", url: "guzhang.gif" },
- { title: "晕", url: "yun.gif" },
- { title: "悲伤", url: "beishang.gif" },
- { title: "抓狂", url: "zhuakuang.gif" },
- { title: "黑线", url: "heixian.gif" },
- { title: "阴险", url: "yinxian.gif" },
- { title: "怒骂", url: "numa.gif" },
- { title: "互粉", url: "hufen.gif" },
- { title: "书呆子", url: "shudaizi.gif" },
- { title: "愤怒", url: "fennu.gif" },
- { title: "感冒", url: "ganmao.gif" },
- { title: "心", url: "xin.gif" },
- { title: "伤心", url: "shangxin.gif" },
- { title: "猪", url: "zhu.gif" },
- { title: "熊猫", url: "xiongmao.gif" },
- { title: "兔子", url: "tuzi.gif" },
- { title: "喔克", url: "ok.gif" },
- { title: "耶", url: "ye.gif" },
- { title: "棒棒", url: "good.gif" },
- { title: "不", url: "no.gif" },
- { title: "赞", url: "zan.gif" },
- { title: "来", url: "lai.gif" },
- { title: "弱", url: "ruo.gif" },
- { title: "草泥马", url: "caonima.gif" },
- { title: "神马", url: "shenma.gif" },
- { title: "囧", url: "jiong.gif" },
- { title: "浮云", url: "fuyun.gif" },
- { title: "给力", url: "geili.gif" },
- { title: "围观", url: "weiguan.gif" },
- { title: "威武", url: "weiwu.gif" },
- { title: "话筒", url: "huatong.gif" },
- { title: "蜡烛", url: "lazhu.gif" },
- { title: "蛋糕", url: "dangao.gif" },
- { title: "发红包", url: "fahongbao.gif" },
- ],
- }
- },
- mounted() {
-
- },
- methods:{
- checkPermi, checkRole,
- getDetail(e){
- this.$emit('getDetail',e)
- },
- // 格式时间
- formatTimeDiff(targetStr) {
- const targetDate = new Date(targetStr);
- const now = new Date();
- const diffInSeconds = Math.floor((now - targetDate) / 1000);
-
- if (diffInSeconds < 60) {
- return "刚刚";
- } else if (diffInSeconds < 3600) {
- const minutes = Math.floor(diffInSeconds / 60);
- return `${minutes}分钟前`;
- } else if (diffInSeconds < 86400) {
- const hours = Math.floor(diffInSeconds / 3600);
- return `${hours}小时前`;
- } else {
- return targetDate.toISOString().slice(0, 16).replace("T", " ");
- }
- },
- getPut(e){
- this.$emit('getPut',e)
- },
- getAddFn(e){
- this.$emit('getAddFn',e)
- },
- getReadlist(e){
- this.$emit('getReadlist',e)
- },
- getTime(idx){
- console.log(idx)
- },
- kaTime(minutes){
- // 分钟转换成小时
- const hours = Math.floor(minutes / 60);
- const mins = minutes % 60;
- const formattedMins = mins < 10 ? `0${mins}` : mins;
- return `${hours}小时${formattedMins}分钟`;
- // console.log(a)
- },
- getended(e){
- var idx=e.currentTarget.dataset.idx;
- var info=JSON.parse(JSON.stringify(this.datainfo[idx]))
- info.progress=100.00;
- this.datainfo[idx].progress=100.00;
- this.$emit('getPause',info)
- this.datainfo[idx].putflag=false;
- },
- getPause(e){
- var idx=e.currentTarget.dataset.idx;
- var id=e.currentTarget.dataset.id;
- var pro=e.currentTarget.dataset.progress||0;
- var putflag=e.currentTarget.dataset.putflag;
- var info=JSON.parse(JSON.stringify(this.datainfo[idx]))
- if(putflag){
- info.progress=pro;
- this.$emit('getPause',info)
- this.datainfo[idx].putflag=false;
- }
- },
- handlePlay(idx){
- var list=JSON.parse(JSON.stringify(this.datainfo))
- list.forEach((ref,index) => {
- if (idx != index) {
- this.$refs[`video${index}`][0].pause();
- }
- });
- },
- onTimeUpdate(e){
- var idx=e.currentTarget.dataset.idx;
- var pro=e.currentTarget.dataset.progress||0;
- var currentTime=e.detail.currentTime;//当前
- var duration=e.detail.duration;//总的
- var progress=((currentTime / duration) * 100).toFixed(2);
- if(Number(pro)<Number(progress)){
- this.datainfo[idx].progress=progress;
- this.datainfo[idx].putflag=true;
- }
- },
- videoErrorCallback(e){
-
- },
- onLoadedmetadata(e){
- var idx=e.currentTarget.dataset.idx;
- var val=e.detail.duration;
- var time=this.convertSecondsToHMS(e.detail.duration);
- var pro=e.currentTarget.dataset.progress||0;
- this.datainfo[idx].duration=this.convertSecondsToHMS(e.detail.duration);
- // this.datainfo[idx].initialtime=Math.floor((pro/100)*val);
- var s=Math.floor((pro/100)*val)
- this.$refs[`video${idx}`][0].seek(s);
- },
- convertSecondsToHMS(seconds) {
- const h = Math.floor(seconds / 3600);
- const min = Math.floor((seconds % 3600) / 60);
- const s = Math.floor(seconds % 60);
- var timeStr = (h < 10 ? ('0' + h) : h) + ':' + (min < 10 ? ('0' + min) : min) + ':' + (s < 10 ? (
- '0' + s) : s);
- // return `${hours}小时 ${minutes}分钟 ${remainingSeconds}秒`;
- return timeStr;
- },
- getZhan(idx){
- // var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
- // obj.zhanflag=!obj.zhanflag;
- // this.datainfo.splice(idx,1,obj);
- this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
- },
- analyzeEmoji(cont){
- //编译表情替换成图片展示出来
- var pattern1 = /\[[\u4e00-\u9fa5]+\]/g;
- var pattern2 = /\[[\u4e00-\u9fa5]+\]/;
- var content = cont.match(pattern1);
- var str = cont;
- if (content) {
- for (var i = 0; i < content.length; i++) {
- for (var j = 0; j < this.OwOlist.length; j++) {
- if ("[" + this.OwOlist[j].title + "]" == content[i]) {
- var src = this.OwOlist[j].url;
- break;
- }
- }
- var s = require("./img/face/" + src);
- var imoj = "<img src='" + s + "'/>";
-
- str = str.replace(pattern2, imoj);
- }
- }
- return str;
- },
- getZhanFn(ite,idx){
- var obj={
- ite:ite,
- idx:idx
- }
- this.$emit("getZhanFn",obj)
- },
- getDzFn(id,type,content,idx,aidx,atype){
- var obj={
- id:id,
- type:type,
- content:content,
- idx:idx,
- aidx:aidx,
- atype:atype
- }
- this.$emit("getDzFn",obj)
- },
- getScFn(ite,idx){
- var obj={
- ite:ite,
- idx:idx
- }
- this.$emit("getScFn",obj)
- },
- getHfFn(type,ite,id){
- var cuser=JSON.parse(JSON.stringify(ite.commentUser))
- var obj={
- parentId:id,
- toUserId:cuser.id,
- toNickName:cuser.nickName,
- toAvatar:cuser.avatar,
- type:type||""
- }
- this.$emit("getHfFn",obj)
- },
- getShouFn(idx){
- this.$emit("getShouFn",idx)
- },
- getPreview(idx,arr) {
- var newArr=[];
- arr.forEach(ite=>{
- var ds=this.baseUrl+ite
- newArr.push(ds)
- })
- uni.previewImage({
- urls: newArr,
- current:idx,
- success: function(data) {},
- fail: function(err) {}
- });
- },
- getDelFn(id){
- var that=this;
- uni.showModal({
- title: '确认删除',
- content: "是否确认删除",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- that.$emit('getDelFn',id)
- } else if (res.cancel) {
- }
- }
- });
- },
- //开始触摸滑动
- drawStart(e) {
- // console.log("开始触发");
- var touch = e.touches[0];
- this.startX = touch.clientX;
- },
- //触摸滑动
- drawMove(e) {
- // console.log("滑动");
- for (var index in this.datainfo) {
- // this.csListArrl[index].right=0
- this.$set(this.datainfo[index],'right',0);
- }
- var idx=e.currentTarget.dataset.idx
- var touch = e.touches[0];
- var item = this.datainfo[idx];
- var disX = this.startX - touch.clientX;
- if (disX >= 20) {
- if (disX > this.delBtnWidth) {
- disX = this.delBtnWidth;
- }
- // this.csListArrl[idx].right=disX
- this.$set(this.datainfo[idx],'right',disX);
- } else {
- // this.csListArrl[idx].right=0
- this.$set(this.datainfo[idx],'right',0);
- }
- },
- //触摸滑动结束
- drawEnd(e) {
- // console.log("滑动结束");
- var idx=e.currentTarget.dataset.idx
- var item = this.datainfo[idx];
- if (item.right >= this.delBtnWidth / 2) {
- // this.datainfo[idx].right=this.delBtnWidth
- this.$set(this.datainfo[idx],'right',this.delBtnWidth);
- } else {
- this.datainfo[idx].right=0
- }
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- .flex{display: flex;}
- .flexc{display: flex;align-items: center;}
- .mb10{margin-bottom: 20rpx;}
- .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
- .ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
- .imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
- .tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
- .txt{font-weight: 500;font-size: 26rpx;
- &.ca{color: #3565ED;}
- &.cb{color: #FE5A0E;}
- &.cc{color: #28C529;}
- }
- .txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
- .num{font-size: 24rpx;color: #AAAAAA;}
- }
- .btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
- &.btna{border: 2rpx solid #06C770;color: #06C770;}
- &.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
- &.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
- &.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
- &.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
- &.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
- }
- .clists{padding: 24rpx 24rpx 8rpx;
- .clist{font-weight: 500;margin-bottom: 16rpx;
- font-size: 26rpx;color: #272727;display: flex;line-height: 34rpx;
- .tit{font-size: 26rpx;color: #AAAAAA;flex: 0 0 auto;margin-right: 16rpx;min-width: 108rpx;text-align-last: justify;}
- .imgas{display: flex;align-items: center;flex-wrap: wrap;
- image{width: 142rpx;height: 142rpx;margin-right: 30rpx;margin-top: 8rpx;}
- }
- }
- .w50{
- .clist{width: 50%;}
- }
- }
- }
- // 人员
- .peolist{
- .ctop{padding: 24rpx 24rpx 22rpx;}
- .imgs{margin-right: 16rpx !important;}
- .tit{font-size: 28rpx !important;}
- .plists{padding: 30rpx 24rpx 6rpx;
- .plist{background: linear-gradient(-90deg, #F2F5FF 0%, #FBFDFF 100%);border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 18rpx 26rpx 4rpx;
- .head{width: 96rpx;height: 98rpx;margin-right: 32rpx;flex: 0 0 auto;}
- .ptit{font-weight: bold;font-size: 30rpx;color: #272727;display: flex;align-items: center;margin-bottom: 14rpx;}
- .ptxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 14rpx;min-width: 176rpx;}
- }
- }
- .upimg{width: 26rpx;height: 22rpx;display: block;transform: rotate(180deg);transition: all 0.3s;margin: 0 auto 18rpx;
- &.act{transform: rotate(0deg);}
- }
- }
- // 物业费
- .mlistl{width: 40%;display: flex;flex-direction: column;align-items: center;flex: 0 0 auto;
- .mltit{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 18rpx;}
- .mltxt{font-weight: bold;font-size: 32rpx;color: #0156FE;}
- }
- .houselist{
- .clists{padding-bottom: 2rpx !important;}
- .clist{margin-bottom: 22rpx !important;}
- }
- // 巡更地点
- .patlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;padding: 0 24rpx 30rpx;
- .pattop{padding:22rpx 30rpx;margin-bottom: 2rpx;
- .imgs{width: 28rpx;height: 28rpx;margin-right: 12rpx;}
- .tit{font-size: 30rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
- .txt{font-weight: 500;font-size:24rpx;
- &.ca{color: #3565ED;}
- &.cb{color: #FE5A0E;}
- &.cc{color: #28C529;}
- &.cd{color: #FF6969;}
- }
- }
- .patlistr{background: #EFF4FF;border-radius: 20rpx;padding: 20rpx 32rpx;
- .clist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;line-height: 50rpx;
- .tit{font-size: 26rpx;flex: 0 0 auto;min-width: 108rpx;text-align-last: justify;font-weight: bold;}
- }
- }
- .patbtns{display: flex;justify-content: flex-end;align-items: center;flex-wrap: wrap;
- 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;
- &.btna{border: 2rpx solid #0256FD;color: #0256FD;}
- &.btnb{background: #0256FD;color: #ffffff;}
-
- }
- }
- }
- // 报修
- .walists{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx; position: relative;
- .watop{
- padding: 0 36rpx 8rpx 38rpx;
- .watit{padding: 24rpx 0;margin-bottom: 4rpx;display: flex;
- .tit{font-weight: bold;font-size: 28rpx;color: #272727;flex: 1;
- .cir{width: 14rpx;margin-left: 8rpx;margin-bottom: 10rpx;height: 14rpx;display: inline-block;background: #FF6969;border-radius: 8rpx;}
- }
- .txt{font-weight: bold;font-size: 26rpx;flex: 0 0 auto;
- }
- }
- }
- .walist{display: flex;font-weight: 500;font-size: 24rpx;color: #666666;margin-bottom: 16rpx;
- .tit{min-width: 100rpx;text-align-last: justify}
- }
- .wabtn{display: flex;align-items: center;justify-content: space-between;border-top: 2rpx solid #E5E5E5;height: 80rpx;padding: 0 38rpx;
- view{font-weight: 500;font-size: 24rpx;color: #666666;}
- image{width: 16rpx;height: 28rpx;}
- }
- }
- // 维修人员
- .stafflist{width: 344rpx;min-height: 256rpx;background: #FFFFFF;border-radius: 20rpx;margin:0 12rpx 24rpx 12rpx;padding-bottom: 20rpx;box-sizing: border-box;
- // &:nth-of-type(2n){margin-right: 0;}
- .statop{border-bottom: 2rpx solid #E5E5E5;display: flex;padding: 24rpx 24rpx 22rpx;
- .head{width: 80rpx;height: 82rpx;margin-right: 24rpx;flex: 0 0 auto;}
- .stadel{width: 30rpx;height: 30rpx;flex: 0 0 auto;margin-left: 12rpx;}
- .statit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 4rpx;}
- .statxt{font-weight: 500;font-size: 26rpx;
- .cir{width: 10rpx;height: 10rpx;border-radius: 50%;margin-right: 14rpx;display: inline-block;
- &.bga{background: #06C770;}
- &.bgb{background: #FF6969;}
- }
- }
- }
- .stalist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;align-items: center;padding: 20rpx 24rpx 0;
- .imgs{width: 24rpx;height: 30rpx;margin-right: 22rpx;flex: 0 0 auto;display: flex;align-items: center;justify-content: center;
- .gzlximg{width: 24rpx;height: 28rpx;}
- .mphone{width: 18rpx;height: 30rpx;}
- }
-
- }
- }
- // padding-bottom: 30rpx !important;
- .watopcom{background-color: #ffffff;border-radius: 20rpx;position: relative;z-index: 1;
- .watopcoma{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 24rpx;}
- .watopcomb{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
-
- }
- //资讯
- .newlists{
- background: #FFFFFF;margin-bottom: 24rpx;
- border-radius: 20rpx;
- .watopcom{
- padding: 22rpx 24rpx;
- }
- .tit{font-size: 32rpx;font-weight: bold;color: #272727;line-height: 48rpx;margin-bottom:16rpx;}
- .txt{font-size: 24rpx;color: #666666;line-height: 36rpx;margin-bottom: 32rpx;}
- .stabox{
- .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;line-height: 36rpx;}
- .btns{font-weight: 500;font-size: 22rpx;color: #666666;line-height: 36rpx;min-width: 100rpx;box-sizing: border-box;margin-left: 20rpx;
- .imga{width: 24rpx;height: 22rpx;margin-right: 8rpx;}
- .imgb{width: 24rpx;height: 18rpx;margin-right: 10rpx;}
- }
-
- }
- }
- //评论
- .pllist{margin-bottom: 40rpx;
- &:last-child{margin-bottom: 0;}
- .head{width: 40rpx;height: 40rpx;margin-right: 18rpx;flex: 0 0 auto;border-radius: 50%;}
- .plname{font-size: 30rpx;color: #161616;font-weight: bold;
- }
- .plrbtn{margin-left: 36rpx;
- image{width: 26rpx;height: 24rpx;margin-right: 16rpx;
- &.imga{width: 26rpx;height: 26rpx;}
- &.imgb{width: 26rpx;height: 22rpx;}
- &.imgd{width: 26rpx;height: 24rpx;margin-right: 10rpx;}
- &.imge{width: 26rpx;height: 26rpx;transform: rotate(180deg);}
- }
- view{font-weight: bold;font-size: 24rpx;color: #314081;}
- }
- // margin-bottom: 30rpx;
- .infotxt{font-weight: 500;font-size: 26rpx;color: #161616;line-height: 40rpx;
- &:before {content: "";float: right;width: 0;height: calc(100% - 16px);background: red;}
- .inforeply{min-width: 86rpx;height: 42rpx;background: #F8F8F8;border-radius: 20rpx; margin-right: 22rpx;font-weight: 500;
- font-size: 24rpx;text-align: center;padding: 0 8rpx;box-sizing: border-box;line-height: 42rpx;display: inline-block;
- color: #161616;}
- .infotime{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
- // .infotime{font-weight: 500;font-size: 24rpx;color: #666666; float: right;clear: both;}
- image{width: 44rpx;height: 44rpx;}
- }
- .pllista{background: #F8F8F8;padding:12rpx 24rpx;border-radius: 10rpx;margin-top: 40rpx;
- .plnamea{font-size: 26rpx;color: #161616;line-height: 40rpx;
- .namea{font-weight: bold;max-width: 160rpx;}
- .plrep{color: #AAAAAA;margin: 0 10rpx;}
- }
- }
- .zhanbox{font-weight: 500;font-size: 24rpx;color: #AAAAAA;padding-bottom: 16rpx;margin-top: 16rpx;
- image{width: 20rpx;height: 12rpx;margin-left: 18rpx;transition: all 0.3s;
- &.zhan{transform: rotate(-180deg);}
- }
- }
- }
- // 视频
- .videolists{
- background: #FFFFFF;margin-bottom: 24rpx;border-radius: 20rpx;
- .titbox{padding-top: 16rpx;padding-right: 38rpx;}
- .videos{width: 260rpx;height: 180rpx;}
- .tit{font-weight: bold;font-size: 14px;color: #272727;text-align: left;margin-bottom: 10rpx;}
- .num{font-weight: 500;font-size: 20rpx;color: #666666;min-width: 68rpx;padding: 0 8rpx;box-sizing: border-box;
- height: 28rpx;background: #E6E6E6;border-radius: 14rpx;line-height: 28rpx;text-align: center;}
- .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;margin-top: 44rpx;}
- }
- // 名单
- .readlist{background: #FFFFFF;border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 24rpx;display: flex;align-items: center;box-sizing: border-box;
- .head{width: 96rpx;height: 96rpx;margin-right: 28rpx;flex: 0 0 auto;}
- .tit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 12rpx;}
- .time{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;
- text{margin-right: 12rpx;display: inline-block;}
- }
- }
- .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;}
- // 无数据
- .nodata{display: flex;flex-direction: column;align-items: center;
- image{width: 440rpx;height: 440rpx;}
- view{font-size: 30rpx;color: #666666;font-weight: bold;}
- }
- </style>
|