rescueOrder.vue 19 KB

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