orders1.vue 38 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544
  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. 3: {
  705. label: "人工处理",
  706. style: {
  707. color: '#FF5722',
  708. background: '#FFF4ED',
  709. border: '1rpx solid #FF5722',
  710. }
  711. },
  712. 4: {
  713. label: "待缴费",
  714. style: {
  715. color: '#FF496D',
  716. background: '#FFF1F4',
  717. border: '1rpx solid #FF496D',
  718. }
  719. },
  720. 5: {
  721. label: "已承保",
  722. style: {
  723. color: '#22C2BA',
  724. background: '#E8FFFF',
  725. border: '1rpx solid #22C2BA',
  726. }
  727. },
  728. 6: {
  729. label: "报价失败",
  730. style: {
  731. color: '#0a6cb6',
  732. background: '#deecff',
  733. border: '1rpx solid #0a6cb6',
  734. }
  735. },
  736. 7: {
  737. label: "核保失败",
  738. style: {
  739. color: '#0a6cb6',
  740. background: '#deecff',
  741. border: '1rpx solid #0a6cb6',
  742. }
  743. },
  744. };
  745. return STATUS_COLOR[orderStatus] || [];
  746. },
  747. // 大订单按钮过滤
  748. cardAllbtns(orderStatus) {
  749. const STATUS_BUTTONS = {
  750. 1: [{
  751. label: "报价成功",
  752. value: "1"
  753. }, {
  754. label: "报价失败",
  755. value: "6"
  756. }],
  757. 2: [{
  758. label: "核保中",
  759. value: "2",
  760. }, {
  761. label: "报价成功",
  762. value: "1",
  763. }],
  764. 4: [{
  765. label: "待缴费",
  766. value: "4",
  767. }, {
  768. label: "核保失败",
  769. value: "7",
  770. }, {
  771. label: "报价成功",
  772. value: "1",
  773. }],
  774. 5: [{
  775. label: '已承保',
  776. value: "5",
  777. }],
  778. 6: [{
  779. label: "报价成功",
  780. value: "1",
  781. },
  782. {
  783. label: '报价失败',
  784. value: "6",
  785. }
  786. ],
  787. 7: [{
  788. label: "报价成功",
  789. value: "1",
  790. },
  791. {
  792. label: '报价失败',
  793. value: "6",
  794. }
  795. ],
  796. };
  797. return STATUS_BUTTONS[orderStatus] || [];
  798. },
  799. // 大订单按钮弹窗事件
  800. /**
  801. * @param {Object} value 当前按钮对应的订单状态
  802. * @param {Object} list 该状态下的所有报价记录
  803. */
  804. cardAllbtnChange(value, list, identifier, item) {
  805. this.itemInfo = item;
  806. this.cardAllbtnsIndex = value;
  807. this.bigOrderIndicator = identifier;
  808. this.subOrderStatusModalList.map(val => {
  809. if (val.statusCode == value) {
  810. val.companyOptions = list;
  811. }
  812. return val;
  813. })
  814. this.subOrderStatusModal = true;
  815. },
  816. //查看全部
  817. cardAllbtnChangeAll(item, identifier) {
  818. this.bigOrderIndicator = identifier;
  819. Object.keys(item).forEach(key => {
  820. this.subOrderStatusModalList.map(val => {
  821. if (val.statusCode == key) {
  822. val.companyOptions = item[key];
  823. }
  824. return val;
  825. })
  826. })
  827. this.subOrderStatusModal = true;
  828. },
  829. // 小订单主按钮过滤
  830. primaryButton(orderStatus) {
  831. const STATUS_BUTTONS = {
  832. 1: ['修改信息', '去核保'],
  833. 2: ['订单轨迹'],
  834. 4: ['支付码', '更新状态'],
  835. 5: ['查看电子保单'],
  836. 6: ['查看详情'],
  837. 7: ['查看详情'],
  838. 8: ['查看详情', '重新提核'],
  839. };
  840. return STATUS_BUTTONS[orderStatus] || [];
  841. },
  842. //小订单更多操作按钮过滤
  843. loadMoreButtons(orderStatus) {
  844. const STATUS_BUTTONS = {
  845. 1: ['修改方案', '删除订单', '订单轨迹'],
  846. 2: ['删除订单', '取消核保'],
  847. 4: ['订单轨迹', '删除订单', '撤销支付码'],
  848. 5: ['订单轨迹'],
  849. 6: ['删除订单', '订单轨迹'],
  850. 7: ['删除订单', '订单轨迹'],
  851. 8: ['删除订单', '订单轨迹'],
  852. };
  853. return STATUS_BUTTONS[orderStatus] || [];
  854. },
  855. // tabs状态切换
  856. async tabClick(e) {
  857. this.loadingShow = true;
  858. try {
  859. if (e.name == '全部') {
  860. this.pageRequest.orderStatus = null;
  861. this.statusCurrent = e.index;
  862. this.pageRequest.parentId = '0';
  863. this.pageRequest.isLargeOrder = '1';
  864. await this.getsubOrdersList(1, 20);
  865. } else {
  866. this.pageRequest.orderStatus = e.value;
  867. this.statusCurrent = e.index;
  868. this.pageRequest.parentId = '1';
  869. delete this.pageRequest.isLargeOrder
  870. await this.getsubOrdersList(1, 20)
  871. }
  872. if (this.scrollTop > 0) {
  873. uni.pageScrollTo({
  874. selector: 'content-body', // 滚动到顶部
  875. duration: 100, // 动画时长(ms)
  876. });
  877. }
  878. this.loadingShow = false;
  879. } catch {
  880. this.loadingShow = false;
  881. }
  882. },
  883. // 小订单主按钮点击
  884. async primaryButtonClick(name, info) {
  885. console.log(name, info);
  886. switch (name) {
  887. case '修改信息':
  888. uni.navigateTo({
  889. url: "/pages/quote/premiumCalc1?ordersNo=" + info.orderNo,
  890. })
  891. break;
  892. case '去核保':
  893. // 跳转报价详情
  894. uni.navigateTo({
  895. url: '/pages/quote/quoteRecordDetail?ordersNo=' + info.orderNo,
  896. })
  897. break;
  898. case '订单轨迹':
  899. await this.trackOrder(info.orderNo); //订单轨迹接口
  900. break;
  901. case '更新状态':
  902. await this.refreshPayment(info.orderNo) //支付状态刷新
  903. break;
  904. case '支付码':
  905. // 跳转支付码页面
  906. uni.navigateTo({
  907. url: '/pages/quote/paymentCode?ordersNo=' + info.orderNo,
  908. })
  909. break;
  910. case '查看电子保单':
  911. //跳转电子保单页面
  912. uni.navigateTo({
  913. url: '/pages/quote/ePolicy?ordersNo=' + info.orderNo,
  914. })
  915. break;
  916. case '查看详情':
  917. uni.navigateTo({
  918. url: "/pages/quote/quoteDetail?ordersNo=" + info.orderNo,
  919. })
  920. break;
  921. case '重新提核':
  922. // 跳转报价详情
  923. uni.navigateTo({
  924. url: '/pages/quote/quoteRecordDetail?ordersNo=' + info.orderNo,
  925. })
  926. break;
  927. default:
  928. }
  929. },
  930. //更多操作选中
  931. async cloudPopupChange(name, info) {
  932. console.log(name, info);
  933. switch (name) {
  934. case '修改方案':
  935. uni.navigateTo({
  936. url: "/pages/quote/premiumCalc1?ordersNo=" + info.orderNo,
  937. })
  938. break;
  939. case '删除订单':
  940. this.deletesubOrderShow = true;
  941. break;
  942. case '订单轨迹':
  943. await this.trackOrder(info.orderNo); //订单轨迹接口
  944. break;
  945. case '取消核保':
  946. break;
  947. case '撤销支付码':
  948. break;
  949. default:
  950. }
  951. },
  952. //订单轨迹查询
  953. async trackOrder(ordersNo) {
  954. let res = await this.$http.post('/orderTrack/list', {
  955. orderNo: ordersNo
  956. })
  957. if (res.code == 200) {
  958. res.data.map(item => {
  959. item.orderTrackingisCollapsed = false;
  960. })
  961. this.orderTrackingList = res.data;
  962. this.orderTrackingShow = true;
  963. }
  964. },
  965. //支付状态刷新
  966. async refreshPayment(ordersNo) {
  967. let OrderStatus = await this.$http.post('/unify/order/getOrderStatus', {
  968. order: {
  969. ordersNo: ordersNo,
  970. },
  971. });
  972. if (OrderStatus.code == '200') {
  973. uni.showToast({
  974. icon: 'none',
  975. title: OrderStatus.msg,
  976. })
  977. }
  978. },
  979. //当前时间
  980. transformTime(day) {
  981. const date = new Date();
  982. if (day) {
  983. date.setDate(date.getDate() - day);
  984. }
  985. const year = date.getFullYear();
  986. const month = date.getMonth() + 1; // 月份从0开始
  987. const dayOfMonth = date.getDate();
  988. // 格式化月份和日期
  989. const formattedMonth = month < 10 ? `0${month}` : month;
  990. const formattedDay = dayOfMonth < 10 ? `0${dayOfMonth}` : dayOfMonth;
  991. return `${year}-${formattedMonth}-${formattedDay}`;
  992. },
  993. transformTime1(month) {
  994. const date = new Date();
  995. let year = date.getFullYear();
  996. let monthValue = date.getMonth() + 1; // 月份从0开始,所以要+1
  997. let day = date.getDate();
  998. // 处理月份偏移
  999. if (month) {
  1000. monthValue -= month;
  1001. // 处理跨年情况
  1002. while (month < 1) {
  1003. monthValue += 12;
  1004. year--;
  1005. }
  1006. // 处理月份超过12的情况
  1007. while (monthValue > 12) {
  1008. monthValue -= 12;
  1009. year++;
  1010. }
  1011. }
  1012. // 格式化月份和日期
  1013. const strMonth = monthValue < 10 ? `0${monthValue}` : monthValue;
  1014. const strDay = day < 10 ? `0${day}` : day;
  1015. return `${year}-${strMonth}-${strDay}`;
  1016. },
  1017. }
  1018. }
  1019. </script>
  1020. <style lang="scss" scoped>
  1021. page {
  1022. background-color: #f8f8f8;
  1023. }
  1024. .page {
  1025. background-color: #f8f8f8;
  1026. }
  1027. .order-search {
  1028. flex: 1;
  1029. }
  1030. .right-icon {
  1031. image {
  1032. width: 28rpx;
  1033. height: 28rpx;
  1034. margin-left: 20rpx;
  1035. margin-right: 8rpx;
  1036. }
  1037. font-size: 28rpx;
  1038. color: #333;
  1039. }
  1040. .tabView {
  1041. padding: 20rpx 0;
  1042. box-sizing: border-box;
  1043. background-color: #fff;
  1044. }
  1045. .content-body {
  1046. padding: 20rpx 30rpx;
  1047. box-sizing: border-box;
  1048. .orderAll-card {
  1049. background-color: #fff;
  1050. border-radius: 10rpx 10rpx 10rpx 10rpx;
  1051. margin-bottom: 20rpx;
  1052. .cardAll-header {
  1053. padding: 25rpx 20rpx 20rpx;
  1054. box-sizing: border-box;
  1055. .title {
  1056. .plateNo {
  1057. font-size: 32rpx;
  1058. color: #333;
  1059. font-weight: bold;
  1060. }
  1061. .status-tag {
  1062. padding: 2rpx 10rpx;
  1063. box-sizing: border-box;
  1064. background: #E3FBE7;
  1065. border-radius: 20rpx 20rpx 20rpx 0rpx;
  1066. border: 1rpx solid #18B63B;
  1067. color: #18B63B;
  1068. font-size: 22rpx;
  1069. }
  1070. .company-sum {
  1071. font-size: 22rpx;
  1072. color: #999;
  1073. margin-left: auto;
  1074. }
  1075. }
  1076. .content {
  1077. padding: 20rpx;
  1078. box-sizing: border-box;
  1079. gap: 20rpx 0;
  1080. .item {
  1081. width: 50%;
  1082. text:first-child {
  1083. width: 112rpx;
  1084. font-size: 28rpx;
  1085. color: #999;
  1086. display: inline-block;
  1087. }
  1088. text:last-child {
  1089. font-size: 28rpx;
  1090. color: #333;
  1091. margin-left: 20rpx;
  1092. }
  1093. }
  1094. }
  1095. }
  1096. .cardAll-btn {
  1097. padding: 20rpx 30rpx;
  1098. box-sizing: border-box;
  1099. border-top: 1rpx solid #eee;
  1100. gap: 0 70rpx;
  1101. >view {
  1102. position: relative;
  1103. font-size: 28rpx;
  1104. color: #FFAC1D;
  1105. }
  1106. }
  1107. }
  1108. .orderStatus-card {
  1109. background-color: #fff;
  1110. border-radius: 10rpx;
  1111. .header-title {
  1112. padding: 25rpx 20rpx 0;
  1113. box-sizing: border-box;
  1114. .companyIcon {
  1115. width: 40rpx;
  1116. height: 40rpx;
  1117. }
  1118. .companyName {
  1119. font-size: 32rpx;
  1120. color: #333;
  1121. font-weight: bold;
  1122. margin-left: 10rpx;
  1123. }
  1124. .price {
  1125. margin-left: auto;
  1126. text:first-child {
  1127. font-size: 28rpx;
  1128. color: #FF540A;
  1129. font-weight: bold;
  1130. }
  1131. text:last-child {
  1132. font-size: 42rpx;
  1133. color: #FF540A;
  1134. font-weight: bold;
  1135. line-height: 1.2;
  1136. }
  1137. }
  1138. }
  1139. .content {
  1140. padding: 0 20rpx;
  1141. box-sizing: border-box;
  1142. margin-top: 30rpx;
  1143. gap: 20rpx 0;
  1144. .item {
  1145. width: 50%;
  1146. text:first-child {
  1147. width: 112rpx;
  1148. font-size: 28rpx;
  1149. color: #999;
  1150. display: inline-block;
  1151. }
  1152. text:last-child {
  1153. font-size: 28rpx;
  1154. color: #333;
  1155. margin-left: 20rpx;
  1156. }
  1157. }
  1158. }
  1159. .card-footer {
  1160. margin-top: 30rpx;
  1161. padding-right: 20rpx;
  1162. box-sizing: border-box;
  1163. .btns {
  1164. gap: 0 25rpx;
  1165. }
  1166. .plateNo-tag {
  1167. width: 256rpx;
  1168. height: 100rpx;
  1169. // position: absolute;
  1170. // left: 0;
  1171. // bottom: 0;
  1172. background-image: url('../../static/image/plateNoback.png');
  1173. background-size: 100% 100%;
  1174. text {
  1175. font-size: 34rpx;
  1176. color: #333;
  1177. font-weight: bold;
  1178. margin-left: 36rpx;
  1179. }
  1180. }
  1181. .loadMore {
  1182. font-size: 28rpx;
  1183. color: #666;
  1184. }
  1185. .btn {
  1186. padding: 14rpx 20rpx;
  1187. box-sizing: border-box;
  1188. font-size: 28rpx;
  1189. color: #1F1F1F;
  1190. border-radius: 50rpx 50rpx 50rpx 50rpx;
  1191. border: 1rpx solid #DDDDDD;
  1192. line-height: 1;
  1193. }
  1194. .btn:last-child {
  1195. background-color: #FDE935;
  1196. border: 1rpx solid #FDE935;
  1197. }
  1198. }
  1199. }
  1200. }
  1201. .subOrderStatusModalClass {
  1202. .plateNo {
  1203. font-size: 36rpx;
  1204. color: #333;
  1205. font-weight: bold;
  1206. }
  1207. .tag {
  1208. padding: 3rpx 16rpx;
  1209. box-sizing: border-box;
  1210. font-size: 24rpx;
  1211. color: #FF5174;
  1212. font-weight: bold;
  1213. background: #FFEAEE;
  1214. border-radius: 20rpx 20rpx 20rpx 0rpx;
  1215. margin-left: 20rpx;
  1216. }
  1217. .content {
  1218. padding: 40rpx;
  1219. box-sizing: border-box;
  1220. .status-card {
  1221. margin-bottom: 30rpx;
  1222. border-radius: 4rpx 4rpx 4rpx 4rpx;
  1223. border: 1rpx solid #FFD9D9;
  1224. .left-title {
  1225. width: 50rpx;
  1226. padding: 20rpx 12rpx;
  1227. box-sizing: border-box;
  1228. background: #FFF8F8;
  1229. border-radius: 4rpx 0rpx 0rpx 4rpx;
  1230. border-right: 1rpx solid #FFE5E5;
  1231. writing-mode: vertical-rl; //文字竖排
  1232. font-size: 28rpx;
  1233. color: #333;
  1234. }
  1235. .right-company {
  1236. width: 100%;
  1237. height: 100%;
  1238. padding: 30rpx 20rpx 0;
  1239. box-sizing: border-box;
  1240. // gap: 30rpx 0;
  1241. .item {
  1242. margin-bottom: 30rpx;
  1243. }
  1244. .logo {
  1245. width: 36rpx;
  1246. height: 36rpx;
  1247. }
  1248. .name {
  1249. font-size: 30rpx;
  1250. color: #333;
  1251. }
  1252. .getQuote {
  1253. font-size: 28rpx;
  1254. color: #FFAC1D;
  1255. margin-left: auto;
  1256. }
  1257. .getView {
  1258. font-size: 28rpx;
  1259. color: #666;
  1260. margin-left: auto;
  1261. }
  1262. .price {
  1263. font-size: 24rpx;
  1264. color: #FF540A;
  1265. margin-left: auto;
  1266. }
  1267. }
  1268. }
  1269. }
  1270. }
  1271. /* 自定义tab滑块样式 */
  1272. ::v-deep .u-tabs__wrapper__nav__line {
  1273. background: linear-gradient(90deg, #FDE935 10%, rgba(253, 233, 53, 0.1) 100%) !important;
  1274. border-radius: 6rpx;
  1275. }
  1276. /* 下拉内容(绝对定位,默认隐藏) */
  1277. .dropdown-content {
  1278. position: absolute;
  1279. /* 紧贴按钮下方 */
  1280. left: 0;
  1281. right: 0;
  1282. background: white;
  1283. height: 0px;
  1284. overflow: hidden;
  1285. z-index: 100;
  1286. transition: height 0.4s ease;
  1287. border-radius: 0 0 20rpx 20rpx;
  1288. .overflow-content {
  1289. overflow-y: auto;
  1290. height: 926rpx;
  1291. }
  1292. // 筛选条件
  1293. .filterCriteria-item {
  1294. .title {
  1295. flex: 1;
  1296. font-size: 30rpx;
  1297. color: #333;
  1298. font-weight: bold;
  1299. }
  1300. .options {
  1301. display: grid;
  1302. /* 启用网格布局 */
  1303. grid-template-columns: repeat(4, 1fr);
  1304. /* 3 列,每列等宽 */
  1305. grid-template-rows: auto;
  1306. /* 行高自适应 */
  1307. row-gap: 30rpx;
  1308. /* 只设置行间距(上下) */
  1309. column-gap: 20rpx;
  1310. /* 列间距设为 0(可选) */
  1311. }
  1312. .options-card {
  1313. padding: 9rpx 24rpx;
  1314. box-sizing: border-box;
  1315. border-radius: 4rpx 4rpx 4rpx 4rpx;
  1316. border: 1rpx solid #EEEEEE;
  1317. font-size: 28rpx;
  1318. color: #666;
  1319. }
  1320. .active {
  1321. background-color: #FDE935;
  1322. border: 1rpx solid #FDE935;
  1323. color: #333;
  1324. }
  1325. // 自定义日期
  1326. .customTime {
  1327. .item {
  1328. width: 50%;
  1329. padding: 20rpx;
  1330. box-sizing: border-box;
  1331. border-radius: 6rpx 6rpx 6rpx 6rpx;
  1332. border: 1rpx solid #EEEEEE;
  1333. font-size: 28rpx;
  1334. color: #999;
  1335. }
  1336. .line {
  1337. margin: 0 20rpx;
  1338. font-size: 28rpx;
  1339. color: #000;
  1340. }
  1341. }
  1342. }
  1343. .footer {
  1344. position: absolute;
  1345. bottom: 0;
  1346. left: 0;
  1347. right: 0;
  1348. background: #FFFFFF;
  1349. border-radius: 0rpx 0rpx 20rpx 20rpx;
  1350. border-top: 1rpx solid #EEEEEE;
  1351. padding: 30rpx 44rpx;
  1352. box-sizing: border-box;
  1353. .btn {
  1354. padding: 18rpx 30rpx;
  1355. box-sizing: border-box;
  1356. width: 50%;
  1357. border-radius: 50rpx 50rpx 50rpx 50rpx;
  1358. border: 1rpx solid #FDE935;
  1359. font-size: 30rpx;
  1360. color: #333;
  1361. }
  1362. .btns {
  1363. width: 50%;
  1364. background: #FDE935;
  1365. border-radius: 50rpx 50rpx 50rpx 50rpx;
  1366. }
  1367. }
  1368. }
  1369. .dropdown-content.show {
  1370. opacity: 1;
  1371. height: 1126rpx;
  1372. overflow: auto;
  1373. }
  1374. //订单轨迹弹窗
  1375. .orderTracking {
  1376. padding: 30rpx 40rpx;
  1377. box-sizing: border-box;
  1378. .trackFlow {
  1379. .circle {
  1380. width: 20rpx;
  1381. height: 20rpx;
  1382. background: #FDE935;
  1383. border-radius: 20rpx 20rpx 20rpx 20rpx;
  1384. }
  1385. .time {
  1386. font-size: 30rpx;
  1387. color: #999;
  1388. }
  1389. image {
  1390. width: 40rpx;
  1391. height: 40rpx;
  1392. }
  1393. }
  1394. .content {
  1395. padding: 20rpx 0 40rpx 30rpx;
  1396. margin-left: 10rpx;
  1397. border-left: 2rpx dashed #333;
  1398. .actionContent {
  1399. font-size: 30rpx;
  1400. color: #333;
  1401. font-weight: bold;
  1402. }
  1403. .feedbackDetails {
  1404. background-color: #FAFAFA;
  1405. border-radius: 6rpx;
  1406. padding: 30rpx 20rpx;
  1407. box-sizing: border-box;
  1408. font-size: 28rpx;
  1409. margin-top: 20rpx;
  1410. color: #666;
  1411. }
  1412. .updateRecord {
  1413. ul {
  1414. padding-left: 60rpx;
  1415. li {
  1416. margin-top: 20rpx;
  1417. color: #666;
  1418. font-size: 30rpx;
  1419. text {
  1420. color: #333;
  1421. font-weight: bold;
  1422. }
  1423. }
  1424. li::marker {
  1425. color: #333;
  1426. }
  1427. }
  1428. }
  1429. }
  1430. }
  1431. /* 遮罩层(覆盖全屏) */
  1432. .overlay-mask {
  1433. position: fixed;
  1434. top: 0;
  1435. left: 0;
  1436. right: 0;
  1437. bottom: 0;
  1438. background: rgba(0, 0, 0, 0.5);
  1439. display: none;
  1440. /* 默认隐藏 */
  1441. z-index: 99;
  1442. /* 低于下拉内容,高于其他元素 */
  1443. }
  1444. /* 激活状态 */
  1445. .overlay-mask.show {
  1446. display: block;
  1447. }
  1448. </style>