rescueOrder.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854
  1. <template>
  2. <view class="box">
  3. <!-- 自定义导航 -->
  4. <view class="zdyNavBox">
  5. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  6. <view class="zdyNav">
  7. <view class="zdyNavLeft">
  8. <image src="../../static/img/nav_icon_back.png" mode="aspectFit" class="backImg" @click="goback">
  9. </image>
  10. </view>
  11. <view class="zdyNavTitle">救援订单</view>
  12. <view style="width: 50px;"></view>
  13. </view>
  14. </view>
  15. <view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
  16. <view style="height: 44px;"></view>
  17. <!-- 搜索框 -->
  18. <view class="newtop">
  19. <view class="searchBox">
  20. <view class="searchInputBox">
  21. <image src="../../static/img/icon_search.png" mode="" class="iconSimg"></image>
  22. <input type="text" v-model="name" placeholder="订单号、手机号、联系人、车牌号" class="searchInput" @confirm="searchCf">
  23. <image v-if="name" @click="ssql" src="../../static/img/chahao.png" mode="" class="sschahao"></image>
  24. </view>
  25. <!-- <image @click="screenSHowBtn" src="../../static/img/icon_shai.png" mode="" class="iconShai"></image> -->
  26. </view>
  27. <!-- 筛选框 -->
  28. <view class="screen">
  29. <view class="screenLine">
  30. <!-- <span class="screenLineSpan">救援门店</span> -->
  31. <view class="">
  32. <picker @change="bindPickerChange" :value="pickerindex" :range-key="'shopName'" :range="pickerarray">
  33. <view class="screenLine">
  34. <span class="screenLineSpan">救援门店</span>
  35. <img src="../../static/img/arrow_down.png" alt="" class="screenLineImg">
  36. </view>
  37. </picker>
  38. </view>
  39. </view>
  40. <view class="screenLine" @click="orderTimesxSHow=true">
  41. <span class="screenLineSpan">下单时间</span>
  42. <img src="../../static/img/arrow_down.png" alt="" class="screenLineImg">
  43. </view>
  44. <view class="screenLine" @click="typeSHow=true">
  45. <span class="screenLineSpan">更多</span>
  46. <img src="../../static/img/arrow_down.png" alt="" class="screenLineImg">
  47. </view>
  48. <view class="orderTimesxBox" v-if="orderTimesxSHow">
  49. <view class="sdTimeBox">
  50. <picker mode="date" :value="date1" @change="bindDateChange1">
  51. <view class="dateinput">{{date1?date1:'选择日期'}}</view>
  52. </picker>
  53. <view class="timeHx">-</view>
  54. <picker mode="date" :value="date2" @change="bindDateChange2">
  55. <view class="dateinput">{{date2?date2:'选择日期'}}</view>
  56. </picker>
  57. </view>
  58. <view class="screenBottom">
  59. <view class="screenCz" @click="closeTime">取消</view>
  60. <view class="screenY" @click="orderTimesx">确认</view>
  61. </view>
  62. </view>
  63. <view class="orderTimesxBox" v-if="typeSHow">
  64. <view class="screenBt">救援类型</view>
  65. <view class="typelineBox">
  66. <view class="typeLine " v-for="(item,index) in tabList"
  67. :class="{typeactive:index==typeLineIndex}" @click="typeLineCk(index)">{{item.name}}
  68. </view>
  69. </view>
  70. <view class="screenBottom">
  71. <view class="screenCz" @click="resetting">重置</view>
  72. <view class="screenY" @click="subhelpType">确定</view>
  73. </view>
  74. </view>
  75. </view>
  76. <view class="tab">
  77. <view class="tabLine" :class="{tabActive:tabIndex==-1}" @click="tabClick(-1)">全部</view>
  78. <view class="tabLine" :class="{tabActive:tabIndex==0}" @click="tabClick(0)">待确认</view>
  79. <view class="tabLine" :class="{tabActive:tabIndex==1}" @click="tabClick(1)">已接单</view>
  80. <view class="tabLine" :class="{tabActive:tabIndex==2}" @click="tabClick(2)">已出发</view>
  81. <view class="tabLine" :class="{tabActive:tabIndex==3}" @click="tabClick(3)">已完成</view>
  82. </view>
  83. </view>
  84. <view class="main">
  85. <view class="itemBg" v-for="(item,index) in items" @click="goDetail(item)">
  86. <view class="itemTop">
  87. <view class="itemType" >
  88. <span v-if="item.HelpType==1">搭电</span>
  89. <span v-if="item.HelpType==2">拖车</span>
  90. <span v-if="item.HelpType==3">换胎</span>
  91. <span v-if="item.HelpType==4">未知原因</span>
  92. -
  93. <span v-if="item.Hscene==1">地面</span>
  94. <span v-if="item.Hscene==2">车库</span>
  95. <span v-if="item.Hscene==3">其他</span>
  96. </view>
  97. <view class="itemSheetState redColor" v-if="item.SheetState==0">待确认</view>
  98. <view class="itemSheetState redColor" v-if="item.SheetState==1">已接单</view>
  99. <view class="itemSheetState orangeColor" v-if="item.SheetState==2">已出发</view>
  100. <view class="itemSheetState greenColor" v-if="item.SheetState==3">已完成</view>
  101. <view class="itemSheetState" v-if="item.SheetState==4">已取消</view>
  102. <view class="itemSheetState greenColor" v-if="item.SheetState==5">已评价</view>
  103. </view>
  104. <view class="itemaddress">
  105. <div class="addressDD"></div> {{item.HStartAddress}}
  106. </view>
  107. <view class="itemName" v-if="item.orderType==1">救援时间:立刻</view>
  108. <view class="itemName" v-else>救援时间:{{item.HTime}}</view>
  109. <view v-if="item.PlateNumber">
  110. <view class="itemName" >{{item.PlateNumber}}</view>
  111. </view>
  112. <view style="display: flex;justify-content: space-between;">
  113. <view class="itemName" style="padding-bottom: 0;">{{item.ShopName}}</view>
  114. <view class="itemName" >{{item.CustomerName}}</view>
  115. </view>
  116. </view>
  117. <nodata v-show="items==''&&isload"></nodata>
  118. </view>
  119. <!-- 筛选弹框 -->
  120. <view class="screenBox" v-if="screenSHow" @click="screenHide">
  121. <view class="screenCont" @click.stop="">
  122. <view class="screenTitle">筛选</view>
  123. <view class="screenBt">门店</view>
  124. <view class="">
  125. <picker @change="bindPickerChange" :value="pickerindex" :range-key="'shopName'" :range="pickerarray">
  126. <view class="uniPicker">
  127. <view class="uniPickerName">
  128. {{shopName}}
  129. </view>
  130. <image src="../../static/img/jt.png" mode=" " class="jtShopImg"></image>
  131. </view>
  132. </picker>
  133. </view>
  134. <view class="screenBt">救援时间</view>
  135. <view class="sdTimeBox">
  136. <picker mode="date" :value="date1" @change="bindDateChange1">
  137. <view class="dateinput">{{date1?date1:'选择日期'}}</view>
  138. </picker>
  139. <view class="timeHx">-</view>
  140. <picker mode="date" :value="date2" @change="bindDateChange2">
  141. <view class="dateinput">{{date2?date2:'选择日期'}}</view>
  142. </picker>
  143. </view>
  144. <view class="screenBt">救援类型</view>
  145. <view class="typelineBox">
  146. <view class="typeLine " v-for="(item,index) in tabList"
  147. :class="{typeactive:index==typeLineIndex}" @click="typeLineCk(index)">{{item.name}}
  148. </view>
  149. <!-- :class="{typeactive:item.ck}"-->
  150. </view>
  151. <view class="screenBottom">
  152. <view class="screenCz" @click="resetting">重置</view>
  153. <view class="screenY" @click="sub">确定</view>
  154. </view>
  155. </view>
  156. </view>
  157. </view>
  158. </template>
  159. <script>
  160. import nodata from '@/components/nodata/nodata.vue'
  161. export default {
  162. components: {
  163. nodata
  164. },
  165. data() {
  166. return {
  167. page: 1,
  168. tabIndex: -1,
  169. items: [],
  170. isload: false,
  171. name:'',
  172. pickerindex:0,
  173. pickerarray: [],
  174. screenSHow:false,
  175. shopName:'',
  176. date1:'',
  177. date2:'',
  178. typeLineIndex:0,
  179. sheetTypeList:'',
  180. shopId:'',
  181. mrshopId:'',
  182. mrshopName:'',
  183. tabList:[
  184. {
  185. name:'全部',ck:true,sheetType:'',
  186. },
  187. {
  188. name:'搭电',ck:false,sheetType:'1',
  189. },
  190. {
  191. name:'拖车',ck:false,sheetType:'2',
  192. },
  193. {
  194. name:'换胎',ck:false,sheetType:'3',
  195. },
  196. {
  197. name:'未知原因',ck:false,sheetType:'4',
  198. }
  199. ],
  200. orderTimesxSHow:false,
  201. typeSHow:false,
  202. iStatusBarHeight:'',
  203. }
  204. },
  205. onLoad(opt) {
  206. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  207. //this.getData();
  208. this.getShopinfo();
  209. },
  210. onShow() {
  211. console.log(this.tabIndex)
  212. this.getShopinfo();
  213. //this.getData();
  214. },
  215. methods: {
  216. orderTimesx(){
  217. this.items=[]
  218. this.orderTimesxSHow=false;
  219. this.getData();
  220. },
  221. subhelpType(){
  222. this.typeSHow=false;
  223. /* var arr=[]
  224. this.items=[]
  225. this.tabList.forEach(item=>{
  226. if(item.ck){
  227. arr.push(item.sheetType)
  228. }
  229. })
  230. this.sheetTypeList=arr.join(','); */
  231. this.getData();
  232. },
  233. ssql(){
  234. this.name='';
  235. this.getData();
  236. },
  237. closeTime(){
  238. this.orderTimesxSHow=false
  239. this.date2=''
  240. this.date1=''
  241. this.getData();
  242. },
  243. sub(){
  244. this.screenSHow=false;
  245. /* var arr=[]
  246. this.items=[]
  247. this.tabList.forEach(item=>{
  248. if(item.ck){
  249. arr.push(item.sheetType)
  250. }
  251. })
  252. this.sheetTypeList=arr.join(',');*/
  253. //console.log(this.sheetTypeList)
  254. this.getData();
  255. },
  256. resetting(){
  257. this.date1='';
  258. this.date2='';
  259. this.typeLineIndex='';
  260. this.shopName=this.mrshopName;
  261. this.shopId=this.mrshopId;
  262. this.sheetTypeList=''
  263. this.tabList[0].ck=true
  264. this.tabList[1].ck=false
  265. this.tabList[2].ck=false
  266. this.tabList[3].ck=false
  267. this.tabList[4].ck=false
  268. this.items=[]
  269. this.getData();
  270. this.typeSHow=false;
  271. },
  272. typeLineCk(num){
  273. this.typeLineIndex=num;
  274. console.log(this.typeLineIndex)
  275. if(num){
  276. this.sheetTypeList=num
  277. }
  278. if(num==0){
  279. this.sheetTypeList=''
  280. }
  281. console.log(this.sheetTypeList)
  282. },
  283. typeLineCk2(item){
  284. /* if(item.name=='全部'){
  285. item.ck=true;
  286. this.tabList[1].ck=false
  287. this.tabList[2].ck=false
  288. this.tabList[3].ck=false
  289. this.tabList[4].ck=false
  290. }else{
  291. this.tabList[0].ck=false
  292. item.ck=!item.ck;
  293. } */
  294. },
  295. screenSHowBtn(){
  296. this.screenSHow=true;
  297. },
  298. screenHide(){
  299. this.screenSHow=false;
  300. },
  301. bindDateChange1(e){
  302. console.log(e)
  303. this.date1=e.detail.value
  304. },
  305. bindDateChange2(e){
  306. this.date2=e.detail.value
  307. },
  308. bindPickerChange(e){
  309. console.log(e)
  310. this.shopName=this.pickerarray[e.detail.value].shopName
  311. this.shopId=this.pickerarray[e.detail.value].id;
  312. this.getData();
  313. },
  314. getShopinfo(){
  315. this.$http('openH5SetTheGuest/getShopInfo',{},'GET').then(res => {
  316. this.shopName=res.data.shopName;
  317. this.mrshopId=res.data.id;
  318. this.mrshopName=res.data.shopName;
  319. this.shopId=this.mrshopId
  320. this.getShopList();
  321. this.getData()
  322. })
  323. },
  324. getShopList(){
  325. this.$http('openH5SetTheGuest/getShopList', {
  326. },'GET').then(res => {
  327. this.pickerarray=res.data;
  328. /* this.pickerarray.forEach((item,index)=>{
  329. if(this.mrshopId==item.id){
  330. this.pickerindex=index;
  331. }
  332. }) */
  333. //console.log(this.pickerarray[this.pickerindex])
  334. })
  335. },
  336. goback(){
  337. //app交互
  338. var standalone = window.navigator.standalone
  339. var userAgent = window.navigator.userAgent.toLowerCase()
  340. var safari = /safari/.test(userAgent)
  341. var ios = /iphone|ipod|ipad|mac/.test(userAgent)
  342. var android = /android/.test(userAgent)
  343. if (ios) {
  344. if ( true) {//!standalone&& !safari
  345. window.webkit.messageHandlers.goMyNav.postMessage(null)
  346. }
  347. } else if (android) {
  348. window.android.postMessage()
  349. }
  350. },
  351. tabClick(num) {
  352. this.tabIndex = num;
  353. this.page = 1;
  354. this.getData()
  355. },
  356. goDetail(item) {
  357. uni.navigateTo({
  358. url: "rescueOrderDetail?id=" + item.ID+'&back=1'
  359. })
  360. },
  361. searchCf(){
  362. this.items=[]
  363. this.getData()
  364. },
  365. getData() {
  366. console.log(this.sheetTypeList)
  367. uni.showLoading({
  368. title: '加载中'
  369. });
  370. this.isload = false;
  371. var createTimeStart='';
  372. var createTimeEnd='';
  373. if(this.date1){
  374. createTimeStart=this.date1+ ' 00:00:00'
  375. }
  376. if(this.date1){
  377. createTimeEnd=this.date2+ ' 23:59:59'
  378. }
  379. var padata = {
  380. page: this.page,
  381. limit: 10,
  382. sheetState: this.tabIndex > -1 ? this.tabIndex : '',
  383. search:this.name,
  384. createTimeStart:createTimeStart,
  385. createTimeEnd:createTimeEnd,
  386. helpType:this.sheetTypeList,
  387. shopID:this.shopId,
  388. }
  389. this.$http('openH5ShopHelpSheetOrder/getOpenShopHelpSheetOrderList', padata, 'GET').then(res => {
  390. uni.hideLoading();
  391. this.isload = true;
  392. var list = res.data.Items;
  393. if (this.page == 1) {
  394. this.items = list
  395. } else {
  396. this.items = this.items.concat(list)
  397. }
  398. })
  399. },
  400. },
  401. onReachBottom() {
  402. this.page++;
  403. this.getData()
  404. },
  405. onPullDownRefresh() {
  406. this.page = 1;
  407. this.getData()
  408. setTimeout(function() {
  409. uni.stopPullDownRefresh();
  410. }, 1000);
  411. }
  412. }
  413. </script>
  414. <style scoped>
  415. .screen{
  416. display: flex;justify-content: space-around;
  417. background: #FFFFFF;position: relative;
  418. }
  419. .tuiBtns {
  420. display: flex;justify-content: space-around;
  421. padding: 40rpx 20rpx ;
  422. }
  423. .btn {
  424. width: 288rpx;
  425. height: 70rpx;
  426. background: #F4F5F7;
  427. border-radius: 10rpx;
  428. margin-right: 22rpx;
  429. font-size: 30rpx;
  430. font-weight: 500;
  431. color: #3C3C3C;
  432. line-height: 70rpx;
  433. text-align: center;
  434. }
  435. .btn2 {
  436. width: 288rpx;
  437. height: 70rpx;
  438. background: #3F90F7;
  439. border-radius: 10rpx;
  440. font-size: 30rpx;
  441. font-weight: 500;
  442. color: #FFFFFF;
  443. line-height: 70rpx;
  444. text-align: center;
  445. }
  446. .orderTimesxBox{
  447. position: absolute;
  448. left: 0;
  449. top: 70rpx;
  450. background: #fff;
  451. width: 750rpx;
  452. }
  453. .screenLineSpan{
  454. color: #3C3C3C;font-size: 26rpx;line-height: 70rpx;
  455. }
  456. .screenLine{
  457. display: flex;
  458. }
  459. .screenLineImg{
  460. width: 24rpx;height: 24rpx;margin-top: 23rpx;margin-left: 10rpx;
  461. }
  462. .screenBox{
  463. width: 100%;
  464. height: 100%;
  465. position: fixed;
  466. left: 0;
  467. top: 0;
  468. background: rgba(0 ,0,0,0.5);
  469. z-index: 999;
  470. }
  471. .screenBottom{
  472. width: 750rpx;
  473. height: 120rpx;
  474. background: #FFFFFF;
  475. display: flex;
  476. justify-content: space-around;
  477. }
  478. .screenCz{
  479. width: 291rpx;text-align: center;margin-top: 22rpx;
  480. height: 74rpx;line-height: 74rpx;
  481. background: #F4F5F7;color: #000000;
  482. border-radius: 37rpx;font-size: 28rpx;
  483. }
  484. .screenY{
  485. width: 291rpx;text-align: center;margin-top: 22rpx;
  486. height: 74rpx;line-height: 74rpx;
  487. background: #D53533;color: #FFFFFF;
  488. border-radius: 37rpx;font-size: 28rpx;
  489. }
  490. .screenCont{
  491. width: 650rpx;
  492. height: 100%;
  493. background: #FFFFFF;
  494. margin-left: 100rpx;
  495. }
  496. .screenTitle{
  497. font-weight: 400;font-size: 24rpx;padding-top: 70rpx;padding-left: 20rpx;
  498. color: #333333;
  499. }
  500. .screenBt{
  501. font-weight: 400;font-size: 24rpx;
  502. color: #333333;padding-left: 20rpx;padding-top: 30rpx;
  503. }
  504. .iconShai{
  505. width: 36rpx;height: 39rpx;margin-top: 17rpx;
  506. margin-left: 30rpx;
  507. }
  508. .iconSimg{
  509. width: 40rpx;height: 40rpx;margin-top: 16rpx;margin-left: 20rpx;
  510. }
  511. .searchBox{
  512. display: flex;background: #FFFFFF;padding: 24rpx;
  513. left: 0;padding-bottom: 0rpx;
  514. }
  515. .typeLine{
  516. width: 178rpx;color: #3C3C3C;
  517. height: 64rpx;font-size: 24rpx;
  518. background: #F4F5F7;margin-top: 20rpx;
  519. border-radius: 36rpx;margin-right: 30rpx;
  520. text-align: center;
  521. line-height: 64rpx;
  522. }
  523. .typeactive{
  524. border: 2rpx solid #D53533;height: 60rpx;color: #D53533;background: #FFFFFF;width: 174rpx;
  525. }
  526. .typelineBox{
  527. display: flex;flex-wrap: wrap;padding-left: 20rpx;
  528. }
  529. .uniPicker{
  530. width: 606rpx;
  531. height: 64rpx;
  532. background: #F4F5F7;font-size: 24rpx;
  533. border-radius: 36rpx;color: #3C3C3C;
  534. display: flex;justify-content: space-between;
  535. margin-top: 20rpx;margin-left: 20rpx;
  536. }
  537. .jtShopImg{
  538. width: 24rpx;height: 24rpx;margin-top: 20rpx;margin-right: 26rpx;
  539. }
  540. .uniPickerName{
  541. padding-left: 20rpx;line-height: 64rpx;
  542. overflow:hidden;
  543. white-space: nowrap;
  544. text-overflow: ellipsis;
  545. -o-text-overflow:ellipsis;
  546. width: 500rpx;
  547. }
  548. .dateinput{
  549. width: 270rpx;color: #999999;
  550. height: 64rpx;font-size: 24rpx;line-height: 64rpx;
  551. background: #F4F5F7;padding-left: 20rpx;
  552. border-radius: 36rpx;
  553. }
  554. .sdTimeBox{
  555. display: flex;justify-content: center;
  556. padding-top: 20rpx;
  557. }
  558. .timeHx{
  559. font-weight: 400;line-height: 64rpx;padding: 0 4rpx;
  560. color: #DDDDDD;font-size: 24rpx;
  561. }
  562. .newtop{
  563. position: fixed;z-index: 11;
  564. }
  565. .searchInputBox{
  566. width: 702rpx;
  567. height: 72rpx;
  568. background: #F4F5F7;
  569. border-radius: 36rpx;
  570. display: flex;
  571. }
  572. .searchInput{
  573. font-size: 28rpx;padding-left: 16rpx;height: 72rpx;line-height: 72rpx;
  574. width: 550rpx;
  575. }
  576. .box {
  577. min-height: 100vh;
  578. background: #F4F5F7;
  579. }
  580. .zdyNavBox {
  581. width: 100vw;
  582. background: #FFFFFF;
  583. position: fixed;
  584. top: 0;
  585. left: 0;
  586. z-index: 99;
  587. }
  588. .zdyNav {
  589. height: 44px;
  590. display: flex;
  591. justify-content: space-between;
  592. align-items: center;
  593. }
  594. .backImg {
  595. width: 44rpx;
  596. height: 44rpx;
  597. margin-left: 10rpx;
  598. margin-right: 20rpx;
  599. }
  600. .homeImg {
  601. width: 44rpx;
  602. height: 44rpx;
  603. }
  604. .zdyNavLeft {
  605. display: flex;
  606. align-items: center;
  607. }
  608. .zdyNavTitle {
  609. height: 44px;
  610. background: #FFFFFF;
  611. text-align: center;
  612. font-size: 34rpx;
  613. line-height: 44px;
  614. }
  615. .tab {
  616. background: #FFFFFF;
  617. display: flex;
  618. justify-content: space-between;
  619. line-height: 92rpx;
  620. /* position: fixed; */
  621. width: calc(100vw - 100rpx);
  622. padding-left: 50rpx;
  623. padding-right: 50rpx;
  624. height: 92rpx;
  625. z-index: 11;
  626. border-top: 1px solid #EEEEEE;
  627. }
  628. .tabLine {
  629. font-size: 28rpx;
  630. color: #333333;
  631. text-align: center;
  632. }
  633. .tabActive {
  634. /* color: #FF0000; */
  635. color: #3F90F7;
  636. font-weight: bold;
  637. border-bottom: 4rpx solid #3F90F7;
  638. }
  639. .main {
  640. padding-top: 260rpx;
  641. padding-bottom: 20rpx;
  642. background-color: #F4F5F7;
  643. }
  644. .itemBg {
  645. margin: 20rpx 24rpx;
  646. background-color: #FFFFFF;
  647. border-radius: 10rpx;
  648. padding: 20rpx;
  649. }
  650. .itemTop {
  651. display: flex;
  652. justify-content: space-between;
  653. }
  654. .itemType {
  655. color: #999999;
  656. font-size: 24rpx;
  657. }
  658. .itemSheetState {
  659. font-size: 24rpx;
  660. color: #999999
  661. }
  662. .redColor {
  663. color: #FF0000;
  664. }
  665. .orangeColor {
  666. color: #F19D01;
  667. }
  668. .greenColor {
  669. color: #00A040;
  670. }
  671. .itemShopBg {
  672. display: flex;
  673. justify-content: space-between;
  674. margin-top: 20rpx;
  675. }
  676. .shopName {
  677. color: #333333;
  678. font-size: 30rpx;
  679. font-weight: bold;
  680. /* 隐藏文字显示 ...不换行 */
  681. overflow: hidden;
  682. text-overflow: ellipsis;
  683. white-space: nowrap;
  684. }
  685. .price {
  686. color: #333333;
  687. font-weight: bold;
  688. font-size: 32rpx;
  689. }
  690. .itemName {
  691. color: #666666;
  692. font-size: 24rpx;
  693. padding-top: 16rpx;
  694. height: 30rpx;
  695. /* overflow: hidden; */
  696. text-overflow: ellipsis;
  697. white-space: nowrap;
  698. }
  699. .plateBg {
  700. display: flex;
  701. justify-content: space-between;
  702. align-items: center;
  703. }
  704. .plateNumber {
  705. color: #666666;
  706. font-size: 24rpx;
  707. margin-bottom: 20rpx;
  708. display: flex;
  709. }
  710. .itemLineBottom {
  711. display: flex;
  712. justify-content: flex-end;
  713. }
  714. .itemBtn1 {
  715. width: 150rpx;
  716. height: 56rpx;
  717. border-radius: 36rpx;
  718. border: 2rpx solid #DDDDDD;
  719. text-align: center;
  720. line-height: 56rpx;
  721. font-size: 28rpx;
  722. color: #3C3C3C;
  723. margin-left: 40rpx;
  724. }
  725. .itemBtn2 {
  726. width: 150rpx;
  727. height: 56rpx;
  728. border-radius: 36rpx;
  729. border: 2rpx solid #FF4F00;
  730. text-align: center;
  731. line-height: 56rpx;
  732. font-size: 28rpx;
  733. color: #FF4F00;
  734. margin-left: 40rpx;
  735. }
  736. .orderState {
  737. color: #F19D01;
  738. font-size: 24rpx;
  739. padding-left: 20rpx;
  740. }
  741. .renBox{
  742. color: #1A1A1A;
  743. background: #F7F7F7;
  744. border-radius: 10rpx;
  745. display: flex;
  746. padding: 20rpx;font-size: 24rpx;
  747. line-height: 30rpx;
  748. margin-top: 16rpx;
  749. }
  750. .renimg{
  751. width: 30rpx;height: 30rpx;
  752. }
  753. .renMobilePhone{
  754. padding-left: 13rpx;
  755. }
  756. .itemaddress{
  757. font-size: 24rpx;display: flex;
  758. color: #3C3C3C;padding-top: 16rpx;
  759. line-height: 33rpx;
  760. }
  761. .addressDD{
  762. width: 10rpx;
  763. height: 10rpx;
  764. background: #FF0000;
  765. border-radius: 50%;
  766. margin-top: 10rpx;
  767. margin-right: 5rpx;
  768. }
  769. .sschahao{
  770. width: 40rpx;
  771. height: 40rpx;
  772. padding-top: 16rpx;
  773. }
  774. </style>