orders1.vue 37 KB

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