list.vue 26 KB

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