manage.vue 59 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082
  1. <template>
  2. <view class="body">
  3. <!-- <button type="default" style="background-color: #007AFF;margin-top: 20upx;" @click="tanKuang">底部弹框</button> -->
  4. <view class="allArea">
  5. <view class="area1">
  6. <text class="arear-text" @click="tanKuang">{{list[curVal].text}}</text>
  7. <image src="../../static/down.png" mode=""></image>
  8. </view>
  9. </view>
  10. <!-- <allAreatwo @getChild="childMess"></allAreatwo> -->
  11. <view class="swiperHead">
  12. <!--组件-->
  13. <swiperNavBar :scrollIntoView="scrollIntoView" :swiperTabList='swiperTabList' :swiperTabIdx='swiperTabIdx'
  14. :currentSwiperWidth='currentSwiperWidth' :currentSwiperHeight='currentSwiperHeight' :swiperCurrentSize='swiperCurrentSize'
  15. :swiperColor='swiperColor' :swiperCurrentColor='swiperCurrentColor' :currentSwiperLineShow="currentSwiperLineShow"
  16. :currentSwiperLineActiveWidth="currentSwiperLineActiveWidth" :currentSwiperLineActiveHeight="currentSwiperLineActiveHeight"
  17. :currentSwiperLineActiveBg="currentSwiperLineActiveBg" :currentSwiperLineAnimatie="currentSwiperLineAnimatie" v-if=" swiperTabList.length > 1 "
  18. @change="CurrentTab" style="font-size: 30upx;">
  19. </swiperNavBar>
  20. <!--组件-->
  21. </view>
  22. <!-- 车辆管理头部 -->
  23. <view class="bike-top" v-if="swiperTabIdx==2">
  24. <view class="bike-top-list" @click="localscreen('')">
  25. <view class="bike-count">{{bike.total_bikes}}</view>
  26. <view class="bike-describe">
  27. 总车辆数
  28. </view>
  29. <image class="right-index" src="http://resource.weilaibike.com/bike_yunwei/triangle.png" mode=""></image>
  30. </view>
  31. <view class="bike-top-list" @click="localscreen('put_status=1')">
  32. <view class="bike-count">{{bike.put_total_bikes}}</view>
  33. <view class="bike-describe">
  34. 上线车辆
  35. </view>
  36. <image class="right-index" src="http://resource.weilaibike.com/bike_yunwei/triangle.png" mode=""></image>
  37. </view>
  38. <view class="bike-top-list" @click="localscreen('is_link=1')">
  39. <view class="bike-count">{{bike.line_total_bikes}}</view>
  40. <view class="bike-describe">
  41. 在线车辆
  42. </view>
  43. <image class="right-index" src="http://resource.weilaibike.com/bike_yunwei/triangle.png" mode=""></image>
  44. </view>
  45. <view class="bike-top-list" @click="localscreen('is_trouble=1')">
  46. <view class="bike-count">{{bike.trouble_total_bikes}}</view>
  47. <view class="bike-describe">
  48. 故障车辆
  49. </view>
  50. <image class="right-index" src="http://resource.weilaibike.com/bike_yunwei/triangle.png" mode=""></image>
  51. </view>
  52. <view class="bike-top-list" @click="localscreen('today_use=1')">
  53. <view class="bike-count">{{bike.today_use_total_bikes}}</view>
  54. <view class="bike-describe">
  55. 今日使用
  56. </view>
  57. <image class="right-index" src="http://resource.weilaibike.com/bike_yunwei/triangle.png" mode=""></image>
  58. </view>
  59. <view class="bike-top-list" @click="localscreen('is_low_battery_power=0')">
  60. <view class="bike-count">{{bike.low_battery_total_bikes}}</view>
  61. <view class="bike-describe">
  62. 低电量
  63. </view>
  64. <image class="right-index" src="http://resource.weilaibike.com/bike_yunwei/triangle.png" mode=""></image>
  65. </view>
  66. <view class="bike-top-list" @click="localscreen('is_riding=1')">
  67. <view class="bike-count">{{bike.riding_total_bikes}}</view>
  68. <view class="bike-describe">
  69. 骑行中
  70. </view>
  71. <image class="right-index" src="http://resource.weilaibike.com/bike_yunwei/triangle.png" mode=""></image>
  72. </view>
  73. <view class="bike-top-list" @click="localscreen('is_riding1=0')">
  74. <view class="bike-count">{{bike.not_riding_total_bikes}}</view>
  75. <view class="bike-describe">
  76. 未使用
  77. </view>
  78. <image class="right-index" src="http://resource.weilaibike.com/bike_yunwei/triangle.png" mode=""></image>
  79. </view>
  80. </view>
  81. <!-- 工单管理头部 -->
  82. <view class="bike-top" v-if="swiperTabIdx==4">
  83. <view class="bike-top-list" @click="localscreen('type=7')">
  84. <view class="bike-count">{{work_order.headman_num}}</view>
  85. <view class="bike-describe">
  86. 组长工单
  87. </view>
  88. <image class="right-index" src="http://resource.weilaibike.com/bike_yunwei/triangle.png" mode=""></image>
  89. </view>
  90. <view class="bike-top-list" @click="localscreen('planned=2')">
  91. <view class="bike-count">{{work_order.planned_work_num}}</view>
  92. <view class="bike-describe">
  93. 处理中工单
  94. </view>
  95. <image class="right-index" src="http://resource.weilaibike.com/bike_yunwei/triangle.png" mode=""></image>
  96. </view>
  97. <view class="bike-top-list" @click="localscreen('planned=1')">
  98. <view class="bike-count">{{work_order.planned_meet_num}}</view>
  99. <view class="bike-describe">
  100. 未认领工单
  101. </view>
  102. <image class="right-index" src="http://resource.weilaibike.com/bike_yunwei/triangle.png" mode=""></image>
  103. </view>
  104. <view class="bike-top-list" @click="localscreen('type=8')">
  105. <view class="bike-count">{{work_order.trouble_num}}</view>
  106. <view class="bike-describe">
  107. 故障工单
  108. </view>
  109. <image class="right-index" src="http://resource.weilaibike.com/bike_yunwei/triangle.png" mode=""></image>
  110. </view>
  111. <view class="bike-top-list" @click="localscreen('type=5')">
  112. <view class="bike-count">{{work_order.alert_num}}</view>
  113. <view class="bike-describe">
  114. 警报工单
  115. </view>
  116. <image class="right-index" src="http://resource.weilaibike.com/bike_yunwei/triangle.png" mode=""></image>
  117. </view>
  118. <view class="bike-top-list" @click="localscreen('type=6')">
  119. <view class="bike-count">{{work_order.steal_num}}</view>
  120. <view class="bike-describe">
  121. 偷盗工单
  122. </view>
  123. <image class="right-index" src="http://resource.weilaibike.com/bike_yunwei/triangle.png" mode=""></image>
  124. </view>
  125. <view class="bike-top-list" @click="localscreen('type=9')">
  126. <view class="bike-count">{{work_order.help_num}}</view>
  127. <view class="bike-describe">
  128. 道路救援
  129. </view>
  130. <image class="right-index" src="http://resource.weilaibike.com/bike_yunwei/triangle.png" mode=""></image>
  131. </view>
  132. <view class="bike-top-list" @click="localscreen('type=1')">
  133. <view class="bike-count">{{work_order.charge_num}}</view>
  134. <view class="bike-describe">
  135. 换电工单
  136. </view>
  137. <image class="right-index" src="http://resource.weilaibike.com/bike_yunwei/triangle.png" mode=""></image>
  138. </view>
  139. </view>
  140. <view class="" style="height: 100%;">
  141. <swiper :interval="3000" :duration="500" style="background-color: #e7e7e7;padding-top: 220upx;" :style="{ height:mainHeight-110 + 'px' }"
  142. v-bind:current="swiperTabIdx" :current="swiperTabIdx" @change="SwiperChange">
  143. <!-- 全部管理 -->
  144. <swiper-item class="swiper-item" style="height: 100%; ">
  145. <view class="out-content" style="overflow-y: scroll;" :style="{ height:mainHeight-110+ 'px' }">
  146. <view class="new_list" @click="skipUser">
  147. <view class="new-left">
  148. <image src="../../static/img/new/user.png" mode=""></image>
  149. <view class="new-title">
  150. 用户
  151. </view>
  152. </view>
  153. <view class="new-middle">
  154. <view class="new-text">
  155. 总用户数:{{user.totalUser}}
  156. </view>
  157. <view class="new-text">
  158. 有效用户:{{user.cardUser}}
  159. </view>
  160. <view class="new-text">
  161. 押金用户:{{user.depositUser}}
  162. </view>
  163. </view>
  164. <view class="new-right">
  165. <view class="new-text">
  166. 今日新增:<text class="text-one">{{user.todayAddUser}}</text>
  167. </view>
  168. <view class="new-text">
  169. 今日活跃:<text class="text-one">{{user.todayActiveUser}}</text>
  170. </view>
  171. </view>
  172. </view>
  173. <view class="new_list" @click="skipBike">
  174. <view class="new-left">
  175. <image src="../../static/img/new/bike.png" mode=""></image>
  176. <view class="new-title">
  177. 车辆
  178. </view>
  179. </view>
  180. <view class="new-middle">
  181. <view class="new-text">
  182. 总车辆数:{{bike.total_bikes}}
  183. </view>
  184. <view class="new-text">
  185. 上线车辆:{{bike.put_total_bikes}}
  186. </view>
  187. <view class="new-text">
  188. 故障车辆:{{bike.trouble_total_bikes}}
  189. </view>
  190. </view>
  191. <view class="new-right">
  192. <view class="new-text">
  193. 今日使用:<text class="text-one">{{bike.today_use_total_bikes}}</text>
  194. </view>
  195. <view class="new-text">
  196. 在线车辆:<text class="text-one">{{bike.line_total_bikes}}</text>
  197. </view>
  198. <view class="new-text">
  199. 低电量:<text class="text-one">{{bike.low_battery_total_bikes}}</text>
  200. </view>
  201. </view>
  202. </view>
  203. <view class="new_list" @click="skipOrder">
  204. <view class="new-left">
  205. <image src="../../static/img/new/order.png" mode="" style="width: 100upx;"></image>
  206. <view class="new-title">
  207. 订单
  208. </view>
  209. </view>
  210. <view class="new-middle">
  211. <view class="new-text" style="margin-top: 10upx;">
  212. 总订单数:{{order.order_total}}
  213. </view>
  214. <view class="new-text" style="margin-top: 10upx;">
  215. 待支付中:{{order.waiting_pay}}
  216. </view>
  217. </view>
  218. <view class="new-right">
  219. <view class="new-text" style="margin-top: 10upx;">
  220. 今日新增:<text class="text-one">{{order.today_add_order}}</text>
  221. </view>
  222. <view class="new-text" style="margin-top: 10upx;">
  223. 车骑行中:<text class="text-one">{{order.riding_order}}</text>
  224. </view>
  225. </view>
  226. </view>
  227. <!-- 收益 -->
  228. <view class="new_list" @click="incomeDetail">
  229. <view class="new-left">
  230. <image src="../../static/img/new/income.png" mode="" ></image>
  231. <view class="new-title">
  232. 收益
  233. </view>
  234. </view>
  235. <view class="new-middle">
  236. <view class="new-text">
  237. 今日充值:{{orderProfit.rechargeOrderTodayProfit}}
  238. </view>
  239. <view class="new-text">
  240. 免押日收:{{orderProfit.depositCardTodayProfit}}
  241. </view>
  242. <view class="new-text">
  243. 骑卡日收:{{bike.trouble_total_bikes}}
  244. </view>
  245. </view>
  246. <view class="new-right">
  247. <view class="new-text">
  248. 今日收益:<text class="text-one">{{orderProfit.todayProfit}}</text>
  249. </view>
  250. <view class="new-text">
  251. 今日押金:<text class="text-one">{{orderProfit.riddingCardOrderTodayProfit}}</text>
  252. </view>
  253. </view>
  254. </view>
  255. <!-- 总收益 -->
  256. <view class="new_list" @click="incomeDetail">
  257. <view class="new-left">
  258. <image src="../../static/img/new/all-income.png" mode="" ></image>
  259. <view class="new-title">
  260. 总收益
  261. </view>
  262. </view>
  263. <view class="new-middle">
  264. <view class="new-text">
  265. 总收益数:{{orderProfit.totalProfit}}
  266. </view>
  267. <view class="new-text">
  268. 总押金数:{{orderProfit.depositTotal}}
  269. </view>
  270. <view class="new-text">
  271. 免押总收:{{orderProfit.depositCardTotalProfit}}
  272. </view>
  273. </view>
  274. <view class="new-right">
  275. <view class="new-text">
  276. 充值收益:<text class="text-one">{{orderProfit.rechargeOrderTotalProfit}}</text>
  277. </view>
  278. <view class="new-text">
  279. 本月收益:<text class="text-one">{{orderProfit.monthProfit}}</text>
  280. </view>
  281. <view class="new-text">
  282. 骑卡总收:<text class="text-one">{{orderProfit.riddingCardOrderTotalProfit}}</text>
  283. </view>
  284. </view>
  285. </view>
  286. <!-- 工单管理 -->
  287. <view class="new_list" @click="skipWork" style="margin-bottom: 30upx;">
  288. <view class="new-left">
  289. <image src="../../static/img/new/gongdan.png" mode="" ></image>
  290. <view class="new-title">
  291. 工单
  292. </view>
  293. </view>
  294. <view class="new-middle">
  295. <view class="new-text" style="margin-top: 10upx;">
  296. 全部工单:
  297. {{work_order.planned_meet_num+work_order.planned_worked_num+work_order.planned_work_num+work_order.planned_over_num}}
  298. </view>
  299. <view class="new-text" style="margin-top: 10upx;">
  300. 已完成: {{work_order.planned_over_num}}
  301. </view>
  302. </view>
  303. <view class="new-right">
  304. <view class="new-text" style="margin-top: 10upx;">
  305. 待认领:<text class="text-one">{{work_order.planned_meet_num}}</text>
  306. </view>
  307. <view class="new-text" style="margin-top: 10upx;">
  308. 处理中:<text class="text-one">{{work_order.planned_work_num}}</text>
  309. </view>
  310. </view>
  311. </view>
  312. <!-- <view class="list" @click="skipUser">
  313. <view class="all-list-top">
  314. <view class="all-top-left">
  315. <image src="../../static/img/manage1.png" mode=""></image>
  316. <view class="all-list-title">
  317. <text>总用户数</text><text style="font-size: 34upx; font-weight: 800;" class="text-one">{{user.totalUser}}</text>
  318. </view>
  319. </view>
  320. <view class="all-top-right">
  321. <view class="all-list-right">
  322. <image src="../../static/img/right-arrow.png" mode=""></image>
  323. </view>
  324. </view>
  325. </view>
  326. <view class="all-list-content">
  327. <view class="content-child">
  328. <view class="first-child">
  329. 有效户数
  330. </view>
  331. <view class="second-child">
  332. {{user.cardUser}}
  333. </view>
  334. </view>
  335. <view class="content-child">
  336. <view class="first-child">
  337. 押金户数
  338. </view>
  339. <view class="second-child">
  340. {{user.depositUser}}
  341. </view>
  342. </view>
  343. <view class="content-child">
  344. <view class="first-child">
  345. 今日新增
  346. </view>
  347. <view class="second-child">
  348. {{user.todayAddUser}}
  349. </view>
  350. </view>
  351. <view class="content-child">
  352. <view class="first-child">
  353. 今日活跃
  354. </view>
  355. <view class="second-child">
  356. {{user.todayActiveUser}}
  357. </view>
  358. </view>
  359. </view>
  360. </view> -->
  361. <!-- <view class="list" @click="skipBike">
  362. <view class="all-list-top">
  363. <view class="all-top-left">
  364. <image src="../../static/img/manage2.png" mode=""></image>
  365. <view class="all-list-title">
  366. <text>总车辆数</text><text style="font-size: 34upx; font-weight: 800;" class="text-one">{{bike.total_bikes}}</text>
  367. </view>
  368. </view>
  369. <view class="all-top-right">
  370. <image src="../../static/img/manage3.png" mode=""></image>
  371. <view class="all-list-title">
  372. <text>今日使用</text><text style="font-size: 34upx; font-weight: 800;" class="text-one">{{bike.today_use_total_bikes}}</text>
  373. </view>
  374. <view class="all-list-right">
  375. <image src="../../static/img/right-arrow.png" mode=""></image>
  376. </view>
  377. </view>
  378. </view>
  379. <view class="all-list-content">
  380. <view class="content-child">
  381. <view class="first-child">
  382. 上线车辆
  383. </view>
  384. <view class="second-child">
  385. {{bike.put_total_bikes}}
  386. </view>
  387. </view>
  388. <view class="content-child">
  389. <view class="first-child">
  390. 在线车辆
  391. </view>
  392. <view class="second-child">
  393. {{bike.line_total_bikes}}
  394. </view>
  395. </view>
  396. <view class="content-child">
  397. <view class="first-child">
  398. 故障车辆
  399. </view>
  400. <view class="second-child">
  401. {{bike.trouble_total_bikes}}
  402. </view>
  403. </view>
  404. <view class="content-child">
  405. <view class="first-child">
  406. 低电量
  407. </view>
  408. <view class="second-child">
  409. {{bike.low_battery_total_bikes}}
  410. </view>
  411. </view>
  412. </view>
  413. </view>
  414. -->
  415. <!-- <view class="list" @click="skipOrder">
  416. <view class="all-list-top">
  417. <view class="all-top-left">
  418. <image src="../../static/img/manage4.png" mode=""></image>
  419. <view class="all-list-title">
  420. <text>总订单数</text><text style="font-size: 34upx; font-weight: 800;" class="text-one">{{order.order_total}}</text>
  421. </view>
  422. </view>
  423. <view class="all-top-right">
  424. <view class="all-list-right">
  425. <image src="../../static/img/right-arrow.png" mode=""></image>
  426. </view>
  427. </view>
  428. </view>
  429. <view class="all-list-content">
  430. <view class="content-child">
  431. <view class="first-child">
  432. 今日新增
  433. </view>
  434. <view class="second-child">
  435. {{order.today_add_order}}
  436. </view>
  437. </view>
  438. <view class="content-child">
  439. <view class="first-child">
  440. 车骑行中
  441. </view>
  442. <view class="second-child">
  443. {{order.riding_order}}
  444. </view>
  445. </view>
  446. <view class="content-child">
  447. <view class="first-child">
  448. 待支付中
  449. </view>
  450. <view class="second-child">
  451. {{order.waiting_pay}}
  452. </view>
  453. </view>
  454. </view>
  455. </view>
  456. -->
  457. <!-- <view class="list" @click="incomeDetail">
  458. <view class="all-list-top">
  459. <view class="all-top-left">
  460. <image src="../../static/img/manage5.png" mode=""></image>
  461. <view class="all-list-title">
  462. <text>今日收益</text><text style="font-size: 34upx; font-weight: 800;" class="text-one">{{orderProfit.todayProfit}}</text>
  463. </view>
  464. </view>
  465. <view class="all-top-right">
  466. <view class="all-list-right">
  467. <image src="../../static/img/right-arrow.png" mode=""></image>
  468. </view>
  469. </view>
  470. </view>
  471. <view class="all-list-content">
  472. <view class="content-child">
  473. <view class="first-child">
  474. 今日充值
  475. </view>
  476. <view class="second-child">
  477. {{orderProfit.rechargeOrderTodayProfit}}
  478. </view>
  479. </view>
  480. <view class="content-child">
  481. <view class="first-child">
  482. 今日押金
  483. </view>
  484. <view class="second-child">
  485. {{orderProfit.depositToday}}
  486. </view>
  487. </view>
  488. <view class="content-child">
  489. <view class="first-child">
  490. 免押日收
  491. </view>
  492. <view class="second-child">
  493. {{orderProfit.depositCardTodayProfit}}
  494. </view>
  495. </view>
  496. <view class="content-child">
  497. <view class="first-child">
  498. 骑卡日收
  499. </view>
  500. <view class="second-child">
  501. {{orderProfit.riddingCardOrderTodayProfit}}
  502. </view>
  503. </view>
  504. </view>
  505. </view> -->
  506. <!-- <view class="list" @click="incomeDetail">
  507. <view class="all-list-top">
  508. <view class="all-top-left">
  509. <image src="../../static/img/manage6.png" mode=""></image>
  510. <view class="all-list-title">
  511. <text>总收益数</text><text style="font-size: 34upx; font-weight: 800;" class="text-one">{{orderProfit.totalProfit}}</text>
  512. </view>
  513. </view>
  514. <view class="all-top-right">
  515. <image src="../../static/img/manage7.png" mode=""></image>
  516. <view class="all-list-title">
  517. <text>充值收益</text><text style="font-size: 34upx; font-weight: 800;" class="text-one">{{orderProfit.rechargeOrderTotalProfit}}</text>
  518. </view>
  519. <view class="all-list-right">
  520. <image src="../../static/img/right-arrow.png" mode=""></image>
  521. </view>
  522. </view>
  523. </view>
  524. <view class="all-list-content">
  525. <view class="content-child">
  526. <view class="first-child">
  527. 总押金数
  528. </view>
  529. <view class="second-child">
  530. {{orderProfit.depositTotal}}
  531. </view>
  532. </view>
  533. <view class="content-child">
  534. <view class="first-child">
  535. 免押总收
  536. </view>
  537. <view class="second-child">
  538. {{orderProfit.depositCardTotalProfit}}
  539. </view>
  540. </view>
  541. <view class="content-child">
  542. <view class="first-child">
  543. 本月收益
  544. </view>
  545. <view class="second-child">
  546. {{orderProfit.monthProfit}}
  547. </view>
  548. </view>
  549. <view class="content-child">
  550. <view class="first-child">
  551. 骑卡总收
  552. </view>
  553. <view class="second-child">
  554. {{orderProfit.riddingCardOrderTotalProfit}}
  555. </view>
  556. </view>
  557. </view>
  558. </view> -->
  559. <!-- <view class="list" @click="skipWork">
  560. <view class="all-list-top">
  561. <view class="all-top-left">
  562. <image src="../../static/img/gongdan.png" mode=""></image>
  563. <view class="all-list-title">
  564. <text>工单管理</text>
  565. </view>
  566. </view>
  567. <view class="all-top-right">
  568. <view class="all-list-right">
  569. <image src="../../static/img/right-arrow.png" mode=""></image>
  570. </view>
  571. </view>
  572. </view>
  573. <view class="all-list-content">
  574. <view class="content-child">
  575. <view class="first-child">
  576. 全部工单
  577. </view>
  578. <view class="second-child">
  579. {{work_order.planned_meet_num+work_order.planned_worked_num+work_order.planned_work_num+work_order.planned_over_num}}
  580. </view>
  581. </view>
  582. <view class="content-child">
  583. <view class="first-child">
  584. 待认领
  585. </view>
  586. <view class="second-child">
  587. {{work_order.planned_meet_num}}
  588. </view>
  589. </view>
  590. <view class="content-child">
  591. <view class="first-child">
  592. 处理中
  593. </view>
  594. <view class="second-child">
  595. {{work_order.planned_work_num}}
  596. </view>
  597. </view>
  598. <view class="content-child">
  599. <view class="first-child">
  600. 已完成
  601. </view>
  602. <view class="second-child">
  603. {{work_order.planned_over_num}}
  604. </view>
  605. </view>
  606. </view>
  607. </view> -->
  608. </view>
  609. </swiper-item>
  610. <!-- 用户管理 -->
  611. <swiper-item class="swiper-item" style="height: 100%; ">
  612. <scroll-view scroll-y="true" :style="{ height:mainHeight-110 + 'px' }" @scrolltolower="scrolltolower">
  613. <view class="out-content">
  614. <view class="list">
  615. <view class="all-list-top">
  616. <view class="all-top-left">
  617. <image src="../../static/img/manage1.png" mode=""></image>
  618. <view class="all-list-title">
  619. <text>总用户数</text><text style="font-size: 34upx; font-weight: 800;">{{user.totalUser}}</text>
  620. </view>
  621. </view>
  622. <!-- <view class="all-top-right">
  623. <view class="all-list-right">
  624. <image src="../../static/img/right-arrow.png" mode=""></image>
  625. </view>
  626. </view> -->
  627. </view>
  628. <view class="all-list-content" style="padding: 28upx 0upx 28upx 0upx;">
  629. <view class="content-child">
  630. <view class="first-child">
  631. 新增用户
  632. </view>
  633. <view class="second-child">
  634. {{user.todayAddUser}}
  635. </view>
  636. </view>
  637. <view class="content-child">
  638. <view class="first-child">
  639. 押金用户
  640. <view class="second-child">
  641. {{user.depositUser}}
  642. </view>
  643. </view>
  644. </view>
  645. </view>
  646. </view>
  647. <view class="user-list" @click="userDetail(item.id)" v-for="(item,index) in userList" :key='index'>
  648. <text class="user-phone">手机号:{{item.mobile}}</text>
  649. <view class="">
  650. <view class="user-name" style="display: inline-block;width:50%;height: 40upx; overflow: hidden;"><text style="overflow: hidden;">姓名:{{item.username}}</text></view>
  651. <view class="user-balance" style="display: inline-block;">余额:{{item.wallet_money}}</view>
  652. </view>
  653. <!-- <text class="user-school">校区:{{item.area}}</text> -->
  654. <view class="user-tag1" v-if="deposit_type==3">
  655. 押全用户
  656. </view>
  657. <view class="user-tag2" v-if="deposit_type==12">
  658. 非押全用户
  659. </view>
  660. <view class="user-tag3" v-if="deposit_type==1">
  661. 免押全用户
  662. </view>
  663. </view>
  664. <view class="noData noUser" v-if="userList.length == 0">
  665. <image src="http://resource.weilaibike.com/none.png" style="width: 200upx;
  666. height: 200upx;"></image>
  667. <view>暂无相关数据~</view>
  668. </view>
  669. <!-- </view> -->
  670. </view>
  671. </scroll-view>
  672. </swiper-item>
  673. <!-- 车辆管理 -->
  674. <swiper-item class="swiper-item" style="height: 100%;">
  675. <scroll-view scroll-y="true" :style="{ height:mainHeight-110 + 'px' }" @scrolltolower="scrolltolower">
  676. <view class="bike" style="overflow-y: scroll; ">
  677. <view class="out-content" style="padding-top: 300upx;">
  678. <view class="bike-list" @click="bikeDetail(item.id,item.bike_no)" v-for="(item,index1) in bikeList" :key='index1'>
  679. <view class="bike-left">
  680. <view class="bike-list-first">
  681. <text class="bike-id">{{item.bike_no}}</text> <text class="Battery">{{item.battery_power}}%</text> <text
  682. class="riding-status">{{item.is_riding == 0 ? '未骑行':'骑行中'}}</text>
  683. </view>
  684. <view class="bike-list-second">
  685. <text class="order-tinme">{{item.not_use_time}}</text> <text class="bike-money">平均收益:</text> <text>{{item.average_profit}}</text>
  686. </view>
  687. <view class="user-tag1" v-if="item.tab_name=='未骑行'" style="background: linear-gradient(163deg, #68e9ce 0%, #18d5b9 100%);">
  688. {{item.tab_name}}
  689. </view>
  690. <view class="user-tag1" v-if="item.tab_name=='中控离线'" style="background: linear-gradient(163deg, #ff6477 0%, #ff7a69 100%);">
  691. {{item.tab_name}}
  692. </view>
  693. <view class="user-tag1" v-if="item.tab_name=='未投放'" style="background: linear-gradient(163deg, #41b8fd 0%, #0ee7fe 100%);">
  694. {{item.tab_name}}
  695. </view>
  696. <view class="user-tag1" v-if="item.tab_name=='低电量'" style="background: linear-gradient(163deg, #ff8b66 0%, #fe5722 100%);">
  697. {{item.tab_name}}
  698. </view>
  699. <view class="user-tag1" v-if="item.tab_name=='骑行中'" style="background: linear-gradient(163deg, #FF8CC7 0%, #F232A3 100%);">
  700. {{item.tab_name}}
  701. </view>
  702. <view class="user-tag1" v-if="item.tab_name=='不在停车区'" style="background: linear-gradient(163deg, #9382f4 0%, #a297fb 100%);">
  703. {{item.tab_name}}
  704. </view>
  705. <view class="user-tag1" v-if="item.tab_name=='故障'" style="background: linear-gradient(163deg, #ff6477 0%, #ff7a69 100%);">
  706. {{item.tab_name}}
  707. </view>
  708. <view class="user-tag1" v-if="item.tab_name=='故障下线'" style="background: linear-gradient(163deg, #FF9854 0%, #FFC573 100%);">
  709. {{item.tab_name}}
  710. </view>
  711. </view>
  712. <view class="bike-right">
  713. <image src="http://resource.weilaibike.com/bike.png" mode=""></image>
  714. </view>
  715. </view>
  716. </view>
  717. </view>
  718. </scroll-view>
  719. </swiper-item>
  720. <!-- 订单管理 -->
  721. <swiper-item class="swiper-item" style="height: 100%; ">
  722. <scroll-view scroll-y="true" :style="{ height:mainHeight-110 + 'px' }" @scrolltolower="scrolltolower">
  723. <view class="out-content" style="overflow-y: scroll; ">
  724. <view class="list">
  725. <view class="all-list-top">
  726. <view class="all-top-left">
  727. <image src="http://resource.weilaibike.com/bike_yunwei/order1.png" mode=""></image>
  728. <view class="all-list-title">
  729. <text>今日总收入</text><text style="font-size: 34upx; font-weight: 800;">{{order.today_add_money}}</text>
  730. </view>
  731. </view>
  732. <!-- <view class="all-top-right">
  733. <view class="all-list-right">
  734. <image src="../../static/img/right-arrow.png" mode=""></image>
  735. </view>
  736. </view> -->
  737. </view>
  738. <view class="all-list-content" style="padding: 28upx 0upx 28upx 0upx;">
  739. <view class="content-child">
  740. <view class="first-child">
  741. 今日订单
  742. </view>
  743. <view class="second-child">
  744. {{order.today_add_order}}
  745. </view>
  746. </view>
  747. <view class="content-child" @click="localscreen(curPage==1?'normal_riding=1':'rent_riding=1')">
  748. <view class="first-child">
  749. 进行中订单
  750. </view>
  751. <view class="second-child">
  752. {{order.riding_order}}
  753. </view>
  754. </view>
  755. </view>
  756. </view>
  757. <view class="order-bottom">
  758. <view class="order-bottom-left" @click="normalOrder" :class="curPage==1?'active':''">
  759. 普通订单
  760. </view>
  761. <view class="order-bottom-right" @click="dayOrder" :class="curPage==2?'active':''">
  762. 日租订单
  763. </view>
  764. </view>
  765. <view class="order-list" @click="orderDetail(item.id)" v-for="(item,index2) in orderList" :key='index2'>
  766. <text class="order-bike-num">车辆编号:{{item.bike_no}}</text>
  767. <view class="order-user">
  768. <text class="order-user-name">用户:{{item.nickname}}</text>
  769. <text class="order-user-phone" @click.stop="phoneCall(item.mobile)">{{item.mobile}}(点击可拨打)</text>
  770. </view>
  771. <text class="order-time">时间:{{item.start_use_bike_time}}——{{item.end_use_bike_time}}</text>
  772. <view class="user-tag1" v-if="item.orders_status=='骑行中'" style="background: linear-gradient(163deg, #68e9ce 0%, #18d5b9 100%);">
  773. {{item.orders_status}}
  774. </view>
  775. <view class="user-tag1" v-if="item.orders_status=='订单关闭'" style="background: linear-gradient(163deg, #c0c0c0 0%, #808080 100%);">
  776. {{item.orders_status}}
  777. </view>
  778. <view class="user-tag1" v-if="item.orders_status=='已完成'" style="background: linear-gradient(163deg, #41b8fd 0%, #0ee7fe 100%);">
  779. {{item.orders_status}}
  780. </view>
  781. <view class="user-tag1" v-if="item.orders_status=='待支付'" style="background: linear-gradient(163deg,rgba(255, 139, 102, 1) 0%,rgba(254, 87, 34, 1) 100%);">
  782. {{item.orders_status}}
  783. </view>
  784. <view class="user-tag1" v-if="item.orders_status=='临时停车'" style="background: linear-gradient(163deg, #9382f4 0%, #a297fb 100%);">
  785. {{item.orders_status}}
  786. </view>
  787. <view class="user-tag1" v-if="item.orders_status=='租车中'" style="background: linear-gradient(163deg, #3648f5 0%, #a297fb 100%);">
  788. {{item.orders_status}}
  789. </view>
  790. <view class="user-tag1" v-if="item.orders_status=='租车结束,待支付'" style="background: linear-gradient(163deg, #32f955 0%, #a297fb 100%);">
  791. {{item.orders_status}}
  792. </view>
  793. </view>
  794. <view class="noData noOrder" v-if="orderList.length == 0">
  795. <image src="http://resource.weilaibike.com/none.png" style="width: 200upx;height: 200upx;"></image>
  796. <view>暂无相关数据~</view>
  797. </view>
  798. </view>
  799. </scroll-view>
  800. </swiper-item>
  801. <!-- 工单管理 -->
  802. <swiper-item class="swiper-item" style="height: 100%;">
  803. <view class="bike" style="overflow-y: scroll; " :style="{ height:mainHeight-110+ 'px' }">
  804. <view class="out-content" style="padding-top: 300upx;">
  805. <view class="bike-list" @click="workDetail(item.id)" v-for="(item,index3) in work_orderList" :key='index3'>
  806. <view class="work-list-left">
  807. <view class="work-title">
  808. {{item.type_name}}
  809. </view>
  810. <view class="">
  811. 当前负责人:{{item.worker}}
  812. </view>
  813. <view class="">
  814. 车辆编号:{{item.bike_no}}
  815. </view>
  816. <view class="">
  817. 创建时间:{{item.created_at}}
  818. </view>
  819. </view>
  820. <view class="work-list-right">
  821. <view class="">
  822. <text>进度:</text>
  823. <text v-if="item.planned=='已完成'" style="color: red;">{{item.planned}}</text>
  824. <text v-if="item.planned=='待接单'" style="color: red;">{{item.planned}}</text>
  825. <text v-if="item.planned=='处理中'" style="color: red;">{{item.planned}}</text>
  826. <text v-if="item.planned=='已处理'" style="color: red;">{{item.planned}}</text>
  827. </view>
  828. <view class="">
  829. <text>来源:</text><text>{{item.source}}</text>
  830. </view>
  831. </view>
  832. <view class="user-tag" v-if="item.type_name=='充电工单'" style="background: linear-gradient(163deg, #68e9ce 0%, #18d5b9 100%);">
  833. {{item.type_name}}
  834. </view>
  835. <view class="user-tag" v-if="item.type_name=='断电工单'" style="background: linear-gradient(163deg, #ff6477 0%, #ff7a69 100%);">
  836. {{item.type_name}}
  837. </view>
  838. <view class="user-tag" v-if="item.type_name=='组长工单'" style="background: linear-gradient(163deg, #41b8fd 0%, #0ee7fe 100%);">
  839. {{item.type_name}}
  840. </view>
  841. <view class="user-tag" v-if="item.type_name=='偷盗工单'" style="background: linear-gradient(163deg, #ff8b66 0%, #fe5722 100%);">
  842. {{item.type_name}}
  843. </view>
  844. <view class="user-tag" v-if="item.type_name=='离线工单'" style="background: linear-gradient(163deg, #FF8CC7 0%, #F232A3 100%);">
  845. {{item.type_name}}
  846. </view>
  847. <view class="user-tag" v-if="item.type_name=='救援工单'" style="background: linear-gradient(163deg, #9382f4 0%, #a297fb 100%);">
  848. {{item.type_name}}
  849. </view>
  850. <view class="user-tag" v-if="item.type_name=='警报工单'" style="background: linear-gradient(163deg, #FF9854 0%, #FFC573 100%);">
  851. {{item.type_name}}
  852. </view>
  853. <view class="user-tag" v-if="item.type_name=='故障工单'" style="background: linear-gradient(163deg, #D684DD 0%, #F7A7EC 100%);">
  854. {{item.type_name}}
  855. </view>
  856. <view class="user-tag" v-if="item.type_name=='其他工单'" style="background: linear-gradient(163deg, #47DDA8 0%, #61F79C 100%);">
  857. {{item.type_name}}
  858. </view>
  859. <view class="user-tag" v-if="item.type_name=='查看工单'" style="background: linear-gradient(163deg, #88B9E1 0%, #004FB6 100%);">
  860. {{item.type_name}}
  861. </view>
  862. </view>
  863. </view>
  864. </view>
  865. </swiper-item>
  866. </swiper>
  867. </view>
  868. </view>
  869. </template>
  870. <script>
  871. var app = getApp()
  872. import swiperNavBar from '../../component/nav/swiperNavBar.vue'
  873. import allAreatwo from '../../component/allArea/allAreatwo.vue'
  874. export default {
  875. data() {
  876. return {
  877. swiperTabList: ['全部管理', '用户管理', '车辆管理', '订单管理', '工单管理'], //导航列表
  878. scrollIntoView: 0, //设置哪个方向可滚动,则在哪个方向滚动到该元素
  879. swiperTabIdx: 0,
  880. swiperCurrentSize: '30upx', //导航的字体大小
  881. swiperColor: '#424242', //导航栏字体未选中前颜色
  882. swiperCurrentColor: '#EB5E28', //选中当前导航栏字体颜色
  883. currentSwiperWidth: '25%', //当前导航的宽度 % upx rpx px (导航超出可左右滑动 )
  884. currentSwiperHeight: 70, //当前导航的高度度 rpx px
  885. mainHeight: 200, //全屏或者局部滑动设置的高度
  886. currentSwiperLineShow: true, //是否显示导航栏的线条 (线条距离标题太近的话可自行修改.swiperLine的css)
  887. currentSwiperLineActiveBg: '#EB5E28', //当前选中的导航栏线条颜色
  888. currentSwiperLineActiveWidth: '80upx', //当前选中的导航栏线条的宽度 upx rpx px
  889. currentSwiperLineActiveHeight: '8upx', //当前选中的导航栏线条的高度度 upx rpx px
  890. currentSwiperLineAnimatie: 300, //当前选中的导航栏线条过渡效果
  891. scrollTop: 0,
  892. item: '',
  893. mainHeight: 700,
  894. // navIndex: 0,
  895. // swiperTabIdx: 0,
  896. index: "",
  897. old: {
  898. scrollTop: 0
  899. },
  900. deposit_type: 1, //押金状态0非押金用户 1押金用户
  901. state: 1, //订单管理界面按钮状态 1为普通订单 2为日租订单
  902. bike: [], //车辆
  903. work_order: [], //工单
  904. user: [], //用户
  905. orderProfit: [], //收益
  906. order: [], //订单
  907. bikeList: [], //车辆
  908. work_orderList: [], //工单
  909. userList: [], //用户
  910. orderProfitList: [], //收益
  911. orderList: [], //订单
  912. curPage: 1, //默认显示普通订单
  913. name: '', //车辆管理的局部筛选
  914. areaID: '', //骑行区域id
  915. list: [{ //所有区域选项
  916. areaID: '',
  917. text: '全部区域',
  918. value: -1,
  919. }], //骑行区域选择列表
  920. value1: 0, //骑行区与第一个显示什么
  921. homeHeight: '',
  922. page: 1, //当前页数
  923. userUrl: '',
  924. curVal: uni.getStorageSync('curVal') ? uni.getStorageSync('curVal') : 0, //骑行区与第一个下标
  925. // curId: "", //骑行区域id
  926. // list: uni.getStorageSync('allArea'),
  927. }
  928. },
  929. components: {
  930. swiperNavBar,
  931. allAreatwo
  932. },
  933. mounted() {
  934. if (uni.getStorageSync('curVal')) {
  935. // let active = this.swiperTabIdx;
  936. // let areaId = uni.getStorageSync('curId');
  937. console.log("这是初始加载数据")
  938. this.allData()
  939. // console.log(this.bike,"这是车辆数据")
  940. } else {
  941. this.areaID = this.list[0].areaID;
  942. console.log(this.areaID, '12345678')
  943. this.allData()
  944. }
  945. },
  946. onLoad() {
  947. var arr = uni.getStorageSync('allArea');
  948. this.list = this.list.concat(arr);
  949. console.log(this.list)
  950. // console.log(uin.getStorageSync('token'))
  951. uni.getSystemInfo({
  952. success: res => {
  953. console.log(res, "这是屏幕信息")
  954. this.mainHeight = res.windowHeight;
  955. // let info=uni.createSelectorQuery().select('.swiperMain');
  956. // info.boundingClientRect(function(data){
  957. // console.log(data,'这是组件数据')
  958. // }).exec(function(){
  959. // })
  960. }
  961. })
  962. },
  963. // onReachBottom() {
  964. // console.log('触底事件')
  965. // // this.loadmore()
  966. // },
  967. // onReachBottom(){
  968. // console.log("这是触底事件222222")
  969. // // // var that = this;
  970. // // uni.showLoading({
  971. // // title: '加载中121313',
  972. // // })
  973. // },
  974. methods: {
  975. scrolltolower: function() {
  976. console.log("这是滚动触底时间")
  977. this.loadmore()
  978. },
  979. //回到顶部
  980. // goTop: function(e) { // 一键回到顶部
  981. // if (uni.pageScrollTo) {
  982. // uni.pageScrollTo({
  983. // scrollTop: 0
  984. // })
  985. // }
  986. // },
  987. // onPullDownRefresh: function() {
  988. // uni.showNavigationBarLoading();
  989. // this.getWork(), uni.hideNavigationBarLoading(), uni.stopPullDownRefresh();
  990. // },
  991. //弹框事件
  992. tanKuang: function() {
  993. var that = this;
  994. var arr = []
  995. for (let i = 0; i < this.list.length; i++) {
  996. arr = arr.concat(this.list[i].text)
  997. }
  998. console.log(arr)
  999. uni.showActionSheet({
  1000. itemList: arr,
  1001. success: function(res) {
  1002. let index = res.tapIndex
  1003. that.areaID = that.list[index].areaID;
  1004. that.curVal = res.tapIndex
  1005. console.log(that.list[index].areaID, "66666");
  1006. console.log('选中了第' + res.tapIndex + '个按钮');
  1007. that.allData()
  1008. that.tabList()
  1009. },
  1010. fail: function(res) {}
  1011. })
  1012. },
  1013. // 触摸结束事件
  1014. touchEnd: function(e) {
  1015. var that = this;
  1016. let touchMoveX = e.changedTouches[0].pageX;
  1017. let touchMoveY = e.changedTouches[0].pageY;
  1018. let tmX = touchMoveX - touchDotX;
  1019. let tmY = touchMoveY - touchDotY;
  1020. if (time < 20) {
  1021. let absX = Math.abs(tmX);
  1022. let absY = Math.abs(tmY);
  1023. // if (absX > 2 * absY) {
  1024. if (absX > 40 && (2 * absY) < 20) {
  1025. if (tmX < 0) {
  1026. if (this.swiperTabIdx >= 4) return
  1027. this.swiperTabIdx = this.swiperTabIdx + 1
  1028. // that.goTop();
  1029. that.tabList();
  1030. that.allData();
  1031. } else {
  1032. if (this.swiperTabIdx <= 0) return
  1033. this.swiperTabIdx = this.swiperTabIdx - 1
  1034. that.tabList();
  1035. that.allData();
  1036. }
  1037. }
  1038. }
  1039. clearInterval(interval); // 清除setInterval
  1040. time = 0;
  1041. },
  1042. childMess: function(e) {
  1043. if (typeof(e) == "number") {
  1044. } else {
  1045. this.areaID = e.areaID
  1046. console.log(e.areaID, '这是子组件穿过来的值')
  1047. }
  1048. this.allData()
  1049. this.tabList()
  1050. },
  1051. //tab点击事件 自行完善需要的代码
  1052. // CurrentTab: function(e) {
  1053. // this.swiperTabIdx ==e.currentTarget.dataset.index;
  1054. // this.scrollIntoView = Math.max(0, index - 1)
  1055. // console.log(uni.getStorageSync('curId'), "这是点击之后的缓存")
  1056. // this.tabList()
  1057. // console.log(index + '----' + item, '这是用户点击之后的页面')
  1058. // },
  1059. CurrentTab: function(index, item) {
  1060. // this.swiperTabIdx = e.currentTarget.dataset.index
  1061. // this.navIndex = e.currentTarget.dataset.index
  1062. // this.tabList()
  1063. // console.log(this.swiperTabIdx, "这是点击之后的时间")
  1064. this.swiperTabIdx = index;
  1065. this.scrollIntoView = Math.max(0, index - 1);
  1066. console.log(index + '----' + item)
  1067. this.tabList()
  1068. },
  1069. //全部管理页面跳转用户管理
  1070. skipUser: function() {
  1071. this.swiperTabIdx = 1
  1072. this.tabList()
  1073. },
  1074. skipBike: function() {
  1075. this.swiperTabIdx = 2
  1076. this.tabList()
  1077. },
  1078. skipOrder: function() {
  1079. this.swiperTabIdx = 3
  1080. this.tabList()
  1081. },
  1082. skipWork: function() {
  1083. this.swiperTabIdx = 4
  1084. this.tabList()
  1085. },
  1086. //车辆列表筛选
  1087. //滑动事件 自行完善需要的代码
  1088. SwiperChange: function(e) {
  1089. this.swiperTabIdx = e.detail.current;
  1090. this.scrollIntoView = Math.max(0, e.detail.current - 1);
  1091. this.tabList()
  1092. console.log(e, "这是滚动事件1256")
  1093. },
  1094. //全部数据
  1095. allData: function() {
  1096. // uni.showLoading({
  1097. // title: '加载中...',
  1098. // })
  1099. let active = this.swiperTabIdx;
  1100. let areaId = this.areaID;
  1101. let url = '';
  1102. if (active == 0) { //所有数据
  1103. if (areaId == '') {
  1104. url = 'statistics/statistics'
  1105. } else {
  1106. url = 'statistics/statistics?put_area_id=' + areaId
  1107. }
  1108. app.request(url, '', 'GET').then(res => {
  1109. uni.hideLoading();
  1110. if (res.statusCode == 200) {
  1111. console.log(res.data, '数据')
  1112. uni.hideLoading()
  1113. this.user = res.data.userData,
  1114. this.bike = res.data.bikeData,
  1115. this.order = res.data.orderData,
  1116. this.work_order = res.data.workOrderData,
  1117. this.orderProfit = res.data.profitData,
  1118. console.log(this.user, '数据123456')
  1119. }
  1120. })
  1121. } else {
  1122. if (active == 1) { //用户数据
  1123. if (areaId == '') {
  1124. url = 'user/userStatistics'
  1125. } else {
  1126. url = 'user/userStatistics?put_area_id=' + areaId
  1127. }
  1128. } else if (active == 2) { //车辆数据
  1129. if (areaId == '') {
  1130. url = 'bike/statistics'
  1131. } else {
  1132. url = 'bike/statistics?put_area_id=' + areaId
  1133. }
  1134. } else if (active == 3) { //订单数据
  1135. if (areaId == '') {
  1136. url = 'order/orderStatistics'
  1137. } else {
  1138. url = 'order/orderStatistics?put_area_id=' + areaId
  1139. }
  1140. } else if (active == 4) { //工单数据
  1141. if (areaId == '') {
  1142. url = 'work_order/workOrderStatistics'
  1143. } else {
  1144. url = 'work_order/workOrderStatistics?put_area_id=' + areaId
  1145. }
  1146. }
  1147. app.request(url, '', 'GET').then(res => {
  1148. if (res.statusCode == 200) {
  1149. console.log(res.data, '总数据')
  1150. uni.hideLoading()
  1151. this.user = res.data,
  1152. this.bike = res.data,
  1153. this.order = res.data,
  1154. this.work_order = res.data
  1155. }
  1156. })
  1157. }
  1158. },
  1159. localscreen: function(e) {
  1160. //车辆管理的局部筛选
  1161. console.log(e, 'hhh')
  1162. this.name = e
  1163. this.tabList();
  1164. },
  1165. //列表数据
  1166. tabList() {
  1167. let active = this.swiperTabIdx;
  1168. let curPage = this.curPage;
  1169. let url = ''
  1170. let name = ''
  1171. uni.showLoading({
  1172. title: '加载中...',
  1173. })
  1174. //当前是全部管理不需要加载
  1175. if (active == 0) {
  1176. uni.hideLoading();
  1177. return;
  1178. }
  1179. if (this.name != '') {
  1180. name = '&&' + this.name
  1181. console.log(name, 'zheshi name ')
  1182. }
  1183. let data = '&&put_area_id=' + this.areaID;
  1184. if (active == 1) { //用户
  1185. url = 'user/list/?page=1'
  1186. // url = 'user/list'
  1187. } else if (active == 2) { //车辆
  1188. url = 'bike/list/?page=1'
  1189. } else if (active == 3) { //订单
  1190. if (curPage == 1) {
  1191. url = 'order/list/?page=1'
  1192. } else {
  1193. url = 'orderRent/list/?page=1'
  1194. }
  1195. } else if (active == 4) { //工单
  1196. url = 'work_order/list?page=1'
  1197. }
  1198. app.request(url + data + name, '', 'GET').then(res => {
  1199. if (res.statusCode == 200) {
  1200. console.log(res.data)
  1201. uni.hideLoading();
  1202. this.userList = res.data.data,
  1203. this.bikeList = res.data.data,
  1204. this.orderList = res.data.data,
  1205. this.work_orderList = res.data.data
  1206. }
  1207. })
  1208. },
  1209. loadmore: function() {
  1210. //上拉加载更多的公共方法
  1211. console.log('loadMore', "这是触底时间")
  1212. // var that = this;
  1213. var active = this.swiperTabIdx;
  1214. if (active == 0) {
  1215. //当前是全部管理不需要加载
  1216. return;
  1217. }
  1218. uni.showLoading({
  1219. title: '加载中...',
  1220. })
  1221. var url = '';
  1222. var page = this.page + 1;
  1223. var data = '';
  1224. var name = '';
  1225. if (this.name != '') {
  1226. name = '&' + this.name
  1227. }
  1228. data = '&put_area_id=' + this.areaID
  1229. if (active == 1) {
  1230. //用户管理
  1231. url = 'user/list?page=' + this.userUrl;
  1232. } else if (active == 2) {
  1233. //车辆管理
  1234. url = 'bike/list?page=';
  1235. } else if (active == 3) {
  1236. //订单管理
  1237. if (this.curPage == 1) {
  1238. url = 'order/list?page=';
  1239. } else {
  1240. url = 'orderRent/list?page=';
  1241. }
  1242. } else if (active == 4) {
  1243. //工单管理
  1244. url = 'work_order/list?page=';
  1245. }
  1246. app.request(url + page + data + name, '', 'GET').then(res => {
  1247. if (res.statusCode == 200) {
  1248. if (res.data.data.length > 0) {
  1249. uni.hideLoading()
  1250. this.page = page
  1251. if (active == 1) {
  1252. this.userList = this.userList.concat(res.data.data)
  1253. } else if (active == 2) {
  1254. this.bikeList = this.bikeList.concat(res.data.data)
  1255. } else if (active == 3) {
  1256. this.orderList = this.orderList.concat(res.data.data)
  1257. } else if (active == 4) {
  1258. this.work_orderList = this.work_orderList.concat(res.data.data)
  1259. }
  1260. } else {
  1261. uni.showToast({
  1262. title: '暂无更多数据',
  1263. icon: 'none'
  1264. })
  1265. }
  1266. }
  1267. })
  1268. },
  1269. //点击拨打电话
  1270. phoneCall: function(e) {
  1271. uni.makePhoneCall({
  1272. phoneNumber: e
  1273. })
  1274. },
  1275. //普通订单
  1276. normalOrder: function() {
  1277. this.curPage = 1
  1278. this.tabList()
  1279. },
  1280. //日租订单
  1281. dayOrder: function() {
  1282. this.curPage = 2
  1283. this.tabList()
  1284. },
  1285. //跳转用户详情页面
  1286. userDetail: function(e) {
  1287. console.log(e, '用户详情数据')
  1288. uni.navigateTo({
  1289. url: '/pages/manage/userDetail?id=' + e
  1290. })
  1291. },
  1292. bikeDetail: function(e, aa) {
  1293. console.log(e, "这是车辆11111")
  1294. console.log(aa, "这是车辆112222222222111")
  1295. uni.navigateTo({
  1296. url: '/pages/index/bike_detail?id=' + e + '&bike_no=' + aa
  1297. })
  1298. },
  1299. //跳转订单详情页面
  1300. orderDetail: function(e) {
  1301. uni.navigateTo({
  1302. url: '/pages/manage/orderDetail?id=' + e + '&index=' + this.curPage, //普通订单和日租订单
  1303. })
  1304. },
  1305. //跳转工单管理页面
  1306. workDetail: function(e) {
  1307. uni.navigateTo({
  1308. url: '/pages/manage/workDetail?id=' + e,
  1309. })
  1310. },
  1311. //点击跳转收益详情页面
  1312. incomeDetail: function() {
  1313. uni.navigateTo({
  1314. url: '/pages/manage/incomeDetail?areaId=' + this.areaID,
  1315. })
  1316. }
  1317. },
  1318. }
  1319. </script>
  1320. <style>
  1321. .allArea {
  1322. display: inline-block;
  1323. position: fixed;
  1324. padding-left: 35upx;
  1325. height: 120upx;
  1326. font-size: 34upx;
  1327. line-height: 150upx;
  1328. background-color: #FFFFFF;
  1329. /* margin-bottom: 20rpx; */
  1330. z-index: 1000;
  1331. width: 100%;
  1332. }
  1333. .allArea image {
  1334. display: inline-block;
  1335. vertical-align: middle;
  1336. margin-left: 20upx;
  1337. height: 40upx;
  1338. width: 40upx;
  1339. }
  1340. .nav {
  1341. display: inline-block;
  1342. height: 44px;
  1343. line-height: 44px;
  1344. margin: 0 35upx;
  1345. font-size: 30upx;
  1346. /* width: 100px; */
  1347. text-align: center;
  1348. background-color: #FFFFFF;
  1349. }
  1350. .navClass {
  1351. border-bottom: solid 1px #282828;
  1352. /* border-bottom-width: 10upx; */
  1353. }
  1354. /* .swiperHead {
  1355. top: 0;
  1356. z-index: 10;
  1357. width: 100%;
  1358. background: #FFFFFF;
  1359. } */
  1360. .swiperHead {
  1361. position: fixed;
  1362. top: 120upx;
  1363. height: 70upx;
  1364. padding: 15upx 0;
  1365. z-index: 10;
  1366. width: 100%;
  1367. background: #FFFFFF;
  1368. }
  1369. .body {
  1370. position: relative;
  1371. }
  1372. .top {
  1373. position: absolute;
  1374. z-index: 1000000;
  1375. top: 0;
  1376. width: 100%;
  1377. }
  1378. .content {
  1379. height: 800px;
  1380. padding-top: 400px;
  1381. }
  1382. .scroll-view_H {
  1383. position: fixed;
  1384. white-space: nowrap;
  1385. /* width: 100%; */
  1386. z-index: 1000000;
  1387. }
  1388. .scroll-view-item {
  1389. height: 300upx;
  1390. line-height: 300upx;
  1391. text-align: center;
  1392. font-size: 36upx;
  1393. }
  1394. .scroll-view-item_H {
  1395. display: inline-block;
  1396. width: 100%;
  1397. height: 300upx;
  1398. line-height: 300upx;
  1399. text-align: center;
  1400. font-size: 36upx;
  1401. }
  1402. page {
  1403. position: relative;
  1404. background: #EEEEEE;
  1405. }
  1406. .swiperMain {
  1407. width: 100%;
  1408. }
  1409. .swiperLine {
  1410. padding-bottom: 9px !important;
  1411. }
  1412. .swiperHead scroll-view {
  1413. display: flex;
  1414. flex-direction: row;
  1415. flex-wrap: nowrap;
  1416. white-space: nowrap;
  1417. }
  1418. .swiperTab {
  1419. display: inline-flex;
  1420. flex-direction: column;
  1421. text-align: center;
  1422. }
  1423. .swiperCont {
  1424. /* padding-top: 400upx; */
  1425. width: 100%;
  1426. }
  1427. /* #ifdef H5 */
  1428. .swiperHead {
  1429. position: fixed;
  1430. top: 44px;
  1431. z-index: 10;
  1432. width: 100%;
  1433. background: #FFFFFF;
  1434. }
  1435. /* #endif */
  1436. .swiper {
  1437. width: 100%;
  1438. height: 400upx;
  1439. }
  1440. .swiperItem {
  1441. height: 100%;
  1442. background: #f9f9f9;
  1443. margin-top: 120upx;
  1444. color: #FFFFFF;
  1445. font-size: 30upx;
  1446. }
  1447. /* .swiperItem image {
  1448. width: 100%;
  1449. height: 100%;
  1450. display: block;
  1451. } */
  1452. .out-content {
  1453. padding: 0 30upx;
  1454. /* padding: 45upx 30upx; */
  1455. }
  1456. .list {
  1457. margin-top: 22upx;
  1458. /* width: 100%; */
  1459. /* height: 158upx; */
  1460. /* padding-top: 46upx;
  1461. padding-bottom: 64upx; */
  1462. padding: 0 60upx;
  1463. border-radius: 10upx;
  1464. background: #FFFFFF;
  1465. }
  1466. .all-list-top {
  1467. display: flex;
  1468. padding: 32upx 0;
  1469. text-align: left;
  1470. /* display: inline-block; */
  1471. border-bottom: solid 1upx #EEEEEE;
  1472. justify-content: space-between;
  1473. align-items: center;
  1474. }
  1475. .all-top-left,
  1476. .all-top-right {
  1477. text-align: left;
  1478. display: flex;
  1479. align-items: center;
  1480. }
  1481. .all-list-top image {
  1482. height: 30upx;
  1483. width: 30upx;
  1484. margin-right: 10upx;
  1485. margin-top: 5upx;
  1486. display: inline-block;
  1487. vertical-align: middle;
  1488. }
  1489. .all-list-title {
  1490. font-size: 28upx;
  1491. display: inline-block;
  1492. vertical-align: middle;
  1493. }
  1494. .all-list-title text:first-child {
  1495. margin-right: 10upx;
  1496. margin-left: 10upx;
  1497. color: #70759B;
  1498. }
  1499. .all-list-content {
  1500. display: flex;
  1501. text-align: center;
  1502. padding: 56upx 0 63upx 0;
  1503. }
  1504. .all-list-right {
  1505. display: inline-block;
  1506. vertical-align: top;
  1507. float: right;
  1508. }
  1509. .all-list-right image {
  1510. display: inline-block;
  1511. height: 28upx;
  1512. margin-top: 15upx;
  1513. margin-left: 10upx;
  1514. vertical-align: top;
  1515. background-color: #FFFFFF;
  1516. width: 28upx;
  1517. }
  1518. .content-child {
  1519. flex: 1;
  1520. border-right: solid 1px #EEEEEE;
  1521. }
  1522. .content-child:last-child {
  1523. border: none
  1524. }
  1525. .first-child {
  1526. font-size: 26upx;
  1527. color: #70759B;
  1528. }
  1529. .second-child {
  1530. margin-top: 17upx;
  1531. font-size: 34upx;
  1532. font-weight: 800;
  1533. }
  1534. /* .list-text {
  1535. font-size: 32upx;
  1536. color: #FFFFFF;
  1537. font-weight: 800;
  1538. }
  1539. */
  1540. .list-content {
  1541. padding-left: 42upx;
  1542. line-height: 48upx;
  1543. font-size: 28upx;
  1544. }
  1545. .text-left {
  1546. display: inline-block;
  1547. /* min-width:21%; */
  1548. }
  1549. .text-right {
  1550. display: inline-block;
  1551. margin-left: 50upx;
  1552. }
  1553. .text-left,
  1554. .text-right {
  1555. opacity: 0.5;
  1556. color: #FFFFFF;
  1557. }
  1558. /* 用户管理样式 */
  1559. .user-content-top {
  1560. margin-top: 20upx;
  1561. /* height: 299upx; */
  1562. background: rgba(255, 255, 255, 1);
  1563. box-shadow: 0px 0px 50px 0px rgba(216, 216, 216, 1);
  1564. border-radius: 30px;
  1565. padding-left: 56upx;
  1566. padding-top: 47upx;
  1567. padding-bottom: 32upx;
  1568. color: black;
  1569. }
  1570. .image image,
  1571. .image {
  1572. display: inline-block;
  1573. vertical-align: top;
  1574. height: 42upx;
  1575. width: 42upx;
  1576. margin-right: 24upx;
  1577. }
  1578. .user-top-text {
  1579. /* background-color: #0EE7FE; */
  1580. font-size: 28upx;
  1581. display: inline-block;
  1582. vertical-align: top;
  1583. color: #000000;
  1584. }
  1585. .total-count {
  1586. display: block;
  1587. margin-left: 55upx;
  1588. margin-top: 20upx;
  1589. font-size: 60upx;
  1590. font-family: PingFang SC;
  1591. font-weight: 800;
  1592. color: rgba(42, 42, 42, 1);
  1593. }
  1594. .top-bottom {
  1595. margin-top: 40upx;
  1596. margin-bottom: 40upx;
  1597. display: flex;
  1598. }
  1599. .user-bottom-left {
  1600. flex: 1;
  1601. }
  1602. .user-bottom-right {
  1603. flex: 1;
  1604. }
  1605. .count {
  1606. display: block;
  1607. font-family: PingFang SC;
  1608. font-weight: 800;
  1609. color: rgba(42, 42, 42, 1);
  1610. margin-top: 14upx;
  1611. margin-left: 72upx;
  1612. }
  1613. .user-list,
  1614. .order-list {
  1615. position: relative;
  1616. clear: none;
  1617. padding: 19upx 40upx;
  1618. /* height: 159upx; */
  1619. line-height: 50upx;
  1620. color: #838383;
  1621. margin-top: 27upx;
  1622. background: rgba(255, 255, 255, 1);
  1623. font-size: 26upx;
  1624. box-shadow: 0px 0px 50px 0px rgba(216, 216, 216, 1);
  1625. border-radius: 10upx;
  1626. }
  1627. .user-balance {
  1628. float: right;
  1629. margin-right: 135upx;
  1630. }
  1631. .user-tag,
  1632. .user-tag1,
  1633. .user-tag2,
  1634. .user-tag3 {
  1635. position: absolute;
  1636. top: 0;
  1637. right: 0;
  1638. width: 158upx;
  1639. height: 42upx;
  1640. line-height: 42upx;
  1641. text-align: center;
  1642. border-radius: 0upx 10upx 0upx 20upx;
  1643. font-size: 24upx;
  1644. font-family: PingFang SC;
  1645. font-weight: 400;
  1646. color: rgba(255, 255, 255, 1);
  1647. }
  1648. .user-tag1 {
  1649. background-color: rgba(254, 87, 34, 1);
  1650. /* box-shadow: 0px 0px 6px 0px rgba(254, 94, 44, 1); */
  1651. }
  1652. .user-tag2 {
  1653. background-color: rgba(137, 40, 247, 1);
  1654. box-shadow: 0px 0px 6px 0px rgba(137, 40, 247, 1);
  1655. }
  1656. .user-tag3 {
  1657. background-color: rgba(100, 234, 224, 1);
  1658. box-shadow: 0px 0px 6px 0px rgba(100, 234, 224, 1);
  1659. }
  1660. page {
  1661. /* position: relative; */
  1662. }
  1663. .bike-top {
  1664. top: 210upx;
  1665. display: flex;
  1666. flex-direction: row;
  1667. position: fixed;
  1668. flex-wrap: wrap;
  1669. z-index: 30;
  1670. font-size: 28upx;
  1671. /* height: 236upx; */
  1672. width: 100%;
  1673. background-color: #ffffff;
  1674. margin-top: 10upx;
  1675. padding: 0 10upx;
  1676. padding-bottom: 50upx;
  1677. }
  1678. .bike-top-list {
  1679. text-align: center;
  1680. position: relative;
  1681. flex: 0 0 24%;
  1682. height: 50%;
  1683. color: #000000;
  1684. /* border-right: solid 1upx #007AFF; */
  1685. }
  1686. .bike-top-list image {
  1687. position: absolute;
  1688. bottom: 0;
  1689. right: 0;
  1690. height: 21upx;
  1691. width: 21upx;
  1692. }
  1693. .bike-count {
  1694. margin: 30upx 0 14upx 0;
  1695. font-family: PingFang SC;
  1696. font-weight: 800;
  1697. color: rgba(254, 87, 34, 1);
  1698. }
  1699. .bike-list {
  1700. padding: 20upx 40upx;
  1701. display: flex;
  1702. background: rgba(255, 255, 255, 1);
  1703. border-radius: 10upx;
  1704. /* height: 54px; */
  1705. color: #838383;
  1706. position: relative;
  1707. margin-top: 30upx;
  1708. font-size: 26upx;
  1709. box-shadow: 0upx 0upx 13upx 0upx rgba(216, 216, 216, 1);
  1710. }
  1711. .bike-left {
  1712. flex: 0 0 70%;
  1713. /* background-color: #007AFF; */
  1714. border-right: 2upx solid #efefef;
  1715. }
  1716. .bike-right {
  1717. flex: 1;
  1718. /* background-color: #0EE7FE; */
  1719. }
  1720. .bike-right image {
  1721. height: 50upx;
  1722. width: 65upx;
  1723. margin-left: 20upx;
  1724. margin-top: 30upx;
  1725. }
  1726. .bike-list-first {
  1727. margin-bottom: 20upx;
  1728. }
  1729. .Battery {
  1730. margin: 0 20upx;
  1731. color: rgba(254, 87, 34, 1);
  1732. }
  1733. .riding-status {
  1734. color: rgba(254, 87, 34, 1);
  1735. }
  1736. .bike-money {
  1737. margin-left: 15upx;
  1738. }
  1739. /* 订单管理样式 */
  1740. .order-bottom {
  1741. width: 80%;
  1742. /* height: 55upx; */
  1743. /* line-height: 55upx; */
  1744. margin: 0 auto;
  1745. text-align: center;
  1746. border: solid 1px #64efda;
  1747. display: flex;
  1748. border-radius: 15upx;
  1749. margin-top: 30upx;
  1750. }
  1751. .order-bottom-left,
  1752. .order-bottom-right {
  1753. flex: 1;
  1754. color: #fff;
  1755. background-color: #FFFFFF;
  1756. padding: 10upx 0;
  1757. /* height: 55upx; */
  1758. width: 200upx;
  1759. color: #64efda;
  1760. font-size: 28upx;
  1761. }
  1762. .order-bottom-left {
  1763. border-top-left-radius: 13upx;
  1764. border-bottom-left-radius: 13upx;
  1765. border-right: solid 1px #64efda;
  1766. }
  1767. .order-bottom-right {
  1768. border-top-right-radius: 13upx;
  1769. border-bottom-right-radius: 13upx;
  1770. }
  1771. .active {
  1772. background-color: #64efda;
  1773. color: #FFFFFF;
  1774. }
  1775. .order-bike-num {}
  1776. .order-user {
  1777. display: flex;
  1778. }
  1779. .order-user-name,
  1780. .order-user-phone {
  1781. display: block;
  1782. flex: 1;
  1783. height: 70upx;
  1784. line-height: 70upx;
  1785. }
  1786. .order-list {
  1787. font-size: 24upx;
  1788. }
  1789. /* 工单管理 */
  1790. .work-list {
  1791. display: flex;
  1792. }
  1793. .work-title {
  1794. font-weight: 800;
  1795. width: 100%;
  1796. color: #000000;
  1797. /* height: 30upx; */
  1798. }
  1799. .work-list-left {
  1800. flex: 0 0 60%;
  1801. font-size: 24upx;
  1802. line-height: 50upx;
  1803. }
  1804. .work-list-right {
  1805. flex: 1;
  1806. margin-top: 30upx;
  1807. font-size: 26upx;
  1808. line-height: 50upx;
  1809. }
  1810. .text-one {
  1811. color: #EB5E28;
  1812. }
  1813. .noUser {
  1814. position: fixed;
  1815. font-size: 28upx;
  1816. color: #838383;
  1817. top: 60%;
  1818. left: 50%;
  1819. }
  1820. .noOrder {
  1821. position: fixed;
  1822. font-size: 28upx;
  1823. color: #838383;
  1824. top: 50%;
  1825. left: 38%;
  1826. }
  1827. .noOrder image {
  1828. margin-bottom: 30upx;
  1829. height: 200upx;
  1830. width: 200upx;
  1831. }
  1832. .home {
  1833. width: 100%;
  1834. height: 100%;
  1835. display: flex;
  1836. position: fixed;
  1837. flex-direction: column;
  1838. }
  1839. .swiper {
  1840. width: 100%;
  1841. /* height: ; */
  1842. }
  1843. .swiper swiper-item {
  1844. width: 100%;
  1845. height: 100%;
  1846. }
  1847. .new_list {
  1848. display: flex;
  1849. margin-top: 22upx;
  1850. font-size: 28upx;
  1851. padding: 30upx;
  1852. border-radius: 10upx;
  1853. background: #FFFFFF;
  1854. color: #747474;
  1855. }
  1856. .new-left {
  1857. text-align: center;
  1858. flex: 0 0 15%;
  1859. padding-right: 30upx;
  1860. margin: 10upx 0;
  1861. border-right: solid #b6bac1;
  1862. }
  1863. .new-left image {
  1864. height: 70upx;
  1865. width: 70upx;
  1866. }
  1867. .new-title {
  1868. margin-top: 5upx;
  1869. text-align: center;
  1870. }
  1871. .new-middle {
  1872. flex: 1;
  1873. margin-left: 30upx;
  1874. }
  1875. .new-right {
  1876. flex: 1;
  1877. }
  1878. .new-text {
  1879. padding: 5upx;
  1880. }
  1881. </style>