list.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698
  1. <template>
  2. <view>
  3. <!-- 第一种样式 人员管理-->
  4. <block v-if="datainfo.length>0">
  5. <block v-if="type=='mycar'">
  6. <view class="carlist pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.carId)"
  7. :data-idx="idx"
  8. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  9. >
  10. <view class="delleft" style="padding: 0 24rpx;">
  11. <view class="carltop flexc">
  12. <view class="flex1">
  13. <view class="tit mb6 flexc" :class="ite.vehicleEnergy=='新能源'?'co16':'co01'">{{ite.plateNumber}}
  14. <text class="cir"></text>
  15. <text v-if="ite.vehicleColour">{{ite.vehicleColour}}</text>
  16. </view>
  17. <view class="txt flexc">
  18. {{ite.vehicleBrand}}
  19. <view class="txtbtn flexcc" v-if="ite.vehicleEnergy=='新能源'">{{ite.vehicleEnergy}}</view>
  20. <!-- <view class="txtbtn flexcc" v-if="ite.vehicleType==2">新能源</view> -->
  21. </view>
  22. </view>
  23. <image :src="carb" class="carb" v-if="ite.vehicleEnergy=='新能源'"></image>
  24. <image :src="cara" class="cara" v-else></image>
  25. </view>
  26. <view class="carlf">
  27. <view class="clflist">发动机号码 :{{ite.engineNumber}}</view>
  28. <view class="clflist">车辆识别代号:{{ite.identificationNumber}}</view>
  29. <view class="flexc">
  30. <view class="clflist w50">注册日期:{{ite.registrationDate}}</view>
  31. <view class="clflist w50">发证日期:{{ite.issueDate}}</view>
  32. </view>
  33. </view>
  34. </view>
  35. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:car:remove'])" @click.stop="getDelFn(ite.carId)">删除</view>
  36. </view>
  37. </block>
  38. <!-- 地址 -->
  39. <block v-if="type=='address'">
  40. <view class="adrlist flexc" :class="ite.isdefault?'act':''" v-for="(ite,idx) in datainfo" :key="idx">
  41. <view class="adrl flex1">
  42. <view class="tit mb5">安徽省 合肥市 蜀山区 高新技术产业开发区</view>
  43. <view class="txt mb5">幸福大街88号幸福小区12#1304</view>
  44. <view class="txts flexc">袁玥 <text class="ml8">18305687768</text>
  45. <text class="ml8 btns" v-if="ite.isdefault">默认</text>
  46. <text class="ml8 btns" v-if="ite.isuser">最近使用</text>
  47. </view>
  48. </view>
  49. <view class="adrr flexcc">
  50. <image :src="edit"></image>
  51. </view>
  52. </view>
  53. </block>
  54. <!-- 快递 -->
  55. <block v-if="type=='delivery'">
  56. <view class="kdlists flex" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
  57. <image :src="noiconpimg" class="kdll"></image>
  58. <view class="kdlr over flex1">
  59. <view class="over tit">已发货</view>
  60. <view class="over tits">包裹正在等待揽收</view>
  61. <view class="over txt">淘宝 | 白色晚礼服平时可穿毕业洋装小白裙…</view>
  62. </view>
  63. </view>
  64. </block>
  65. <!-- 步骤条 -->
  66. <block v-if="type=='kdstep'">
  67. <view class="hfstep">
  68. <view class="hfslist flex">
  69. <view class="limg flexccc">
  70. <image :src="cira" class="imga"></image>
  71. </view>
  72. <view class="flex1">
  73. <view class="hfstit co01">运输中 11-25 12:24</view>
  74. <view class="hfstxt co27">【合肥市】快件已到达 合肥蜀山新产业园</view>
  75. </view>
  76. </view>
  77. <view class="hfslist flex">
  78. <view class="limg flexccc">
  79. <image :src="cirb" class="imgb"></image>
  80. </view>
  81. <view class="flex1">
  82. <view class="hfstit">11-25 07:23</view>
  83. <view class="hfstxt">【合肥市】快件已发往 合肥蜀山新产业园</view>
  84. </view>
  85. </view>
  86. <view class="hfslist flex">
  87. <view class="limg flexccc">
  88. <image :src="cirb" class="imgb"></image>
  89. </view>
  90. <view class="flex1">
  91. <view class="hfstit">11-25 07:20</view>
  92. <view class="hfstxt">【合肥市】快件已到达 合肥转运中心</view>
  93. </view>
  94. </view>
  95. </view>
  96. </block>
  97. <!-- 人员管理 -->
  98. <block v-if="type=='people'">
  99. <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx">
  100. <view class="ctop flexc">
  101. <image :src="house" class="imgs" v-if="ite.houseStatus==1"></image>
  102. <image :src="housea" class="imgs" v-if="ite.houseStatus==4"></image>
  103. <image :src="houseb" class="imgs" v-if="ite.houseStatus==2"></image>
  104. <image :src="housec" class="imgs" v-if="ite.houseStatus==3"></image>
  105. <view class="tit">{{ite.detailedAddress}}</view>
  106. <view class="flex1"></view>
  107. <view class="txt ca" v-if="ite.houseStatus==1">自住</view>
  108. <view class="txt cb" v-if="ite.houseStatus==4">出租</view>
  109. <view class="txt cc" v-if="ite.houseStatus==2">空闲</view>
  110. <view class="txt co6" v-if="ite.houseStatus==3">代售</view>
  111. </view>
  112. <view class="plists">
  113. <block v-for="(aite,aidx) in ite.residentInfoList">
  114. <view class="flexc pr mb12" :key="`peo${aidx}`" v-if="aidx==0" @click="getDetail(aite.residentId)"
  115. :data-idx="idx" :data-aidx="aidx" data-type="peo"
  116. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+aite.right+'px'"
  117. >
  118. <view class="plist flexc">
  119. <image :src="man" class="head" v-if="aite.residentGender==1"></image>
  120. <image :src="woman" class="head" v-else></image>
  121. <view class="flex1">
  122. <view class="ptit">{{aite.residentName}}
  123. <view class="btn btnc ml10" v-if="aite.isHouseholder=='Y'">户主</view>
  124. </view>
  125. <view class="ptxt">身份证号 | {{aite.residentIdCard}}</view>
  126. <view class="flexc">
  127. <view class="ptxt">性别 | {{aite.residentGender==1?'男':'女'}}</view>
  128. <view class="ptxt">年龄 | {{getAgeFromID(aite.residentIdCard)}}岁</view>
  129. </view>
  130. <view class="flexc" v-if="aite.residentAppearance">
  131. <view class="ptxt">人员面貌 | {{kaType(aite.residentAppearance,rymmList)}}</view>
  132. </view>
  133. </view>
  134. </view>
  135. <view class="spdel" v-if="aite.right>0&&checkPermi(['wuYe:residentInfo:remove'])" @click.stop="getDelFn(aite.residentId)">删除</view>
  136. </view>
  137. <view class="flexc pr mb12" :key="`peo${aidx}`" v-if="aidx>0&&ite.zhanflag" @click="getDetail(aite.residentId)"
  138. :data-idx="idx"
  139. :data-aidx="aidx" data-type="peo"
  140. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+aite.right+'px'"
  141. >
  142. <view class="plist flexc">
  143. <image :src="man" class="head" v-if="aite.residentGender==1"></image>
  144. <image :src="woman" class="head" v-else></image>
  145. <view class="flex1">
  146. <view class="ptit">{{aite.residentName}}
  147. <view class="btn btnc ml10" v-if="aite.isHouseholder=='Y'">户主</view>
  148. </view>
  149. <view class="ptxt">身份证号 | {{aite.residentIdCard}}</view>
  150. <view class="flexc">
  151. <view class="ptxt">性别 | {{aite.residentGender==1?'男':'女'}}</view>
  152. <view class="ptxt">年龄 | {{getAgeFromID(aite.residentIdCard)}}岁</view>
  153. </view>
  154. <view class="flexc" v-if="aite.residentAppearance">
  155. <view class="ptxt">人员面貌 | {{kaType(aite.residentAppearance,rymmList)}}</view>
  156. </view>
  157. </view>
  158. </view>
  159. <view class="spdel" v-if="aite.right>0&&checkPermi(['wuYe:residentInfo:remove'])" @click.stop="getDelFn(aite.residentId)">删除</view>
  160. </view>
  161. </block>
  162. <image :src="upimg" v-if="ite.residentInfoList.length>1" :class="ite.zhanflag?'act':''" class="upimg" @click="getZhan(idx)"></image>
  163. </view>
  164. </view>
  165. </block>
  166. <!-- 我的互动 -->
  167. <block v-if="type=='myhd'">
  168. <view class="mb12 pr" v-for="(ite,idx) in datainfo" :key="idx">
  169. <view class="hdlist pd12 flex">
  170. <image :src="man" class="mhead flex0"></image>
  171. <view class="flex1 overh">
  172. <view class="flexc mb6">
  173. <view class="name flex1 over">{{ite.nickName}}</view>
  174. <view class="tit flex0 ml10">
  175. <block v-if="ite.targetType==1">评论了你的文章</block>
  176. <block v-if="ite.targetType==2">点赞了你的文章</block>
  177. <block v-if="ite.targetType==3">收藏了你的文章</block>
  178. <block v-if="ite.targetType==4">回复了你的评论</block>
  179. <block v-if="ite.targetType==5">点赞了你的评论</block>
  180. </view>
  181. <view class="time flex0 ml10">{{ite.createTime}}</view>
  182. </view>
  183. <view class="flexc overh mb4">
  184. <view class="line bga"></view>
  185. <view class="txt over flex1">{{ite.targetTitle}}</view>
  186. <image :src="rimg" class="rimg ml10"></image>
  187. </view>
  188. </view>
  189. </view>
  190. </view>
  191. </block>
  192. <block v-if="type=='plsh'">
  193. <view class="mb12 pr" v-for="(ite,idx) in datainfo" :key="idx"
  194. :data-idx="idx"
  195. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  196. >
  197. <view class="hdlist ">
  198. <view class="pd12 flex">
  199. <image :src="ite.avatar?baseUrl+ite.avatar:man" class="mhead flex0"></image>
  200. <view class="flex1 overh">
  201. <view class="flexc mb6">
  202. <view class="name flex1 over">{{ite.nickName}}</view>
  203. <view class="time flex0 ml10">02-26</view>
  204. </view>
  205. <view class="txt mb8">{{ite.commentContent}}</view>
  206. <view class="flexc overh mb2">
  207. <view class="line bgd"></view>
  208. <view class="txta over flex1">{{ite.communityTitle}}</view>
  209. <image :src="rimg" class="rimg ml10"></image>
  210. </view>
  211. </view>
  212. </view>
  213. <view class="shbtns flexc pd12" >
  214. <view class="btn bga" @click="getSh('4',ite)">不予展示</view>
  215. <view class="flex1"></view>
  216. <view class="btn bgb" @click="getSh('3',ite)">不通过</view>
  217. <view class="btn bgc" @click="getSh('2',ite)">通过</view>
  218. </view>
  219. </view>
  220. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:residentInfo:remove'])" @click.stop="getDelFn(ite.residentId)">删除</view>
  221. </view>
  222. </block>
  223. <!-- 我的点赞,收藏,评论 :data-idx="idx"
  224. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"-->
  225. <block v-if="type=='wdhd'">
  226. <view class="mb12 pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite)">
  227. <view class="hdlist ">
  228. <view class="pd12 flex">
  229. <image :src="ite.avatar?baseUrl+ite.avatar:man" class="mhead flex0"></image>
  230. <view class="flex1 overh">
  231. <view class="flexc mb6">
  232. <view class="name flex1 over">{{ite.nickName}}</view>
  233. <view class="time flex0 ml10">{{ite.createTime}}</view>
  234. </view>
  235. <view class="txt mb8">{{ite.commentContent}}</view>
  236. <view class="flexc overh mb2">
  237. <view class="line bgd"></view>
  238. <view class="txta over flex1" v-if="tabval=='mypl'">{{ite.communityTitle}}</view>
  239. <view class="txta over flex1" v-else>{{ite.targetTitle}}</view>
  240. <image :src="rimg" class="rimg ml10"></image>
  241. </view>
  242. </view>
  243. </view>
  244. </view>
  245. <!-- <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:residentInfo:remove'])" @click.stop="getDelFn(ite.residentId)">删除</view> -->
  246. </view>
  247. </block>
  248. <!-- 车辆违规 -->
  249. <block v-if="type=='carpark'">
  250. <view class="carlist pr" v-for="(ite,idx) in datainfo" :key="ite.illegalParkingId" @click="getDetail(ite.illegalParkingId)"
  251. :data-idx="idx"
  252. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="checkPermi(['wuYe:illegalParking:remove'])?'right:'+ite.right+'px':''"
  253. >
  254. <view class="delleft">
  255. <view class="ctop flexc">
  256. <image :src="caraa" class="imgs" v-if="ite.carType==1"></image>
  257. <image :src="carbb" class="imgs" v-if="ite.carType==2"></image>
  258. <view class="tit">{{ite.plateNumber}}</view>
  259. <view class="num coff" v-if="ite.isBlack=='Y'">(已登黑名单)</view>
  260. <view class="flex1"></view>
  261. <block v-if="ite.carType">
  262. <view class="txt " :class="ite.carType==1?'ca':'cb'">{{kaType(ite.carType,carType)}}</view>
  263. </block>
  264. <!-- <view class="txt cb" v-if="ite.type==2">外来车辆</view> -->
  265. </view>
  266. <view class="clists">
  267. <block v-if="ite.carType==1">
  268. <view class="clist"><view class="tit">关联房号</view>{{ite.visitPortal}}</view>
  269. <view class="clist"><view class="tit">手机号码</view>{{ite.mobileNumber}}</view>
  270. </block>
  271. <view class="clist"><view class="tit">登记时间</view>{{ite.createTime}}</view>
  272. <view class="clist"><view class="tit">违停拍照</view>
  273. <view class="imgas" v-if="ite.illegalPhoto">
  274. <image :src="baseUrl+aite" v-for="(aite,aidx) in kaPhoto(ite.illegalPhoto)" :key="aidx" @click.stop="getPreview(aidx,ite.illegalPhoto)"></image>
  275. </view>
  276. </view>
  277. </view>
  278. </view>
  279. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:illegalParking:remove'])" @click.stop="getDelFn(ite.illegalParkingId)">删除</view>
  280. </view>
  281. </block>
  282. <view class="shax" v-if="wtdt">{{wtdt}}</view>
  283. </block>
  284. <!-- 无数据 -->
  285. <view class="nodata" v-else>
  286. <image :src="noiconpimg"></image>
  287. <view>
  288. 暂无数据
  289. </view>
  290. </view>
  291. </view>
  292. </template>
  293. <script>
  294. import {selectDictValue} from "@/utils/common.js"
  295. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  296. import config from '@/config'
  297. export default{
  298. props:{
  299. datainfo: {
  300. type: Array,
  301. default () {
  302. return []
  303. }
  304. },
  305. wtdt:{
  306. type:String,
  307. default () {
  308. return ''
  309. }
  310. },
  311. type:{
  312. type:String,
  313. default () {
  314. return 0
  315. }
  316. },
  317. clcxList:{
  318. type: Array,
  319. default () {
  320. return []
  321. }
  322. },
  323. rymmList:{
  324. type: Array,
  325. default () {
  326. return []
  327. }
  328. },
  329. carType:{
  330. type: Array,
  331. default () {
  332. return []
  333. }
  334. },
  335. tabval:{
  336. type:String,
  337. default () {
  338. return ''
  339. }
  340. }
  341. },
  342. data(){
  343. return{
  344. house:require("@/health/static/house.png"),
  345. housea:require("@/health/static/housea.png"),
  346. houseb:require("@/health/static/houseb.png"),
  347. housec:require("@/health/static/housec.png"),
  348. noiconpimg:require("@/static/images/nodata.png"),
  349. upimg:require("@/mine/static/house/up.png"),
  350. cara:require("@/mine/static/house/cara.png"),
  351. carb:require("@/mine/static/house/carb.png"),
  352. caraa:require("@/mine/static/house/caraa.png"),
  353. carbb:require("@/mine/static/house/carbb.png"),
  354. edit:require("@/mine/static/edit.png"),
  355. cira:require('@/news/static/complaint/cira.png'),
  356. cirb:require('@/news/static/complaint/cirb.png'),
  357. man:require("@/health/static/man.png"),
  358. woman:require("@/health/static/woman.png"),
  359. rimg:require("@/static/images/rimga.png"),
  360. baseUrl:config.baseUrl,
  361. delBtnWidth:66,//左滑默认宽度
  362. }
  363. },
  364. mounted() {
  365. },
  366. methods:{
  367. checkPermi, checkRole,
  368. kaType(data, list) {
  369. return selectDictValue(list, data);
  370. },
  371. kaPhoto(data){
  372. return data.split(',');
  373. },
  374. getDetail(e){
  375. this.$emit('getDetail',e)
  376. },
  377. getDelFn(e){
  378. var that=this;
  379. uni.showModal({
  380. title: '确认删除',
  381. content: "是否确认删除",
  382. cancelText: '取消',
  383. confirmText: '确认',
  384. success: function(res) {
  385. if (res.confirm) {
  386. that.$emit('getDelFn',e)
  387. } else if (res.cancel) {
  388. }
  389. }
  390. });
  391. },
  392. getSh(type,ite){
  393. var that=this;
  394. var str="";
  395. if(type=='2'){
  396. str="通过"
  397. }else if(type=='3'){
  398. str="不通过"
  399. }else if(type=='4'){
  400. str="下架"
  401. }
  402. uni.showModal({
  403. title: '确认'+str,
  404. content: "是否确认"+str,
  405. cancelText: '取消',
  406. confirmText: '确认',
  407. success: function(res) {
  408. if (res.confirm) {
  409. var obj={
  410. status:type,
  411. contentId:ite.contentId,
  412. commentId:ite.commentId,
  413. }
  414. that.$emit('getSh',obj)
  415. } else if (res.cancel) {
  416. }
  417. }
  418. });
  419. },
  420. getZhan(idx){
  421. // var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
  422. // obj.zhanflag=!obj.zhanflag;
  423. // this.datainfo.splice(idx,1,obj);
  424. this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
  425. },
  426. getDelFn(id){
  427. var that=this;
  428. uni.showModal({
  429. title: '确认删除',
  430. content: "是否确认删除",
  431. cancelText: '取消',
  432. confirmText: '确认',
  433. success: function(res) {
  434. if (res.confirm) {
  435. that.$emit('getDelFn',id)
  436. } else if (res.cancel) {
  437. }
  438. }
  439. });
  440. },
  441. getAgeFromID(idNumber) {
  442. if(idNumber){
  443. const birthDateStr = idNumber.substring(6, 14);
  444. const birthYear = parseInt(birthDateStr.substring(0, 4));
  445. const birthMonth = parseInt(birthDateStr.substring(4, 6));
  446. const birthDay = parseInt(birthDateStr.substring(6, 8));
  447. const today = new Date();
  448. const currentYear = today.getFullYear();
  449. const currentMonth = today.getMonth() + 1;
  450. const currentDay = today.getDate();
  451. let age = currentYear - birthYear;
  452. if (currentMonth < birthMonth || (currentMonth === birthMonth && currentDay < birthDay)) {
  453. age--;
  454. }
  455. return age;
  456. }
  457. },
  458. getPreview(idx,arr) {
  459. var newArr=[];
  460. var list=arr.split(',')
  461. list.forEach(ite=>{
  462. var ds=this.baseUrl+ite
  463. newArr.push(ds)
  464. })
  465. uni.previewImage({
  466. urls: newArr,
  467. current:idx,
  468. success: function(data) {},
  469. fail: function(err) {}
  470. });
  471. },
  472. //开始触摸滑动
  473. drawStart(e) {
  474. // console.log("开始触发");
  475. var touch = e.touches[0];
  476. this.startX = touch.clientX;
  477. },
  478. //触摸滑动
  479. drawMove(e) {
  480. var idx=e.currentTarget.dataset.idx
  481. var aidx=e.currentTarget.dataset.aidx
  482. var type=e.currentTarget.dataset.type;
  483. for (var index in this.datainfo) {
  484. if(type&&type=='peo'){
  485. for(var i in this.datainfo[idx].residentInfoList){
  486. this.$set(this.datainfo[idx].residentInfoList[i],'right',0);
  487. }
  488. }else{
  489. this.$set(this.datainfo[index],'right',0);
  490. }
  491. }
  492. var touch = e.touches[0];
  493. var item = this.datainfo[idx];
  494. var disX = this.startX - touch.clientX;
  495. if (disX >= 20) {
  496. if (disX > this.delBtnWidth) {
  497. disX = this.delBtnWidth;
  498. }
  499. if(type&&type=='peo'){
  500. this.$set(this.datainfo[idx].residentInfoList[aidx],'right',disX);
  501. }else{
  502. this.$set(this.datainfo[idx],'right',disX);
  503. }
  504. // this.csListArrl[idx].right=disX
  505. } else {
  506. // this.csListArrl[idx].right=0
  507. this.$set(this.datainfo[idx],'right',0);
  508. }
  509. },
  510. //触摸滑动结束
  511. drawEnd(e) {
  512. // console.log("滑动结束");
  513. var idx=e.currentTarget.dataset.idx
  514. var item = this.datainfo[idx];
  515. if (item.right >= this.delBtnWidth / 2) {
  516. // this.datainfo[idx].right=this.delBtnWidth
  517. // this.$set(this.datainfo[idx],'right',this.delBtnWidth);
  518. } else {
  519. this.datainfo[idx].right=0
  520. }
  521. },
  522. }
  523. }
  524. </script>
  525. <style lang="scss" scoped>
  526. .flex{display: flex;}
  527. .flexc{display: flex;align-items: center;}
  528. .mb10{margin-bottom: 20rpx;}
  529. .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  530. .carltop{min-height: 154rpx;border-bottom: 2rpx solid #E5E5E5;
  531. .cir{width: 8rpx;height: 8rpx;border-radius: 50%;margin: 0 8rpx;display: inline-block;}
  532. .co16{
  533. .cir{background: #16BE7F;}
  534. }
  535. .co01{
  536. .cir{background: #0156FE;}
  537. }
  538. .tit{font-weight: bold;font-size: 32rpx;}
  539. .txt{font-weight: 500;font-size: 26rpx;color: #272727;}
  540. .txtbtn{min-width: 82rpx;
  541. height: 32rpx;font-weight: 500;font-size: 20rpx;color: #45CB99;
  542. border-radius: 16rpx;border: 1px solid #45CB99;margin-left: 12rpx;}
  543. .cara{flex: 0 0 auto;width: 232rpx;height: 74rpx;margin-right: 40rpx;}
  544. .carb{flex: 0 0 auto;width: 278rpx;height: 130rpx;}
  545. }
  546. .carlf{padding:26rpx 0 10rpx;
  547. .clflist{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 16rpx;}
  548. }
  549. }
  550. .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  551. .ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
  552. .imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
  553. .tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  554. .txt{font-weight: 500;font-size: 26rpx;
  555. &.ca{color: #3565ED;}
  556. &.cb{color: #FE5A0E;}
  557. &.cc{color: #28C529;}
  558. }
  559. .txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  560. .num{font-size: 24rpx;color: #AAAAAA;}
  561. }
  562. .btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
  563. &.btna{border: 2rpx solid #06C770;color: #06C770;}
  564. &.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
  565. &.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
  566. &.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
  567. &.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
  568. &.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
  569. }
  570. .clists{padding: 24rpx 24rpx 8rpx;
  571. .clist{font-weight: 500;margin-bottom: 16rpx;
  572. font-size: 26rpx;color: #272727;display: flex;line-height: 34rpx;
  573. .tit{font-size: 26rpx;color: #AAAAAA;flex: 0 0 auto;margin-right: 16rpx;min-width: 108rpx;text-align-last: justify;}
  574. .imgas{display: flex;align-items: center;flex-wrap: wrap;
  575. image{width: 142rpx;height: 142rpx;margin-right: 30rpx;margin-top: 8rpx;}
  576. }
  577. }
  578. .w50{
  579. .clist{width: 50%;}
  580. }
  581. }
  582. }
  583. // 收货地址
  584. .adrlist{border-bottom: 2rpx solid #E5E5E5;padding: 34rpx 0 34rpx 8rpx;
  585. .tit{font-weight: 500;font-size: 22rpx;color: #666666;}
  586. .txt{font-size: 28rpx;color: #272727;font-weight: bold;}
  587. .txts{font-weight: 500;font-size: 26rpx;color: #272727;}
  588. .btns{font-weight: 500;font-size: 22rpx;color: #0256FD;padding: 2rpx 14rpx;display:inline-block;background: #C9DBFF;
  589. border-radius: 10rpx;}
  590. .adrr{width: 40rpx;height: 40rpx;flex: 0 0 auto;margin-left: 12rpx;
  591. image{width: 22rpx;height: 22rpx;}
  592. }
  593. &.act{
  594. .tit{color: #0256FD;}
  595. .txt{color: #0256FD;}
  596. .txts{color: #0256FD;}
  597. }
  598. }
  599. // 快递
  600. .kdlists{padding: 24rpx 26rpx;background-color: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  601. .kdll{width: 140rpx;height: 140rpx;border-radius: 10rpx;margin-right: 32rpx;flex: 0 0 auto;}
  602. .kdlr{
  603. .tit{font-size: 30rpx;color: #272727;font-weight: bold;margin-bottom: 18rpx;margin-top: 4rpx;}
  604. .tits{font-size: 24rpx;color: #272727;font-weight: 500;margin-bottom: 14rpx;}
  605. .txt{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  606. }
  607. }
  608. // 快递步骤条
  609. .hfstep{padding: 0 32rpx 44rpx 32rpx;
  610. .hfslist{padding-bottom: 44rpx;position: relative;
  611. &::before{content: '';position: absolute;left: 14rpx;top:14rpx;height: 100%;width: 2rpx;background: #E6E6E6;}
  612. .limg{width: 30rpx;height: 30rpx;margin-right: 22rpx;flex: 0 0 auto;margin-top:3rpx;
  613. .imga{width: 30rpx;height: 30rpx;}
  614. .imgb{width: 18rpx;height: 18rpx;}
  615. }
  616. .hfstit{font-weight: bold;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 24rpx;}
  617. .hfstxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;padding-left: 8rpx;}
  618. }
  619. }
  620. .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  621. .ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
  622. .imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
  623. .tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  624. .txt{font-weight: 500;font-size: 26rpx;
  625. &.ca{color: #3565ED;}
  626. &.cb{color: #FE5A0E;}
  627. &.cc{color: #28C529;}
  628. }
  629. .txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  630. .num{font-size: 24rpx;color: #AAAAAA;}
  631. }
  632. .btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
  633. &.btna{border: 2rpx solid #06C770;color: #06C770;}
  634. &.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
  635. &.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
  636. &.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
  637. &.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
  638. &.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
  639. }
  640. }
  641. // 人员
  642. .peolist{
  643. .ctop{padding: 24rpx 24rpx 22rpx;}
  644. .imgs{margin-right: 16rpx !important;}
  645. .tit{font-size: 28rpx !important;}
  646. .plists{padding: 30rpx 24rpx 6rpx;
  647. .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;
  648. .head{width: 96rpx;height: 98rpx;margin-right: 32rpx;flex: 0 0 auto;}
  649. .ptit{font-weight: bold;font-size: 30rpx;color: #272727;display: flex;align-items: center;margin-bottom: 14rpx;}
  650. .ptxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 14rpx;min-width: 176rpx;}
  651. }
  652. }
  653. .upimg{width: 26rpx;height: 22rpx;display: block;transform: rotate(180deg);transition: all 0.3s;margin: 0 auto 18rpx;
  654. &.act{transform: rotate(0deg);}
  655. }
  656. }
  657. // 互动
  658. .pd12{padding: 24rpx;}
  659. .hdlist{background: #FFFFFF;border-radius: 20rpx;position: relative;z-index: 1;
  660. .mhead{width: 56rpx;height: 56rpx;margin-right: 20rpx;border-radius: 50%}
  661. .name{font-size: 28rpx;font-weight: bold;color: #272727;height: 56rpx;line-height: 56rpx;}
  662. .tit{font-weight: 500;font-size: 22rpx;color: #666666;}
  663. .time{font-weight: 500;font-size: 22rpx;color: #666666;}
  664. .line{width: 6rpx;height: 28rpx;border-radius: 4rpx;margin-right: 12rpx;
  665. &.bga{background: #FACA7D;}
  666. &.bgb{background: #86AFFF;}
  667. &.bgc{background: #93E9C2;}
  668. &.bgd{background: #DADADA;}
  669. }
  670. .txt{font-weight: 500;font-size: 26rpx;color: #272727;line-height: 36rpx;}
  671. .txta{font-weight: 500;font-size: 26rpx;color: #666666;}
  672. .rimg{width: 12rpx;height: 22rpx;}
  673. .shbtns{border-top: 2rpx solid #DADADA;
  674. .btn{border-radius: 20rpx;min-width: 110rpx;box-sizing: border-box;padding: 0 16rpx;
  675. height: 52rpx;display: flex;align-items: center;justify-content: center;flex:0 0 auto;margin-left: 20rpx;
  676. &.bga{border: 2rpx solid #06C770;background: #DAEFE6;color: #06C770;margin-left: 0;}
  677. &.bgb{border: 2rpx solid #FF6969;;background: #FFE7E7;color: #FF6969;}
  678. &.bgc{background: #0256FD;color: #FFFFFF;}
  679. }
  680. }
  681. }
  682. // 无数据
  683. .nodata{display: flex;flex-direction: column;align-items: center;
  684. image{width: 440rpx;height: 440rpx;}
  685. view{font-size: 30rpx;color: #666666;font-weight: bold;}
  686. }
  687. </style>