incidentDetail.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660
  1. <template>
  2. <view class="incidentDetail">
  3. <view class="head">
  4. <view class="tab" :class="{active: tab.value === dataInfo.tabActiveValue}" v-for="tab in dataInfo.tabs" :key="tab.id" @click="clickTab(tab.value)">
  5. {{tab.name}}<text v-if="tab.num !== ''">({{tab.num}})</text>
  6. </view>
  7. </view>
  8. <scroll-view scroll-y class="body">
  9. <!-- 工单信息 -->
  10. <template v-if="dataInfo.tabActiveValue === '1'">
  11. <view class="detail_head">
  12. <text class="title">报修信息</text>
  13. <view class="other">
  14. <text class="priority" :style="priorityStyle(dataInfo.incidentData.priority)">{{dataInfo.incidentData.priority ? dataInfo.incidentData.priority.name + ' ' : ''}}</text>
  15. <view class="status" :style="stateStyle(dataInfo.incidentData.state)">{{dataInfo.incidentData.state ? dataInfo.incidentData.state.name : ''}}</view>
  16. </view>
  17. </view>
  18. <view class="detail_item_wrap">
  19. <view class="deital_item">
  20. <text class="name">单号:</text>
  21. <text class="value">{{dataInfo.incidentData.incidentsign || '无'}}</text>
  22. </view>
  23. <view class="deital_item">
  24. <text class="name">故障现象:</text>
  25. <text class="value">{{dataInfo.incidentData.category ? dataInfo.incidentData.category.mutiCategory : '无'}}</text>
  26. </view>
  27. <view class="deital_item">
  28. <text class="name">故障描述:</text>
  29. <text class="value">{{dataInfo.incidentData.description || '无'}}</text>
  30. </view>
  31. <view class="deital_item">
  32. <text class="name">报修图片:</text>
  33. <view class="value img">
  34. <image class="imgItem" :src="img.previewUrl" mode="aspectFill" v-for="(img, i) in dataInfo.repairImgs" :key="i" @click="previewImg(i, 'repairImgs')"></image>
  35. </view>
  36. </view>
  37. <view class="deital_item">
  38. <text class="name">联系人:</text>
  39. <text class="value">{{dataInfo.incidentData.contacts || '无'}}</text>
  40. <text v-if="dataInfo.incidentData.contactsInformation" @click="makePhoneCall(dataInfo.incidentData.contactsInformation)">{{dataInfo.incidentData.contactsInformation}}<uni-icons type="phone-filled" class="phone-filled" :size="18" :color="primaryColor"></uni-icons></text>
  41. </view>
  42. <view class="deital_item">
  43. <text class="name">来电电话:</text>
  44. <view class="value" @click="makePhoneCall(dataInfo.incidentData.incomingPhone)" v-if="dataInfo.incidentData.incomingPhone">{{dataInfo.incidentData.incomingPhone}}<uni-icons type="phone-filled" class="phone-filled" :size="18" :color="primaryColor"></uni-icons></view>
  45. <text class="value" v-else>无</text>
  46. <uni-icons v-if="dataInfo.incidentData.callID" @click="attachmentClick" type="mic-filled" class="mic-filled" :size="22" :color="primaryColor"></uni-icons>
  47. </view>
  48. <view class="deital_item">
  49. <text class="name">报修科室:</text>
  50. <text class="value">{{dataInfo.incidentData.department ? dataInfo.incidentData.department.dept : '无'}}</text>
  51. </view>
  52. <view class="deital_item">
  53. <text class="name">详细地址:</text>
  54. <text class="value" v-if="dataInfo.incidentData.place || dataInfo.incidentData.houseNumber">{{dataInfo.incidentData.place ? (dataInfo.incidentData.place.area.area + dataInfo.incidentData.place.place) : ''}}{{dataInfo.incidentData.houseNumber || ''}}</text>
  55. <text class="value" v-else>无</text>
  56. </view>
  57. <view class="deital_item">
  58. <text class="name">报修人:</text>
  59. <text class="value">{{dataInfo.incidentData.requester ? dataInfo.incidentData.requester.name : '无'}}</text>
  60. </view>
  61. <view class="deital_item">
  62. <text class="name">预约维修时间:</text>
  63. <text class="value">{{dataInfo.incidentData.yyTime || '无'}}</text>
  64. </view>
  65. <view class="deital_item">
  66. <text class="name">受理人:</text>
  67. <text class="value">{{dataInfo.incidentData.acceptUser ? dataInfo.incidentData.acceptUser.name : '无'}}</text>
  68. </view>
  69. <view class="deital_item">
  70. <text class="name">登记时间:</text>
  71. <text class="value">{{formatDate(dataInfo.incidentData.acceptDate, 'yyyy-MM-dd HH:mm')}}</text>
  72. </view>
  73. <view class="deital_item">
  74. <text class="name">逾期解决时间:</text>
  75. <text class="value">{{formatDate(dataInfo.incidentData.overdueTime, 'yyyy-MM-dd HH:mm')}}</text>
  76. </view>
  77. </view>
  78. <view class="detail_head">
  79. <text class="title">处理信息</text>
  80. </view>
  81. <view class="detail_item_wrap">
  82. <view class="deital_item">
  83. <text class="name">处理方式:</text>
  84. <text class="value">{{dataInfo.incidentData.handleCategory ? dataInfo.incidentData.handleCategory.name : '无'}}</text>
  85. <text class="value">处理结果:{{dataInfo.incidentData.closecode ? dataInfo.incidentData.closecode.name : '无'}}</text>
  86. </view>
  87. <view class="deital_item">
  88. <text class="name">处理人:</text>
  89. <text class="value" v-if="dataInfo.incidentData.state.value == 'pending' && dataInfo.incidentData.currentLog">{{dataInfo.incidentData.currentLog.workerName}}<text @click="makePhoneCall(dataInfo.incidentData.currentLog.workerPhone)" v-if="dataInfo.incidentData.currentLog.workerPhone">({{dataInfo.incidentData.currentLog.workerPhone}})<uni-icons type="phone-filled" class="phone-filled" :size="18" :color="primaryColor"></uni-icons></text></text>
  90. <text class="value" v-else-if="dataInfo.incidentData.state.value != 'pending' && dataInfo.incidentData.handlingPersonnelUser">{{dataInfo.incidentData.handlingPersonnelUser.name}}<text @click="makePhoneCall(dataInfo.incidentData.handlingPersonnelUser.phone)" v-if="dataInfo.incidentData.handlingPersonnelUser.phone">({{dataInfo.incidentData.handlingPersonnelUser.phone}})<uni-icons type="phone-filled" class="phone-filled" :size="18" :color="primaryColor"></uni-icons></text></text>
  91. <text class="value" v-else>无</text>
  92. </view>
  93. <view class="deital_item">
  94. <text class="name">处理方案:</text>
  95. <text class="value">{{dataInfo.incidentData.handleDescription || '无'}}</text>
  96. </view>
  97. <view class="deital_item">
  98. <text class="name">处理图片:</text>
  99. <view class="value img">
  100. <image class="imgItem" :src="img.previewUrl" mode="aspectFill" v-for="(img, i) in dataInfo.handlerImgs" :key="i" @click="previewImg(i, 'handlerImgs')"></image>
  101. </view>
  102. </view>
  103. <view class="deital_item">
  104. <text class="name">维修总价:</text>
  105. <text class="value">{{dataInfo.incidentData.rsPrice === undefined ? '无' : dataInfo.incidentData.rsPrice + '元'}}</text>
  106. </view>
  107. <view class="deital_item">
  108. <text class="name">协同人:</text>
  109. <text class="value">{{dataInfo.incidentData.synergetic.length ? dataInfo.incidentData.synergetic.map(v => v.name).join(',') : '无'}}</text>
  110. </view>
  111. </view>
  112. </template>
  113. <!-- 维修汇总单 -->
  114. <template v-if="dataInfo.tabActiveValue === '2'">
  115. <view class="detail_head">
  116. <text class="title">耗材清单</text>
  117. </view>
  118. <view class="summaryItem_bodyItem" v-for="item in dataInfo.summaryObj.consumableList" :key="item.id">
  119. <view class="summaryItem_bodyItem_top">
  120. <text class="name ellipsis">{{ item.consumableName }}({{ item.consumableBrandModel }})</text>
  121. <text class="value">{{ item.consumableEndPrice }}元</text>
  122. </view>
  123. <view class="summaryItem_bodyItem_bottom">
  124. <text class="name">x{{ item.consumablesNum }}</text>
  125. <text class="value">总价{{item.consumablesNum * item.consumableEndPrice}}元</text>
  126. </view>
  127. </view>
  128. <view class="summaryItem_bodyItem_total">耗材总价:{{dataInfo.summaryObj.consumablePrice}}元</view>
  129. <view class="detail_head">
  130. <text class="title">工时清单</text>
  131. </view>
  132. <view class="summaryItem_bodyItem" v-for="item in dataInfo.summaryObj.workHourManagementList" :key="item.id">
  133. <view class="summaryItem_bodyItem_top">
  134. <text class="name ellipsis">{{ item.workName }}</text>
  135. <text class="value">{{ item.wage }}元</text>
  136. </view>
  137. <view class="summaryItem_bodyItem_bottom">
  138. <text class="name">x{{ item.workHourNum2 }}{{ item.workUnit }}</text>
  139. <text class="value">总价{{item.workHourNum2 * item.wage}}元</text>
  140. </view>
  141. </view>
  142. <view class="summaryItem_bodyItem_total">工时总价:{{dataInfo.summaryObj.workHourPrice}}元</view>
  143. <view class="summaryItem_total">汇总单总价:{{dataInfo.summaryObj.totalMaintenancePrice}}元</view>
  144. </template>
  145. <!-- 处理流程 -->
  146. <template v-if="dataInfo.tabActiveValue === '3'">
  147. <view class="process_item_wrap">
  148. <view class="process_item" v-for="item in dataInfo.incidentLogList" :key="item.id">
  149. <view class="process_item_top">
  150. <text class="name">{{item.logType ? item.logType.name : ''}}</text>
  151. <text class="value ellipsis" v-if="item.remark">({{item.remark}})</text>
  152. </view>
  153. <view class="process_item_bottom">
  154. <text class="name">{{formatDate(item.startTime, 'yyyy-MM-dd HH:mm:ss')}}</text>
  155. <text class="value" v-if="item.appointorName">{{item.appointorName}}</text>
  156. </view>
  157. </view>
  158. </view>
  159. </template>
  160. <!-- 评价信息 -->
  161. <template v-if="dataInfo.tabActiveValue === '4'">
  162. <view class="detail_head">
  163. <text class="title">评价信息</text>
  164. </view>
  165. <view class="appraise_detail" v-for="item in dataInfo.resolveLogs" :key="item.id">
  166. <view class="appraise_detail_top">
  167. <text>{{formatDate(item.startTime, 'yyyy-MM-dd HH:mm:ss')}}</text>
  168. <view v-if="dataInfo.incidentData.wxdegree">
  169. <uni-rate readonly :value="dataInfo.incidentData.wxdegree.value" />
  170. </view>
  171. </view>
  172. <view class="appraise_detail_bottom">
  173. <text>{{item.remark}}</text>
  174. </view>
  175. </view>
  176. <view class="detail_head">
  177. <text class="title">回访信息</text>
  178. </view>
  179. <view class="appraise_detail" v-for="item in dataInfo.callbackLogs" :key="item.id">
  180. <view class="appraise_detail_top">
  181. <text>{{formatDate(item.startTime, 'yyyy-MM-dd HH:mm:ss')}}</text>
  182. <text v-if="dataInfo.incidentData.degree">{{dataInfo.incidentData.degree.name}}</text>
  183. </view>
  184. <view class="appraise_detail_bottom">
  185. <text>{{item.remark}}</text>
  186. </view>
  187. </view>
  188. </template>
  189. </scroll-view>
  190. <view class="foot_common_btns">
  191. <button @click="goBack" type="default" class="primaryButton btn">返回</button>
  192. </view>
  193. <IncidentAttachment v-if="dataInfo.isAttachment" @knowEmit="knowAttachment" :incidentData="dataInfo.incidentData"></IncidentAttachment>
  194. </view>
  195. </template>
  196. <script setup>
  197. import { ref, reactive } from 'vue'
  198. import IncidentAttachment from '@/components/IncidentAttachment.vue';
  199. import { onLoad } from '@dcloudio/uni-app'
  200. import { api_listAttachment, api_incidentDetail, api_querySummaryDoc, api_incidentLog } from "@/http/api.js"
  201. import { defaultColor } from '@/static/js/theme.js'
  202. import { useSetTitle } from '@/share/useSetTitle.js'
  203. import { useMakePhoneCall } from '@/share/useMakePhoneCall.js'
  204. import { useGoBack } from '@/share/useGoBack.js'
  205. import { useLoginUserStore } from '@/stores/loginUser'
  206. import { computedPriorityStyle } from '@/filters/computedPriorityStyle.js'
  207. import { computedStateStyle } from '@/filters/computedStateStyle.js'
  208. import { filterFormatDate } from '@/filters/filterFormatDate.js'
  209. useSetTitle();
  210. const loginUserStore = useLoginUserStore();
  211. const { makePhoneCall } = useMakePhoneCall();
  212. const { goBack } = useGoBack();
  213. const { priorityStyle } = computedPriorityStyle();
  214. const { stateStyle } = computedStateStyle();
  215. const { formatDate } = filterFormatDate();
  216. // 主题颜色
  217. const primaryColor = ref(defaultColor)
  218. // 数据
  219. const dataInfo = reactive({
  220. tabs: [
  221. {id: 1, name: '工单信息', value: '1', num: ''},
  222. // {id: 2, name: '维修汇总单', value: '2', num: ''},
  223. {id: 3, name: '处理流程', value: '3', num: ''},
  224. {id: 4, name: '评价信息', value: '4', num: ''},
  225. ],
  226. tabActiveValue: 0,//当前选择的tab
  227. incidentId: undefined,//事件ID
  228. incidentData: {},//事件对象
  229. repairImgs: [],//报修图片
  230. handlerImgs: [],//处理图片
  231. summaryObj: {
  232. consumableList: [],//耗材列表
  233. workHourManagementList: [],//工时列表
  234. },//汇总单信息
  235. incidentLogList: [],//流程列表
  236. resolveLogs: [],//评价
  237. callbackLogs: [],//回访
  238. isAttachment: false,//录音开关
  239. })
  240. // 点击录音
  241. function attachmentClick(){
  242. dataInfo.isAttachment = true;
  243. }
  244. // 知道了录音
  245. function knowAttachment(){
  246. dataInfo.isAttachment = false;
  247. }
  248. // 获取汇总单信息
  249. function getSummaryList(){
  250. uni.showLoading({
  251. title: "加载中",
  252. mask: true,
  253. });
  254. let postData = {
  255. "incidentId": dataInfo.incidentId,
  256. };
  257. api_querySummaryDoc(postData).then(res => {
  258. uni.hideLoading();
  259. if(res.status == 200){
  260. dataInfo.summaryObj = {...{consumableList:[], workHourManagementList: []}, ...res };
  261. }else{
  262. uni.showToast({
  263. icon: 'none',
  264. title: res.msg || '请求数据失败!'
  265. });
  266. }
  267. })
  268. }
  269. // 获取流程列表
  270. function getIncidentLogList(){
  271. uni.showLoading({
  272. title: "加载中",
  273. mask: true,
  274. });
  275. let postData = {
  276. "idx": 0,
  277. "sum": 9999,
  278. "incidentLog": {
  279. "incidentId": dataInfo.incidentId,
  280. }
  281. };
  282. api_incidentLog(postData).then(res => {
  283. uni.hideLoading();
  284. if(res.status == 200){
  285. let incidentLogList = res.list || [];
  286. dataInfo.incidentLogList = incidentLogList;
  287. }else{
  288. uni.showToast({
  289. icon: 'none',
  290. title: res.msg || '请求数据失败!'
  291. });
  292. }
  293. })
  294. }
  295. // 预览图片
  296. function previewImg(index, type){
  297. uni.previewImage({
  298. current: index,
  299. urls: dataInfo[type].map(v => v.previewUrl),
  300. longPressActions: {
  301. itemList: ['发送给朋友', '保存图片', '收藏'],
  302. success: function(data) {
  303. console.log('选中了第' + (data.tapIndex + 1) + '个按钮,第' + (data.index + 1) + '张图片');
  304. },
  305. fail: function(err) {
  306. console.log(err.errMsg);
  307. }
  308. }
  309. });
  310. }
  311. // 初始化表单
  312. function initForm(){
  313. if(dataInfo.tabActiveValue === '1'){
  314. getRepairImgs();
  315. getHandlerImgs();
  316. }else if(dataInfo.tabActiveValue === '2'){
  317. getSummaryList();
  318. }else if(dataInfo.tabActiveValue === '3'){
  319. getIncidentLogList();
  320. }else if(dataInfo.tabActiveValue === '4'){
  321. }
  322. }
  323. // 点击tab
  324. function clickTab(tabValue){
  325. if(dataInfo.tabActiveValue == tabValue){
  326. return;
  327. }
  328. dataInfo.tabActiveValue = tabValue;
  329. initForm()
  330. }
  331. // 获取事件详情
  332. function getIncidentDetail(){
  333. uni.showLoading({
  334. title: "加载中",
  335. mask: true,
  336. });
  337. api_incidentDetail(dataInfo.incidentId).then(res => {
  338. uni.hideLoading();
  339. if(res.status == 200){
  340. dataInfo.incidentData = res.data || {};
  341. let logs = dataInfo.incidentData.logs || [];
  342. dataInfo.resolveLogs = logs.filter(v => v.logType.value == 'resolve').slice(0, 1);
  343. dataInfo.callbackLogs = logs.filter(v => v.logType.value == 'callback').slice(0, 1);
  344. // 维修汇总单
  345. if(dataInfo.incidentData.state.value == 'close' && dataInfo.incidentData.duty.addSummary == 1 && dataInfo.incidentData.repairSummary == 1){
  346. let flag = dataInfo.tabs.some(v => v.value === '2');
  347. !flag && dataInfo.tabs.splice(1, 0, {id: 2, name: '维修汇总单', value: '2', num: ''});
  348. }
  349. dataInfo.tabActiveValue = dataInfo.tabs[0].value;
  350. initForm()
  351. }else{
  352. uni.showToast({
  353. icon: 'none',
  354. title: res.msg || '请求数据失败!'
  355. });
  356. }
  357. })
  358. }
  359. // 获取报修图片
  360. function getRepairImgs(){
  361. uni.showLoading({
  362. title: "加载中",
  363. mask: true,
  364. });
  365. api_listAttachment('wechatRequesterIncident', dataInfo.incidentId).then(res => {
  366. uni.hideLoading();
  367. res.data = res.data || [];
  368. res.data.forEach(v => {
  369. v.previewUrl = location.origin + "/file" + v.relativeFilePath;
  370. })
  371. dataInfo.repairImgs = res.data;
  372. })
  373. }
  374. // 获取处理图片
  375. function getHandlerImgs(){
  376. uni.showLoading({
  377. title: "加载中",
  378. mask: true,
  379. });
  380. api_listAttachment('incident', dataInfo.incidentId).then(res => {
  381. uni.hideLoading();
  382. res.data = res.data || [];
  383. res.data.forEach(v => {
  384. v.previewUrl = location.origin + "/file" + v.relativeFilePath;
  385. })
  386. dataInfo.handlerImgs = res.data;
  387. })
  388. }
  389. onLoad((option) => {
  390. dataInfo.incidentId = option.incidentId;
  391. getIncidentDetail();
  392. })
  393. </script>
  394. <style lang="scss" scoped>
  395. .incidentDetail{
  396. height: 100%;
  397. display: flex;
  398. flex-direction: column;
  399. justify-content: space-between;
  400. .head{
  401. height: 88rpx;
  402. display: flex;
  403. position: fixed;
  404. z-index: 99;
  405. width: 100%;
  406. background-color: #fff;
  407. font-size: 30rpx;
  408. .tab{
  409. flex: 1;
  410. display: flex;
  411. justify-content: center;
  412. align-items: center;
  413. border-bottom: 4rpx solid transparent;
  414. position: relative;
  415. &:last-of-type{
  416. &:after{
  417. display: none;
  418. }
  419. }
  420. &:after{
  421. content: '';
  422. position: absolute;
  423. right: 0;
  424. top: 50%;
  425. transform: translateY(-50%);
  426. width: 1rpx;
  427. height: 44rpx;
  428. background-color: #515151;
  429. }
  430. &.active{
  431. color: $uni-primary;
  432. border-color: $uni-primary;
  433. }
  434. }
  435. }
  436. .body{
  437. margin-top: 88rpx;
  438. box-sizing: border-box;
  439. flex: 1;
  440. min-height: 0;
  441. border-top: 7rpx solid #EBEBEB;
  442. .phone-filled{
  443. margin-left: 5rpx;
  444. }
  445. .mic-filled{
  446. margin-right: 100rpx;
  447. }
  448. .detail_item_wrap{
  449. padding-bottom: 24rpx;
  450. }
  451. .detail_head{
  452. padding: 24rpx;
  453. border-top: 1rpx solid #D2D2D2;
  454. border-bottom: 1rpx solid #D2D2D2;
  455. display: flex;
  456. justify-content: space-between;
  457. align-items: center;
  458. &:first-of-type{
  459. border-top: none;
  460. }
  461. .title{
  462. font-size: 26rpx;
  463. color: $uni-primary;
  464. padding-left: 18rpx;
  465. position: relative;
  466. &:before{
  467. content: '';
  468. width: 8rpx;
  469. height: 25rpx;
  470. background-color: $uni-primary;
  471. position: absolute;
  472. left: 0;
  473. top: 50%;
  474. transform: translateY(-50%);
  475. }
  476. }
  477. .other{
  478. display: flex;
  479. align-items: center;
  480. .priority{
  481. font-size: 26rpx;
  482. margin-right: 15rpx;
  483. }
  484. .status{
  485. padding: 4rpx 10rpx;
  486. border-radius: 20rpx;
  487. background-color: #DBE8FE;
  488. font-size: 22rpx;
  489. color: #006CF9;
  490. }
  491. }
  492. }
  493. .deital_item{
  494. font-size: 26rpx;
  495. color: #555;
  496. padding: 24rpx 24rpx 0;
  497. display: flex;
  498. align-items: center;
  499. .name{
  500. width: 7em;
  501. margin-right: 24rpx;
  502. }
  503. .value{
  504. flex: 1;
  505. word-break: break-all;
  506. &.img{
  507. display: flex;
  508. .imgItem{
  509. width: 82rpx;
  510. height: 82rpx;
  511. margin-right: 24rpx;
  512. &:last-of-type{
  513. margin-right: 0;
  514. }
  515. }
  516. }
  517. }
  518. }
  519. .summaryItem_bodyItem{
  520. padding: 24rpx 24rpx 0;
  521. font-size: 26rpx;
  522. .summaryItem_bodyItem_top{
  523. display: flex;
  524. justify-content: space-between;
  525. align-items: center;
  526. .value{
  527. padding-left: 48rpx;
  528. flex-shrink: 0;
  529. }
  530. }
  531. .summaryItem_bodyItem_bottom{
  532. margin-top: 24rpx;
  533. display: flex;
  534. justify-content: space-between;
  535. align-items: center;
  536. .name{
  537. text-align: right;
  538. flex: 1;
  539. }
  540. .value{
  541. width: 220rpx;
  542. text-align: right;
  543. flex-shrink: 0;
  544. }
  545. }
  546. }
  547. .summaryItem_bodyItem_total{
  548. text-align: right;
  549. padding: 24rpx;
  550. font-size: 26rpx;
  551. }
  552. .summaryItem_total{
  553. text-align: center;
  554. padding-top: 24rpx;
  555. font-size: 32rpx;
  556. font-weight: bold;
  557. color: $uni-primary;
  558. border-top: 1rpx solid #D2D2D2;
  559. }
  560. .process_item_wrap{
  561. padding: 38rpx;
  562. .process_item{
  563. &:last-of-type{
  564. .process_item_bottom{
  565. border-left: none;
  566. }
  567. }
  568. .process_item_top{
  569. padding-left: 30rpx;
  570. display: flex;
  571. align-items: center;
  572. position: relative;
  573. &:before{
  574. content: '';
  575. position: absolute;
  576. left: -13rpx;
  577. top: 50%;
  578. width: 26rpx;
  579. height: 26rpx;
  580. border-radius: 50%;
  581. background-color: $uni-primary;
  582. transform: translateY(-50%);
  583. }
  584. .name{
  585. font-size: 30rpx;
  586. }
  587. .value{
  588. margin-left: 20rpx;
  589. font-size: 24rpx;
  590. color: #A1A1A1;
  591. }
  592. }
  593. .process_item_bottom{
  594. min-height: 82rpx;
  595. border-left: 1rpx solid #B7BDC6;
  596. margin-top: 5rpx;
  597. padding-left: 30rpx;
  598. display: flex;
  599. font-size: 24rpx;
  600. color: #A1A1A1;
  601. .value{
  602. margin-left: 20rpx;
  603. }
  604. }
  605. }
  606. }
  607. .appraise_detail{
  608. padding: 24rpx 24rpx 24rpx 40rpx;
  609. .appraise_detail_top{
  610. display: flex;
  611. align-items: center;
  612. justify-content: space-between;
  613. font-size: 26rpx;
  614. .name{
  615. color: #A1A1A1;
  616. }
  617. .value{}
  618. }
  619. .appraise_detail_bottom{
  620. font-size: 30rpx;
  621. margin-top: 24rpx;
  622. word-break: break-all;
  623. }
  624. }
  625. }
  626. }
  627. </style>