search.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798
  1. <template>
  2. <view>
  3. <ujp-navbar title="" ref='navbar' id='navbar' :height='nav_height'>
  4. <u-search id='search' ref='search' placeholder="查询站点地址或站名" @change="search()" v-model="keyword" @search="search" @click="search" @clickicon='back' @custom='search'></u-search>
  5. </ujp-navbar>
  6. <view class="recommend">推荐充电站</view>
  7. <view class="carNone" v-if="stationslist.length == 0">
  8. <img src="@/assets/static/img/暂无数据-缺省页.png" alt="">
  9. <p class="oldTextjp2" oldstyle="font-size: 18px;">暂无可用充电站</p>
  10. </view>
  11. <view v-for="(item,index) in stationslist" :key="item.id" class="charing-slow" @click="stationDetail(item)">
  12. <view class="address">
  13. <view class="name oldTextjp" oldstyle="font-size: 20px;">
  14. {{item.name}}
  15. </view>
  16. <view class="distance " oldstyle="font-size: 16px;" v-if="item.distance != '99999999'">
  17. <text class="iconfont" style="color:#666666">&#xe615;</text>
  18. {{item.distance!=null && item.distance>0.1 ? item.distance.toFixed(1)+'公里' : '小于100米'}}
  19. </view>
  20. <view class="distance " oldstyle="font-size: 16px;" v-else>
  21. <text class="iconfont" style="color:#666666">&#xe615;</text>
  22. 暂无定位
  23. </view>
  24. </view>
  25. <view class="sign" >
  26. {{item.address}}
  27. </view>
  28. <view v-if="quickChargeReduceMethod1(item)&&personInfo&&personInfo.userType==2"
  29. style="margin-top: 10rpx;color: rgba(255, 121, 0, 1);font-size: 28rpx; display: flex; align-items: center;" >
  30. <span style="color: #fff;background: linear-gradient(93.02deg, rgba(255,121,0,1) 39.4%,rgba(255,174,0,1) 93.51%);
  31. border-radius: 4px;
  32. padding: 0rpx 10rpx;
  33. margin-right: 8rpx;
  34. font-size: 24rpx;
  35. line-height:40rpx;
  36. " >活动</span>
  37. 快充订单满{{item.quickChargeDegree}}度服务费{{discountRatio10(item.quickChargeDiscountRatio)}}折
  38. </view>
  39. <view v-if="quickChargeReduceMethod2(item)&&personInfo&&personInfo.userType==2"
  40. style="margin-top: 10rpx;color: rgba(255, 121, 0, 1);font-size: 28rpx; display: flex; align-items: center;" >
  41. <span style="color: #fff;background: linear-gradient(93.02deg, rgba(255,121,0,1) 39.4%,rgba(255,174,0,1) 93.51%);
  42. border-radius: 4px;
  43. padding: 0rpx 10rpx;
  44. margin-right: 8rpx;
  45. font-size: 24rpx;
  46. line-height:40rpx;
  47. " >活动</span>
  48. 喜迎国庆,充电有奖
  49. </view>
  50. <view class="sign" >
  51. <view class="sign-1" v-if="item.giveDiscount&&item.discountRatio&&item.discountRatio!=100">会员{{discountRatio10(item.discountRatio)}}折</view>
  52. <view class="sign-3" v-if="item.category=='超充'">160kW超充站</view>
  53. <view class="sign-4" v-if="item.nightLowPriceEnabled">夜间超低价</view>
  54. <view class="sign-2" v-if="item.platformType==1">自营站</view>
  55. <view class="sign-2" v-if="item.tagList.length != 0" v-for="(tagName,tagIndex) in item.tagList" :key="tagIndex">{{tagName}}</view>
  56. </view>
  57. <view class="price-free price-freeList">
  58. <view class="price" v-if="personInfo&&personInfo.userType==2">
  59. <view class="price-1">
  60. <text class="num">{{!item.giveDiscount ? (item.electricityPrice+item.servicePrice).toFixed(2)
  61. : (item.electricityPrice+item.discountServicePrice).toFixed(2)}}</text>
  62. <text class="unit " oldstyle="font-size: 14px;">
  63. 元/度
  64. </text>
  65. </view>
  66. <view class="price-2 " oldstyle="font-size: 14px;" v-if="item.giveDiscount">
  67. <text class="num">{{(item.electricityPrice+item.servicePrice).toFixed(2)}}</text>
  68. <text class="unit">元/度</text>
  69. </view>
  70. </view>
  71. <!-- 游客价格-->
  72. <view class="price" v-else>
  73. <view class="price-1">
  74. <text class="num">
  75. {{(item.electricityPrice+item.servicePrice).toFixed(2)}}</text>
  76. <text class="unit " oldstyle="font-size: 48rpx;">元/度</text>
  77. </view>
  78. <view class="price-3 " oldstyle="font-size: 48rpx;" v-if="item.giveDiscount">
  79. <text class="num1">会员</text>
  80. <text class="num">{{ (item.electricityPrice+item.discountServicePrice).toFixed(2)}}</text>
  81. <text class="unit ">元/度</text>
  82. </view>
  83. </view>
  84. <view class="free" >
  85. <view class="fast" v-if="item.fastNum">
  86. <view class="fast-font">
  87. </view>
  88. <view class="num">
  89. {{item.fastAvailableNum}}/{{item.fastNum}}
  90. </view>
  91. </view>
  92. <view class="slow" v-if="item.slowNum">
  93. <view class="slow-font">
  94. </view>
  95. <view class="num">
  96. {{item.slowAvailableNum}}/{{item.slowNum}}
  97. </view>
  98. </view>
  99. </view>
  100. </view>
  101. </view>
  102. <u-divider margin-top="20" bg-color="#F2F4F4" v-if="stationslist.length == recordsTotal">已经到底了</u-divider>
  103. </view>
  104. </template>
  105. <script>
  106. let _self;
  107. import * as API from '@/apis/site.js';
  108. import * as WxJsApi from '@/utils/wxJsApi.js'
  109. import MapLoader from '@/utils/AMap'
  110. export default {
  111. data() {
  112. return {
  113. elderMode:false,
  114. inputStyle:{
  115. backgroundColor: 'transparent',
  116. "font-size":'32rpx',
  117. },
  118. pageIndex:1,
  119. recordsTotal: 0,
  120. nav_height:54,
  121. personInfo:{},
  122. userId:'',
  123. keyword:'',
  124. stationslist:[],
  125. stations:[
  126. /* {name:'荆鹏软件园充电站',position:'湖北省荆州市沙市区江津东路附155号',price:1.2,idleNum:10,total:10,distance:0.1,time:1,type:'慢充',park:'2小时免费停车'},
  127. {name:'荆鹏软件园充电站2',position:'湖北省荆州市沙市区江津东路附156号',price:1.2,idleNum:10,total:10,distance:0.15,time:12,type:'快充',park:'3小时免费停车'},
  128. {name:'荆鹏软件园充电站3',position:'湖北省荆州市沙市区江津东路附157号',price:1.2,idleNum:10,total:10,distance:0.2,time:13,type:'慢充',park:'4小时免费停车'},
  129. {name:'荆鹏大道求助站充电站',position:'湖北省荆州市沙市区江津东路附158号',price:1.2,idleNum:10,total:10,distance:0.3,time:14,type:'快充',park:'5小时免费停车'},
  130. */
  131. ],
  132. }
  133. },
  134. onLoad(op){
  135. _self = this;
  136. //var px1 = uni.upx2px(88);
  137. //var rpx = 40/(uni.upx2px(100)/100);
  138. // 验证上面rpx的值
  139. var px = uni.upx2px(88);
  140. this.nav_height = px;
  141. // //('搜索框高度'+JSON.stringify(rpx))
  142. // //('搜索框高度'+JSON.stringify(px))
  143. /*
  144. if(op!= null && op.stationlist != null){
  145. this.stations = decodeURIComponent(op.stationlist)
  146. //('stations'+JSON.stringify(this.stations))
  147. }
  148. //('op'+JSON.stringify(op))*/
  149. },
  150. onReady() {
  151. this.elderMode = this.carhelp.get('getElderModeClass') == '长辈模式';
  152. if(this.elderMode)
  153. this.theme('elder')
  154. else
  155. this.theme('standard')
  156. if (this.carhelp.getPersonInfo()) {
  157. this.userId = this.carhelp.getPersonInfo().id;
  158. this.personInfo=this.carhelp.getPersonInfo();
  159. }
  160. WxJsApi.getWxConfig(['getLocation','openLocation', 'addEventListener']).then((res)=>{
  161. }).catch(error => {
  162. })
  163. this.getPoint();
  164. },
  165. onReachBottom() {
  166. if (this.stationslist.length < this.recordsTotal) {
  167. this.myLoadmore();
  168. }
  169. },
  170. // conponents:{charingSlows},
  171. methods: {
  172. theme(type) {
  173. if(type == 'elder')
  174. {
  175. document.getElementsByTagName('body')[0].setAttribute('data-theme',type);
  176. let data = {
  177. backgroundColor: 'transparent',
  178. "font-size":'32rpx',
  179. };
  180. this.inputStyle = data;
  181. }
  182. else
  183. {
  184. document.getElementsByTagName('body')[0].setAttribute('data-theme',type);
  185. let data ={
  186. backgroundColor: 'transparent',
  187. "font-size":'32rpx',
  188. };
  189. this.inputStyle = data;
  190. }
  191. },
  192. navigateTo(item){
  193. uni.showLoading({
  194. })
  195. WxJsApi.openLocation({
  196. latitude:parseFloat( item.latitude),//目的地latitude
  197. longitude:parseFloat( item.longitude),//目的地longitude
  198. name: item.name,
  199. address: item.address,
  200. scale: 15,//地图缩放大小,可根据情况具体调整
  201. success(res) {
  202. uni.hideLoading()
  203. },
  204. complete() {
  205. // uni.hideLoading()
  206. }
  207. });
  208. //window.location.href="https://uri.amap.com/marker?position="+ item.longitude+","+item.latitude+"&name="+item.name;
  209. },
  210. stationDetail(item){
  211. //('stationDetail item'+JSON.stringify(item))
  212. uni.navigateTo({
  213. url:'../searchPile/stationAndPile/stationDetails?id='+item.id
  214. })
  215. /*
  216. uni.navigateTo({
  217. url:'stationAndPile/stationDetails?station='+encodeURIComponent(JSON.stringify(item))
  218. })
  219. */
  220. // //('stationDetail'+JSON.stringify(item))
  221. },
  222. calculateDistance(startLngLat,obj){
  223. var _this = this;
  224. var endLngLat = [obj.longitude,obj.latitude];
  225. MapLoader().then(AMap1 => {
  226. this.AMap=AMap;
  227. var lnglat = new AMap.LngLat(startLngLat.longitude,startLngLat.latitude);
  228. var myDistance = lnglat.distance([obj.longitude, obj.latitude]);
  229. obj.distance = myDistance/1000;
  230. obj.time = myDistance/500;
  231. }, e => {
  232. //_this.mui.toast('地图加载失败');
  233. //('地图加载失败', e)
  234. })
  235. },
  236. getPoint() {
  237. var _this = this;
  238. //('getPoint')
  239. this.getChargingStationData(true);
  240. WxJsApi.getLocation().then((res) => {
  241. var latitude = parseFloat(res.latitude);
  242. var longitude = parseFloat(res.longitude);
  243. _this.latitude = latitude;
  244. _this.longitude = longitude;
  245. this.getChargingStationData(true);
  246. }).catch(error => {
  247. uni.showToast({
  248. title:JSON.stringify(error)
  249. })
  250. })
  251. },
  252. myLoadmore() {
  253. this.pageIndex += 1;
  254. this.getChargingStationData()
  255. },
  256. getChargingStationData(bl){
  257. uni.showLoading({
  258. title: "加载中",
  259. mask: true,
  260. })
  261. if (bl) {
  262. this.stationslist = [];
  263. this.pageIndex = 1;
  264. }
  265. var data = {
  266. pageIndex: this.pageIndex,
  267. pageSize:20,
  268. radius:500,
  269. stationName:this.keyword,
  270. findType: 0,
  271. };
  272. if(this.longitude&&this.latitude){
  273. data.longitude=this.longitude;
  274. data.latitude=this.latitude;
  275. }
  276. if (this.carhelp.getPersonInfo()) {
  277. data.openId=this.carhelp.getOpenId()
  278. }
  279. data.radius=500
  280. API.getChargingStationData(data).then((response) => {
  281. if (bl) {
  282. this.stationslist = [];
  283. this.pageIndex = 1;
  284. }
  285. console.log(response)
  286. var stationDataList=response.data.data
  287. if(this.longitude&&this.latitude){
  288. MapLoader().then(AMap1 => {
  289. for(var i in stationDataList){
  290. var item=stationDataList[i]
  291. var lnglat = new AMap.LngLat(this.longitude,this.latitude);
  292. var myDistance = lnglat.distance([item.longitude,item.latitude]);
  293. item.distance = myDistance/1000;
  294. }
  295. })
  296. }
  297. this.stationslist = [
  298. ...this.stationslist,
  299. ...stationDataList
  300. ];
  301. this.recordsTotal = response.data.recordsTotal;
  302. //this.detail=response.data.monthlyRentCard
  303. uni.hideLoading()
  304. }).catch(error => {
  305. uni.showToast({
  306. title: error
  307. })
  308. })
  309. },
  310. back(){
  311. //('back');
  312. uni.navigateBack({
  313. delta:1
  314. })
  315. },
  316. search(){
  317. //('search keyword'+this.keyword + ' '+JSON.stringify(this.stations))
  318. this.getChargingStationData(true)
  319. //('search ' + this.keyword);
  320. }
  321. }
  322. }
  323. </script>
  324. <style lang="scss" scoped>
  325. @import "@/_theme.scss";
  326. /deep/.u-content[data-v-1a326067] {
  327. flex: 0.95;
  328. color: #bdbdbd;
  329. }
  330. /deep/.u-action {
  331. margin-right: 0rpx;
  332. color: #c8c8c8;
  333. }
  334. .recommend {
  335. width: 100%;
  336. height: 88rpx;
  337. line-height: 88rpx;
  338. color: #101010;
  339. padding: 0 32rpx;
  340. background-color: #fff;
  341. font-weight: 600;
  342. }
  343. .charing-slow-2{
  344. margin: 0 0 10px 0 !important;
  345. // border-bottom: 1px solid rgba(238, 242, 240, 100);
  346. }
  347. .charing-slow {
  348. background-color: #fff;
  349. margin: 36rpx;
  350. border-radius: 16rpx;
  351. padding: 40rpx 24rpx 24rpx;
  352. position: relative;
  353. left: 0;
  354. right: 0;
  355. }
  356. .fast-charge {
  357. display: inline-block;
  358. border-radius: 50px;
  359. border-radius: 4px;
  360. background-color: rgba(208, 209, 255, 100);
  361. color: rgba(56, 60, 255, 100);
  362. margin: auto 0;
  363. @include themeify{
  364. width: themed('font-size18');
  365. font-size: themed('font-size2');
  366. line-height: themed('font-size7');
  367. height: themed('font-size8');
  368. }
  369. text-align: center;
  370. }
  371. .fast-trickle-charge {
  372. display: inline-block;
  373. margin: auto 0;
  374. border-radius: 4px;
  375. background-color: rgba(172, 236, 240, 100);
  376. color: rgba(0, 124, 134, 100);
  377. @include themeify{
  378. width: themed('font-size18');
  379. font-size: themed('font-size2');
  380. line-height: themed('font-size7');
  381. height: themed('font-size8');
  382. }
  383. text-align: center;
  384. }
  385. .trickle-charge {
  386. display: inline-block;
  387. border-radius: 4px;
  388. margin: auto 0;
  389. background-color: rgba(186, 240, 215, 100);
  390. color: rgba(0, 130, 69, 100);
  391. @include themeify{
  392. width: themed('font-size18');
  393. font-size: themed('font-size2');
  394. line-height: themed('font-size7');
  395. height: themed('font-size8');
  396. }
  397. text-align: center;
  398. }
  399. .station-items {
  400. display: inline-block;
  401. /* height: 16px;
  402. line-height: 16px;*/
  403. @include themeify{
  404. font-size: themed('font-size3');
  405. font-weight: themed('fontWeight');
  406. line-height: themed('font-size3');
  407. height: themed('font-size3');
  408. }
  409. margin-left: 8rpx;
  410. color: #101010;
  411. }
  412. //
  413. .address {
  414. width: 100%;
  415. line-height: 20px;
  416. display: flex;
  417. justify-content: space-between;
  418. .name{
  419. font-size: 16px;
  420. white-space: nowrap;
  421. overflow: hidden;
  422. text-overflow: ellipsis;
  423. }
  424. .distance{
  425. color: rgba(102, 102, 102, 100);
  426. font-size: 12px;
  427. text-align: right;
  428. width: 100px;
  429. .iconfont{
  430. font-size: 12px;
  431. margin-right: 2px;
  432. }
  433. }
  434. @include themeify{
  435. font-size: themed('font-size5');
  436. line-height: themed('font-size7');
  437. }
  438. /* font-size: 11px;*/
  439. font-weight: 600;
  440. color: #101010;
  441. }
  442. .price-free{
  443. width: 100%;
  444. display: flex;
  445. align-items: center;
  446. justify-content: space-between;
  447. }
  448. .price {
  449. display: flex;
  450. align-items: baseline;
  451. line-height: 40rpx;
  452. .price-3 {
  453. font-size: 24rpx;
  454. color: #fff;
  455. margin-left: 8rpx;
  456. padding-right: 9rpx;
  457. background:#00B962 ;
  458. border-radius: 8rpx;
  459. .num1{
  460. padding-left: 12rpx;
  461. border-radius: 8rpx 0 8rpx 8rpx;
  462. padding-right: 18rpx;
  463. background: #121212;
  464. -webkit-clip-path: polygon(0 0, 93% 0, 84% 100%, 0% 100%);
  465. clip-path: polygon(0 0, 93% 0, 84% 100%, 0% 100%);
  466. }
  467. }
  468. .price-1{
  469. .num {
  470. color: rgba(255, 98, 0, 100);
  471. font-size: 44rpx;
  472. height: 44rpx;
  473. text-align: left;
  474. font-family: Roboto-medium;
  475. }
  476. .unit {
  477. // font-size: 12px;
  478. color: rgba(102, 102, 102, 100);
  479. @include themeify{
  480. // font-size: themed('font-size2');
  481. font-size: 24rpx;
  482. height: themed('font-size2');
  483. }
  484. text-align: left;
  485. font-family: AlibabaPuHui-regular;
  486. margin-left: 8rpx;
  487. }
  488. }
  489. .price-2{
  490. color: rgba(153, 153, 153, 100);
  491. margin-left: 6rpx;
  492. text-decoration: line-through;
  493. font-size: 24rpx
  494. }
  495. }
  496. .free{
  497. display: flex;
  498. align-items: center;
  499. .slow,.fast{
  500. display: flex;
  501. .sp-font{
  502. width: 40rpx;
  503. height: 40rpx;
  504. line-height: 40rpx;
  505. border-radius: 4px;
  506. background-color: #7a68f6;
  507. color: #fff;
  508. font-size: 28rpx;
  509. text-align: center;
  510. margin-right: 2rpx;
  511. }
  512. .fast-font{
  513. width: 40rpx;
  514. height: 40rpx;
  515. line-height: 40rpx;
  516. border-radius: 4px;
  517. // background-color: rgba(186, 240, 215, 100);
  518. // color: rgba(0, 130, 69, 100);
  519. background-color: #1677FF;
  520. color: rgba(255, 255, 255, 1);
  521. font-size: 28rpx;
  522. text-align: center;
  523. margin-right: 2rpx;
  524. }
  525. .slow-font{
  526. width: 40rpx;
  527. height: 40rpx;
  528. line-height: 40rpx;
  529. border-radius: 4px;
  530. // background-color: rgba(226, 226, 226, 100);
  531. // color: rgba(128, 128, 128, 100);
  532. background-color: #00B962;
  533. color: rgba(255, 255, 255, 1);
  534. font-size: 28rpx;
  535. text-align: center;
  536. margin-right: 2rpx;
  537. }
  538. .num {
  539. font-size: 32rpx;
  540. color: #666;
  541. line-height: 40rpx;
  542. }
  543. .num1 {
  544. font-size: 32rpx;
  545. color: #bbb;
  546. line-height: 40rpx;
  547. }
  548. }
  549. .slow{
  550. margin-left: 16rpx;
  551. }
  552. }
  553. .park {
  554. margin-top: 16rpx;
  555. display: flex;
  556. }
  557. .park-p {
  558. display: inline-block;
  559. width: 20px;
  560. /* height: 18px;
  561. line-height: 12px;*/
  562. @include themeify{
  563. line-height: themed('font-size1');
  564. height: themed('font-size4');
  565. }
  566. text-align: center;
  567. // background-color: rgba(125, 177, 255, 100);
  568. background-color: #00b962;
  569. color: #fff;
  570. }
  571. .park-text {
  572. display: inline-block;
  573. color: rgba(102, 102, 102, 100);
  574. @include themeify{
  575. font-size: themed('font-size1');
  576. height:themed('font-size4');
  577. }
  578. /* font-size: 12px;*/
  579. text-align: left;
  580. margin-left: 4px;
  581. margin-top: 2px;
  582. }
  583. .map {
  584. width: 100%;
  585. height: 100%;
  586. position: relative;
  587. }
  588. #container {
  589. width: 100%;
  590. height: 100%;
  591. }
  592. .distance-font {
  593. @include themeify{
  594. font-size: themed('font-size3');
  595. }
  596. /* font-size: 16px*/
  597. }
  598. .position{
  599. color: #1677ff;
  600. @include themeify{
  601. font-size: themed('font-size2');
  602. }
  603. /* font-size: 14px*/
  604. }
  605. .position-box{
  606. position:absolute;
  607. top: 341px;
  608. right: 118px;
  609. width: 16px;
  610. height: 16px;
  611. /* line-height: 20px; */
  612. background-color: rgba(22, 119, 255, 100);
  613. text-align: center;
  614. box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
  615. border: 2px solid rgba(255, 255, 255, 100);
  616. border-radius: 999px;
  617. }
  618. .min-h{
  619. min-height: 65px;
  620. }
  621. .sign{
  622. display: flex;
  623. flex-wrap: wrap;
  624. margin-top: 10px;
  625. .sign-1{
  626. height: 20px;
  627. line-height: 20px;
  628. border-radius: 4px;
  629. background-color: rgba(255, 255, 255, 100);
  630. color: rgba(255, 139, 0, 100);
  631. font-size: 12px;
  632. text-align: center;
  633. border: 1px solid rgba(255, 139, 0, 100);
  634. padding: 0 4px;
  635. margin-right: 8px;
  636. margin-bottom: 4px;
  637. }
  638. .sign-2{
  639. height: 20px;
  640. line-height: 20px;
  641. border-radius: 4px;
  642. background-color: rgba(255, 255, 255, 100);
  643. color: rgba(153, 153, 153, 100);
  644. font-size: 12px;
  645. text-align: center;
  646. border: 1px solid rgba(204, 204, 204, 100);
  647. padding: 0 4px;
  648. margin-right: 8px;
  649. margin-bottom: 4px;
  650. }
  651. .sign-3{
  652. line-height: 40rpx;
  653. border-radius: 8rpx;
  654. background-color: rgba(255, 255, 255, 100);
  655. color: #8161FF ;
  656. font-size: 24rpx;
  657. text-align: center;
  658. border: 1px solid #8161FF;
  659. padding: 0 8rpx;
  660. margin-right: 16rpx;
  661. margin-bottom: 8rpx;
  662. }
  663. .sign-4{
  664. line-height: 40rpx;
  665. border-radius: 8rpx;
  666. background-color: rgba(255, 255, 255, 100);
  667. color: #00B962 ;
  668. font-size: 24rpx;
  669. text-align: center;
  670. border: 1px solid #00B962 ;
  671. padding: 0 8rpx;
  672. margin-right: 16rpx;
  673. margin-bottom: 8rpx;
  674. }
  675. }
  676. .park-text2 {
  677. width: 140%;
  678. }
  679. .park-text3 {
  680. white-space: nowrap;
  681. text-overflow: ellipsis;
  682. overflow: hidden;
  683. }
  684. .carNone{
  685. display: flex;
  686. flex-direction: column;
  687. justify-content: center;
  688. align-items: center;
  689. img{
  690. width: 100%;
  691. height: 100%;
  692. }
  693. p{
  694. margin-top: -60px;
  695. }
  696. }
  697. </style>