pendingOrder.uvue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700
  1. <template>
  2. <uni-navbar-lite :showLeft=true title="待处理工单"></uni-navbar-lite>
  3. <view class="list-page">
  4. <!-- 搜索栏 -->
  5. <view class="search-bar">
  6. <view class="search-box">
  7. <image class="search-icon" src="/static/images/workbench/list/1.png" mode="aspectFit"></image>
  8. <input class="search-input" type="text" placeholder="搜索工单编码、风机编号" v-model="keyword" @confirm="handleSearch" @blur="handleSearch" />
  9. <text v-if="keyword.length > 0" class="clear-icon" @click="clearSearch">✕</text>
  10. </view>
  11. </view>
  12. <!-- 列表内容 -->
  13. <common-list
  14. :dataList="dataList"
  15. :loading="loading"
  16. :refreshing="refreshing"
  17. :hasMore="hasMore"
  18. @refresh="handleRefresh"
  19. @loadMore="loadMore"
  20. @itemClick="handleItemClick"
  21. >
  22. <template #default="{ item, index }">
  23. <view class="list-item">
  24. <view class="item-container">
  25. <view class="item-header">
  26. <text class="item-title">{{ getWorkOrderProjectNo(item) }}-{{ getPcsDeviceName(item) }}{{ getOrderType(item) }}</text>
  27. <text class="status-tag" :class="getStatusClass(item)">{{ getWorkOrderStatus(item) }}</text>
  28. </view>
  29. <view class="info-row">
  30. <view class="info-label">
  31. <text class="text-gray">{{ getDisplayTime(item) }}</text>
  32. </view>
  33. <view class="info-value">
  34. <view
  35. v-if="getOrderStatus(item) == 'assigned' && canHandleOrder(item)"
  36. class="btn-primary info-value"
  37. @click.stop="handleItemClick(item)"
  38. >
  39. <text class="btn-text">接单</text>
  40. </view>
  41. <view
  42. v-else-if="getOrderStatus(item) == 'to_approve' && canHandleOrder(item)"
  43. class="btn-primary info-value"
  44. @click.stop="handleItemClick(item)"
  45. >
  46. <text class="btn-text">审批</text>
  47. </view>
  48. <!-- <button
  49. v-else-if="getOrderStatus(item) == 'to_finish' && canHandleOrder(item)"
  50. class="btn-primary info-value"
  51. @click.stop="handleItemClick(item)"
  52. >
  53. 挂起
  54. </button> -->
  55. <view
  56. v-else-if="getOrderStatus(item) == 'suspended' && canHandleOrder(item)"
  57. class="btn-primary info-value"
  58. @click.stop="handleItemClick(item)"
  59. >
  60. <text class="btn-text">恢复</text>
  61. </view>
  62. </view>
  63. </view>
  64. </view>
  65. </view>
  66. </template>
  67. </common-list>
  68. </view>
  69. </template>
  70. <script setup lang="uts">
  71. import { ref, onBeforeUnmount, onMounted } from 'vue'
  72. import type { acceptOrderInfo } from '../../types/order'
  73. import type { SysDictData } from '../../types/dict'
  74. import { pendingList } from '../../api/order/list'
  75. import { getDictDataByType } from '../../api/dict/index'
  76. import {checkPermi} from '../../utils/storage'
  77. // 列表数据
  78. const dataList = ref<acceptOrderInfo[]>([])
  79. let keyword = ref<string>("")
  80. const page = ref<number>(1)
  81. const pageSize: number = 10
  82. const hasMore = ref<boolean>(true)
  83. const loading = ref<boolean>(false)
  84. const refreshing = ref<boolean>(false)
  85. const total = ref<number>(0)
  86. const statusDictList = ref<SysDictData[]>([]) // 工单状态字典列表
  87. // 添加字典加载状态
  88. const dictLoaded = ref<boolean>(false)
  89. // 添加防重复请求的标志位
  90. const isSearching = ref<boolean>(false)
  91. // 添加防重复刷新的标志
  92. const isRefreshing = ref<boolean>(false)
  93. // 添加刷新时间戳,用于防抖
  94. const lastRefreshTime = ref<number>(0)
  95. const getOrderStatus = (item: any | null): string => {
  96. if (item == null) return ''
  97. const orderItem = item as acceptOrderInfo
  98. return orderItem.workOrderStatus ?? ''
  99. }
  100. // 方法:判断当前工单是否显示操作按钮(基于 orderType)
  101. const canHandleOrder = (item: any | null): boolean => {
  102. if (item == null) return false
  103. let permit: string[] = []
  104. const orderItem = item as acceptOrderInfo
  105. if(orderItem.workOrderStatus == 'assigned') {
  106. // 接单
  107. permit = orderItem.orderType == 2 ? ['gxt:maintenance:order:accept'] : ['gxt:repairOrder:accept']
  108. // } else if(orderItem.workOrderStatus == 'to_finish') {
  109. // // 挂起
  110. // permit = orderItem.orderType == 2 ? ['gxt:maintenance:order:suspend'] : ['gxt:repairOrder:suspend']
  111. } else if(orderItem.workOrderStatus == 'to_approve') {
  112. // 审批
  113. permit = orderItem.orderType == 2 ? ['gxt:maintenance:order:approve'] : ['gxt:repairOrder:approve']
  114. } else if(orderItem.workOrderStatus == 'suspended') {
  115. // 恢复
  116. permit = orderItem.orderType == 2 ? ['gxt:maintenance:order:resume'] : ['gxt:repairOrder:resume']
  117. } else {
  118. return false
  119. }
  120. // const orderType = (item as acceptOrderInfo).orderType
  121. return checkPermi(permit)
  122. }
  123. // 获取工单状态字典列表
  124. const loadStatusDictList = async (): Promise<void> => {
  125. try {
  126. const result = await getDictDataByType('gxt_work_order_status')
  127. const resultObj = result as UTSJSONObject
  128. if (resultObj['code'] == 200) {
  129. const data = resultObj['data'] as any[]
  130. const dictData: SysDictData[] = []
  131. if (data.length > 0) {
  132. for (let i = 0; i < data.length; i++) {
  133. const item = data[i] as UTSJSONObject
  134. // 只提取需要的字段
  135. const dictItem: SysDictData = {
  136. dictValue: item['dictValue'] as string | null,
  137. dictLabel: item['dictLabel'] as string | null,
  138. dictCode: null,
  139. dictSort: null,
  140. dictType: null,
  141. cssClass: null,
  142. listClass: null,
  143. isDefault: null,
  144. status: null,
  145. default: null,
  146. createTime: null,
  147. remark: null
  148. }
  149. dictData.push(dictItem)
  150. }
  151. }
  152. statusDictList.value = dictData
  153. dictLoaded.value = true
  154. }
  155. } catch (e: any) {
  156. console.error('获取工单状态字典失败:', e.message)
  157. dictLoaded.value = true
  158. }
  159. }
  160. // 加载列表数据
  161. const loadData = async (isRefresh: boolean | null, disablePullDown: boolean | null): Promise<void> => {
  162. // 防止重复请求的核心机制
  163. if (loading.value) {
  164. // 确保刷新状态最终被重置,防止卡死
  165. if (isRefresh != true) {
  166. refreshing.value = false;
  167. }
  168. return
  169. }
  170. const shouldRefresh = isRefresh != null ? isRefresh : false
  171. const disablePull = disablePullDown != null ? disablePullDown : false
  172. loading.value = true
  173. if (shouldRefresh && !disablePull) {
  174. page.value = 1
  175. refreshing.value = true
  176. } else if (shouldRefresh && disablePull) {
  177. // 状态切换时,重置页码但不触发动画
  178. page.value = 1
  179. // 即使禁用下拉刷新,也要确保刷新状态最终被重置
  180. refreshing.value = false
  181. } else {
  182. // 对于加载更多操作,不需要显示下拉刷新状态
  183. refreshing.value = false;
  184. }
  185. try {
  186. // 处理默认值
  187. const searchKeyword = keyword.value.length > 0 ? keyword.value : null
  188. const result = await pendingList(page.value, pageSize, searchKeyword)
  189. // 提取响应数据
  190. const resultObj = result as UTSJSONObject
  191. const code = resultObj['code'] as number
  192. const responseData = resultObj['rows'] as any[]
  193. const responseTotal = resultObj['total'] as number
  194. if (code == 200) {
  195. // 将 any[] 转换为 acceptOrderInfo[]
  196. const newData: acceptOrderInfo[] = []
  197. for (let i = 0; i < responseData.length; i++) {
  198. const item = responseData[i] as UTSJSONObject
  199. const orderItem: acceptOrderInfo = {
  200. orderType: item['orderType'] as Number,
  201. id: item['id'] as Number,
  202. teamLeaderId: item['teamLeaderId'] != null ? (item['teamLeaderId'] as Number) : 0,
  203. acceptUserId: item['acceptUserId'] != null ? (item['acceptUserId'] as Number) : 0,
  204. teamLeaderName: item['teamLeaderName'] as string | null,
  205. acceptUserName: item['acceptUserName'] as string | null,
  206. acceptTime: item['acceptTime'] as string | null,
  207. assignTime: item['assignTime'] as string | null,
  208. assignUserName: item['assignUserName'] as string | null,
  209. status: (item['status']==null)?0:item['status'] as Number,
  210. workOrderProjectNo: item['workOrderProjectNo'] as string | null,
  211. workOrderStatus: item['workOrderStatus'] as string | null,
  212. gxtCenterId: item['gxtCenterId'] as Number | 0,
  213. gxtCenter: item['gxtCenter'] as string | null,
  214. pcsStationId: item['pcsStationId'] as Number | 0,
  215. pcsStationName: item['pcsStationName'] as string | null,
  216. pcsDeviceId: item['pcsDeviceId'] as Number | 0,
  217. pcsDeviceName: item['pcsDeviceName'] as string | null,
  218. brand: item['brand'] as string | null,
  219. model: item['model'] as string | null,
  220. createTime: item['createTime'] as string | null,
  221. suspendReason: item['suspendReason'] as string | null,
  222. rejectionReason: item['rejectionReason'] as string | null,
  223. updateTime: item['updateTime'] as string | null, // 新增字段
  224. workEndTime: item['workEndTime'] as string | null // 新增字段
  225. }
  226. newData.push(orderItem)
  227. }
  228. if (shouldRefresh) {
  229. dataList.value = newData
  230. } else {
  231. dataList.value = [...dataList.value, ...newData]
  232. }
  233. total.value = responseTotal
  234. hasMore.value = dataList.value.length < responseTotal
  235. } else {
  236. const msg = resultObj['msg'] as string | null
  237. uni.showToast({
  238. title: msg ?? '加载失败',
  239. icon: 'none'
  240. })
  241. }
  242. } catch (e: any) {
  243. uni.showToast({
  244. title: e.message ?? '加载失败',
  245. icon: 'none'
  246. })
  247. } finally {
  248. loading.value = false
  249. // 确保刷新状态能结束
  250. if (shouldRefresh) {
  251. refreshing.value = false;
  252. // 使用setTimeout确保状态彻底重置
  253. setTimeout(() => {
  254. isRefreshing.value = false;
  255. }, 50);
  256. }
  257. }
  258. }
  259. // 辅助函数:从 any 类型提取属性
  260. const getOrderType = (item: any | null): string => {
  261. if (item == null) return ''
  262. const orderInfoItem = item as acceptOrderInfo
  263. return orderInfoItem.orderType == 1?"维修工单":"维保工单";
  264. }
  265. const getWorkOrderProjectNo = (item: any | null): string | null => {
  266. if (item == null) return ''
  267. const orderInfoItem = item as acceptOrderInfo
  268. return orderInfoItem.workOrderProjectNo
  269. }
  270. const getPcsDeviceName = (item: any | null): string | null=> {
  271. if (item == null) return ''
  272. const orderInfoItem = item as acceptOrderInfo
  273. return orderInfoItem.pcsDeviceName
  274. }
  275. // 根据状态显示不同的时间
  276. const getDisplayTime = (item: any | null): string|null => {
  277. if (item == null) return null
  278. const orderInfoItem = item as acceptOrderInfo
  279. // 如果是"待接单"状态,显示派单时间
  280. if (orderInfoItem.workOrderStatus == 'assigned') {
  281. return '下发时间:' + orderInfoItem.assignTime
  282. } else if(orderInfoItem.workOrderStatus == 'to_finish') {
  283. if(orderInfoItem.workEndTime != null) {
  284. return '结束时间:' + orderInfoItem.workEndTime
  285. }
  286. return '接单时间:' + orderInfoItem.acceptTime
  287. } else if(orderInfoItem.workOrderStatus == 'to_approve') {
  288. return '申请挂起时间:' + orderInfoItem.updateTime
  289. } else if(orderInfoItem.workOrderStatus == 'suspended') {
  290. return '审批通过时间:' + orderInfoItem.updateTime
  291. } else if(orderInfoItem.workOrderStatus == 'return' || orderInfoItem.workOrderStatus == 'accept_return') {
  292. return '退回时间:' + orderInfoItem.updateTime
  293. } else if(orderInfoItem.workOrderStatus == 'completed') {
  294. return '结单时间:' + orderInfoItem.updateTime
  295. }
  296. // 默认显示创建时间
  297. return '创建时间:' + orderInfoItem.createTime
  298. }
  299. const getWorkOrderStatus = (item: any | null): string | null => {
  300. if (item == null) return ''
  301. const orderInfoItem = item as acceptOrderInfo
  302. const rawStatus = orderInfoItem.workOrderStatus
  303. if (rawStatus==null) return ''
  304. // 如果字典尚未加载,返回原始值
  305. if (!dictLoaded.value) {
  306. return rawStatus
  307. }
  308. // 查找字典中对应的标签
  309. const dictItem = statusDictList.value.find(dict => dict.dictValue == rawStatus)
  310. return dictItem!=null ? dictItem.dictLabel : rawStatus
  311. }
  312. const getStatusClass = (item: any | null): string => {
  313. if (item == null) return ''
  314. const orderInfoItem = item as acceptOrderInfo
  315. const rawStatus = orderInfoItem.workOrderStatus
  316. if (rawStatus==null) return ''
  317. // const status = rawStatus
  318. // 返回对应的状态类名
  319. return `status-${rawStatus}`
  320. }
  321. // 下拉刷新
  322. const handleRefresh = async (): Promise<void> => {
  323. console.log("handleRefresh被触发")
  324. console.log("loading.value===",loading.value)
  325. console.log("isRefreshing.value===",isRefreshing.value)
  326. // 防抖处理,避免频繁触发
  327. const now = Date.now();
  328. if (now - lastRefreshTime.value < 1000) {
  329. console.log("刷新操作过于频繁,忽略本次触发");
  330. refreshing.value = false;
  331. return;
  332. }
  333. lastRefreshTime.value = now;
  334. // 添加防重复调用检查
  335. if (loading.value || isRefreshing.value) {
  336. // 如果已经在加载或正在刷新,直接重置刷新状态
  337. refreshing.value = false;
  338. return;
  339. }
  340. console.log("loading.value1===",loading.value)
  341. console.log("isRefreshing.value1===",isRefreshing.value)
  342. // 设置刷新标志
  343. isRefreshing.value = true;
  344. try {
  345. await loadData(true, false); // 使用默认的下拉刷新行为
  346. } catch (error) {
  347. console.error('刷新失败:', error);
  348. refreshing.value = false;
  349. isRefreshing.value = false;
  350. }
  351. // 确保在一定时间后重置刷新标志,防止意外情况
  352. setTimeout(() => {
  353. isRefreshing.value = false
  354. }, 100) // 延迟重置,确保状态完全更新
  355. }
  356. // 加载更多
  357. const loadMore = (): void => {
  358. if (!hasMore.value || loading.value) {
  359. return
  360. }
  361. page.value++
  362. loadData(false, false) // 加载更多时不涉及下拉刷新动画
  363. }
  364. // 搜索
  365. const handleSearch = (): void => {
  366. // 添加防重复调用检查
  367. if (loading.value) {
  368. return;
  369. }
  370. // 添加防重复请求检查
  371. if (isSearching.value) {
  372. return
  373. }
  374. isSearching.value = true
  375. page.value = 1
  376. loadData(true, true) // 状态切换时禁用下拉刷新动画
  377. // 延迟重置标志位,确保请求发送后才允许下一次搜索
  378. setTimeout(() => {
  379. isSearching.value = false
  380. }, 100)
  381. }
  382. // 点击列表项
  383. const handleItemClick = (item: any | null): void => {
  384. if (item == null) return
  385. const orderItem = item as acceptOrderInfo
  386. if(orderItem.workOrderStatus == 'assigned') {
  387. uni.navigateTo({
  388. url: `/pages/order/detail/acceptIndex?id=${orderItem.id}&orderType=${orderItem.orderType}`
  389. })
  390. } else if(orderItem.workOrderStatus == 'to_approve') {
  391. // 跳转到待审批页面
  392. uni.navigateTo({
  393. url: `/pages/order/detail/approveIndex?id=${orderItem.id}&orderType=${orderItem.orderType}`
  394. })
  395. } else if(orderItem.workOrderStatus == 'suspended') {
  396. // 跳转到恢复页面
  397. uni.navigateTo({
  398. url: `/pages/order/detail/resumeIndex?id=${orderItem.id}&orderType=${orderItem.orderType}`
  399. })
  400. } else {
  401. uni.navigateTo({
  402. url: `/pages/order/detail/index?id=${orderItem.id}&orderType=${orderItem.orderType}`
  403. })
  404. }
  405. }
  406. // 清空搜索
  407. const clearSearch = (): void => {
  408. // 添加防重复调用检查
  409. if (loading.value) {
  410. return;
  411. }
  412. // 添加防重复请求检查
  413. if (isSearching.value) {
  414. return
  415. }
  416. isSearching.value = true
  417. keyword.value = ""
  418. page.value = 1
  419. loadData(true, true) // 状态切换时禁用下拉刷新动画
  420. // 延迟重置标志位,确保请求发送后才允许下一次搜索
  421. setTimeout(() => {
  422. isSearching.value = false
  423. }, 100)
  424. }
  425. // 初始化
  426. onMounted(() => {
  427. loadStatusDictList()
  428. loadData(true, false)
  429. // 监听接单成功的事件,刷新列表
  430. uni.$on('refreshOrderList', () => {
  431. page.value = 1
  432. loadData(true, false)
  433. })
  434. })
  435. // 组件卸载前清理事件监听
  436. onBeforeUnmount(() => {
  437. refreshing.value = false
  438. loading.value = false
  439. isRefreshing.value = false
  440. // 移除事件监听
  441. uni.$off('refreshOrderList',{})
  442. })
  443. </script>
  444. <style lang="scss">
  445. .list-page {
  446. flex: 1;
  447. background-color: #e8f0f9;
  448. }
  449. .search-bar {
  450. padding: 20rpx 30rpx;
  451. background-color: #d7eafe;
  452. }
  453. .search-box {
  454. flex-direction: row;
  455. align-items: center;
  456. height: 72rpx;
  457. padding: 0 24rpx;
  458. background-color: #f5f5f5;
  459. border-radius: 36rpx;
  460. .search-icon {
  461. width: 32rpx;
  462. height: 32rpx;
  463. margin-right: 12rpx;
  464. }
  465. .search-input {
  466. flex: 1;
  467. font-size: 28rpx;
  468. color: #333333;
  469. }
  470. .clear-icon {
  471. margin-left: 12rpx;
  472. font-size: 28rpx;
  473. color: #999999;
  474. }
  475. }
  476. .list-item {
  477. margin: 24rpx 30rpx;
  478. background-color: #ffffff;
  479. border-radius: 16rpx;
  480. }
  481. .item-container {
  482. padding: 30rpx;
  483. }
  484. .item-header {
  485. flex-direction: row;
  486. align-items: center;
  487. margin-bottom: 16rpx;
  488. .item-title {
  489. flex: 1;
  490. font-size: 32rpx;
  491. color: #333333;
  492. font-weight: bold;
  493. }
  494. .detail-link {
  495. font-size: 28rpx;
  496. color: #999999;
  497. }
  498. }
  499. .item-header {
  500. flex-direction: row;
  501. align-items: flex-start;
  502. margin-bottom: 16rpx;
  503. .item-title {
  504. font-size: 30rpx;
  505. color: #333333;
  506. font-weight: bold;
  507. flex-wrap: wrap;
  508. flex: 0 1 80%;
  509. min-width: 0;
  510. }
  511. .info-value {
  512. font-size: 28rpx;
  513. color: #999999;
  514. margin-left: auto;
  515. flex: 0 0 auto;
  516. white-space: nowrap;
  517. }
  518. }
  519. .info-row {
  520. flex-direction: row;
  521. justify-content: space-between;
  522. align-items: center;
  523. .info-label {
  524. font-size: 26rpx;
  525. color: #666;
  526. }
  527. .info-value {
  528. font-size: 26rpx;
  529. }
  530. }
  531. .text-gray{
  532. font-size: 26rpx;
  533. color: #666;
  534. }
  535. .status-tag {
  536. padding: 8rpx 20rpx;
  537. border-radius: 20rpx;
  538. font-size: 24rpx;
  539. white-space: nowrap;
  540. margin-left: 20rpx;
  541. border: 1rpx solid;
  542. }
  543. /* 待接单 */
  544. .status-assigned {
  545. background-color: #ebf5ff;
  546. color: #409eff;
  547. border-color: #d8ebff;
  548. }
  549. /* 待结单 */
  550. .status-to_finish {
  551. background-color: #fff7e6;
  552. color: #fa8c16;
  553. border-color: #ffd591;
  554. }
  555. /* 待审批 */
  556. .status-to_approve {
  557. background-color: #fff7e6;
  558. color: #fa8c16;
  559. border-color: #ffd591;
  560. }
  561. /* 已挂起 */
  562. .status-suspended {
  563. background-color: #fff2f0;
  564. color: #ff4d4f;
  565. border-color: #ffccc7;
  566. }
  567. /* 已完成 */
  568. .status-completed {
  569. background-color: #f0f9eb;
  570. color: #5cb87a;
  571. border-color: #c2e7b0;
  572. }
  573. /* 待下发 */
  574. .status-to_issue {
  575. background-color: #f4f4f5;
  576. color: #909399;
  577. border-color: #e9e9eb;
  578. }
  579. /* 已归档 */
  580. .status-archived {
  581. background-color: #f0f9eb;
  582. color: #5cb87a;
  583. border-color: #c2e7b0;
  584. }
  585. /* 退回 */
  586. .status-return {
  587. background-color: #fff2f0;
  588. color: #ff4d4f;
  589. border-color: #ffccc7;
  590. }
  591. /* 退回 */
  592. .status-accept_return {
  593. background-color: #fff2f0;
  594. color: #ff4d4f;
  595. border-color: #ffccc7;
  596. }
  597. .btn-primary {
  598. z-index: 999;
  599. border-radius: 10rpx;
  600. font-size: 24rpx;
  601. // white-space: nowrap;
  602. margin-left: 20rpx;
  603. background-color: #165DFF;
  604. line-height: 45rpx;
  605. color: #ffffff;
  606. .btn-text{
  607. color: #ffffff;
  608. font-size: 24rpx;
  609. padding: 5px 15px;
  610. }
  611. }
  612. // /* 超时 */
  613. // .status-overdue {
  614. // background-color: #fff2f0;
  615. // color: #ff4d4f;
  616. // border-color: #ffccc7;
  617. // }
  618. </style>