rescueOrder.vue 19 KB

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