|
@@ -7,13 +7,24 @@
|
|
<u-icon name="arrow-down" color="#fff" size="32"></u-icon>
|
|
<u-icon name="arrow-down" color="#fff" size="32"></u-icon>
|
|
</view>
|
|
</view>
|
|
<u-search placeholder="搜索停车点" :show-action="false" @search="handleSearch" v-model="keyword"></u-search>
|
|
<u-search placeholder="搜索停车点" :show-action="false" @search="handleSearch" v-model="keyword"></u-search>
|
|
- <u-icon class="scan" name="scan" color="#fff" size="48" @click="$refs.uToast.show({title: '建设中'})"></u-icon>
|
|
|
|
|
|
+ <!-- <u-icon class="scan" name="scan" color="#fff" size="48" @click="$refs.uToast.show({title: '建设中'})"></u-icon> -->
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<u-swiper :list="bannerList" border-radius="0"></u-swiper>
|
|
<u-swiper :list="bannerList" border-radius="0"></u-swiper>
|
|
|
|
|
|
<u-city-select v-model="cityOpen" @city-change="cityChange" :areaCode='["52", "5201"]' ></u-city-select>
|
|
<u-city-select v-model="cityOpen" @city-change="cityChange" :areaCode='["52", "5201"]' ></u-city-select>
|
|
|
|
|
|
|
|
+ <view class="notice-bar-wrap u-flex" v-if="noticeList.length>=1" @click="openPage('pages/message/message')">
|
|
|
|
+ <u-icon custom-prefix="custom-icon" size="50" name="xiaoxi" color="#008CFF"></u-icon>
|
|
|
|
+ <u-notice-bar
|
|
|
|
+ class="u-flex-1"
|
|
|
|
+ mode="vertical"
|
|
|
|
+ :list="noticeList"
|
|
|
|
+ :volume-icon="false"
|
|
|
|
+ bg-color="#fff"
|
|
|
|
+ color="#727272"
|
|
|
|
+ :more-icon="true"></u-notice-bar>
|
|
|
|
+ </view>
|
|
<u-card :show-head="false" :show-foot="false" border-radius="16" margin="20rpx 40rpx" padding="30">
|
|
<u-card :show-head="false" :show-foot="false" border-radius="16" margin="20rpx 40rpx" padding="30">
|
|
<view class="content-nav" slot="body">
|
|
<view class="content-nav" slot="body">
|
|
<view class="content-nav-item" @click="openPage('pages/payLists/payLists')">
|
|
<view class="content-nav-item" @click="openPage('pages/payLists/payLists')">
|
|
@@ -146,7 +157,8 @@
|
|
orderNav:0,//手动,无感
|
|
orderNav:0,//手动,无感
|
|
bindCarShow:false,//绑定车询问弹窗
|
|
bindCarShow:false,//绑定车询问弹窗
|
|
showOrderDetails:false,//是否线上订单细节
|
|
showOrderDetails:false,//是否线上订单细节
|
|
- popupOrderDetails:[]
|
|
|
|
|
|
+ popupOrderDetails:[],
|
|
|
|
+ noticeList:[]
|
|
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -201,6 +213,7 @@
|
|
this.bindCarShow = true;
|
|
this.bindCarShow = true;
|
|
}
|
|
}
|
|
this.orderList = res.data.orderList;
|
|
this.orderList = res.data.orderList;
|
|
|
|
+ this.noticeList = res.data.news;
|
|
}).catch(err=>{
|
|
}).catch(err=>{
|
|
// alert(err.msg);
|
|
// alert(err.msg);
|
|
console.log('getIndexData err',err)
|
|
console.log('getIndexData err',err)
|