orders1.vue 37 KB

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