rescueOrder.vue 24 KB

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