orders1.vue 37 KB

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