detail.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636
  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. this.conditions.handleAccountId=this.user.accountId
  312. this.conditions.riskPointId=this.riskPointId
  313. if(this.type==='task'||this.type==='alert'||this.type==='warn'){
  314. this.conditions.status=value
  315. }
  316. if(this.type==='snapshot'){
  317. delete this.conditions.riskPointId
  318. let targetId=uni.getStorageSync('qrcode').targetId
  319. this.conditions.targetId=targetId
  320. }
  321. if(this.type==='danger'){
  322. delete this.conditions.handleAccountId
  323. if (index === 1) {
  324. this.conditions.curAccountId = this.user.accountId
  325. } else if (index === 2) {
  326. this.conditions.submitAccountId = this.user.accountId
  327. } else if (index === 3) {
  328. this.conditions.handleAccountId = this.user.accountId
  329. } else if (index === 4) {
  330. this.conditions.submitAccountId = this.user.accountId
  331. this.conditions.status = -1
  332. }
  333. }
  334. this.getData()
  335. },
  336. handle(type,item){
  337. let url=""
  338. if(type==='danger'){
  339. // uni.navigateTo({
  340. // url:`/pages/webview/webview?href=${this.$h5}/danger/views/detail.html&dangerId=539241&name=隐患处理`
  341. // })
  342. uni.navigateTo({
  343. url:`/pages/index/handle/danger/index/index?id=${item.dangerId}`
  344. })
  345. return
  346. }
  347. if(type==='task'){this.handTask(item);return};
  348. if(type==='warn'){
  349. if(this.conditions.status!==0) return;
  350. // if(item.handleAccountId!==this.user.userId) return;
  351. url=`/pages/index/handle/warning/warning?id=${item.warnId}`
  352. }
  353. if(type==='alert'){
  354. const levelstrs = [
  355. '未知',
  356. '1级',
  357. '2级',
  358. '3级',
  359. '4级',
  360. '5级',
  361. '6级'
  362. ]
  363. item.gpainfo=`${item.groupName}${item.positionName}${item.accountName}`
  364. item.level=levelstrs[item.alertLevel]
  365. this.alertView=item
  366. this.$refs.alertpopup.open('bottom')
  367. return
  368. }
  369. if(type==='snapshot'){
  370. let pageUrl="/pages/app_views/problem_feedback/record/record"
  371. url=`${pageUrl}?id=${item.snapshotId}`
  372. };
  373. uni.redirectTo({url})
  374. },
  375. handTask(item){
  376. // if(item.handleAccountId!==this.user.userId) return;
  377. if(this.conditions.status!==0) return;
  378. handleCheckTask(item.taskId).then((res)=>{
  379. const { checklistId, checklistTypeId } = res.data //recordId-taskId
  380. if (checklistTypeId === 1) {// HazardRecordView
  381. uni.navigateTo({
  382. url:`/pages/index/handle/task/hazardRecord/hazardRecord?rid=${item.taskId}&cid=${checklistId}&title=${item.taskTitle}`
  383. })
  384. } else if (checklistTypeId === 2) {// PointRecordView
  385. uni.navigateTo({
  386. url:`/pages/index/handle/task/task?rid=${item.taskId}&cid=${checklistId}&title=${item.taskTitle}`
  387. })
  388. } else if (checklistTypeId === 3) {// ScoreRecordView
  389. uni.navigateTo({
  390. url:`/pages/index/handle/task/task?rid=${item.taskId}&cid=${checklistId}&title=${item.taskTitle}`
  391. })
  392. }
  393. })
  394. },
  395. cancelAlert(){
  396. this.alertView={}
  397. this.$refs.alertpopup.close()
  398. },
  399. handAlert(){
  400. const { alertId } = this.alertView
  401. const self=this;
  402. uni.showModal({
  403. title: '提示!',
  404. content: '此操作将永久删除, 是否继续?',
  405. success: function (res) {
  406. if (res.confirm) {
  407. deleteAlertById(alertId).then((resp) => {
  408. const {msg,code}=resp
  409. self.$refs.alertpopup.close()
  410. self.getData()
  411. uni.showToast({
  412. icon:"none",
  413. title:msg
  414. })
  415. })
  416. } else if (res.cancel) {
  417. uni.showToast({
  418. icon:"none",
  419. title:"已取消删除!"
  420. })
  421. }
  422. }
  423. });
  424. },
  425. onPullDownRefresh() {
  426. this.tabChange(this.conditions.status||0,this.activeTab)
  427. uni.stopPullDownRefresh()
  428. },
  429. onReachBottom() {
  430. if(this.total>=this.conditions.page*this.conditions.limit){
  431. this.conditions.page++
  432. this.getData()
  433. }
  434. }
  435. }
  436. }
  437. </script>
  438. <style lang="scss" scoped>
  439. .index-detail-page {
  440. min-height: 100vh;
  441. padding-bottom: 100rpx;
  442. background-color: rgba(245, 246, 248, 1);
  443. padding-top: 6rpx;
  444. .container{
  445. .tab-cont{
  446. .part{
  447. .tab{
  448. display: flex;
  449. align-items: center;
  450. justify-content: center;
  451. overflow-x: auto;
  452. background-color: #fff;
  453. padding:32rpx;
  454. .tab-item{
  455. display: inline-block;
  456. padding: 0 36rpx;
  457. background-color: #fff;
  458. text-align: center;
  459. flex-shrink: 0;
  460. line-height: 1;
  461. font-size: 32rpx;
  462. color: #333;
  463. box-sizing: border-box;
  464. border-bottom: 4rpx solid transparent;
  465. &.active{
  466. // background-color: #1e80ff;
  467. // color: #fff;
  468. // border-color: #1e80ff;
  469. color: #1e80ff;
  470. font-weight: 800;
  471. }
  472. }
  473. }
  474. .part-cont{
  475. padding: 0 32rpx;
  476. .item{
  477. background-color: #fff;
  478. border-radius: 12rpx;
  479. margin-top: 16rpx;
  480. padding: 24rpx 20rpx 24rpx 55rpx;
  481. position: relative;
  482. .index{
  483. width: 44rpx;
  484. height: 44rpx;
  485. display: flex;
  486. align-items: center;
  487. justify-content: center;
  488. border-radius: 50%;
  489. color:#ea8259;
  490. background-color:#fbf1ed;
  491. font-size:18rpx;
  492. position: absolute;
  493. left: 4rpx;
  494. top: 26rpx;
  495. word-break: break-all;
  496. }
  497. .title{
  498. display: flex;
  499. justify-content: space-between;
  500. align-items: center;
  501. .name{
  502. font-size: 32rpx;
  503. color: rgba(0, 0, 0, 0.8);
  504. }
  505. .state{
  506. font-size: 30rpx;
  507. color: rgba(250, 139, 55, 1);
  508. }
  509. }
  510. .tags{
  511. padding-top: 24rpx;
  512. .tag{
  513. background: rgba(245, 246, 248, 1);
  514. font-size: 20rpx;
  515. margin-left: 10rpx;
  516. padding: 10rpx 20rpx;
  517. &:nth-child(1){
  518. color: rgba(234, 130, 89, 1);
  519. background: rgba(251, 241, 237, 1);
  520. }
  521. }
  522. }
  523. .time{
  524. padding-top: 20rpx;
  525. font-size: 28rpx;
  526. color:rgba(241, 57, 57, 0.8);
  527. }
  528. .supervise{
  529. font-size: 24rpx;
  530. color: rgba(0, 0, 0, 1);
  531. padding: 10rpx 0;
  532. .supervise-item{
  533. padding-right: 10rpx;
  534. }
  535. }
  536. .bottom{
  537. display: flex;
  538. justify-content: space-between;
  539. align-items: center;
  540. padding-top: 20rpx;
  541. .user{
  542. display: flex;
  543. align-items: center;
  544. font-size: 24rpx;
  545. color: rgba(0, 0, 0, 1);
  546. .avatar{
  547. width: 44rpx;
  548. margin-right: 10rpx;
  549. }
  550. }
  551. .hand-time{
  552. font-size: 24rpx;
  553. color: rgba(0, 0, 0, 1);
  554. }
  555. }
  556. .alertContent{
  557. font-size: 26rpx;
  558. color: #666;
  559. line-height: 1.5;
  560. text-overflow: ellipsis;
  561. overflow: hidden;
  562. word-break: break-all;
  563. display: -webkit-box;
  564. -webkit-box-orient: vertical;
  565. -webkit-line-clamp: 2;
  566. }
  567. }
  568. }
  569. }
  570. }
  571. }
  572. .isEmpty{
  573. width: 100%;
  574. height: 100vh;
  575. background-image: url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNzkgODYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iYSIgeDE9IjM4Ljg1JSIgeTE9IjAlIiB4Mj0iNjEuMTUlIiB5Mj0iMTAwJSI+PHN0b3Agc3RvcC1jb2xvcj0iI0ZDRkNGRCIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiNFRUVGRjMiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJiIiB4MT0iMCUiIHkxPSI5LjUlIiB5Mj0iOTAuNSUiPjxzdG9wIHN0b3AtY29sb3I9IiNGQ0ZDRkQiIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRTlFQkVGIiBvZmZzZXQ9IjEwMCUiLz48L2xpbmVhckdyYWRpZW50PjxwYXRoIGlkPSJjIiBkPSJNMCAwaDE3djM2SDB6Ii8+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZD0iTTM5LjUgODZDNjEuMzE1IDg2IDc5IDgzLjkxIDc5IDgxLjMzM1M1Ny4zMTUgNzggMzUuNSA3OCAwIDc4Ljc1NiAwIDgxLjMzM0MwIDgzLjkxMSAxNy42ODUgODYgMzkuNSA4NnoiIGZpbGw9IiNGN0Y4RkMiLz48cGF0aCBmaWxsPSIjRTVFN0U5IiBkPSJNMTMgNDVoNDBMNDIgNThIMnpNNjUuNTUxIDI5Ljk4bC0xNi4zMTMtNy42MDctMi44NDEtNS43MzggMTYuMzEzIDcuNjA3eiIvPjxwYXRoIGZpbGw9IiNFREVFRjIiIGQ9Ik02NS41NTEgMjkuOThsLTM0LjQ0LTE2LjA1OS0xNS4yMTQgMzIuNjI3IDM0LjQ0IDE2LjA2eiIvPjxwYXRoIGZpbGw9InVybCgjYSkiIHRyYW5zZm9ybT0icm90YXRlKDI1IDI3LjQ0NiAtNDMuNDE2KSIgZD0iTTM4IDdoMTd2MzZIMzh6Ii8+PHBhdGggZmlsbD0iI0Y4RjlGQiIgZD0iTTE1LjcwNSA2LjczN2wxNS40MDcgNy4xODQgMTUuNjQ2LS40MjctMTUuNDA3LTcuMTg1eiIvPjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0xMyA0NWg0MHYzNkgxM3oiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1MyA0NSkiPjxtYXNrIGlkPSJkIiBmaWxsPSIjZmZmIj48dXNlIHhsaW5rOmhyZWY9IiNjIi8+PC9tYXNrPjx1c2UgZmlsbD0iI0UwRTNFOSIgdHJhbnNmb3JtPSJtYXRyaXgoLTEgMCAwIDEgMTcgMCkiIHhsaW5rOmhyZWY9IiNjIi8+PHBhdGggZmlsbD0iI0Q1RDdERSIgbWFzaz0idXJsKCNkKSIgdHJhbnNmb3JtPSJtYXRyaXgoLTEgMCAwIDEgMjQgMCkiIGQ9Ik03IDBoMTdsLTQgMTgtMjAtMnoiLz48L2c+PHBhdGggZmlsbD0iI0Y4RjlGQiIgZD0iTTcwIDQ1SDUzbDkgMTNoMTd6Ii8+PC9nPjwvc3ZnPg==);
  576. background-size: contain;
  577. background-repeat: no-repeat;
  578. position: relative;
  579. background-color: #fff;
  580. /* #ifndef MP-WEIXIN */
  581. height: calc( 100vh - 100px);
  582. /* #endif */
  583. .word{
  584. width: 100%;
  585. text-align: center;
  586. position: absolute;
  587. top: 80vh;
  588. left: 0;
  589. color: #999;
  590. font-size: 28rpx;
  591. letter-spacing: 2rpx;
  592. }
  593. }
  594. .handle-bt{
  595. display:inline-block;
  596. color: #222;
  597. padding: 15rpx 20rpx;
  598. box-sizing: border-box;
  599. border: 1rpx solid #eaeaea;
  600. font-size: 26rpx;
  601. text-align: center;
  602. border-radius: 50rpx;
  603. margin: 0 10rpx;
  604. &.del{
  605. background-color: #FA5B41;
  606. color: #fff;
  607. }
  608. &.submit{
  609. background-color: #3384FF;
  610. color: #fff;
  611. padding: 18rpx 38rpx;
  612. }
  613. }
  614. .list-item-handle{
  615. width: 100%;
  616. display: flex;
  617. align-items: center;
  618. justify-content: flex-end;
  619. .handle-bt{
  620. min-width: 120rpx;
  621. padding: 0;
  622. &.cancel{
  623. margin: 0 20rpx;
  624. }
  625. }
  626. }
  627. }
  628. </style>