list.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703
  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. :data-idx="idx"
  170. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  171. >
  172. <view class="hdlist pd12 flex">
  173. <image :src="man" class="mhead flex0"></image>
  174. <view class="flex1 overh">
  175. <view class="flexc mb6">
  176. <view class="name flex1 over">{{ite.nickName}}</view>
  177. <view class="tit flex0 ml10">
  178. <block v-if="ite.targetType==1">评论</block>
  179. <block v-if="ite.targetType==2">点赞</block>
  180. <block v-if="ite.targetType==3">收藏</block>
  181. <block v-if="ite.targetType==4">回复</block>
  182. <block v-if="ite.targetType==5 ">点赞</block>
  183. 了你的文章</view>
  184. <view class="time flex0 ml10">{{ite.createTime}}</view>
  185. </view>
  186. <view class="flexc overh mb4">
  187. <view class="line bga"></view>
  188. <view class="txt over flex1">{{ite.targetTitle}}</view>
  189. <image :src="rimg" class="rimg ml10"></image>
  190. </view>
  191. </view>
  192. </view>
  193. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:residentInfo:remove'])" @click.stop="getDelFn(ite.residentId)">删除</view>
  194. </view>
  195. </block>
  196. <block v-if="type=='plsh'">
  197. <view class="mb12 pr" v-for="(ite,idx) in datainfo" :key="idx"
  198. :data-idx="idx"
  199. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  200. >
  201. <view class="hdlist ">
  202. <view class="pd12 flex">
  203. <image :src="ite.avatar?baseUrl+ite.avatar:man" class="mhead flex0"></image>
  204. <view class="flex1 overh">
  205. <view class="flexc mb6">
  206. <view class="name flex1 over">{{ite.nickName}}</view>
  207. <view class="time flex0 ml10">02-26</view>
  208. </view>
  209. <view class="txt mb8">{{ite.commentContent}}</view>
  210. <view class="flexc overh mb2">
  211. <view class="line bgd"></view>
  212. <view class="txta over flex1">{{ite.communityTitle}}</view>
  213. <image :src="rimg" class="rimg ml10"></image>
  214. </view>
  215. </view>
  216. </view>
  217. <view class="shbtns flexc pd12" >
  218. <view class="btn bga" @click="getSh('4',ite)">不予展示</view>
  219. <view class="flex1"></view>
  220. <view class="btn bgb" @click="getSh('3',ite)">不通过</view>
  221. <view class="btn bgc" @click="getSh('2',ite)">通过</view>
  222. </view>
  223. </view>
  224. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:residentInfo:remove'])" @click.stop="getDelFn(ite.residentId)">删除</view>
  225. </view>
  226. </block>
  227. <!-- 我的点赞,收藏,评论 -->
  228. <block v-if="type=='wdhd'">
  229. <view class="mb12 pr" v-for="(ite,idx) in datainfo" :key="idx"
  230. :data-idx="idx"
  231. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'">
  232. <view class="hdlist ">
  233. <view class="pd12 flex">
  234. <image :src="ite.avatar?baseUrl+ite.avatar:man" class="mhead flex0"></image>
  235. <view class="flex1 overh">
  236. <view class="flexc mb6">
  237. <view class="name flex1 over">{{ite.nickName}}</view>
  238. <view class="time flex0 ml10">{{ite.createTime}}</view>
  239. </view>
  240. <view class="txt mb8">{{ite.commentContent}}</view>
  241. <view class="flexc overh mb2">
  242. <view class="line bgd"></view>
  243. <view class="txta over flex1" v-if="tabval=='mypl'">{{ite.communityTitle}}</view>
  244. <view class="txta over flex1" v-else>{{ite.targetTitle}}</view>
  245. <image :src="rimg" class="rimg ml10"></image>
  246. </view>
  247. </view>
  248. </view>
  249. </view>
  250. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:residentInfo:remove'])" @click.stop="getDelFn(ite.residentId)">删除</view>
  251. </view>
  252. </block>
  253. <!-- 车辆违规 -->
  254. <block v-if="type=='carpark'">
  255. <view class="carlist pr" v-for="(ite,idx) in datainfo" :key="ite.illegalParkingId" @click="getDetail(ite.illegalParkingId)"
  256. :data-idx="idx"
  257. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="checkPermi(['wuYe:illegalParking:remove'])?'right:'+ite.right+'px':''"
  258. >
  259. <view class="delleft">
  260. <view class="ctop flexc">
  261. <image :src="caraa" class="imgs" v-if="ite.carType==1"></image>
  262. <image :src="carbb" class="imgs" v-if="ite.carType==2"></image>
  263. <view class="tit">{{ite.plateNumber}}</view>
  264. <view class="num coff" v-if="ite.isBlack=='Y'">(已登黑名单)</view>
  265. <view class="flex1"></view>
  266. <block v-if="ite.carType">
  267. <view class="txt " :class="ite.carType==1?'ca':'cb'">{{kaType(ite.carType,carType)}}</view>
  268. </block>
  269. <!-- <view class="txt cb" v-if="ite.type==2">外来车辆</view> -->
  270. </view>
  271. <view class="clists">
  272. <block v-if="ite.carType==1">
  273. <view class="clist"><view class="tit">关联房号</view>{{ite.visitPortal}}</view>
  274. <view class="clist"><view class="tit">手机号码</view>{{ite.mobileNumber}}</view>
  275. </block>
  276. <view class="clist"><view class="tit">登记时间</view>{{ite.createTime}}</view>
  277. <view class="clist"><view class="tit">违停拍照</view>
  278. <view class="imgas" v-if="ite.illegalPhoto">
  279. <image :src="baseUrl+aite" v-for="(aite,aidx) in kaPhoto(ite.illegalPhoto)" :key="aidx" @click.stop="getPreview(aidx,ite.illegalPhoto)"></image>
  280. </view>
  281. </view>
  282. </view>
  283. </view>
  284. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:illegalParking:remove'])" @click.stop="getDelFn(ite.illegalParkingId)">删除</view>
  285. </view>
  286. </block>
  287. <view class="shax" v-if="wtdt">{{wtdt}}</view>
  288. </block>
  289. <!-- 无数据 -->
  290. <view class="nodata" v-else>
  291. <image :src="noiconpimg"></image>
  292. <view>
  293. 暂无数据
  294. </view>
  295. </view>
  296. </view>
  297. </template>
  298. <script>
  299. import {selectDictValue} from "@/utils/common.js"
  300. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  301. import config from '@/config'
  302. export default{
  303. props:{
  304. datainfo: {
  305. type: Array,
  306. default () {
  307. return []
  308. }
  309. },
  310. wtdt:{
  311. type:String,
  312. default () {
  313. return ''
  314. }
  315. },
  316. type:{
  317. type:String,
  318. default () {
  319. return 0
  320. }
  321. },
  322. clcxList:{
  323. type: Array,
  324. default () {
  325. return []
  326. }
  327. },
  328. rymmList:{
  329. type: Array,
  330. default () {
  331. return []
  332. }
  333. },
  334. carType:{
  335. type: Array,
  336. default () {
  337. return []
  338. }
  339. },
  340. tabval:{
  341. type:String,
  342. default () {
  343. return ''
  344. }
  345. }
  346. },
  347. data(){
  348. return{
  349. house:require("@/health/static/house.png"),
  350. housea:require("@/health/static/housea.png"),
  351. houseb:require("@/health/static/houseb.png"),
  352. housec:require("@/health/static/housec.png"),
  353. noiconpimg:require("@/static/images/nodata.png"),
  354. upimg:require("@/mine/static/house/up.png"),
  355. cara:require("@/mine/static/house/cara.png"),
  356. carb:require("@/mine/static/house/carb.png"),
  357. caraa:require("@/mine/static/house/caraa.png"),
  358. carbb:require("@/mine/static/house/carbb.png"),
  359. edit:require("@/mine/static/edit.png"),
  360. cira:require('@/news/static/complaint/cira.png'),
  361. cirb:require('@/news/static/complaint/cirb.png'),
  362. man:require("@/health/static/man.png"),
  363. woman:require("@/health/static/woman.png"),
  364. rimg:require("@/static/images/rimga.png"),
  365. baseUrl:config.baseUrl,
  366. delBtnWidth:66,//左滑默认宽度
  367. }
  368. },
  369. mounted() {
  370. },
  371. methods:{
  372. checkPermi, checkRole,
  373. kaType(data, list) {
  374. return selectDictValue(list, data);
  375. },
  376. kaPhoto(data){
  377. return data.split(',');
  378. },
  379. getDetail(e){
  380. this.$emit('getDetail',e)
  381. },
  382. getDelFn(e){
  383. var that=this;
  384. uni.showModal({
  385. title: '确认删除',
  386. content: "是否确认删除",
  387. cancelText: '取消',
  388. confirmText: '确认',
  389. success: function(res) {
  390. if (res.confirm) {
  391. that.$emit('getDelFn',e)
  392. } else if (res.cancel) {
  393. }
  394. }
  395. });
  396. },
  397. getSh(type,ite){
  398. var that=this;
  399. var str="";
  400. if(type=='2'){
  401. str="通过"
  402. }else if(type=='3'){
  403. str="不通过"
  404. }else if(type=='4'){
  405. str="下架"
  406. }
  407. uni.showModal({
  408. title: '确认'+str,
  409. content: "是否确认"+str,
  410. cancelText: '取消',
  411. confirmText: '确认',
  412. success: function(res) {
  413. if (res.confirm) {
  414. var obj={
  415. status:type,
  416. contentId:ite.contentId,
  417. commentId:ite.commentId,
  418. }
  419. that.$emit('getSh',obj)
  420. } else if (res.cancel) {
  421. }
  422. }
  423. });
  424. },
  425. getZhan(idx){
  426. // var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
  427. // obj.zhanflag=!obj.zhanflag;
  428. // this.datainfo.splice(idx,1,obj);
  429. this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
  430. },
  431. getDelFn(id){
  432. var that=this;
  433. uni.showModal({
  434. title: '确认删除',
  435. content: "是否确认删除",
  436. cancelText: '取消',
  437. confirmText: '确认',
  438. success: function(res) {
  439. if (res.confirm) {
  440. that.$emit('getDelFn',id)
  441. } else if (res.cancel) {
  442. }
  443. }
  444. });
  445. },
  446. getAgeFromID(idNumber) {
  447. if(idNumber){
  448. const birthDateStr = idNumber.substring(6, 14);
  449. const birthYear = parseInt(birthDateStr.substring(0, 4));
  450. const birthMonth = parseInt(birthDateStr.substring(4, 6));
  451. const birthDay = parseInt(birthDateStr.substring(6, 8));
  452. const today = new Date();
  453. const currentYear = today.getFullYear();
  454. const currentMonth = today.getMonth() + 1;
  455. const currentDay = today.getDate();
  456. let age = currentYear - birthYear;
  457. if (currentMonth < birthMonth || (currentMonth === birthMonth && currentDay < birthDay)) {
  458. age--;
  459. }
  460. return age;
  461. }
  462. },
  463. getPreview(idx,arr) {
  464. var newArr=[];
  465. var list=arr.split(',')
  466. list.forEach(ite=>{
  467. var ds=this.baseUrl+ite
  468. newArr.push(ds)
  469. })
  470. uni.previewImage({
  471. urls: newArr,
  472. current:idx,
  473. success: function(data) {},
  474. fail: function(err) {}
  475. });
  476. },
  477. //开始触摸滑动
  478. drawStart(e) {
  479. // console.log("开始触发");
  480. var touch = e.touches[0];
  481. this.startX = touch.clientX;
  482. },
  483. //触摸滑动
  484. drawMove(e) {
  485. var idx=e.currentTarget.dataset.idx
  486. var aidx=e.currentTarget.dataset.aidx
  487. var type=e.currentTarget.dataset.type;
  488. for (var index in this.datainfo) {
  489. if(type&&type=='peo'){
  490. for(var i in this.datainfo[idx].residentInfoList){
  491. this.$set(this.datainfo[idx].residentInfoList[i],'right',0);
  492. }
  493. }else{
  494. this.$set(this.datainfo[index],'right',0);
  495. }
  496. }
  497. var touch = e.touches[0];
  498. var item = this.datainfo[idx];
  499. var disX = this.startX - touch.clientX;
  500. if (disX >= 20) {
  501. if (disX > this.delBtnWidth) {
  502. disX = this.delBtnWidth;
  503. }
  504. if(type&&type=='peo'){
  505. this.$set(this.datainfo[idx].residentInfoList[aidx],'right',disX);
  506. }else{
  507. this.$set(this.datainfo[idx],'right',disX);
  508. }
  509. // this.csListArrl[idx].right=disX
  510. } else {
  511. // this.csListArrl[idx].right=0
  512. this.$set(this.datainfo[idx],'right',0);
  513. }
  514. },
  515. //触摸滑动结束
  516. drawEnd(e) {
  517. // console.log("滑动结束");
  518. var idx=e.currentTarget.dataset.idx
  519. var item = this.datainfo[idx];
  520. if (item.right >= this.delBtnWidth / 2) {
  521. // this.datainfo[idx].right=this.delBtnWidth
  522. // this.$set(this.datainfo[idx],'right',this.delBtnWidth);
  523. } else {
  524. this.datainfo[idx].right=0
  525. }
  526. },
  527. }
  528. }
  529. </script>
  530. <style lang="scss" scoped>
  531. .flex{display: flex;}
  532. .flexc{display: flex;align-items: center;}
  533. .mb10{margin-bottom: 20rpx;}
  534. .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  535. .carltop{min-height: 154rpx;border-bottom: 2rpx solid #E5E5E5;
  536. .cir{width: 8rpx;height: 8rpx;border-radius: 50%;margin: 0 8rpx;display: inline-block;}
  537. .co16{
  538. .cir{background: #16BE7F;}
  539. }
  540. .co01{
  541. .cir{background: #0156FE;}
  542. }
  543. .tit{font-weight: bold;font-size: 32rpx;}
  544. .txt{font-weight: 500;font-size: 26rpx;color: #272727;}
  545. .txtbtn{min-width: 82rpx;
  546. height: 32rpx;font-weight: 500;font-size: 20rpx;color: #45CB99;
  547. border-radius: 16rpx;border: 1px solid #45CB99;margin-left: 12rpx;}
  548. .cara{flex: 0 0 auto;width: 232rpx;height: 74rpx;margin-right: 40rpx;}
  549. .carb{flex: 0 0 auto;width: 278rpx;height: 130rpx;}
  550. }
  551. .carlf{padding:26rpx 0 10rpx;
  552. .clflist{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 16rpx;}
  553. }
  554. }
  555. .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  556. .ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
  557. .imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
  558. .tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  559. .txt{font-weight: 500;font-size: 26rpx;
  560. &.ca{color: #3565ED;}
  561. &.cb{color: #FE5A0E;}
  562. &.cc{color: #28C529;}
  563. }
  564. .txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  565. .num{font-size: 24rpx;color: #AAAAAA;}
  566. }
  567. .btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
  568. &.btna{border: 2rpx solid #06C770;color: #06C770;}
  569. &.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
  570. &.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
  571. &.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
  572. &.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
  573. &.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
  574. }
  575. .clists{padding: 24rpx 24rpx 8rpx;
  576. .clist{font-weight: 500;margin-bottom: 16rpx;
  577. font-size: 26rpx;color: #272727;display: flex;line-height: 34rpx;
  578. .tit{font-size: 26rpx;color: #AAAAAA;flex: 0 0 auto;margin-right: 16rpx;min-width: 108rpx;text-align-last: justify;}
  579. .imgas{display: flex;align-items: center;flex-wrap: wrap;
  580. image{width: 142rpx;height: 142rpx;margin-right: 30rpx;margin-top: 8rpx;}
  581. }
  582. }
  583. .w50{
  584. .clist{width: 50%;}
  585. }
  586. }
  587. }
  588. // 收货地址
  589. .adrlist{border-bottom: 2rpx solid #E5E5E5;padding: 34rpx 0 34rpx 8rpx;
  590. .tit{font-weight: 500;font-size: 22rpx;color: #666666;}
  591. .txt{font-size: 28rpx;color: #272727;font-weight: bold;}
  592. .txts{font-weight: 500;font-size: 26rpx;color: #272727;}
  593. .btns{font-weight: 500;font-size: 22rpx;color: #0256FD;padding: 2rpx 14rpx;display:inline-block;background: #C9DBFF;
  594. border-radius: 10rpx;}
  595. .adrr{width: 40rpx;height: 40rpx;flex: 0 0 auto;margin-left: 12rpx;
  596. image{width: 22rpx;height: 22rpx;}
  597. }
  598. &.act{
  599. .tit{color: #0256FD;}
  600. .txt{color: #0256FD;}
  601. .txts{color: #0256FD;}
  602. }
  603. }
  604. // 快递
  605. .kdlists{padding: 24rpx 26rpx;background-color: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  606. .kdll{width: 140rpx;height: 140rpx;border-radius: 10rpx;margin-right: 32rpx;flex: 0 0 auto;}
  607. .kdlr{
  608. .tit{font-size: 30rpx;color: #272727;font-weight: bold;margin-bottom: 18rpx;margin-top: 4rpx;}
  609. .tits{font-size: 24rpx;color: #272727;font-weight: 500;margin-bottom: 14rpx;}
  610. .txt{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  611. }
  612. }
  613. // 快递步骤条
  614. .hfstep{padding: 0 32rpx 44rpx 32rpx;
  615. .hfslist{padding-bottom: 44rpx;position: relative;
  616. &::before{content: '';position: absolute;left: 14rpx;top:14rpx;height: 100%;width: 2rpx;background: #E6E6E6;}
  617. .limg{width: 30rpx;height: 30rpx;margin-right: 22rpx;flex: 0 0 auto;margin-top:3rpx;
  618. .imga{width: 30rpx;height: 30rpx;}
  619. .imgb{width: 18rpx;height: 18rpx;}
  620. }
  621. .hfstit{font-weight: bold;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 24rpx;}
  622. .hfstxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;padding-left: 8rpx;}
  623. }
  624. }
  625. .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  626. .ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
  627. .imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
  628. .tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  629. .txt{font-weight: 500;font-size: 26rpx;
  630. &.ca{color: #3565ED;}
  631. &.cb{color: #FE5A0E;}
  632. &.cc{color: #28C529;}
  633. }
  634. .txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  635. .num{font-size: 24rpx;color: #AAAAAA;}
  636. }
  637. .btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
  638. &.btna{border: 2rpx solid #06C770;color: #06C770;}
  639. &.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
  640. &.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
  641. &.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
  642. &.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
  643. &.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
  644. }
  645. }
  646. // 人员
  647. .peolist{
  648. .ctop{padding: 24rpx 24rpx 22rpx;}
  649. .imgs{margin-right: 16rpx !important;}
  650. .tit{font-size: 28rpx !important;}
  651. .plists{padding: 30rpx 24rpx 6rpx;
  652. .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;
  653. .head{width: 96rpx;height: 98rpx;margin-right: 32rpx;flex: 0 0 auto;}
  654. .ptit{font-weight: bold;font-size: 30rpx;color: #272727;display: flex;align-items: center;margin-bottom: 14rpx;}
  655. .ptxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 14rpx;min-width: 176rpx;}
  656. }
  657. }
  658. .upimg{width: 26rpx;height: 22rpx;display: block;transform: rotate(180deg);transition: all 0.3s;margin: 0 auto 18rpx;
  659. &.act{transform: rotate(0deg);}
  660. }
  661. }
  662. // 互动
  663. .pd12{padding: 24rpx;}
  664. .hdlist{background: #FFFFFF;border-radius: 20rpx;position: relative;z-index: 1;
  665. .mhead{width: 56rpx;height: 56rpx;margin-right: 20rpx;}
  666. .name{font-size: 28rpx;font-weight: bold;color: #272727;height: 56rpx;line-height: 56rpx;}
  667. .tit{font-weight: 500;font-size: 22rpx;color: #666666;}
  668. .time{font-weight: 500;font-size: 22rpx;color: #666666;}
  669. .line{width: 6rpx;height: 28rpx;border-radius: 4rpx;margin-right: 12rpx;
  670. &.bga{background: #FACA7D;}
  671. &.bgb{background: #86AFFF;}
  672. &.bgc{background: #93E9C2;}
  673. &.bgd{background: #DADADA;}
  674. }
  675. .txt{font-weight: 500;font-size: 26rpx;color: #272727;line-height: 36rpx;}
  676. .txta{font-weight: 500;font-size: 26rpx;color: #666666;}
  677. .rimg{width: 12rpx;height: 22rpx;}
  678. .shbtns{border-top: 2rpx solid #DADADA;
  679. .btn{border-radius: 20rpx;min-width: 110rpx;box-sizing: border-box;padding: 0 16rpx;
  680. height: 52rpx;display: flex;align-items: center;justify-content: center;flex:0 0 auto;margin-left: 20rpx;
  681. &.bga{border: 2rpx solid #06C770;background: #DAEFE6;color: #06C770;margin-left: 0;}
  682. &.bgb{border: 2rpx solid #FF6969;;background: #FFE7E7;color: #FF6969;}
  683. &.bgc{background: #0256FD;color: #FFFFFF;}
  684. }
  685. }
  686. }
  687. // 无数据
  688. .nodata{display: flex;flex-direction: column;align-items: center;
  689. image{width: 440rpx;height: 440rpx;}
  690. view{font-size: 30rpx;color: #666666;font-weight: bold;}
  691. }
  692. </style>