orders1.vue 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522
  1. <template>
  2. <view class="page">
  3. <!-- 头部区域 -->
  4. <u-sticky zIndex="10072" customNavHeight="0">
  5. <uni-NavBar headerTitle="报价详情" background="#fff" :isSlot="true" :rightSlot="true"
  6. :borderBottom="orderFilterShow?'1rpx solid #eee':'none'">
  7. <template #search>
  8. <view class="order-search dis a-c j-s">
  9. <view @tap="goToSearch" style="flex: 1;">
  10. <u-search placeholder="可使用车牌号查询" v-model="SearchText" bgColor="#f7f7f7"
  11. :showAction="false"></u-search>
  12. </view>
  13. <view class="right-icon dis a-c " @tap="orderFilterShow=!orderFilterShow">
  14. <image src="/static/icon/orders/filterIcon.png" mode=""></image>
  15. <text>筛选</text>
  16. </view>
  17. </view>
  18. </template>
  19. </uni-NavBar>
  20. <!-- 下拉内容(默认隐藏) -->
  21. <view class="dropdown-content" :class="[ { 'show': orderFilterShow }]">
  22. <view class="p-3">
  23. <!-- 筛选条件 -->
  24. <view class="overflow-content">
  25. <view class="filterCriteria-item mb-3">
  26. <text class="title">险种</text>
  27. <view class="options dis a-c f-wrap mt-3">
  28. <view class="options-card dis a-c j-c"
  29. :class="item.value==pageRequest.productid? 'active':''"
  30. v-for="(item,index) in insurance_typeoptions" :key="index"
  31. @click="filterCriteriaClick(item.value,'productid')">
  32. {{item.label}}
  33. </view>
  34. </view>
  35. </view>
  36. <view class="filterCriteria-item mb-3">
  37. <text class="title">录单时间</text>
  38. <view class="options dis a-c f-wrap mt-3">
  39. <view class="options-card dis a-c j-c"
  40. :class="item.value==timespecifications? 'active':''"
  41. v-for="(item,index) in dateList" :key="index" @click="dateclick(item.value)">
  42. {{item.label}}
  43. </view>
  44. </view>
  45. <!-- 自定义时间选择 -->
  46. <view class="customTime mt-3 dis a-c j-s " @click="customDateShow=true">
  47. <view class="item dis a-c j-c">{{pageRequest.startDate|| '起始时间'}}</view>
  48. <text class="line">-</text>
  49. <view class="item dis a-c j-c">{{pageRequest.endDate|| '终止时间'}}</view>
  50. </view>
  51. </view>
  52. <view class="filterCriteria-item mb-3">
  53. <text class="title">保险公司</text>
  54. <view class="options dis a-c f-wrap mt-3" style="grid-template-columns: repeat(3, 1fr);">
  55. <view class="options-card nameSimple dis a-c j-c"
  56. :class="item.id==pageRequest.companyId? 'active':''"
  57. v-for="(item,index) in esmInsCompanyList" :key="index"
  58. @click="filterCriteriaClick(item.id,'companyId')">
  59. <u--text :lines="1" align="center" :text="item.nameSimple" color="#666"
  60. size="14"></u--text>
  61. </view>
  62. </view>
  63. </view>
  64. </view>
  65. <view class="footer dis a-c j-s ">
  66. <view class="btn dis a-c j-c mr-3" @click="clearForm">
  67. 清空
  68. </view>
  69. <view class="btn btns dis a-c j-c" @click="querySearch">
  70. 确定
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. <!-- 下拉遮罩 -->
  76. <view class="overlay-mask" :class="[ { 'show': orderFilterShow }]"
  77. @click="orderFilterShow=!orderFilterShow">
  78. </view>
  79. <view class="tabView">
  80. <u-tabs :list="statusList" @click="tabClick" :current="statusCurrent" :scrollable="true" lineWidth="32"
  81. :activeStyle="{ color: '#333', fontWeight: 'bold' }" :inactiveStyle="{ color: '#999' }"
  82. :itemStyle="{ height: '48rpx' }"></u-tabs>
  83. </view>
  84. </u-sticky>
  85. <!-- 区分两种布局样式 -->
  86. <view class="content-body">
  87. <template v-if="statusCurrent==0">
  88. <view class="orderAll-card" @longpress="bigOrderActionSheet=true" v-for="(item,index) in subPageResult"
  89. :key="index">
  90. <view class="cardAll-header">
  91. <view class="title dis a-c ">
  92. <text class="plateNo">{{item.licenseNo}}</text>
  93. <view class="status-tag dis a-c j-c ml-1" :style="statusColorMatch(item.orderStatus).style">
  94. {{statusColorMatch(item.orderStatus).label}}
  95. </view>
  96. <!-- <text class="company-sum" -->
  97. <!-- v-if="['1','2','6','7'].includes(item.orderStatus)">12家保司可报价</text> -->
  98. </view>
  99. <view class="content dis f-wrap">
  100. <view class="item">
  101. <text>姓名</text>
  102. <text>{{item.ownerName}}</text>
  103. </view>
  104. <view class="item">
  105. <text>投保人</text>
  106. <text>{{item.policyName}}</text>
  107. </view>
  108. <view class="item">
  109. <text>录单时间</text>
  110. <text>{{item.createTime.slice(0,10)}}</text>
  111. </view>
  112. <view class="item">
  113. <text>险种</text>
  114. <text>{{item.productName}}</text>
  115. </view>
  116. </view>
  117. </view>
  118. <view class="cardAll-btn dis a-c j-end ">
  119. <view v-for="(cardAllitem,cardAllindex) in cardAllbtns(item.orderStatus)" :key="cardAllindex"
  120. @click="cardAllbtnChange(cardAllitem.value,item.mainDetails[cardAllitem.value],'ITEM',item)">
  121. <text>{{cardAllitem.label}}</text>
  122. <u-badge v-if="item.mainDetails && item.mainDetails[cardAllitem.value] "
  123. numberType="overflow" :max="99" :value="item.mainDetails[cardAllitem.value].length"
  124. :absolute="true" bgColor="#FF4545" :offset="[-5,-16]"
  125. style="font-size: 18rpx;"></u-badge>
  126. </view>
  127. <view @click="cardAllbtnChangeAll(item.mainDetails,'ALL')">查看全部</view>
  128. </view>
  129. </view>
  130. <u-loadmore v-if="subPageResult.length!=0" :status="substatus" />
  131. </template>
  132. <template v-else>
  133. <view class="orderStatus-card mb-2" v-for="(subPageItem,subPageIndex) in subPageResult"
  134. :key="subPageIndex" @click="orderDetails(subPageItem)">
  135. <view class="header-title dis a-c ">
  136. <image src="/static/image/insuranceicon/dajia.png" class="companyIcon" mode=""></image>
  137. <text class="companyName">{{subPageItem.companyName}}</text>
  138. <view class="dis a-end price" v-if="subPageItem.sumPremium">
  139. <text>¥</text>
  140. <text>{{subPageItem.sumPremium}}</text>
  141. </view>
  142. </view>
  143. <view class="content dis f-wrap">
  144. <view class="item">
  145. <text>车主</text>
  146. <text>{{subPageItem.ownerName}}</text>
  147. </view>
  148. <view class="item">
  149. <text>投保人</text>
  150. <text>{{subPageItem.policyName}}</text>
  151. </view>
  152. <view class="item">
  153. <text>录单时间</text>
  154. <text>{{subPageItem.createTime.slice(0,10)}}</text>
  155. </view>
  156. <view class="item">
  157. <text>险种</text>
  158. <text>{{subPageItem.productName}}</text>
  159. </view>
  160. </view>
  161. <view class="card-footer dis a-c j-s">
  162. <view class="plateNo-tag dis a-c">
  163. <text>{{subPageItem.licenseNo}}</text>
  164. </view>
  165. <view class="dis a-c btns">
  166. <view class="loadMore">
  167. <uni-cloudPopup text="更多" color="#666" size="14"
  168. :buttons="loadMoreButtons(pageRequest.orderStatus)" direction="bottom"
  169. @click="val=>cloudPopupChange(val,subPageItem)"></uni-cloudPopup>
  170. </view>
  171. <view class="btn" @tap.stop="primaryButtonClick(item,subPageItem)"
  172. v-for="(item,index) in primaryButton(pageRequest.orderStatus)" :key="index">
  173. {{item}}
  174. </view>
  175. </view>
  176. </view>
  177. </view>
  178. <u-loadmore v-if="subPageResult.length!=0" :status="substatus" />
  179. </template>
  180. </view>
  181. <!-- 订单轨迹弹窗 -->
  182. <uni-Popup :show="orderTrackingShow" @close='orderTrackingShow=false' headerTitle="订单轨迹" overflow="auto"
  183. maxHeight="1250rpx">
  184. <template #content>
  185. <view class="orderTracking">
  186. <view class=" dis f-c " v-for="(item,index) in orderTrackingList" :key="index">
  187. <view class="trackFlow dis a-c j-s">
  188. <view class="dis a-c ">
  189. <view class="circle mr-2"></view>
  190. <text class="time">{{item.createTime}}</text>
  191. </view>
  192. <image
  193. :src="item.orderTrackingisCollapsed?'/static/icon/orders/collapse.png':'/static/icon/orders/expand.png'"
  194. mode="" @click="toggleCollapse(item)"></image>
  195. </view>
  196. <view class="content">
  197. <text class="actionContent">{{item.createBy}} <text
  198. class="ml-1">{{matchOperationType(item.optType)}}</text> </text>
  199. <view v-if="item.orderTrackingisCollapsed">
  200. <view class="feedbackDetails" v-if="item.status==1">
  201. {{item.result}}
  202. </view>
  203. <view class="updateRecord mt-2" v-if="Array.isArray(item.result)">
  204. <ul>
  205. <li v-for="(resultItem,resultIndex) in item.result" :key="resultIndex">
  206. <text>{{item.createBy}}</text>将<text>{{resultItem.propertyName}}</text>由<text>{{resultItem.oldValue}}</text>修改为<text>{{resultItem.newValue}}</text>
  207. </li>
  208. </ul>
  209. </view>
  210. </view>
  211. </view>
  212. </view>
  213. </view>
  214. </template>
  215. </uni-Popup>
  216. <!-- 子订单状态弹窗 -->
  217. <uni-Popup :show="subOrderStatusModal" @close='subOrderStatusModal=false' :headerSlot="true"
  218. headerTitle="选择出单机构" overflow="auto" maxHeight="1280rpx" class="subOrderStatusModalClass">
  219. <template #header>
  220. <view class="dis a-c j-c">
  221. <text class="plateNo">{{itemInfo.licenseNo}}</text>
  222. <view class="tag">{{itemInfo.productName}}</view>
  223. </view>
  224. </template>
  225. <template #content>
  226. <view class="content">
  227. <view class="status-card dis "
  228. v-if="bigOrderIndicator=='ITEM'? cardAllbtnsIndex==item.statusCode:item.companyOptions!=null"
  229. :style="{borderColor:item.style.cardBorderColor}" v-for="item in subOrderStatusModalList"
  230. :key="item.statusName">
  231. <view class="left-title dis a-c j-c"
  232. :style="{borderColor:item.style.titleBorderColor,background:item.style.titlebg}">
  233. {{item.statusName}}
  234. </view>
  235. <view class="right-company dis f-c">
  236. <view class="item dis a-c " v-for="(companyItem,companyIndex) in item.companyOptions"
  237. :key="companyIndex" @click="subOrderRedirectLogic(item.statusName,companyItem)">
  238. <image class="logo" :src="companyItem.logo" mode=""></image>
  239. <text class="name ml-1">{{companyItem.companyName}}</text>
  240. <view class="getView dis a-c" v-if="['核保中','核保失败','已承保'].includes(item.statusName)">
  241. <text class="mr-1">查看</text>
  242. <u-icon name="arrow-right" color="#666" size="11"></u-icon>
  243. </view>
  244. <view class="getView dis a-c" v-if="['报价失败'].includes(item.statusName)">
  245. <text class="mr-1" style="color: #FFAC1D;">去报价</text>
  246. <u-icon name="arrow-right" color="#FFAC1D" size="11"></u-icon>
  247. </view>
  248. <view class="price dis a-c " v-if="['报价成功','待缴费'].includes(item.statusName)">
  249. <text class="mr-1">{{companyItem.totalPremium || 0}}</text>
  250. <u-icon name="arrow-right" color="#FF540A" size="11"></u-icon>
  251. </view>
  252. </view>
  253. </view>
  254. </view>
  255. </view>
  256. </template>
  257. </uni-Popup>
  258. <!-- 日期组件 -->
  259. <uni-datePicker :contentTabslist="contentTabslist" :show="customDateShow" @close="customDateShow=false"
  260. :quickOptionsShow="false" @customTime="customTime"></uni-datePicker>
  261. <!-- 大订单长按菜单 -->
  262. <u-action-sheet :actions="[{name:'删除订单'}]" cancelText="取消" @close="bigOrderActionSheet=false"
  263. :show="bigOrderActionSheet" :closeOnClickOverlay="false" round="10"
  264. @select="deletebigOrderShow=true"></u-action-sheet>
  265. <!-- 大订单删除订单提示 -->
  266. <uni-PopupMessage :show="deletebigOrderShow" @close='deletebigOrderShow=false'
  267. @cancelEvent='deletebigOrderEvent' headerTitle="提示" @confirmEvent="deletebigOrderShow=false"
  268. cancelText="确认删除" confirmText="关闭">
  269. <template #content>
  270. <view class="dis a-c j-c ">
  271. 确认要删除订单吗
  272. </view>
  273. </template>
  274. </uni-PopupMessage>
  275. <!-- 小订单删除 -->
  276. <uni-PopupMessage :show="deletesubOrderShow" @close='deletesubOrderShow=false'
  277. @cancelEvent='deletesubOrderEvent' headerTitle="提示" @confirmEvent="deletesubOrderShow=false"
  278. cancelText="确认删除" confirmText="关闭">
  279. <template #content>
  280. <view class="dis a-c j-c ">
  281. 确认要删除订单吗
  282. </view>
  283. </template>
  284. </uni-PopupMessage>
  285. </view>
  286. </template>
  287. <script>
  288. import {
  289. mapState,
  290. mapMutations
  291. } from "vuex"
  292. import {
  293. turnBase64Image
  294. } from "../../plugins/utils";
  295. export default {
  296. data() {
  297. return {
  298. cloudPopupName: "", //选中搜索字段名称
  299. fieldName: "", //搜索字段Field
  300. SearchText: "",
  301. contentTabslist: [{
  302. name: "自定义时间"
  303. }],
  304. bigOrderId: "", //大订单id
  305. subOrderId: "", //子订单 id
  306. deletesubOrderShow: false,
  307. deletebigOrderShow: false, //删除订单弹窗
  308. bigOrderActionSheet: false, //大订单长按菜单
  309. customDateShow: false, //日期组件
  310. orderFilterShow: false,
  311. cardAllbtnsIndex: "", //子订单指定状态
  312. subOrderStatusModal: false, //子订单状态弹窗
  313. orderTrackingShow: false, //订单轨迹弹窗
  314. bigOrderIndicator: 'ITEM',
  315. orderStatus: "1", //订单状态
  316. AllorderStatus: "7",
  317. statusCurrent: 0, //状态tabs切换
  318. insurance_typeoptions: [], //险种集合
  319. esmInsCompanyList: [], //保险公司集合
  320. timespecifications: "",
  321. orderTrackingList: [], //订单轨迹数据
  322. pageRequest: { //查询的默认条件
  323. companyId: "",
  324. orderNo: "",
  325. frameNo: "",
  326. insuredName: "",
  327. licenseNo: "",
  328. orderStatus: "",
  329. userId: "",
  330. deptId: "",
  331. endDate: "",
  332. startDate: "",
  333. productid: "",
  334. parentId: '0',
  335. pages: 1,
  336. size: 20,
  337. },
  338. subPageResult: [], //子订单列表
  339. substatus: "loadmore",
  340. subtotalPages: 0, //订单总页数
  341. // 状态列表
  342. statusList: [{
  343. name: "全部",
  344. value: null,
  345. },
  346. {
  347. name: "待核保",
  348. value: 1,
  349. },
  350. {
  351. name: "核保中",
  352. value: 2,
  353. },
  354. {
  355. name: "人工处理",
  356. value: 3,
  357. },
  358. {
  359. name: "待缴费",
  360. value: 4,
  361. },
  362. {
  363. name: "已承保",
  364. value: 5,
  365. }, {
  366. name: "报价失败",
  367. value: 6,
  368. }, {
  369. name: "核保失败",
  370. value: 7,
  371. },
  372. {
  373. label: "订单关闭",
  374. value: 8,
  375. }
  376. ],
  377. // 子订单弹窗综合数据
  378. subOrderStatusModalList: [{
  379. statusName: "报价成功",
  380. statusCode: 1,
  381. style: {
  382. cardBorderColor: '#FFE6B5',
  383. titleBorderColor: '#FFF1D5',
  384. titlebg: '#FFFEF0',
  385. },
  386. companyOptions: [],
  387. },
  388. {
  389. statusName: "报价失败",
  390. statusCode: 6,
  391. style: {
  392. cardBorderColor: '#DBECFF',
  393. titleBorderColor: '#E9F4FF',
  394. titlebg: '#F2F9FF',
  395. },
  396. companyOptions: [],
  397. },
  398. {
  399. statusName: "核保中",
  400. statusCode: 2,
  401. style: {
  402. cardBorderColor: '#FFDDD3',
  403. titleBorderColor: '#FFE8E1',
  404. titlebg: '#FFF6F0',
  405. },
  406. companyOptions: [],
  407. },
  408. {
  409. statusName: "待缴费",
  410. statusCode: 4,
  411. style: {
  412. cardBorderColor: '#FFE8C2',
  413. titleBorderColor: '#FFF0D9',
  414. titlebg: '#FFF9EE',
  415. },
  416. companyOptions: [],
  417. },
  418. {
  419. statusName: "核保失败",
  420. statusCode: 7,
  421. style: {
  422. cardBorderColor: '#FFD9D9',
  423. titleBorderColor: '#FFE5E5',
  424. titlebg: '#FFF8F8',
  425. },
  426. companyOptions: [],
  427. },
  428. {
  429. statusName: "已承保",
  430. statusCode: 5,
  431. style: {
  432. cardBorderColor: '#FFD9D9',
  433. titleBorderColor: '#FFE5E5',
  434. titlebg: '#FFF8F8',
  435. },
  436. companyOptions: [],
  437. }
  438. ],
  439. //日期筛选list
  440. dateList: [{
  441. label: '今日',
  442. value: "今日",
  443. },
  444. {
  445. label: '近7天',
  446. value: 7,
  447. },
  448. {
  449. label: '近30天',
  450. value: '近30天',
  451. },
  452. {
  453. label: '近6个月',
  454. value: '近6个月',
  455. },
  456. ],
  457. scrollTop: 0,
  458. itemInfo: {}, //操作中数据信息
  459. }
  460. },
  461. async onShow() {
  462. this.getDicType("insurance_type"); //车船税类型
  463. await this.esmInsCompany();
  464. await this.getsubOrdersList();
  465. console.log(this.pageRequest);
  466. console.log(this.cloudPopupName);
  467. console.log(this.fieldName);
  468. },
  469. onLoad() {},
  470. onReachBottom() {
  471. if (this.pageRequest.pages >= this.subtotalPages) {
  472. this.substatus = 'nomore';
  473. return
  474. };
  475. this.substatus = 'loading';
  476. this.pageRequest.pages = ++this.pageRequest.pages;
  477. setTimeout(async () => {
  478. let res = await this.$http.post('/supplementOrder/queryList', this.pageRequest);
  479. if (res.code == '200') {
  480. this.subPageResult = [...this.subPageResult, ...res.data.records];
  481. }
  482. if (this.pageRequest.pages >= this.subtotalPages) this.substatus = 'nomore';
  483. else this.substatus = 'loading';
  484. }, 1000)
  485. },
  486. onPageScroll(e) {
  487. this.handleScroll(e);
  488. },
  489. destroyed() {
  490. uni.$off('scroll', this.handleScroll);
  491. },
  492. computed: {
  493. ...mapState(['userInfo'])
  494. },
  495. methods: {
  496. // 订单详情
  497. orderDetails(item) {
  498. switch (item.orderStatus) {
  499. case "1":
  500. case "7":
  501. uni.navigateTo({
  502. url: '/pages/quote/quoteRecordDetail?ordersNo=' + item.orderNo,
  503. })
  504. break;
  505. case "6":
  506. uni.navigateTo({
  507. url: "/pages/quote/premiumCalc1?ordersNo=" + item.orderNo,
  508. })
  509. break;
  510. case "2":
  511. case "4":
  512. case "5":
  513. case "8":
  514. uni.navigateTo({
  515. url: "/pages/quote/quoteDetail?ordersNo=" + item.orderNo,
  516. })
  517. break;
  518. default:
  519. }
  520. },
  521. // 删除大订单
  522. deletebigOrderEvent() {
  523. console.log(1);
  524. },
  525. // 删除子订单
  526. deletesubOrderEvent() {
  527. console.log(1);
  528. },
  529. handleScroll(e) {
  530. this.scrollTop = e.scrollTop;
  531. },
  532. //订单轨迹展开收起
  533. toggleCollapse(item) {
  534. item.orderTrackingisCollapsed = !item.orderTrackingisCollapsed
  535. },
  536. //订单轨迹状态命名
  537. matchOperationType(optType) {
  538. const Operation = {
  539. 0: '订单创建',
  540. 1: '报价',
  541. 2: '补传影像',
  542. 3: '调整特约',
  543. 4: '修改折扣系数',
  544. 5: '核保',
  545. 6: '获取支付码',
  546. 7: '撤销支付码',
  547. 8: '下载电子保单',
  548. 9: '同步订单',
  549. 10: '订单编辑',
  550. }
  551. return Operation[optType] || ''
  552. },
  553. // 子订单列表接口
  554. async getsubOrdersList(page, size) {
  555. if (page) {
  556. this.pageRequest.pages = page;
  557. this.pageRequest.size = size;
  558. }
  559. if (this.statusCurrent == 0) {
  560. this.pageRequest.parentId = '0';
  561. this.pageRequest.isLargeOrder = '1';
  562. } else {
  563. this.pageRequest.parentId = '1';
  564. }
  565. let res = await this.$http.post('/supplementOrder/queryList', this.pageRequest);
  566. if (res.code == '200') {
  567. this.subPageResult = res.data.records;
  568. this.subtotalPages = res.data.pages;
  569. }
  570. },
  571. //日期自定义时间回调
  572. customTime(start, end) {
  573. this.pageRequest.startDate = start;
  574. this.pageRequest.endDate = end;
  575. this.customDateShow = false;
  576. },
  577. // 跳转搜索页
  578. goToSearch() {
  579. let params = {
  580. cloudPopupName: this.cloudPopupName, //选中搜索字段名称
  581. fieldName: this.fieldName, //搜索字段Field
  582. ...this.pageRequest
  583. }
  584. uni.navigateTo({
  585. url: '/pages/orders/orderSearch?search=' + JSON.stringify(params)
  586. })
  587. },
  588. //分页列表查询事件
  589. async querySearch() {
  590. this.orderFilterShow = false;
  591. await this.getsubOrdersList();
  592. },
  593. // 下拉筛选清空操作
  594. clearForm() {
  595. for (let key in this.pageRequest) {
  596. if (key != 'pages' && key != 'size') {
  597. this.pageRequest[key] = "";
  598. }
  599. }
  600. this.timespecifications = null;
  601. },
  602. //日期筛选
  603. dateclick(e) {
  604. this.timespecifications = e;
  605. switch (e) {
  606. case '今日':
  607. this.pageRequest.startDate = this.transformTime();
  608. this.pageRequest.endDate = this.transformTime();
  609. break;
  610. case 7:
  611. this.pageRequest.startDate = this.transformTime(e);
  612. this.pageRequest.endDate = this.transformTime();
  613. break;
  614. case '近30天':
  615. this.pageRequest.startDate = this.transformTime1(1);
  616. this.pageRequest.endDate = this.transformTime();
  617. break;
  618. case '近6个月':
  619. this.pageRequest.startDate = this.transformTime1(6);
  620. this.pageRequest.endDate = this.transformTime();
  621. break;
  622. default:
  623. }
  624. },
  625. // 保险公司列表
  626. async esmInsCompany() {
  627. let commpanykad = await this.$http.get('/supplementOrder/getExistCompany');
  628. if (commpanykad.code == '200') {
  629. this.esmInsCompanyList = [{
  630. nameSimple: "全部",
  631. value: null,
  632. }, ...commpanykad.data];
  633. }
  634. },
  635. // 条件筛选选择
  636. filterCriteriaClick(value, name) {
  637. this.pageRequest[name] = value;
  638. },
  639. // 字典
  640. async getDicType(type) {
  641. let res = await this.$http.get('/dict/get?dictCode=' + type);
  642. if (res.code == 200) {
  643. this[type + 'options'] = [{
  644. label: "全部",
  645. value: null,
  646. }, ...res.data];
  647. }
  648. },
  649. // 子订单弹窗订单跳转逻辑
  650. /**
  651. * @param {string} statusName 订单状态--不同状态区分不同跳转逻辑
  652. * @param {string} item 子订单数据
  653. */
  654. subOrderRedirectLogic(statusName, item) {
  655. console.log(statusName);
  656. switch (statusName) {
  657. case '报价成功':
  658. uni.navigateTo({
  659. url: '/pages/quote/quoteRecordDetail?ordersNo=' + item.id,
  660. })
  661. break;
  662. case '报价失败':
  663. uni.navigateTo({
  664. url: "/pages/quote/premiumCalc1?ordersNo=" + item.id,
  665. })
  666. break;
  667. case '核保中':
  668. case '待缴费':
  669. case '核保失败':
  670. case '已承保':
  671. uni.navigateTo({
  672. url: "/pages/quote/quoteDetail?ordersNo=" + item.id,
  673. })
  674. break;
  675. default:
  676. }
  677. },
  678. // 订单状态颜色匹配
  679. statusColorMatch(orderStatus) {
  680. const STATUS_COLOR = {
  681. 1: {
  682. label: "待核保",
  683. style: {
  684. color: '#FFA719',
  685. background: '#FFF4E1',
  686. border: '1rpx solid #FFA719',
  687. }
  688. },
  689. 2: {
  690. label: "核保中",
  691. style: {
  692. color: '#FF5722',
  693. background: '#FFF4ED',
  694. border: '1rpx solid #FF5722',
  695. }
  696. },
  697. 4: {
  698. label: "待缴费",
  699. style: {
  700. color: '#FF496D',
  701. background: '#FFF1F4',
  702. border: '1rpx solid #FF496D',
  703. }
  704. },
  705. 5: {
  706. label: "已承保",
  707. style: {
  708. color: '#22C2BA',
  709. background: '#E8FFFF',
  710. border: '1rpx solid #22C2BA',
  711. }
  712. },
  713. 6: {
  714. label: "报价失败",
  715. style: {
  716. color: '#0a6cb6',
  717. background: '#deecff',
  718. border: '1rpx solid #0a6cb6',
  719. }
  720. },
  721. 7: {
  722. label: "核保失败",
  723. style: {
  724. color: '#0a6cb6',
  725. background: '#deecff',
  726. border: '1rpx solid #0a6cb6',
  727. }
  728. },
  729. };
  730. return STATUS_COLOR[orderStatus] || [];
  731. },
  732. // 大订单按钮过滤
  733. cardAllbtns(orderStatus) {
  734. const STATUS_BUTTONS = {
  735. 1: [{
  736. label: "报价成功",
  737. value: "1"
  738. }, {
  739. label: "报价失败",
  740. value: "6"
  741. }],
  742. 2: [{
  743. label: "核保中",
  744. value: "2",
  745. }, {
  746. label: "报价成功",
  747. value: "1",
  748. }],
  749. 4: [{
  750. label: "待缴费",
  751. value: "4",
  752. }, {
  753. label: "核保失败",
  754. value: "7",
  755. }, {
  756. label: "报价成功",
  757. value: "1",
  758. }],
  759. 5: [{
  760. label: '已承保',
  761. value: "5",
  762. }],
  763. 6: [{
  764. label: "报价成功",
  765. value: "1",
  766. },
  767. {
  768. label: '报价失败',
  769. value: "6",
  770. }
  771. ],
  772. 7: [{
  773. label: "报价成功",
  774. value: "1",
  775. },
  776. {
  777. label: '报价失败',
  778. value: "6",
  779. }
  780. ],
  781. };
  782. return STATUS_BUTTONS[orderStatus] || [];
  783. },
  784. // 大订单按钮弹窗事件
  785. /**
  786. * @param {Object} value 当前按钮对应的订单状态
  787. * @param {Object} list 该状态下的所有报价记录
  788. */
  789. cardAllbtnChange(value, list, identifier, item) {
  790. this.itemInfo = item;
  791. this.cardAllbtnsIndex = value;
  792. this.bigOrderIndicator = identifier;
  793. this.subOrderStatusModalList.map(val => {
  794. if (val.statusCode == value) {
  795. val.companyOptions = list;
  796. }
  797. return val;
  798. })
  799. this.subOrderStatusModal = true;
  800. },
  801. //查看全部
  802. cardAllbtnChangeAll(item, identifier) {
  803. this.bigOrderIndicator = identifier;
  804. Object.keys(item).forEach(key => {
  805. this.subOrderStatusModalList.map(val => {
  806. if (val.statusCode == key) {
  807. val.companyOptions = item[key];
  808. }
  809. return val;
  810. })
  811. })
  812. this.subOrderStatusModal = true;
  813. },
  814. // 小订单主按钮过滤
  815. primaryButton(orderStatus) {
  816. const STATUS_BUTTONS = {
  817. 1: ['修改信息', '去核保'],
  818. 2: ['订单轨迹'],
  819. 4: ['支付码', '更新状态'],
  820. 5: ['查看电子保单'],
  821. 6: ['查看详情'],
  822. 7: ['查看详情'],
  823. 8: ['查看详情', '重新提核'],
  824. };
  825. return STATUS_BUTTONS[orderStatus] || [];
  826. },
  827. //小订单更多操作按钮过滤
  828. loadMoreButtons(orderStatus) {
  829. const STATUS_BUTTONS = {
  830. 1: ['修改方案', '删除订单', '订单轨迹'],
  831. 2: ['删除订单', '取消核保'],
  832. 4: ['订单轨迹', '删除订单', '撤销支付码'],
  833. 5: ['订单轨迹'],
  834. 6: ['删除订单', '订单轨迹'],
  835. 7: ['删除订单', '订单轨迹'],
  836. 8: ['删除订单', '订单轨迹'],
  837. };
  838. return STATUS_BUTTONS[orderStatus] || [];
  839. },
  840. // tabs状态切换
  841. async tabClick(e) {
  842. if (e.name == '全部') {
  843. this.pageRequest.orderStatus = null;
  844. this.statusCurrent = e.index;
  845. this.pageRequest.parentId = '0';
  846. this.pageRequest.isLargeOrder = '1';
  847. await this.getsubOrdersList(1, 20);
  848. } else {
  849. this.pageRequest.orderStatus = e.value;
  850. this.statusCurrent = e.index;
  851. this.pageRequest.parentId = '1';
  852. delete this.pageRequest.isLargeOrder
  853. await this.getsubOrdersList(1, 20)
  854. }
  855. if (this.scrollTop > 0) {
  856. uni.pageScrollTo({
  857. selector: 'content-body', // 滚动到顶部
  858. duration: 100, // 动画时长(ms)
  859. });
  860. }
  861. },
  862. // 小订单主按钮点击
  863. async primaryButtonClick(name, info) {
  864. console.log(name, info);
  865. switch (name) {
  866. case '修改信息':
  867. uni.navigateTo({
  868. url: "/pages/quote/premiumCalc1?ordersNo=" + info.orderNo,
  869. })
  870. break;
  871. case '去核保':
  872. // 跳转报价详情
  873. uni.navigateTo({
  874. url: '/pages/quote/quoteRecordDetail?ordersNo=' + info.orderNo,
  875. })
  876. break;
  877. case '订单轨迹':
  878. await this.trackOrder(info.orderNo); //订单轨迹接口
  879. break;
  880. case '更新状态':
  881. await this.refreshPayment(info.orderNo) //支付状态刷新
  882. break;
  883. case '支付码':
  884. // 跳转支付码页面
  885. uni.navigateTo({
  886. url: '/pages/quote/paymentCode?ordersNo=' + info.orderNo,
  887. })
  888. break;
  889. case '查看电子保单':
  890. //跳转电子保单页面
  891. uni.navigateTo({
  892. url: '/pages/quote/ePolicy?ordersNo=' + info.orderNo,
  893. })
  894. break;
  895. case '查看详情':
  896. uni.navigateTo({
  897. url: "/pages/quote/quoteDetail?ordersNo=" + info.orderNo,
  898. })
  899. break;
  900. case '重新提核':
  901. // 跳转报价详情
  902. uni.navigateTo({
  903. url: '/pages/quote/quoteRecordDetail?ordersNo=' + info.orderNo,
  904. })
  905. break;
  906. default:
  907. }
  908. },
  909. //更多操作选中
  910. async cloudPopupChange(name, info) {
  911. console.log(name, info);
  912. switch (name) {
  913. case '修改方案':
  914. uni.navigateTo({
  915. url: "/pages/quote/premiumCalc1?ordersNo=" + info.orderNo,
  916. })
  917. break;
  918. case '删除订单':
  919. this.deletesubOrderShow = true;
  920. break;
  921. case '订单轨迹':
  922. await this.trackOrder(info.orderNo); //订单轨迹接口
  923. break;
  924. case '取消核保':
  925. break;
  926. case '撤销支付码':
  927. break;
  928. default:
  929. }
  930. },
  931. //订单轨迹查询
  932. async trackOrder(ordersNo) {
  933. let res = await this.$http.post('/orderTrack/list', {
  934. orderNo: ordersNo
  935. })
  936. if (res.code == 200) {
  937. res.data.map(item => {
  938. item.orderTrackingisCollapsed = false;
  939. })
  940. this.orderTrackingList = res.data;
  941. this.orderTrackingShow = true;
  942. }
  943. },
  944. //支付状态刷新
  945. async refreshPayment(ordersNo) {
  946. let OrderStatus = await this.$http.post('/unify/order/getOrderStatus', {
  947. order: {
  948. ordersNo: ordersNo,
  949. },
  950. });
  951. if (OrderStatus.code == '200') {
  952. uni.showToast({
  953. icon: 'none',
  954. title: OrderStatus.msg,
  955. })
  956. }
  957. },
  958. //当前时间
  959. transformTime(day) {
  960. const date = new Date();
  961. if (day) {
  962. date.setDate(date.getDate() - day);
  963. }
  964. const year = date.getFullYear();
  965. const month = date.getMonth() + 1; // 月份从0开始
  966. const dayOfMonth = date.getDate();
  967. // 格式化月份和日期
  968. const formattedMonth = month < 10 ? `0${month}` : month;
  969. const formattedDay = dayOfMonth < 10 ? `0${dayOfMonth}` : dayOfMonth;
  970. return `${year}-${formattedMonth}-${formattedDay}`;
  971. },
  972. transformTime1(month) {
  973. const date = new Date();
  974. let year = date.getFullYear();
  975. let monthValue = date.getMonth() + 1; // 月份从0开始,所以要+1
  976. let day = date.getDate();
  977. // 处理月份偏移
  978. if (month) {
  979. monthValue -= month;
  980. // 处理跨年情况
  981. while (month < 1) {
  982. monthValue += 12;
  983. year--;
  984. }
  985. // 处理月份超过12的情况
  986. while (monthValue > 12) {
  987. monthValue -= 12;
  988. year++;
  989. }
  990. }
  991. // 格式化月份和日期
  992. const strMonth = monthValue < 10 ? `0${monthValue}` : monthValue;
  993. const strDay = day < 10 ? `0${day}` : day;
  994. return `${year}-${strMonth}-${strDay}`;
  995. },
  996. }
  997. }
  998. </script>
  999. <style lang="scss" scoped>
  1000. page {
  1001. background-color: #f8f8f8;
  1002. }
  1003. .page {
  1004. background-color: #f8f8f8;
  1005. }
  1006. .order-search {
  1007. flex: 1;
  1008. }
  1009. .right-icon {
  1010. image {
  1011. width: 28rpx;
  1012. height: 28rpx;
  1013. margin-left: 20rpx;
  1014. margin-right: 8rpx;
  1015. }
  1016. font-size: 28rpx;
  1017. color: #333;
  1018. }
  1019. .tabView {
  1020. padding: 20rpx 0;
  1021. box-sizing: border-box;
  1022. background-color: #fff;
  1023. }
  1024. .content-body {
  1025. padding: 20rpx 30rpx;
  1026. box-sizing: border-box;
  1027. .orderAll-card {
  1028. background-color: #fff;
  1029. border-radius: 10rpx 10rpx 10rpx 10rpx;
  1030. margin-bottom: 20rpx;
  1031. .cardAll-header {
  1032. padding: 25rpx 20rpx 20rpx;
  1033. box-sizing: border-box;
  1034. .title {
  1035. .plateNo {
  1036. font-size: 32rpx;
  1037. color: #333;
  1038. font-weight: bold;
  1039. }
  1040. .status-tag {
  1041. padding: 2rpx 10rpx;
  1042. box-sizing: border-box;
  1043. background: #E3FBE7;
  1044. border-radius: 20rpx 20rpx 20rpx 0rpx;
  1045. border: 1rpx solid #18B63B;
  1046. color: #18B63B;
  1047. font-size: 22rpx;
  1048. }
  1049. .company-sum {
  1050. font-size: 22rpx;
  1051. color: #999;
  1052. margin-left: auto;
  1053. }
  1054. }
  1055. .content {
  1056. padding: 20rpx;
  1057. box-sizing: border-box;
  1058. gap: 20rpx 0;
  1059. .item {
  1060. width: 50%;
  1061. text:first-child {
  1062. width: 112rpx;
  1063. font-size: 28rpx;
  1064. color: #999;
  1065. display: inline-block;
  1066. }
  1067. text:last-child {
  1068. font-size: 28rpx;
  1069. color: #333;
  1070. margin-left: 20rpx;
  1071. }
  1072. }
  1073. }
  1074. }
  1075. .cardAll-btn {
  1076. padding: 20rpx 30rpx;
  1077. box-sizing: border-box;
  1078. border-top: 1rpx solid #eee;
  1079. gap: 0 70rpx;
  1080. >view {
  1081. position: relative;
  1082. font-size: 28rpx;
  1083. color: #FFAC1D;
  1084. }
  1085. }
  1086. }
  1087. .orderStatus-card {
  1088. background-color: #fff;
  1089. border-radius: 10rpx;
  1090. .header-title {
  1091. padding: 25rpx 20rpx 0;
  1092. box-sizing: border-box;
  1093. .companyIcon {
  1094. width: 40rpx;
  1095. height: 40rpx;
  1096. }
  1097. .companyName {
  1098. font-size: 32rpx;
  1099. color: #333;
  1100. font-weight: bold;
  1101. margin-left: 10rpx;
  1102. }
  1103. .price {
  1104. margin-left: auto;
  1105. text:first-child {
  1106. font-size: 28rpx;
  1107. color: #FF540A;
  1108. font-weight: bold;
  1109. }
  1110. text:last-child {
  1111. font-size: 42rpx;
  1112. color: #FF540A;
  1113. font-weight: bold;
  1114. line-height: 1.2;
  1115. }
  1116. }
  1117. }
  1118. .content {
  1119. padding: 0 20rpx;
  1120. box-sizing: border-box;
  1121. margin-top: 30rpx;
  1122. gap: 20rpx 0;
  1123. .item {
  1124. width: 50%;
  1125. text:first-child {
  1126. width: 112rpx;
  1127. font-size: 28rpx;
  1128. color: #999;
  1129. display: inline-block;
  1130. }
  1131. text:last-child {
  1132. font-size: 28rpx;
  1133. color: #333;
  1134. margin-left: 20rpx;
  1135. }
  1136. }
  1137. }
  1138. .card-footer {
  1139. margin-top: 30rpx;
  1140. padding-right: 20rpx;
  1141. box-sizing: border-box;
  1142. .btns {
  1143. gap: 0 25rpx;
  1144. }
  1145. .plateNo-tag {
  1146. width: 256rpx;
  1147. height: 100rpx;
  1148. // position: absolute;
  1149. // left: 0;
  1150. // bottom: 0;
  1151. background-image: url('../../static/image/plateNoback.png');
  1152. background-size: 100% 100%;
  1153. text {
  1154. font-size: 34rpx;
  1155. color: #333;
  1156. font-weight: bold;
  1157. margin-left: 36rpx;
  1158. }
  1159. }
  1160. .loadMore {
  1161. font-size: 28rpx;
  1162. color: #666;
  1163. }
  1164. .btn {
  1165. padding: 14rpx 20rpx;
  1166. box-sizing: border-box;
  1167. font-size: 28rpx;
  1168. color: #1F1F1F;
  1169. border-radius: 50rpx 50rpx 50rpx 50rpx;
  1170. border: 1rpx solid #DDDDDD;
  1171. line-height: 1;
  1172. }
  1173. .btn:last-child {
  1174. background-color: #FDE935;
  1175. border: 1rpx solid #FDE935;
  1176. }
  1177. }
  1178. }
  1179. }
  1180. .subOrderStatusModalClass {
  1181. .plateNo {
  1182. font-size: 36rpx;
  1183. color: #333;
  1184. font-weight: bold;
  1185. }
  1186. .tag {
  1187. padding: 3rpx 16rpx;
  1188. box-sizing: border-box;
  1189. font-size: 24rpx;
  1190. color: #FF5174;
  1191. font-weight: bold;
  1192. background: #FFEAEE;
  1193. border-radius: 20rpx 20rpx 20rpx 0rpx;
  1194. margin-left: 20rpx;
  1195. }
  1196. .content {
  1197. padding: 40rpx;
  1198. box-sizing: border-box;
  1199. .status-card {
  1200. margin-bottom: 30rpx;
  1201. border-radius: 4rpx 4rpx 4rpx 4rpx;
  1202. border: 1rpx solid #FFD9D9;
  1203. .left-title {
  1204. width: 50rpx;
  1205. padding: 20rpx 12rpx;
  1206. box-sizing: border-box;
  1207. background: #FFF8F8;
  1208. border-radius: 4rpx 0rpx 0rpx 4rpx;
  1209. border-right: 1rpx solid #FFE5E5;
  1210. writing-mode: vertical-rl; //文字竖排
  1211. font-size: 28rpx;
  1212. color: #333;
  1213. }
  1214. .right-company {
  1215. width: 100%;
  1216. height: 100%;
  1217. padding: 30rpx 20rpx 0;
  1218. box-sizing: border-box;
  1219. // gap: 30rpx 0;
  1220. .item {
  1221. margin-bottom: 30rpx;
  1222. }
  1223. .logo {
  1224. width: 36rpx;
  1225. height: 36rpx;
  1226. }
  1227. .name {
  1228. font-size: 30rpx;
  1229. color: #333;
  1230. }
  1231. .getQuote {
  1232. font-size: 28rpx;
  1233. color: #FFAC1D;
  1234. margin-left: auto;
  1235. }
  1236. .getView {
  1237. font-size: 28rpx;
  1238. color: #666;
  1239. margin-left: auto;
  1240. }
  1241. .price {
  1242. font-size: 24rpx;
  1243. color: #FF540A;
  1244. margin-left: auto;
  1245. }
  1246. }
  1247. }
  1248. }
  1249. }
  1250. /* 自定义tab滑块样式 */
  1251. ::v-deep .u-tabs__wrapper__nav__line {
  1252. background: linear-gradient(90deg, #FDE935 10%, rgba(253, 233, 53, 0.1) 100%) !important;
  1253. border-radius: 6rpx;
  1254. }
  1255. /* 下拉内容(绝对定位,默认隐藏) */
  1256. .dropdown-content {
  1257. position: absolute;
  1258. /* 紧贴按钮下方 */
  1259. left: 0;
  1260. right: 0;
  1261. background: white;
  1262. height: 0px;
  1263. overflow: hidden;
  1264. z-index: 100;
  1265. transition: height 0.4s ease;
  1266. border-radius: 0 0 20rpx 20rpx;
  1267. .overflow-content {
  1268. overflow-y: auto;
  1269. height: 926rpx;
  1270. }
  1271. // 筛选条件
  1272. .filterCriteria-item {
  1273. .title {
  1274. flex: 1;
  1275. font-size: 30rpx;
  1276. color: #333;
  1277. font-weight: bold;
  1278. }
  1279. .options {
  1280. display: grid;
  1281. /* 启用网格布局 */
  1282. grid-template-columns: repeat(4, 1fr);
  1283. /* 3 列,每列等宽 */
  1284. grid-template-rows: auto;
  1285. /* 行高自适应 */
  1286. row-gap: 30rpx;
  1287. /* 只设置行间距(上下) */
  1288. column-gap: 20rpx;
  1289. /* 列间距设为 0(可选) */
  1290. }
  1291. .options-card {
  1292. padding: 9rpx 24rpx;
  1293. box-sizing: border-box;
  1294. border-radius: 4rpx 4rpx 4rpx 4rpx;
  1295. border: 1rpx solid #EEEEEE;
  1296. font-size: 28rpx;
  1297. color: #666;
  1298. }
  1299. .active {
  1300. background-color: #FDE935;
  1301. border: 1rpx solid #FDE935;
  1302. color: #333;
  1303. }
  1304. // 自定义日期
  1305. .customTime {
  1306. .item {
  1307. width: 50%;
  1308. padding: 20rpx;
  1309. box-sizing: border-box;
  1310. border-radius: 6rpx 6rpx 6rpx 6rpx;
  1311. border: 1rpx solid #EEEEEE;
  1312. font-size: 28rpx;
  1313. color: #999;
  1314. }
  1315. .line {
  1316. margin: 0 20rpx;
  1317. font-size: 28rpx;
  1318. color: #000;
  1319. }
  1320. }
  1321. }
  1322. .footer {
  1323. position: absolute;
  1324. bottom: 0;
  1325. left: 0;
  1326. right: 0;
  1327. background: #FFFFFF;
  1328. border-radius: 0rpx 0rpx 20rpx 20rpx;
  1329. border-top: 1rpx solid #EEEEEE;
  1330. padding: 30rpx 44rpx;
  1331. box-sizing: border-box;
  1332. .btn {
  1333. padding: 18rpx 30rpx;
  1334. box-sizing: border-box;
  1335. width: 50%;
  1336. border-radius: 50rpx 50rpx 50rpx 50rpx;
  1337. border: 1rpx solid #FDE935;
  1338. font-size: 30rpx;
  1339. color: #333;
  1340. }
  1341. .btns {
  1342. width: 50%;
  1343. background: #FDE935;
  1344. border-radius: 50rpx 50rpx 50rpx 50rpx;
  1345. }
  1346. }
  1347. }
  1348. .dropdown-content.show {
  1349. opacity: 1;
  1350. height: 1126rpx;
  1351. overflow: auto;
  1352. }
  1353. //订单轨迹弹窗
  1354. .orderTracking {
  1355. padding: 30rpx 40rpx;
  1356. box-sizing: border-box;
  1357. .trackFlow {
  1358. .circle {
  1359. width: 20rpx;
  1360. height: 20rpx;
  1361. background: #FDE935;
  1362. border-radius: 20rpx 20rpx 20rpx 20rpx;
  1363. }
  1364. .time {
  1365. font-size: 30rpx;
  1366. color: #999;
  1367. }
  1368. image {
  1369. width: 40rpx;
  1370. height: 40rpx;
  1371. }
  1372. }
  1373. .content {
  1374. padding: 20rpx 0 40rpx 30rpx;
  1375. margin-left: 10rpx;
  1376. border-left: 2rpx dashed #333;
  1377. .actionContent {
  1378. font-size: 30rpx;
  1379. color: #333;
  1380. font-weight: bold;
  1381. }
  1382. .feedbackDetails {
  1383. background-color: #FAFAFA;
  1384. border-radius: 6rpx;
  1385. padding: 30rpx 20rpx;
  1386. box-sizing: border-box;
  1387. font-size: 28rpx;
  1388. margin-top: 20rpx;
  1389. color: #666;
  1390. }
  1391. .updateRecord {
  1392. ul {
  1393. padding-left: 60rpx;
  1394. li {
  1395. margin-top: 20rpx;
  1396. color: #666;
  1397. font-size: 30rpx;
  1398. text {
  1399. color: #333;
  1400. font-weight: bold;
  1401. }
  1402. }
  1403. li::marker {
  1404. color: #333;
  1405. }
  1406. }
  1407. }
  1408. }
  1409. }
  1410. /* 遮罩层(覆盖全屏) */
  1411. .overlay-mask {
  1412. position: fixed;
  1413. top: 0;
  1414. left: 0;
  1415. right: 0;
  1416. bottom: 0;
  1417. background: rgba(0, 0, 0, 0.5);
  1418. display: none;
  1419. /* 默认隐藏 */
  1420. z-index: 99;
  1421. /* 低于下拉内容,高于其他元素 */
  1422. }
  1423. /* 激活状态 */
  1424. .overlay-mask.show {
  1425. display: block;
  1426. }
  1427. </style>