suspendIndex.uvue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754
  1. <template>
  2. <view class="detail-page">
  3. <scroll-view class="detail-content" :scroll-y="true">
  4. <!-- 工单信息 -->
  5. <view class="info-section">
  6. <view class="section-title">
  7. <text class="section-title-text">工单信息</text>
  8. </view>
  9. <view class="info-card">
  10. <view class="info-item">
  11. <text class="info-label">工单编码</text>
  12. <text class="info-value">{{ detailData.workOrderProjectNo ?? '' }}</text>
  13. </view>
  14. <view class="info-item">
  15. <text class="info-label">工单类型</text>
  16. <text class="info-value">{{ detailData.orderType == 1 ? '维修工单' : '维保工单' }}</text>
  17. </view>
  18. <view class="info-item">
  19. <text class="info-label">风机编号</text>
  20. <text class="info-value">{{ detailData.pcsDeviceName ?? '' }}</text>
  21. </view>
  22. <view class="info-item">
  23. <text class="info-label">维保中心</text>
  24. <text class="info-value">{{ detailData.gxtCenter ?? '' }}</text>
  25. </view>
  26. <view class="info-item">
  27. <text class="info-label">场站</text>
  28. <text class="info-value">{{ detailData.pcsStationName ?? '' }}</text>
  29. </view>
  30. <!-- <view class="info-item">
  31. <text class="info-label">品牌</text>
  32. <text class="info-value">{{ detailData.model ?? '' }}</text>
  33. </view> -->
  34. <view class="info-item">
  35. <text class="info-label">机型</text>
  36. <text class="info-value">{{ detailData.brand ?? '' }} {{ detailData.model ?? '' }}</text>
  37. </view>
  38. <view class="info-item">
  39. <text class="info-label">接单时间</text>
  40. <text class="info-value">{{ detailData.acceptTime ?? '' }}</text>
  41. </view>
  42. <!-- <view class="info-item">
  43. <text class="info-label">挂起原因</text>
  44. <view class="form-picker" @click="showReasonPicker = true">
  45. <view class="picker-display">
  46. <text v-if="suspendReason" class="selected-value">{{ suspendReason }}</text>
  47. <text v-else class="placeholder">请选择挂起原因</text>
  48. <text class="arrow">▼</text>
  49. </view>
  50. </view>
  51. </view> -->
  52. </view>
  53. </view>
  54. <!-- <view class="info-section">
  55. <view class="section-title">
  56. <text class="section-title-text">工作负责人</text>
  57. </view>
  58. <view class="info-card">
  59. <view class="info-item">
  60. <input class="input" type="text" placeholder="请输入工作负责人" v-model="teamLeaderName" />
  61. </view>
  62. </view>
  63. </view> -->
  64. <!-- 工作负责人选择 -->
  65. <view class="info-section">
  66. <view class="section-title">
  67. <text class="section-title-text">挂起原因</text>
  68. </view>
  69. <view class="info-card">
  70. <view class="form-item">
  71. <!-- <text class="form-label required">挂起原因</text> -->
  72. <view class="form-picker" @click="showReasonPicker = true">
  73. <view class="picker-display">
  74. <text v-if="suspendReason" class="selected-value">{{ suspendReason }}</text>
  75. <text v-else class="placeholder">请选择挂起原因</text>
  76. <text class="arrow">▼</text>
  77. </view>
  78. </view>
  79. </view>
  80. </view>
  81. </view>
  82. <!-- 自定义选择器弹窗 -->
  83. <view v-if="showReasonPicker" class="picker-modal">
  84. <view class="modal-mask" @click="showReasonPicker = false"></view>
  85. <view class="modal-content">
  86. <view class="modal-header">
  87. <text class="modal-title">挂起原因</text>
  88. <text class="modal-close" @click="showReasonPicker = false">取消</text>
  89. </view>
  90. <scroll-view class="modal-body" scroll-y="true">
  91. <view
  92. v-for="(option, index) in suspendReasonOptions"
  93. :key="index"
  94. class="picker-option"
  95. :class="{ 'selected': index === selectedReasonIndex }"
  96. @click="selectLeaderManually(index)"
  97. >
  98. <text class="option-text">{{ option.label }}</text>
  99. <text v-if="index === selectedReasonIndex" class="option-check">✓</text>
  100. </view>
  101. </scroll-view>
  102. </view>
  103. </view>
  104. <!-- 工单流转 -->
  105. <!-- <view class="info-section">
  106. <view class="section-title">
  107. <text class="section-title-text">工单流转</text>
  108. </view>
  109. <view class="info-card" v-if="detailData.workOrderFlowList != null && detailData.workOrderFlowList.length > 0">
  110. <view class="flow-item" v-for="(flow, index) in detailData.workOrderFlowList" :key="index">
  111. <view class="flow-header">
  112. <text class="flow-operator">{{ flow.operatorName ?? '未知操作人' }}</text>
  113. <text class="flow-time">{{ flow.actionTime ?? '' }}</text>
  114. </view>
  115. <view class="flow-content">
  116. <text class="flow-action">{{ getActionTypeName(flow.actionType) }}</text>
  117. <text class="flow-remark" v-if="flow.actionRemark">{{ flow.actionRemark }}</text>
  118. </view>
  119. </view>
  120. </view>
  121. <view class="info-card" v-else>
  122. <view class="no-data">暂无流转记录</view>
  123. </view>
  124. </view> -->
  125. </scroll-view>
  126. <!-- 接单按钮 -->
  127. <view class="accept-button-container" v-if="checkPermi(detailData.orderType == 2 ? ['gxt:maintenance:order:suspend'] : ['gxt:repairOrder:suspend'])">
  128. <button class="accept-button" @click="handleSuspendOrder">挂 起</button>
  129. </view>
  130. <!-- 加载中状态 -->
  131. <view v-if="loading" class="loading-mask">
  132. <text class="loading-text">加载中...</text>
  133. </view>
  134. </view>
  135. </template>
  136. <script setup lang="uts">
  137. import { ref } from 'vue'
  138. import type { acceptOrderInfo } from '../../../types/order'
  139. import type { WorkOrderFlow } from '../../../types/flow'
  140. import { getOrderInfoById, getRepairOrderInfoById, suspendOrder } from '../../../api/order/detail'
  141. import type { SysDictData } from '../../../types/dict'
  142. import { getDictDataByType } from '../../../api/dict/index'
  143. import { getUserList } from '../../../api/user/list'
  144. import type { UserInfo } from '../../../types/user'
  145. import {checkPermi} from '../../../utils/storage'
  146. const teamLeaderName = ref<string>("")
  147. const statusDictList = ref<SysDictData[]>([]) // 工单状态字典列表
  148. // 添加字典加载状态
  149. const dictLoaded = ref<boolean>(false)
  150. // 详情数据
  151. const detailData = ref<acceptOrderInfo>({
  152. orderType: 0,
  153. id: 0,
  154. teamLeaderId: 0,
  155. acceptUserId: 0,
  156. teamLeaderName: null,
  157. acceptUserName: null,
  158. acceptTime: null,
  159. assignTime: null,
  160. assignUserName: null,
  161. status: 0,
  162. workOrderProjectNo: null,
  163. workOrderStatus: null,
  164. gxtCenterId: 0,
  165. gxtCenter: null,
  166. pcsStationId: 0,
  167. pcsStationName: null,
  168. pcsDeviceId: 0,
  169. pcsDeviceName: null,
  170. brand: null,
  171. model: null,
  172. createTime: null,
  173. workOrderFlowList: null,
  174. suspendReason: null,
  175. rejectionReason: null,
  176. updateTime: null, // 新增字段
  177. workEndTime: null // 新增字段
  178. })
  179. // 选择器选项类型
  180. type PickerOption = {
  181. label: string
  182. value: string
  183. }
  184. // 选中的挂起原因
  185. const suspendReason = ref<string>('')
  186. const selectedReasonIndex = ref<number>(-1)
  187. const suspendReasonOptions = ref<PickerOption[]>([])
  188. const showReasonPicker = ref<boolean>(false)
  189. // 获取负责人列表(使用用户列表接口)
  190. const dictList = async (): Promise<void> => {
  191. try {
  192. const result = await getDictDataByType('gxt_order_suspend_reason')
  193. const resultObj = result as UTSJSONObject
  194. if (resultObj['code'] == 200) {
  195. const data = resultObj['data'] as any[]
  196. const options: PickerOption[] = []
  197. if (data.length > 0) {
  198. for (let i = 0; i < data.length; i++) {
  199. const item = data[i] as UTSJSONObject
  200. let dictItem: SysDictData = {
  201. dictValue: item['dictValue'] as string | null,
  202. dictLabel: item['dictLabel'] as string | null,
  203. dictCode: null,
  204. dictSort: null,
  205. dictType: null,
  206. cssClass: null,
  207. listClass: null,
  208. isDefault: null,
  209. status: null,
  210. default: null,
  211. createTime: null,
  212. remark: null
  213. }
  214. // 构建选择器选项
  215. options.push({
  216. label: dictItem.dictLabel ?? '',
  217. value: dictItem.dictValue ?? ''
  218. })
  219. }
  220. }
  221. suspendReasonOptions.value = options
  222. }
  223. } catch (e: any) {
  224. console.error('获取挂起原因失败:', e.message)
  225. }
  226. }
  227. // 手动选择负责人
  228. const selectLeaderManually = (index: number): void => {
  229. selectedReasonIndex.value = index
  230. if (index >= 0 && index < suspendReasonOptions.value.length) {
  231. const selectedOption = suspendReasonOptions.value[index]
  232. suspendReason.value = selectedOption.label
  233. detailData.value.suspendReason = selectedOption.value
  234. console.log("=======",detailData.value.suspendReason)
  235. }
  236. showReasonPicker.value = false
  237. }
  238. // 获取工单状态字典列表
  239. const loadStatusDictList = async (): Promise<void> => {
  240. try {
  241. const result = await getDictDataByType('gxt_repair_order_flow_action_type')
  242. const resultObj = result as UTSJSONObject
  243. if (resultObj['code'] == 200) {
  244. const data = resultObj['data'] as any[]
  245. const dictData: SysDictData[] = []
  246. if (data.length > 0) {
  247. for (let i = 0; i < data.length; i++) {
  248. const item = data[i] as UTSJSONObject
  249. // 只提取需要的字段
  250. const dictItem: SysDictData = {
  251. dictValue: item['dictValue'] as string | null,
  252. dictLabel: item['dictLabel'] as string | null,
  253. dictCode: null,
  254. dictSort: null,
  255. dictType: null,
  256. cssClass: null,
  257. listClass: null,
  258. isDefault: null,
  259. status: null,
  260. default: null,
  261. createTime: null,
  262. remark: null
  263. }
  264. dictData.push(dictItem)
  265. }
  266. }
  267. statusDictList.value = dictData
  268. dictLoaded.value = true
  269. }
  270. } catch (e: any) {
  271. console.error('获取工单状态字典失败:', e.message)
  272. dictLoaded.value = true
  273. }
  274. }
  275. // 处理接单操作
  276. const handleSuspendOrder = async (): Promise<void> => {
  277. if (suspendReason.value == null || suspendReason.value.trim() === '') {
  278. uni.showToast({
  279. title: '请选择挂起原因',
  280. icon: 'none'
  281. })
  282. return
  283. }
  284. detailData.value.workOrderStatus = 'to_approve'
  285. try {
  286. const result = await suspendOrder(detailData.value)
  287. const resultObj = result as UTSJSONObject
  288. const code = resultObj['code'] as number
  289. if (code == 200) {
  290. uni.showToast({
  291. title: '挂起成功',
  292. icon: 'success'
  293. })
  294. // 使用事件总线通知列表页面刷新
  295. uni.$emit('refreshOrderList', {})
  296. // 接单成功后返回上一页
  297. setTimeout(() => {
  298. uni.navigateBack()
  299. }, 1000)
  300. }
  301. } catch (error) {
  302. console.error('请求失败:', error);
  303. }
  304. }
  305. const loading = ref<boolean>(false)
  306. // 获取操作类型名称
  307. const getActionTypeName = (item: string | null): string | null => {
  308. if (item == null) return ''
  309. // const orderInfoItem = item as orderInfo
  310. const rawStatus = item
  311. if (rawStatus==null) return ''
  312. // 如果字典尚未加载,返回原始值
  313. if (!dictLoaded.value) {
  314. return rawStatus
  315. }
  316. // 查找字典中对应的标签
  317. const dictItem = statusDictList.value.find(dict => dict.dictValue == rawStatus)
  318. return dictItem!=null ? dictItem.dictLabel : rawStatus
  319. }
  320. // 加载详情数据
  321. const loadDetail = async (id: string, orderType?: number): Promise<void> => {
  322. try {
  323. loading.value = true
  324. let result: any;
  325. // 根据orderType决定调用哪个API
  326. if (orderType == 1) {
  327. // 维修工单
  328. result = await getRepairOrderInfoById(id)
  329. } else {
  330. // 维保工单
  331. result = await getOrderInfoById(id)
  332. }
  333. // 提取响应数据
  334. const resultObj = result as UTSJSONObject
  335. const code = resultObj['code'] as number
  336. const data = resultObj['data'] as UTSJSONObject | null
  337. if (code == 200 && data != null) {
  338. // 处理工单流转列表
  339. let workOrderFlowList: WorkOrderFlow[] | null = null
  340. let flowList: UTSJSONObject[] = []
  341. if (orderType == 1) {
  342. // 维修工单
  343. flowList = data['repairOrderFlowList'] as UTSJSONObject[]
  344. } else {
  345. // 维保工单
  346. flowList = data['workOrderFlowList'] as UTSJSONObject[]
  347. }
  348. if (flowList != null) {
  349. workOrderFlowList = []
  350. for (let i = 0; i < flowList.length; i++) {
  351. const flowItem = flowList[i]
  352. const flow: WorkOrderFlow = {
  353. id: flowItem['id'] as Number,
  354. orderId: flowItem['orderId'] as Number,
  355. orderCode: flowItem['orderCode'] as string,
  356. actionType: flowItem['actionType'] as string,
  357. fromStatus: flowItem['fromStatus'] as string | null,
  358. toStatus: flowItem['toStatus'] as string,
  359. operatorId: flowItem['operatorId'] as Number | null,
  360. operatorName: flowItem['operatorName'] as string | null,
  361. actionTime: flowItem['actionTime'] as string,
  362. actionRemark: flowItem['actionRemark'] as string | null,
  363. createBy: flowItem['createBy'] as string | null,
  364. createTime: flowItem['createTime'] as string | null
  365. }
  366. workOrderFlowList.push(flow)
  367. }
  368. }
  369. // 转换数据
  370. const orderDtail: acceptOrderInfo = {
  371. orderType: data['orderType'] as Number,
  372. id: data['id'] as Number,
  373. teamLeaderId: data['teamLeaderId'] != null ? (data['teamLeaderId'] as Number) : 0,
  374. acceptUserId: data['acceptUserId'] != null ? (data['acceptUserId'] as Number) : 0,
  375. teamLeaderName: data['teamLeaderName'] as string | null,
  376. acceptUserName: data['acceptUserName'] as string | null,
  377. acceptTime: data['acceptTime'] as string | null,
  378. assignTime: data['assignTime'] as string | null,
  379. assignUserName: data['assignUserName'] as string | null,
  380. status: (data['status']==null)?0:data['status'] as Number,
  381. workOrderProjectNo: data['workOrderProjectNo'] as string | null,
  382. workOrderStatus: data['workOrderStatus'] as string | null,
  383. gxtCenterId: data['gxtCenterId'] as Number | 0,
  384. gxtCenter: data['gxtCenter'] as string | null,
  385. pcsStationId: data['pcsStationId'] as Number | 0,
  386. pcsStationName: data['pcsStationName'] as string | null,
  387. pcsDeviceId: data['pcsDeviceId'] as Number | 0,
  388. pcsDeviceName: data['pcsDeviceName'] as string | null,
  389. brand: data['brand'] as string | null,
  390. model: data['model'] as string | null,
  391. createTime: data['createTime'] as string | null,
  392. workOrderFlowList: workOrderFlowList,
  393. suspendReason: data['suspendReason'] as string | null,
  394. rejectionReason: data['rejectionReason'] as string | null,
  395. updateTime: data['updateTime'] as string | null, // 新增字段
  396. workEndTime: data['workEndTime'] as string | null // 新增字段
  397. }
  398. detailData.value = orderDtail
  399. // 如果工单数据中已有负责人信息,设置到输入框中
  400. if (orderDtail.teamLeaderName != null && orderDtail.teamLeaderName.length > 0) {
  401. teamLeaderName.value = orderDtail.teamLeaderName as string
  402. }
  403. dictList()
  404. } else {
  405. const msg = resultObj['msg'] as string | null
  406. uni.showToast({
  407. title: msg ?? '加载失败',
  408. icon: 'none'
  409. })
  410. }
  411. } catch (e: any) {
  412. uni.showToast({
  413. title: e.message ?? '加载失败',
  414. icon: 'none'
  415. })
  416. } finally {
  417. loading.value = false
  418. }
  419. }
  420. // 页面加载
  421. onLoad((options: any) => {
  422. const params = options as UTSJSONObject
  423. const id = params['id'] as string | null
  424. const orderTypeParam = params['orderType'] as string | null
  425. if (id != null && orderTypeParam != null) {
  426. // 先尝试从参数中获取orderType
  427. const orderTypeNumber = parseInt(orderTypeParam)
  428. loadDetail(id, orderTypeNumber)
  429. }
  430. })
  431. // 初始化
  432. onMounted(() => {
  433. loadStatusDictList()
  434. })
  435. </script>
  436. <style lang="scss">
  437. .detail-page {
  438. flex: 1;
  439. background-color: #e8f0f9;
  440. }
  441. .detail-content {
  442. flex: 1;
  443. padding: 20rpx 0;
  444. }
  445. .info-section {
  446. margin: 0 30rpx 24rpx;
  447. .section-title {
  448. position: relative;
  449. padding-left: 20rpx;
  450. margin-bottom: 20rpx;
  451. &::before {
  452. // content: '';
  453. position: absolute;
  454. left: 0;
  455. top: 50%;
  456. transform: translateY(-50%);
  457. width: 8rpx;
  458. height: 32rpx;
  459. background-color: #007aff;
  460. border-radius: 4rpx;
  461. }
  462. &-text {
  463. font-size: 32rpx;
  464. font-weight: bold;
  465. color: #333333;
  466. }
  467. }
  468. .info-card {
  469. background-color: #ffffff;
  470. border-radius: 16rpx;
  471. padding: 30rpx;
  472. .info-item {
  473. flex-direction: row;
  474. padding: 20rpx 0;
  475. border-bottom: 1rpx solid #f0f0f0;
  476. &:last-child {
  477. border-bottom: none;
  478. }
  479. &.full-width {
  480. flex-direction: column;
  481. .info-label {
  482. margin-bottom: 12rpx;
  483. }
  484. .info-value {
  485. line-height: 44rpx;
  486. }
  487. }
  488. .info-label {
  489. width: 240rpx;
  490. font-size: 28rpx;
  491. color: #666666;
  492. white-space: nowrap;
  493. }
  494. .info-value {
  495. flex: 1;
  496. font-size: 28rpx;
  497. color: #333333;
  498. text-align: right;
  499. &.highlight {
  500. color: #007aff;
  501. font-weight: bold;
  502. }
  503. &.input {
  504. text-align: left;
  505. border: 1rpx solid #e0e0e0;
  506. border-radius: 8rpx;
  507. padding: 10rpx;
  508. }
  509. }
  510. }
  511. .flow-item {
  512. padding: 20rpx 0;
  513. border-bottom: 1rpx solid #f0f0f0;
  514. &:last-child {
  515. border-bottom: none;
  516. }
  517. .flow-header {
  518. flex-direction: row;
  519. justify-content: space-between;
  520. margin-bottom: 10rpx;
  521. .flow-operator {
  522. font-size: 28rpx;
  523. color: #333333;
  524. font-weight: bold;
  525. }
  526. .flow-time {
  527. font-size: 24rpx;
  528. color: #999999;
  529. }
  530. }
  531. .flow-content {
  532. flex-direction: column;
  533. .flow-action {
  534. font-size: 26rpx;
  535. color: #666666;
  536. margin-bottom: 8rpx;
  537. }
  538. .flow-remark {
  539. font-size: 24rpx;
  540. color: #999999;
  541. background-color: #f5f5f5;
  542. padding: 10rpx;
  543. border-radius: 8rpx;
  544. }
  545. }
  546. }
  547. .no-data {
  548. text-align: center;
  549. padding: 40rpx 0;
  550. font-size: 28rpx;
  551. color: #999999;
  552. }
  553. }
  554. }
  555. .accept-button-container {
  556. padding: 30rpx 30rpx 50rpx;
  557. background-color: #ffffff;
  558. .accept-button {
  559. width: 100%;
  560. height: 80rpx;
  561. background-color: #007aff;
  562. color: #ffffff;
  563. font-size: 32rpx;
  564. border-radius: 16rpx;
  565. border: none;
  566. &:active {
  567. background-color: #0062cc;
  568. }
  569. }
  570. }
  571. .loading-mask {
  572. position: absolute;
  573. top: 0;
  574. left: 0;
  575. right: 0;
  576. bottom: 0;
  577. justify-content: center;
  578. align-items: center;
  579. background-color: rgba(0, 0, 0, 0.3);
  580. .loading-text {
  581. padding: 30rpx 60rpx;
  582. background-color: rgba(0, 0, 0, 0.7);
  583. color: #ffffff;
  584. font-size: 28rpx;
  585. border-radius: 12rpx;
  586. }
  587. }
  588. .picker-modal {
  589. position: fixed;
  590. top: 0;
  591. left: 0;
  592. right: 0;
  593. bottom: 0;
  594. z-index: 1000;
  595. }
  596. .modal-mask {
  597. position: absolute;
  598. top: 0;
  599. left: 0;
  600. right: 0;
  601. bottom: 0;
  602. background-color: rgba(0, 0, 0, 0.5);
  603. }
  604. .modal-content {
  605. position: absolute;
  606. bottom: 0;
  607. left: 0;
  608. right: 0;
  609. background-color: #ffffff;
  610. border-top-left-radius: 16rpx;
  611. border-top-right-radius: 16rpx;
  612. max-height: 700rpx;
  613. }
  614. .modal-header {
  615. flex-direction: row;
  616. justify-content: space-between;
  617. align-items: center;
  618. padding: 30rpx;
  619. border-bottom: 1rpx solid #f0f0f0;
  620. }
  621. .modal-title {
  622. font-size: 32rpx;
  623. font-weight: bold;
  624. color: #333333;
  625. }
  626. .modal-close {
  627. font-size: 28rpx;
  628. color: #007aff;
  629. }
  630. .modal-body {
  631. max-height: 600rpx;
  632. }
  633. .picker-option {
  634. flex-direction: row;
  635. justify-content: space-between;
  636. align-items: center;
  637. padding: 24rpx 30rpx;
  638. border-bottom: 1rpx solid #f0f0f0;
  639. }
  640. .picker-option.selected {
  641. background-color: #f8f9fa;
  642. }
  643. .option-text {
  644. font-size: 28rpx;
  645. color: #333333;
  646. }
  647. .option-check {
  648. font-size: 28rpx;
  649. color: #007aff;
  650. }
  651. .form-picker {
  652. flex: 1;
  653. }
  654. .picker-display {
  655. flex-direction: row;
  656. justify-content: space-between;
  657. align-items: center;
  658. min-height: 40rpx;
  659. }
  660. .selected-value {
  661. font-size: 28rpx;
  662. color: #333333;
  663. }
  664. .placeholder {
  665. font-size: 28rpx;
  666. color: #999999;
  667. }
  668. .arrow {
  669. font-size: 24rpx;
  670. color: #999999;
  671. margin-left: 12rpx;
  672. }
  673. </style>