detail.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584
  1. <template>
  2. <view class="index-detail-page">
  3. <view class="container">
  4. <view class="tab-cont">
  5. <view class="part" v-if="type==='task'">
  6. <!-- <view class="tab">
  7. <view class="tab-item" :class="activeTab===1?'active':''" @click="tabChange(0,1)">待处理</view>
  8. <view class="tab-item" :class="activeTab===2?'active':''" @click="tabChange(1,2)">已完成</view>
  9. <view class="tab-item" :class="activeTab===3?'active':''" @click="tabChange(-1,3)">已撤销</view>
  10. </view> -->
  11. <view class="part-cont">
  12. <view class="item" v-for="(item,taskIdx) in items" :key="item.taskId" @click="handle('task',item)">
  13. <view class="index">
  14. {{taskIdx+1}}
  15. </view>
  16. <view class="title">
  17. <view class="name">{{item.taskTitle}}</view>
  18. <view class="state">{{taskStatus(item.status)}}</view>
  19. </view>
  20. <view class="tags">
  21. <text class="tag">{{taskPriority(item.taskPriority)}}</text>
  22. <text class="tag">{{item.taskCatTitle}}</text>
  23. <text class="tag">{{taskType(item.taskTypeId)}}</text>
  24. </view>
  25. <view class="time">
  26. 预期结束时间:{{item.expectedEndTime}}
  27. </view>
  28. <view class="bottom">
  29. <view class="user">
  30. <image class="avatar" src="/static/index/user.png" mode="widthFix"></image>
  31. 处理人:{{item.handleAccountName}}
  32. </view>
  33. <view class="hand-time">
  34. {{item.launchTime}}
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="part" v-if="type==='warn'">
  41. <!-- <view class="tab">
  42. <view class="tab-item" :class="activeTab===1?'active':''" @click="tabChange(0,1)">待处理</view>
  43. <view class="tab-item" :class="activeTab===2?'active':''" @click="tabChange(1,2)">已处理</view>
  44. <view class="tab-item" :class="activeTab===3?'active':''" @click="tabChange(-1,3)">已撤销</view>
  45. </view> -->
  46. <view class="part-cont">
  47. <view class="item" v-for="(item,warnIdx) in items" :key="item.warnId" @click="handle('warn',item)">
  48. <view class="index">
  49. {{warnIdx+1}}
  50. </view>
  51. <view class="title">
  52. <view class="name">{{item.warnTitle}}</view>
  53. <view class="state">{{warningStatus(item.status)}}</view>
  54. </view>
  55. <view class="tags">
  56. <text class="tag">{{alertLevel(item.warnLevel)}}</text>
  57. </view>
  58. <view class="time">
  59. 发生时间:{{item.warnTime}}
  60. </view>
  61. <view class="bottom" v-if="item.handleAccountName">
  62. <view class="user">
  63. <image class="avatar" src="/static/index/user.png" mode="widthFix"></image>
  64. 处理人:{{item.handleAccountName}}
  65. </view>
  66. <view class="hand-time">
  67. {{item.handleTime}}
  68. </view>
  69. </view>
  70. </view>
  71. </view>
  72. </view>
  73. <view class="part" v-if="type==='alert'">
  74. <!-- <view class="tab">
  75. <view class="tab-item" :class="activeTab===1?'active':''" @click="tabChange(0,1)">活动</view>
  76. <view class="tab-item" :class="activeTab===2?'active':''" @click="tabChange(1,2)">已解除</view>
  77. <view class="tab-item" :class="activeTab===3?'active':''" @click="tabChange(-1,3)">已撤销</view>
  78. </view> -->
  79. <view class="part-cont">
  80. <view class="item" v-for="(item,alertIdx) in items" :key="item.alertId" @click="handle('alert',item)">
  81. <view class="index">
  82. {{alertIdx+1}}
  83. </view>
  84. <view class="title">
  85. <view class="name">{{item.alertTitle}}</view>
  86. <view class="state">{{alertStatus(item.status)}}</view>
  87. </view>
  88. <view class="tags">
  89. <text class="tag">{{alertLevel(item.alertLevel)}}</text>
  90. </view>
  91. <view class="time">
  92. 发生时间:{{item.alertTime}}
  93. </view>
  94. <view class="bottom" v-if="item.clearTime">
  95. <view class="hand-time">
  96. 解除时间:{{item.clearTime}}
  97. </view>
  98. </view>
  99. <view class="bottom" v-if="item.alertContent">
  100. <view class="alertContent">
  101. 内容:{{item.alertContent}}
  102. </view>
  103. </view>
  104. </view>
  105. </view>
  106. </view>
  107. <view class="part" v-if="type==='danger'">
  108. <!-- <view class="tab">
  109. <view class="tab-item" :class="activeTab===1?'active':''" @click="tabChange(0,1)">待处理</view>
  110. <view class="tab-item" :class="activeTab===2?'active':''" @click="tabChange(1,2)">我提交</view>
  111. <view class="tab-item" :class="activeTab===3?'active':''" @click="tabChange(2,3)">我处理</view>
  112. <view class="tab-item" :class="activeTab===4?'active':''" @click="tabChange(-1,4)">我撤销</view>
  113. </view> -->
  114. <view class="part-cont">
  115. <view class="item" v-for="(item,dangerIdx) in items" :key="item.dangerId" @click="handle('danger',item)">
  116. <view class="index">
  117. {{dangerIdx+1}}
  118. </view>
  119. <view class="title">
  120. <view class="name">{{item.dangerTitle}}</view>
  121. <view class="state">{{dangerStatus(item.status)}}</view>
  122. </view>
  123. <view class="tags">
  124. <text class="tag">{{dangerLevel(item.dangerLevel)}}</text>
  125. <text class="tag">{{item.dangerCatTitle}}</text>
  126. </view>
  127. <view class="time">
  128. 预期结束时间:{{item.dangerDeadLine}}
  129. </view>
  130. <view class="supervise">
  131. <span class="supervise-item">督办部门:{{item.superviseGroupName}}</span>
  132. <span class="supervise-item">督办人员:{{item.superviseAccountName}}</span>
  133. </view>
  134. <view class="bottom">
  135. <view class="user">
  136. <image class="avatar" src="/static/index/user.png" mode="widthFix"></image>
  137. 处理人:{{item.curAccountName}}
  138. </view>
  139. <view class="hand-time">
  140. {{item.submitTime}}
  141. </view>
  142. </view>
  143. </view>
  144. </view>
  145. </view>
  146. </view>
  147. </view>
  148. <template v-if="total<1">
  149. <view class="isEmpty" >
  150. <p class="word">没有数据 ^_^ </p>
  151. </view>
  152. </template>
  153. <uni-popup ref="alertpopup" is-mask-click>
  154. <view class="alert-container">
  155. <uni-list>
  156. <uni-list-item title="名称" :rightText="alertView.alertTitle"></uni-list-item>
  157. <uni-list-item title="等级" :rightText="alertView.level"></uni-list-item>
  158. <uni-list-item title="责任主体" :rightText="alertView.gpainfo"></uni-list-item>
  159. <uni-list-item title="名称" :rightText="alertView.alertTitle"></uni-list-item>
  160. <uni-list-item title="发生时间" :rightText="alertView.alertTime" v-if="alertView.alertTime"></uni-list-item>
  161. <uni-list-item title="解除时间" :rightText="alertView.clearTime" v-if="alertView.clearTime"></uni-list-item>
  162. <uni-list-item title="详情" :note="alertView.alertContent"></uni-list-item>
  163. <uni-list-item>
  164. <template v-slot:body>
  165. <view class="list-item-handle">
  166. <button type="default" class="handle-bt del" @click="handAlert">删除</button>
  167. <button type="default" class="handle-bt cancel" @click="cancelAlert">取消</button>
  168. </view>
  169. </template>
  170. </uni-list-item>
  171. </uni-list>
  172. </view>
  173. </uni-popup>
  174. </view>
  175. </template>
  176. <script>
  177. import { getAlertByPage,deleteAlertById } from '@/api/aqpt/alertApi.js';
  178. import { getDangerByPage } from '@/api/aqpt/dangerApi.js';
  179. import { getTaskByPage } from '@/api/aqpt/taskApi.js';
  180. import { getWarningByPage } from '@/api/aqpt/warning.js';
  181. import { handleCheckTask } from '@/api/aqpt/checkTaskApi'
  182. import{
  183. taskStatus,taskPriority,taskType,
  184. alertLevel,alertStatus,
  185. dangerStatus,dangerLevel,
  186. warningLevel,warningStatus
  187. } from '@/utils/enum.js';
  188. export default {
  189. data() {
  190. return {
  191. type:undefined,
  192. activeTab:1,
  193. user:{},
  194. conditions: {
  195. page: 1,
  196. limit: 10,
  197. status:0
  198. },
  199. total:0,
  200. items:[],
  201. alertView:{}
  202. }
  203. },
  204. onLoad({type,name,rid}) {
  205. this.type=type
  206. this.riskPointId=rid
  207. let user=uni.getStorageSync('accountInfo');
  208. this.user=user
  209. uni.setNavigationBarTitle({
  210. title:`${name||'详情'}`
  211. })
  212. this.tabChange(0,1)
  213. },
  214. methods: {
  215. taskStatus,taskPriority,taskType,
  216. alertLevel,alertStatus,
  217. dangerStatus,dangerLevel,
  218. warningLevel,warningStatus,
  219. getData(){
  220. if(this.type==='task'){
  221. this.getTaskByPage()
  222. }
  223. if(this.type==='danger'){
  224. delete this.conditions.status
  225. this.getDangerByPage()
  226. }
  227. if(this.type==='alert'){
  228. this.getAlertByPage()
  229. }
  230. if(this.type==='warn'){
  231. this.getWarningByPage()
  232. }
  233. },
  234. getWarningByPage(){
  235. let items=JSON.parse(JSON.stringify(this.items))
  236. getWarningByPage(this.conditions).then((res)=>{
  237. this.items=items.concat(res.data)
  238. this.total=res.total
  239. })
  240. },
  241. getAlertByPage(){
  242. let items=JSON.parse(JSON.stringify(this.items))
  243. getAlertByPage(this.conditions).then((res)=>{
  244. this.items=items.concat(res.data)
  245. this.total=res.total
  246. })
  247. },
  248. getDangerByPage(){
  249. let items=JSON.parse(JSON.stringify(this.items))
  250. getDangerByPage(this.conditions).then((res)=>{
  251. this.items=items.concat(res.data)
  252. this.total=res.total
  253. })
  254. },
  255. getTaskByPage(){
  256. let items=JSON.parse(JSON.stringify(this.items))
  257. getTaskByPage(this.conditions).then((res)=>{
  258. this.items=items.concat(res.data)
  259. this.total=res.total
  260. })
  261. },
  262. tabChange(value,index){
  263. this.activeTab=index
  264. this.total=0,
  265. this.items=[]
  266. this.conditions= {page: 1,limit: 10}
  267. if(this.type==='task'||this.type==='alert'||this.type==='warn'){
  268. this.conditions.status=value
  269. }
  270. if(this.type==='danger'){
  271. if (index === 1) {
  272. this.conditions.curAccountId = this.user.userId
  273. } else if (index === 2) {
  274. this.conditions.submitAccountId = this.user.userId
  275. } else if (index === 3) {
  276. this.conditions.handleAccountId = this.user.userId
  277. } else if (index === 4) {
  278. this.conditions.submitAccountId = this.user.userId
  279. this.conditions.status = -1
  280. }
  281. }
  282. this.conditions.riskPointId=this.riskPointId
  283. this.getData()
  284. },
  285. handle(type,item){
  286. let url=""
  287. if(type==='danger'){
  288. // uni.navigateTo({
  289. // url:`/pages/webview/webview?href=${this.$h5}/danger/views/detail.html&dangerId=539241&name=隐患处理`
  290. // })
  291. uni.navigateTo({
  292. url:`/pages/index/handle/danger/index/index?id=${item.dangerId}`
  293. })
  294. return
  295. }
  296. if(type==='task'){this.handTask(item);return};
  297. if(type==='warn'){
  298. if(this.conditions.status!==0) return;
  299. // if(item.handleAccountId!==this.user.userId) return;
  300. url=`/pages/index/handle/warning/warning?id=${item.warnId}`
  301. }
  302. if(type==='alert'){
  303. const levelstrs = [
  304. '未知',
  305. '1级',
  306. '2级',
  307. '3级',
  308. '4级',
  309. '5级',
  310. '6级'
  311. ]
  312. item.gpainfo=`${item.groupName}${item.positionName}${item.accountName}`
  313. item.level=levelstrs[item.alertLevel]
  314. this.alertView=item
  315. this.$refs.alertpopup.open('bottom')
  316. return
  317. }
  318. uni.navigateTo({
  319. url
  320. })
  321. },
  322. handTask(item){
  323. // if(item.handleAccountId!==this.user.userId) return;
  324. if(this.conditions.status!==0) return;
  325. handleCheckTask(item.taskId).then((res)=>{
  326. const { checklistId, checklistTypeId } = res.data //recordId-taskId
  327. if (checklistTypeId === 1) {// HazardRecordView
  328. uni.navigateTo({
  329. url:`/pages/index/handle/task/hazardRecord/hazardRecord?rid=${item.taskId}&cid=${checklistId}&title=${item.taskTitle}`
  330. })
  331. } else if (checklistTypeId === 2) {// PointRecordView
  332. uni.navigateTo({
  333. url:`/pages/index/handle/task/task?rid=${item.taskId}&cid=${checklistId}&title=${item.taskTitle}`
  334. })
  335. } else if (checklistTypeId === 3) {// ScoreRecordView
  336. uni.navigateTo({
  337. url:`/pages/index/handle/task/task?rid=${item.taskId}&cid=${checklistId}&title=${item.taskTitle}`
  338. })
  339. }
  340. })
  341. },
  342. cancelAlert(){
  343. this.alertView={}
  344. this.$refs.alertpopup.close()
  345. },
  346. handAlert(){
  347. const { alertId } = this.alertView
  348. const self=this;
  349. uni.showModal({
  350. title: '提示!',
  351. content: '此操作将永久删除, 是否继续?',
  352. success: function (res) {
  353. if (res.confirm) {
  354. deleteAlertById(alertId).then((resp) => {
  355. const {msg,code}=resp
  356. self.$refs.alertpopup.close()
  357. self.getData()
  358. uni.showToast({
  359. icon:"none",
  360. title:msg
  361. })
  362. })
  363. } else if (res.cancel) {
  364. uni.showToast({
  365. icon:"none",
  366. title:"已取消删除!"
  367. })
  368. }
  369. }
  370. });
  371. },
  372. onPullDownRefresh() {
  373. this.tabChange(this.conditions.status||0,this.activeTab)
  374. uni.stopPullDownRefresh()
  375. },
  376. onReachBottom() {
  377. if(this.total>=this.conditions.page*this.conditions.limit){
  378. this.conditions.page++
  379. this.getData()
  380. }
  381. }
  382. }
  383. }
  384. </script>
  385. <style lang="scss" scoped>
  386. .index-detail-page {
  387. min-height: 100vh;
  388. padding-bottom: 100rpx;
  389. background-color: rgba(245, 246, 248, 1);
  390. padding-top: 6rpx;
  391. .container{
  392. .tab-cont{
  393. .part{
  394. .tab{
  395. display: flex;
  396. align-items: center;
  397. justify-content: center;
  398. overflow-x: auto;
  399. background-color: #fff;
  400. padding:32rpx;
  401. .tab-item{
  402. display: inline-block;
  403. padding: 0 36rpx;
  404. background-color: #fff;
  405. text-align: center;
  406. flex-shrink: 0;
  407. line-height: 1;
  408. font-size: 32rpx;
  409. color: #333;
  410. box-sizing: border-box;
  411. border-bottom: 4rpx solid transparent;
  412. &.active{
  413. // background-color: #1e80ff;
  414. // color: #fff;
  415. // border-color: #1e80ff;
  416. color: #1e80ff;
  417. font-weight: 800;
  418. }
  419. }
  420. }
  421. .part-cont{
  422. padding: 0 32rpx;
  423. .item{
  424. background-color: #fff;
  425. border-radius: 12rpx;
  426. margin-top: 16rpx;
  427. padding: 24rpx 20rpx 24rpx 55rpx;
  428. position: relative;
  429. .index{
  430. width: 44rpx;
  431. height: 44rpx;
  432. display: flex;
  433. align-items: center;
  434. justify-content: center;
  435. border-radius: 50%;
  436. color:#ea8259;
  437. background-color:#fbf1ed;
  438. font-size:18rpx;
  439. position: absolute;
  440. left: 4rpx;
  441. top: 26rpx;
  442. word-break: break-all;
  443. }
  444. .title{
  445. display: flex;
  446. justify-content: space-between;
  447. align-items: center;
  448. .name{
  449. font-size: 32rpx;
  450. color: rgba(0, 0, 0, 0.8);
  451. }
  452. .state{
  453. font-size: 30rpx;
  454. color: rgba(250, 139, 55, 1);
  455. }
  456. }
  457. .tags{
  458. padding-top: 24rpx;
  459. .tag{
  460. background: rgba(245, 246, 248, 1);
  461. font-size: 20rpx;
  462. margin-left: 10rpx;
  463. padding: 10rpx 20rpx;
  464. &:nth-child(1){
  465. color: rgba(234, 130, 89, 1);
  466. background: rgba(251, 241, 237, 1);
  467. }
  468. }
  469. }
  470. .time{
  471. padding-top: 20rpx;
  472. font-size: 28rpx;
  473. color:rgba(241, 57, 57, 0.8);
  474. }
  475. .supervise{
  476. font-size: 24rpx;
  477. color: rgba(0, 0, 0, 1);
  478. padding: 10rpx 0;
  479. .supervise-item{
  480. padding-right: 10rpx;
  481. }
  482. }
  483. .bottom{
  484. display: flex;
  485. justify-content: space-between;
  486. align-items: center;
  487. padding-top: 20rpx;
  488. .user{
  489. display: flex;
  490. align-items: center;
  491. font-size: 24rpx;
  492. color: rgba(0, 0, 0, 1);
  493. .avatar{
  494. width: 44rpx;
  495. margin-right: 10rpx;
  496. }
  497. }
  498. .hand-time{
  499. font-size: 24rpx;
  500. color: rgba(0, 0, 0, 1);
  501. }
  502. }
  503. .alertContent{
  504. font-size: 26rpx;
  505. color: #666;
  506. line-height: 1.5;
  507. text-overflow: ellipsis;
  508. overflow: hidden;
  509. word-break: break-all;
  510. display: -webkit-box;
  511. -webkit-box-orient: vertical;
  512. -webkit-line-clamp: 2;
  513. }
  514. }
  515. }
  516. }
  517. }
  518. }
  519. .isEmpty{
  520. width: 100%;
  521. height: 100vh;
  522. background-image: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNzkgODYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iYSIgeDE9IjM4Ljg1JSIgeTE9IjAlIiB4Mj0iNjEuMTUlIiB5Mj0iMTAwJSI+PHN0b3Agc3RvcC1jb2xvcj0iI0ZDRkNGRCIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiNFRUVGRjMiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJiIiB4MT0iMCUiIHkxPSI5LjUlIiB5Mj0iOTAuNSUiPjxzdG9wIHN0b3AtY29sb3I9IiNGQ0ZDRkQiIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRTlFQkVGIiBvZmZzZXQ9IjEwMCUiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGlkPSJjIiBkPSJNMCAwaDE3djM2SDB6Ii8+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0iTTM5LjUgODZDNjEuMzE1IDg2IDc5IDgzLjkxIDc5IDgxLjMzM1M1Ny4zMTUgNzggMzUuNSA3OCAwIDc4Ljc1NiAwIDgxLjMzM0MwIDgzLjkxMSAxNy42ODUgODYgMzkuNSA4NnoiIGZpbGw9IiNGN0Y4RkMiLz48cGF0aCBmaWxsPSIjRTVFN0U5IiBkPSJNMTMgNDVoNDBMNDIgNThIMnpNNjUuNTUxIDI5Ljk4bC0xNi4zMTMtNy42MDctMi44NDEtNS43MzggMTYuMzEzIDcuNjA3eiIvPjxwYXRoIGZpbGw9IiNFREVFRjIiIGQ9Ik02NS41NTEgMjkuOThsLTM0LjQ0LTE2LjA1OS0xNS4yMTQgMzIuNjI3IDM0LjQ0IDE2LjA2eiIvPjxwYXRoIGZpbGw9InVybCgjYSkiIHRyYW5zZm9ybT0icm90YXRlKDI1IDI3LjQ0NiAtNDMuNDE2KSIgZD0iTTM4IDdoMTd2MzZIMzh6Ii8+PHBhdGggZmlsbD0iI0Y4RjlGQiIgZD0iTTE1LjcwNSA2LjczN2wxNS40MDcgNy4xODQgMTUuNjQ2LS40MjctMTUuNDA3LTcuMTg1eiIvPjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0xMyA0NWg0MHYzNkgxM3oiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1MyA0NSkiPjxtYXNrIGlkPSJkIiBmaWxsPSIjZmZmIj48dXNlIHhsaW5rOmhyZWY9IiNjIi8+PC9tYXNrPjx1c2UgZmlsbD0iI0UwRTNFOSIgdHJhbnNmb3JtPSJtYXRyaXgoLTEgMCAwIDEgMTcgMCkiIHhsaW5rOmhyZWY9IiNjIi8+PHBhdGggZmlsbD0iI0Q1RDdERSIgbWFzaz0idXJsKCNkKSIgdHJhbnNmb3JtPSJtYXRyaXgoLTEgMCAwIDEgMjQgMCkiIGQ9Ik03IDBoMTdsLTQgMTgtMjAtMnoiLz48L2c+PHBhdGggZmlsbD0iI0Y4RjlGQiIgZD0iTTcwIDQ1SDUzbDkgMTNoMTd6Ii8+PC9nPjwvc3ZnPg==);
  523. background-size: contain;
  524. background-repeat: no-repeat;
  525. position: relative;
  526. background-color: #fff;
  527. /* #ifndef MP-WEIXIN */
  528. height: calc( 100vh - 100px);
  529. /* #endif */
  530. .word{
  531. width: 100%;
  532. text-align: center;
  533. position: absolute;
  534. top: 80vh;
  535. left: 0;
  536. color: #999;
  537. font-size: 28rpx;
  538. letter-spacing: 2rpx;
  539. }
  540. }
  541. .handle-bt{
  542. display:inline-block;
  543. color: #222;
  544. padding: 15rpx 20rpx;
  545. box-sizing: border-box;
  546. border: 1rpx solid #eaeaea;
  547. font-size: 26rpx;
  548. text-align: center;
  549. border-radius: 50rpx;
  550. margin: 0 10rpx;
  551. &.del{
  552. background-color: #FA5B41;
  553. color: #fff;
  554. }
  555. &.submit{
  556. background-color: #3384FF;
  557. color: #fff;
  558. padding: 18rpx 38rpx;
  559. }
  560. }
  561. .list-item-handle{
  562. width: 100%;
  563. display: flex;
  564. align-items: center;
  565. justify-content: flex-end;
  566. .handle-bt{
  567. min-width: 120rpx;
  568. padding: 0;
  569. &.cancel{
  570. margin: 0 20rpx;
  571. }
  572. }
  573. }
  574. }
  575. </style>