orders1.vue 38 KB

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