detail.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630
  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. <!-- 问题反馈 -->
  147. <view class="part" v-if="type==='snapshot'">
  148. <view class="part-cont">
  149. <view class="item" v-for="(item,snapshotIdx) in items" :key="snapshotIdx" @click="handle('snapshot',item)">
  150. <view class="index">
  151. {{snapshotIdx+1}}
  152. </view>
  153. <view class="title">
  154. <view class="name">{{item.snapshotContent}}</view>
  155. <view class="state">{{snapshotStatus(item.status)}}</view>
  156. </view>
  157. <view class="tags">
  158. <text class="tag">{{dangerLevel(item.dangerLevel)}}</text>
  159. <text class="tag">{{item.dangerCatTitle}}</text>
  160. </view>
  161. <view class="bottom">
  162. <view class="user">
  163. <image class="avatar" src="/static/index/user.png" mode="widthFix"></image>
  164. <text>处理人:</text>
  165. <text class="user" v-if="item.handleAccountId > 0">{{ item.handleAccountName }}</text>
  166. <text class="user" v-else>{{item.wxName||'--'}}</text>
  167. </view>
  168. <view class="hand-time">
  169. {{item.submitTime}}
  170. </view>
  171. </view>
  172. </view>
  173. </view>
  174. </view>
  175. </view>
  176. </view>
  177. <template v-if="total<1">
  178. <view class="isEmpty" >
  179. <p class="word">没有数据 ^_^ </p>
  180. </view>
  181. </template>
  182. <uni-popup ref="alertpopup" is-mask-click>
  183. <view class="alert-container">
  184. <uni-list>
  185. <uni-list-item title="名称" :rightText="alertView.alertTitle"></uni-list-item>
  186. <uni-list-item title="等级" :rightText="alertView.level"></uni-list-item>
  187. <uni-list-item title="责任主体" :rightText="alertView.gpainfo"></uni-list-item>
  188. <uni-list-item title="名称" :rightText="alertView.alertTitle"></uni-list-item>
  189. <uni-list-item title="发生时间" :rightText="alertView.alertTime" v-if="alertView.alertTime"></uni-list-item>
  190. <uni-list-item title="解除时间" :rightText="alertView.clearTime" v-if="alertView.clearTime"></uni-list-item>
  191. <uni-list-item title="详情" :note="alertView.alertContent"></uni-list-item>
  192. <uni-list-item>
  193. <template v-slot:body>
  194. <view class="list-item-handle">
  195. <button type="default" class="handle-bt del" @click="handAlert">删除</button>
  196. <button type="default" class="handle-bt cancel" @click="cancelAlert">取消</button>
  197. </view>
  198. </template>
  199. </uni-list-item>
  200. </uni-list>
  201. </view>
  202. </uni-popup>
  203. </view>
  204. </template>
  205. <script>
  206. import { getAlertByPage,deleteAlertById } from '@/api/aqpt/alertApi.js';
  207. import { getDangerByPage } from '@/api/aqpt/dangerApi.js';
  208. import { getTaskByPage } from '@/api/aqpt/taskApi.js';
  209. import { getWarningByPage } from '@/api/aqpt/warning.js';
  210. import { handleCheckTask,getCheckTaskByPage } from '@/api/aqpt/checkTaskApi'
  211. import { getSnapshotByPage} from '@/api/aqpt/snapshotApi.js'
  212. import{
  213. taskStatus,taskPriority,taskType,
  214. alertLevel,alertStatus,
  215. dangerStatus,dangerLevel,
  216. warningLevel,warningStatus
  217. } from '@/utils/enum.js';
  218. export default {
  219. data() {
  220. return {
  221. type:undefined,
  222. activeTab:1,
  223. user:{},
  224. conditions: {
  225. page: 1,
  226. limit: 10,
  227. status:0
  228. },
  229. total:0,
  230. items:[],
  231. alertView:{}
  232. }
  233. },
  234. onLoad({type,name,rid}) {
  235. this.type=type
  236. this.riskPointId=rid
  237. let user=uni.getStorageSync('accountInfo');
  238. this.user=user
  239. uni.setNavigationBarTitle({
  240. title:`${name||'详情'}`
  241. })
  242. this.tabChange(0,1)
  243. },
  244. methods: {
  245. taskStatus,taskPriority,taskType,
  246. alertLevel,alertStatus,
  247. dangerStatus,dangerLevel,
  248. warningLevel,warningStatus,
  249. snapshotStatus(val){
  250. if (val >= 0) {
  251. const strs = [
  252. '待处理',
  253. '已处理'
  254. ]
  255. return strs[val]
  256. } else {
  257. return '已撤销'
  258. }
  259. },
  260. getData(){
  261. if(this.type==='task'){
  262. this.getCheckTask()
  263. }
  264. if(this.type==='danger'){
  265. delete this.conditions.status
  266. this.getDangerByPage()
  267. }
  268. if(this.type==='alert'){
  269. this.getAlertByPage()
  270. }
  271. if(this.type==='warn'){
  272. this.getWarningByPage()
  273. }
  274. if(this.type==='snapshot'){
  275. this.getSnapshotByPage()
  276. }
  277. },
  278. getWarningByPage(){
  279. let items=JSON.parse(JSON.stringify(this.items))
  280. getWarningByPage(this.conditions).then((res)=>{
  281. this.items=items.concat(res.data)
  282. this.total=res.total
  283. })
  284. },
  285. getAlertByPage(){
  286. let items=JSON.parse(JSON.stringify(this.items))
  287. getAlertByPage(this.conditions).then((res)=>{
  288. this.items=items.concat(res.data)
  289. this.total=res.total
  290. })
  291. },
  292. getDangerByPage(){
  293. let items=JSON.parse(JSON.stringify(this.items))
  294. getDangerByPage(this.conditions).then((res)=>{
  295. this.items=items.concat(res.data)
  296. this.total=res.total
  297. })
  298. },
  299. getCheckTask(){
  300. let items=JSON.parse(JSON.stringify(this.items))
  301. getCheckTaskByPage(this.conditions).then((res)=>{
  302. this.items=items.concat(res.data)
  303. this.total=res.total
  304. })
  305. },
  306. tabChange(value,index){
  307. this.activeTab=index
  308. this.total=0,
  309. this.items=[]
  310. this.conditions= {page: 1,limit: 10}
  311. if(this.type==='task'||this.type==='alert'||this.type==='warn'){
  312. this.conditions.status=value
  313. }
  314. if(this.type==='danger'){
  315. if (index === 1) {
  316. this.conditions.curAccountId = this.user.userId
  317. } else if (index === 2) {
  318. this.conditions.submitAccountId = this.user.userId
  319. } else if (index === 3) {
  320. this.conditions.handleAccountId = this.user.userId
  321. } else if (index === 4) {
  322. this.conditions.submitAccountId = this.user.userId
  323. this.conditions.status = -1
  324. }
  325. }
  326. this.conditions.handleAccountId = this.user.userId
  327. this.conditions.riskPointId=this.riskPointId
  328. this.getData()
  329. },
  330. handle(type,item){
  331. let url=""
  332. if(type==='danger'){
  333. // uni.navigateTo({
  334. // url:`/pages/webview/webview?href=${this.$h5}/danger/views/detail.html&dangerId=539241&name=隐患处理`
  335. // })
  336. uni.navigateTo({
  337. url:`/pages/index/handle/danger/index/index?id=${item.dangerId}`
  338. })
  339. return
  340. }
  341. if(type==='task'){this.handTask(item);return};
  342. if(type==='warn'){
  343. if(this.conditions.status!==0) return;
  344. // if(item.handleAccountId!==this.user.userId) return;
  345. url=`/pages/index/handle/warning/warning?id=${item.warnId}`
  346. }
  347. if(type==='alert'){
  348. const levelstrs = [
  349. '未知',
  350. '1级',
  351. '2级',
  352. '3级',
  353. '4级',
  354. '5级',
  355. '6级'
  356. ]
  357. item.gpainfo=`${item.groupName}${item.positionName}${item.accountName}`
  358. item.level=levelstrs[item.alertLevel]
  359. this.alertView=item
  360. this.$refs.alertpopup.open('bottom')
  361. return
  362. }
  363. if(type==='snapshot'){
  364. let pageUrl="/pages/app_views/problem_feedback/record/record"
  365. url=`${pageUrl}?id=${item.snapshotId}`
  366. };
  367. uni.redirectTo({url})
  368. },
  369. handTask(item){
  370. // if(item.handleAccountId!==this.user.userId) return;
  371. if(this.conditions.status!==0) return;
  372. handleCheckTask(item.taskId).then((res)=>{
  373. const { checklistId, checklistTypeId } = res.data //recordId-taskId
  374. if (checklistTypeId === 1) {// HazardRecordView
  375. uni.navigateTo({
  376. url:`/pages/index/handle/task/hazardRecord/hazardRecord?rid=${item.taskId}&cid=${checklistId}&title=${item.taskTitle}`
  377. })
  378. } else if (checklistTypeId === 2) {// PointRecordView
  379. uni.navigateTo({
  380. url:`/pages/index/handle/task/task?rid=${item.taskId}&cid=${checklistId}&title=${item.taskTitle}`
  381. })
  382. } else if (checklistTypeId === 3) {// ScoreRecordView
  383. uni.navigateTo({
  384. url:`/pages/index/handle/task/task?rid=${item.taskId}&cid=${checklistId}&title=${item.taskTitle}`
  385. })
  386. }
  387. })
  388. },
  389. cancelAlert(){
  390. this.alertView={}
  391. this.$refs.alertpopup.close()
  392. },
  393. handAlert(){
  394. const { alertId } = this.alertView
  395. const self=this;
  396. uni.showModal({
  397. title: '提示!',
  398. content: '此操作将永久删除, 是否继续?',
  399. success: function (res) {
  400. if (res.confirm) {
  401. deleteAlertById(alertId).then((resp) => {
  402. const {msg,code}=resp
  403. self.$refs.alertpopup.close()
  404. self.getData()
  405. uni.showToast({
  406. icon:"none",
  407. title:msg
  408. })
  409. })
  410. } else if (res.cancel) {
  411. uni.showToast({
  412. icon:"none",
  413. title:"已取消删除!"
  414. })
  415. }
  416. }
  417. });
  418. },
  419. onPullDownRefresh() {
  420. this.tabChange(this.conditions.status||0,this.activeTab)
  421. uni.stopPullDownRefresh()
  422. },
  423. onReachBottom() {
  424. if(this.total>=this.conditions.page*this.conditions.limit){
  425. this.conditions.page++
  426. this.getData()
  427. }
  428. }
  429. }
  430. }
  431. </script>
  432. <style lang="scss" scoped>
  433. .index-detail-page {
  434. min-height: 100vh;
  435. padding-bottom: 100rpx;
  436. background-color: rgba(245, 246, 248, 1);
  437. padding-top: 6rpx;
  438. .container{
  439. .tab-cont{
  440. .part{
  441. .tab{
  442. display: flex;
  443. align-items: center;
  444. justify-content: center;
  445. overflow-x: auto;
  446. background-color: #fff;
  447. padding:32rpx;
  448. .tab-item{
  449. display: inline-block;
  450. padding: 0 36rpx;
  451. background-color: #fff;
  452. text-align: center;
  453. flex-shrink: 0;
  454. line-height: 1;
  455. font-size: 32rpx;
  456. color: #333;
  457. box-sizing: border-box;
  458. border-bottom: 4rpx solid transparent;
  459. &.active{
  460. // background-color: #1e80ff;
  461. // color: #fff;
  462. // border-color: #1e80ff;
  463. color: #1e80ff;
  464. font-weight: 800;
  465. }
  466. }
  467. }
  468. .part-cont{
  469. padding: 0 32rpx;
  470. .item{
  471. background-color: #fff;
  472. border-radius: 12rpx;
  473. margin-top: 16rpx;
  474. padding: 24rpx 20rpx 24rpx 55rpx;
  475. position: relative;
  476. .index{
  477. width: 44rpx;
  478. height: 44rpx;
  479. display: flex;
  480. align-items: center;
  481. justify-content: center;
  482. border-radius: 50%;
  483. color:#ea8259;
  484. background-color:#fbf1ed;
  485. font-size:18rpx;
  486. position: absolute;
  487. left: 4rpx;
  488. top: 26rpx;
  489. word-break: break-all;
  490. }
  491. .title{
  492. display: flex;
  493. justify-content: space-between;
  494. align-items: center;
  495. .name{
  496. font-size: 32rpx;
  497. color: rgba(0, 0, 0, 0.8);
  498. }
  499. .state{
  500. font-size: 30rpx;
  501. color: rgba(250, 139, 55, 1);
  502. }
  503. }
  504. .tags{
  505. padding-top: 24rpx;
  506. .tag{
  507. background: rgba(245, 246, 248, 1);
  508. font-size: 20rpx;
  509. margin-left: 10rpx;
  510. padding: 10rpx 20rpx;
  511. &:nth-child(1){
  512. color: rgba(234, 130, 89, 1);
  513. background: rgba(251, 241, 237, 1);
  514. }
  515. }
  516. }
  517. .time{
  518. padding-top: 20rpx;
  519. font-size: 28rpx;
  520. color:rgba(241, 57, 57, 0.8);
  521. }
  522. .supervise{
  523. font-size: 24rpx;
  524. color: rgba(0, 0, 0, 1);
  525. padding: 10rpx 0;
  526. .supervise-item{
  527. padding-right: 10rpx;
  528. }
  529. }
  530. .bottom{
  531. display: flex;
  532. justify-content: space-between;
  533. align-items: center;
  534. padding-top: 20rpx;
  535. .user{
  536. display: flex;
  537. align-items: center;
  538. font-size: 24rpx;
  539. color: rgba(0, 0, 0, 1);
  540. .avatar{
  541. width: 44rpx;
  542. margin-right: 10rpx;
  543. }
  544. }
  545. .hand-time{
  546. font-size: 24rpx;
  547. color: rgba(0, 0, 0, 1);
  548. }
  549. }
  550. .alertContent{
  551. font-size: 26rpx;
  552. color: #666;
  553. line-height: 1.5;
  554. text-overflow: ellipsis;
  555. overflow: hidden;
  556. word-break: break-all;
  557. display: -webkit-box;
  558. -webkit-box-orient: vertical;
  559. -webkit-line-clamp: 2;
  560. }
  561. }
  562. }
  563. }
  564. }
  565. }
  566. .isEmpty{
  567. width: 100%;
  568. height: 100vh;
  569. background-image: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNzkgODYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iYSIgeDE9IjM4Ljg1JSIgeTE9IjAlIiB4Mj0iNjEuMTUlIiB5Mj0iMTAwJSI+PHN0b3Agc3RvcC1jb2xvcj0iI0ZDRkNGRCIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiNFRUVGRjMiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJiIiB4MT0iMCUiIHkxPSI5LjUlIiB5Mj0iOTAuNSUiPjxzdG9wIHN0b3AtY29sb3I9IiNGQ0ZDRkQiIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRTlFQkVGIiBvZmZzZXQ9IjEwMCUiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGlkPSJjIiBkPSJNMCAwaDE3djM2SDB6Ii8+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0iTTM5LjUgODZDNjEuMzE1IDg2IDc5IDgzLjkxIDc5IDgxLjMzM1M1Ny4zMTUgNzggMzUuNSA3OCAwIDc4Ljc1NiAwIDgxLjMzM0MwIDgzLjkxMSAxNy42ODUgODYgMzkuNSA4NnoiIGZpbGw9IiNGN0Y4RkMiLz48cGF0aCBmaWxsPSIjRTVFN0U5IiBkPSJNMTMgNDVoNDBMNDIgNThIMnpNNjUuNTUxIDI5Ljk4bC0xNi4zMTMtNy42MDctMi44NDEtNS43MzggMTYuMzEzIDcuNjA3eiIvPjxwYXRoIGZpbGw9IiNFREVFRjIiIGQ9Ik02NS41NTEgMjkuOThsLTM0LjQ0LTE2LjA1OS0xNS4yMTQgMzIuNjI3IDM0LjQ0IDE2LjA2eiIvPjxwYXRoIGZpbGw9InVybCgjYSkiIHRyYW5zZm9ybT0icm90YXRlKDI1IDI3LjQ0NiAtNDMuNDE2KSIgZD0iTTM4IDdoMTd2MzZIMzh6Ii8+PHBhdGggZmlsbD0iI0Y4RjlGQiIgZD0iTTE1LjcwNSA2LjczN2wxNS40MDcgNy4xODQgMTUuNjQ2LS40MjctMTUuNDA3LTcuMTg1eiIvPjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0xMyA0NWg0MHYzNkgxM3oiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1MyA0NSkiPjxtYXNrIGlkPSJkIiBmaWxsPSIjZmZmIj48dXNlIHhsaW5rOmhyZWY9IiNjIi8+PC9tYXNrPjx1c2UgZmlsbD0iI0UwRTNFOSIgdHJhbnNmb3JtPSJtYXRyaXgoLTEgMCAwIDEgMTcgMCkiIHhsaW5rOmhyZWY9IiNjIi8+PHBhdGggZmlsbD0iI0Q1RDdERSIgbWFzaz0idXJsKCNkKSIgdHJhbnNmb3JtPSJtYXRyaXgoLTEgMCAwIDEgMjQgMCkiIGQ9Ik03IDBoMTdsLTQgMTgtMjAtMnoiLz48L2c+PHBhdGggZmlsbD0iI0Y4RjlGQiIgZD0iTTcwIDQ1SDUzbDkgMTNoMTd6Ii8+PC9nPjwvc3ZnPg==);
  570. background-size: contain;
  571. background-repeat: no-repeat;
  572. position: relative;
  573. background-color: #fff;
  574. /* #ifndef MP-WEIXIN */
  575. height: calc( 100vh - 100px);
  576. /* #endif */
  577. .word{
  578. width: 100%;
  579. text-align: center;
  580. position: absolute;
  581. top: 80vh;
  582. left: 0;
  583. color: #999;
  584. font-size: 28rpx;
  585. letter-spacing: 2rpx;
  586. }
  587. }
  588. .handle-bt{
  589. display:inline-block;
  590. color: #222;
  591. padding: 15rpx 20rpx;
  592. box-sizing: border-box;
  593. border: 1rpx solid #eaeaea;
  594. font-size: 26rpx;
  595. text-align: center;
  596. border-radius: 50rpx;
  597. margin: 0 10rpx;
  598. &.del{
  599. background-color: #FA5B41;
  600. color: #fff;
  601. }
  602. &.submit{
  603. background-color: #3384FF;
  604. color: #fff;
  605. padding: 18rpx 38rpx;
  606. }
  607. }
  608. .list-item-handle{
  609. width: 100%;
  610. display: flex;
  611. align-items: center;
  612. justify-content: flex-end;
  613. .handle-bt{
  614. min-width: 120rpx;
  615. padding: 0;
  616. &.cancel{
  617. margin: 0 20rpx;
  618. }
  619. }
  620. }
  621. }
  622. </style>