suspendIndex.uvue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750
  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(['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. })
  177. // 选择器选项类型
  178. type PickerOption = {
  179. label: string
  180. value: string
  181. }
  182. // 选中的挂起原因
  183. const suspendReason = ref<string>('')
  184. const selectedReasonIndex = ref<number>(-1)
  185. const suspendReasonOptions = ref<PickerOption[]>([])
  186. const showReasonPicker = ref<boolean>(false)
  187. // 获取负责人列表(使用用户列表接口)
  188. const dictList = async (): Promise<void> => {
  189. try {
  190. const result = await getDictDataByType('gxt_order_suspend_reason')
  191. const resultObj = result as UTSJSONObject
  192. if (resultObj['code'] == 200) {
  193. const data = resultObj['data'] as any[]
  194. const options: PickerOption[] = []
  195. if (data.length > 0) {
  196. for (let i = 0; i < data.length; i++) {
  197. const item = data[i] as UTSJSONObject
  198. let dictItem: SysDictData = {
  199. dictValue: item['dictValue'] as string | null,
  200. dictLabel: item['dictLabel'] as string | null,
  201. dictCode: null,
  202. dictSort: null,
  203. dictType: null,
  204. cssClass: null,
  205. listClass: null,
  206. isDefault: null,
  207. status: null,
  208. default: null,
  209. createTime: null,
  210. remark: null
  211. }
  212. // 构建选择器选项
  213. options.push({
  214. label: dictItem.dictLabel ?? '',
  215. value: dictItem.dictValue ?? ''
  216. })
  217. }
  218. }
  219. suspendReasonOptions.value = options
  220. }
  221. } catch (e: any) {
  222. console.error('获取挂起原因失败:', e.message)
  223. }
  224. }
  225. // 手动选择负责人
  226. const selectLeaderManually = (index: number): void => {
  227. selectedReasonIndex.value = index
  228. if (index >= 0 && index < suspendReasonOptions.value.length) {
  229. const selectedOption = suspendReasonOptions.value[index]
  230. suspendReason.value = selectedOption.label
  231. detailData.value.suspendReason = selectedOption.value
  232. console.log("=======",detailData.value.suspendReason)
  233. }
  234. showReasonPicker.value = false
  235. }
  236. // 获取工单状态字典列表
  237. const loadStatusDictList = async (): Promise<void> => {
  238. try {
  239. const result = await getDictDataByType('gxt_repair_order_flow_action_type')
  240. const resultObj = result as UTSJSONObject
  241. if (resultObj['code'] == 200) {
  242. const data = resultObj['data'] as any[]
  243. const dictData: SysDictData[] = []
  244. if (data.length > 0) {
  245. for (let i = 0; i < data.length; i++) {
  246. const item = data[i] as UTSJSONObject
  247. // 只提取需要的字段
  248. const dictItem: SysDictData = {
  249. dictValue: item['dictValue'] as string | null,
  250. dictLabel: item['dictLabel'] as string | null,
  251. dictCode: null,
  252. dictSort: null,
  253. dictType: null,
  254. cssClass: null,
  255. listClass: null,
  256. isDefault: null,
  257. status: null,
  258. default: null,
  259. createTime: null,
  260. remark: null
  261. }
  262. dictData.push(dictItem)
  263. }
  264. }
  265. statusDictList.value = dictData
  266. dictLoaded.value = true
  267. }
  268. } catch (e: any) {
  269. console.error('获取工单状态字典失败:', e.message)
  270. dictLoaded.value = true
  271. }
  272. }
  273. // 处理接单操作
  274. const handleSuspendOrder = async (): Promise<void> => {
  275. if (suspendReason.value == null || suspendReason.value.trim() === '') {
  276. uni.showToast({
  277. title: '请选择挂起原因',
  278. icon: 'none'
  279. })
  280. return
  281. }
  282. detailData.value.workOrderStatus = 'to_approve'
  283. try {
  284. const result = await suspendOrder(detailData.value)
  285. const resultObj = result as UTSJSONObject
  286. const code = resultObj['code'] as number
  287. if (code == 200) {
  288. uni.showToast({
  289. title: '挂起成功',
  290. icon: 'success'
  291. })
  292. // 使用事件总线通知列表页面刷新
  293. uni.$emit('refreshOrderList', {})
  294. // 接单成功后返回上一页
  295. setTimeout(() => {
  296. uni.navigateBack()
  297. }, 1000)
  298. }
  299. } catch (error) {
  300. console.error('请求失败:', error);
  301. }
  302. }
  303. const loading = ref<boolean>(false)
  304. // 获取操作类型名称
  305. const getActionTypeName = (item: string | null): string | null => {
  306. if (item == null) return ''
  307. // const orderInfoItem = item as orderInfo
  308. const rawStatus = item
  309. if (rawStatus==null) return ''
  310. // 如果字典尚未加载,返回原始值
  311. if (!dictLoaded.value) {
  312. return rawStatus
  313. }
  314. // 查找字典中对应的标签
  315. const dictItem = statusDictList.value.find(dict => dict.dictValue == rawStatus)
  316. return dictItem!=null ? dictItem.dictLabel : rawStatus
  317. }
  318. // 加载详情数据
  319. const loadDetail = async (id: string, orderType?: number): Promise<void> => {
  320. try {
  321. loading.value = true
  322. let result: any;
  323. // 根据orderType决定调用哪个API
  324. if (orderType == 1) {
  325. // 维修工单
  326. result = await getRepairOrderInfoById(id)
  327. } else {
  328. // 维保工单
  329. result = await getOrderInfoById(id)
  330. }
  331. // 提取响应数据
  332. const resultObj = result as UTSJSONObject
  333. const code = resultObj['code'] as number
  334. const data = resultObj['data'] as UTSJSONObject | null
  335. if (code == 200 && data != null) {
  336. // 处理工单流转列表
  337. let workOrderFlowList: WorkOrderFlow[] | null = null
  338. let flowList: UTSJSONObject[] = []
  339. if (orderType == 1) {
  340. // 维修工单
  341. flowList = data['repairOrderFlowList'] as UTSJSONObject[]
  342. } else {
  343. // 维保工单
  344. flowList = data['workOrderFlowList'] as UTSJSONObject[]
  345. }
  346. if (flowList != null) {
  347. workOrderFlowList = []
  348. for (let i = 0; i < flowList.length; i++) {
  349. const flowItem = flowList[i]
  350. const flow: WorkOrderFlow = {
  351. id: flowItem['id'] as Number,
  352. orderId: flowItem['orderId'] as Number,
  353. orderCode: flowItem['orderCode'] as string,
  354. actionType: flowItem['actionType'] as string,
  355. fromStatus: flowItem['fromStatus'] as string | null,
  356. toStatus: flowItem['toStatus'] as string,
  357. operatorId: flowItem['operatorId'] as Number | null,
  358. operatorName: flowItem['operatorName'] as string | null,
  359. actionTime: flowItem['actionTime'] as string,
  360. actionRemark: flowItem['actionRemark'] as string | null,
  361. createBy: flowItem['createBy'] as string | null,
  362. createTime: flowItem['createTime'] as string | null
  363. }
  364. workOrderFlowList.push(flow)
  365. }
  366. }
  367. // 转换数据
  368. const orderDtail: acceptOrderInfo = {
  369. orderType: data['orderType'] as Number,
  370. id: data['id'] as Number,
  371. teamLeaderId: data['teamLeaderId'] != null ? (data['teamLeaderId'] as Number) : 0,
  372. acceptUserId: data['acceptUserId'] != null ? (data['acceptUserId'] as Number) : 0,
  373. teamLeaderName: data['teamLeaderName'] as string | null,
  374. acceptUserName: data['acceptUserName'] as string | null,
  375. acceptTime: data['acceptTime'] as string | null,
  376. assignTime: data['assignTime'] as string | null,
  377. assignUserName: data['assignUserName'] as string | null,
  378. status: (data['status']==null)?0:data['status'] as Number,
  379. workOrderProjectNo: data['workOrderProjectNo'] as string | null,
  380. workOrderStatus: data['workOrderStatus'] as string | null,
  381. gxtCenterId: data['gxtCenterId'] as Number | 0,
  382. gxtCenter: data['gxtCenter'] as string | null,
  383. pcsStationId: data['pcsStationId'] as Number | 0,
  384. pcsStationName: data['pcsStationName'] as string | null,
  385. pcsDeviceId: data['pcsDeviceId'] as Number | 0,
  386. pcsDeviceName: data['pcsDeviceName'] as string | null,
  387. brand: data['brand'] as string | null,
  388. model: data['model'] as string | null,
  389. createTime: data['createTime'] as string | null,
  390. workOrderFlowList: workOrderFlowList,
  391. suspendReason: data['suspendReason'] as string | null,
  392. rejectionReason: data['rejectionReason'] as string | null
  393. }
  394. detailData.value = orderDtail
  395. // 如果工单数据中已有负责人信息,设置到输入框中
  396. if (orderDtail.teamLeaderName != null && orderDtail.teamLeaderName.length > 0) {
  397. teamLeaderName.value = orderDtail.teamLeaderName as string
  398. }
  399. dictList()
  400. } else {
  401. const msg = resultObj['msg'] as string | null
  402. uni.showToast({
  403. title: msg ?? '加载失败',
  404. icon: 'none'
  405. })
  406. }
  407. } catch (e: any) {
  408. uni.showToast({
  409. title: e.message ?? '加载失败',
  410. icon: 'none'
  411. })
  412. } finally {
  413. loading.value = false
  414. }
  415. }
  416. // 页面加载
  417. onLoad((options: any) => {
  418. const params = options as UTSJSONObject
  419. const id = params['id'] as string | null
  420. const orderTypeParam = params['orderType'] as string | null
  421. if (id != null && orderTypeParam != null) {
  422. // 先尝试从参数中获取orderType
  423. const orderTypeNumber = parseInt(orderTypeParam)
  424. loadDetail(id, orderTypeNumber)
  425. }
  426. })
  427. // 初始化
  428. onMounted(() => {
  429. loadStatusDictList()
  430. })
  431. </script>
  432. <style lang="scss">
  433. .detail-page {
  434. flex: 1;
  435. background-color: #e8f0f9;
  436. }
  437. .detail-content {
  438. flex: 1;
  439. padding: 20rpx 0;
  440. }
  441. .info-section {
  442. margin: 0 30rpx 24rpx;
  443. .section-title {
  444. position: relative;
  445. padding-left: 20rpx;
  446. margin-bottom: 20rpx;
  447. &::before {
  448. // content: '';
  449. position: absolute;
  450. left: 0;
  451. top: 50%;
  452. transform: translateY(-50%);
  453. width: 8rpx;
  454. height: 32rpx;
  455. background-color: #007aff;
  456. border-radius: 4rpx;
  457. }
  458. &-text {
  459. font-size: 32rpx;
  460. font-weight: bold;
  461. color: #333333;
  462. }
  463. }
  464. .info-card {
  465. background-color: #ffffff;
  466. border-radius: 16rpx;
  467. padding: 30rpx;
  468. .info-item {
  469. flex-direction: row;
  470. padding: 20rpx 0;
  471. border-bottom: 1rpx solid #f0f0f0;
  472. &:last-child {
  473. border-bottom: none;
  474. }
  475. &.full-width {
  476. flex-direction: column;
  477. .info-label {
  478. margin-bottom: 12rpx;
  479. }
  480. .info-value {
  481. line-height: 44rpx;
  482. }
  483. }
  484. .info-label {
  485. width: 240rpx;
  486. font-size: 28rpx;
  487. color: #666666;
  488. white-space: nowrap;
  489. }
  490. .info-value {
  491. flex: 1;
  492. font-size: 28rpx;
  493. color: #333333;
  494. text-align: right;
  495. &.highlight {
  496. color: #007aff;
  497. font-weight: bold;
  498. }
  499. &.input {
  500. text-align: left;
  501. border: 1rpx solid #e0e0e0;
  502. border-radius: 8rpx;
  503. padding: 10rpx;
  504. }
  505. }
  506. }
  507. .flow-item {
  508. padding: 20rpx 0;
  509. border-bottom: 1rpx solid #f0f0f0;
  510. &:last-child {
  511. border-bottom: none;
  512. }
  513. .flow-header {
  514. flex-direction: row;
  515. justify-content: space-between;
  516. margin-bottom: 10rpx;
  517. .flow-operator {
  518. font-size: 28rpx;
  519. color: #333333;
  520. font-weight: bold;
  521. }
  522. .flow-time {
  523. font-size: 24rpx;
  524. color: #999999;
  525. }
  526. }
  527. .flow-content {
  528. flex-direction: column;
  529. .flow-action {
  530. font-size: 26rpx;
  531. color: #666666;
  532. margin-bottom: 8rpx;
  533. }
  534. .flow-remark {
  535. font-size: 24rpx;
  536. color: #999999;
  537. background-color: #f5f5f5;
  538. padding: 10rpx;
  539. border-radius: 8rpx;
  540. }
  541. }
  542. }
  543. .no-data {
  544. text-align: center;
  545. padding: 40rpx 0;
  546. font-size: 28rpx;
  547. color: #999999;
  548. }
  549. }
  550. }
  551. .accept-button-container {
  552. padding: 30rpx 30rpx 50rpx;
  553. background-color: #ffffff;
  554. .accept-button {
  555. width: 100%;
  556. height: 80rpx;
  557. background-color: #007aff;
  558. color: #ffffff;
  559. font-size: 32rpx;
  560. border-radius: 16rpx;
  561. border: none;
  562. &:active {
  563. background-color: #0062cc;
  564. }
  565. }
  566. }
  567. .loading-mask {
  568. position: absolute;
  569. top: 0;
  570. left: 0;
  571. right: 0;
  572. bottom: 0;
  573. justify-content: center;
  574. align-items: center;
  575. background-color: rgba(0, 0, 0, 0.3);
  576. .loading-text {
  577. padding: 30rpx 60rpx;
  578. background-color: rgba(0, 0, 0, 0.7);
  579. color: #ffffff;
  580. font-size: 28rpx;
  581. border-radius: 12rpx;
  582. }
  583. }
  584. .picker-modal {
  585. position: fixed;
  586. top: 0;
  587. left: 0;
  588. right: 0;
  589. bottom: 0;
  590. z-index: 1000;
  591. }
  592. .modal-mask {
  593. position: absolute;
  594. top: 0;
  595. left: 0;
  596. right: 0;
  597. bottom: 0;
  598. background-color: rgba(0, 0, 0, 0.5);
  599. }
  600. .modal-content {
  601. position: absolute;
  602. bottom: 0;
  603. left: 0;
  604. right: 0;
  605. background-color: #ffffff;
  606. border-top-left-radius: 16rpx;
  607. border-top-right-radius: 16rpx;
  608. max-height: 700rpx;
  609. }
  610. .modal-header {
  611. flex-direction: row;
  612. justify-content: space-between;
  613. align-items: center;
  614. padding: 30rpx;
  615. border-bottom: 1rpx solid #f0f0f0;
  616. }
  617. .modal-title {
  618. font-size: 32rpx;
  619. font-weight: bold;
  620. color: #333333;
  621. }
  622. .modal-close {
  623. font-size: 28rpx;
  624. color: #007aff;
  625. }
  626. .modal-body {
  627. max-height: 600rpx;
  628. }
  629. .picker-option {
  630. flex-direction: row;
  631. justify-content: space-between;
  632. align-items: center;
  633. padding: 24rpx 30rpx;
  634. border-bottom: 1rpx solid #f0f0f0;
  635. }
  636. .picker-option.selected {
  637. background-color: #f8f9fa;
  638. }
  639. .option-text {
  640. font-size: 28rpx;
  641. color: #333333;
  642. }
  643. .option-check {
  644. font-size: 28rpx;
  645. color: #007aff;
  646. }
  647. .form-picker {
  648. flex: 1;
  649. }
  650. .picker-display {
  651. flex-direction: row;
  652. justify-content: space-between;
  653. align-items: center;
  654. min-height: 40rpx;
  655. }
  656. .selected-value {
  657. font-size: 28rpx;
  658. color: #333333;
  659. }
  660. .placeholder {
  661. font-size: 28rpx;
  662. color: #999999;
  663. }
  664. .arrow {
  665. font-size: 24rpx;
  666. color: #999999;
  667. margin-left: 12rpx;
  668. }
  669. </style>