rescueOrder.vue 19 KB

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