|
|
|
|
@ -79,11 +79,19 @@ |
|
|
|
|
</view> |
|
|
|
|
<!-- 用户权限收费站 --> |
|
|
|
|
<view class="station_box"> |
|
|
|
|
<view :style="(index+1)%2 == 0 ? 'margin-right:20rpx;margin-left:20rpx;' : ''" @click="changeStationIndex(index)" class="station_item" :class="[item.isFinish ? 'active' : '',index == stationIndex ? 'choosed' : '']" v-for="(item, index) in highwaySubDataList" :key="item.id"> |
|
|
|
|
<view v-if="index < 9" :style="(index+1)%3 == 0 ? 'margin-right:0;':''" @click="changeStationIndex(index)" class="station_item" :class="[item.isFinish ? 'active' : '',index == stationIndex ? 'choosed' : '']" v-for="(item, index) in highwaySubDataList" :key="item.id"> |
|
|
|
|
<view v-if='item.isFinish' class="tag"><uni-icons type="checkmarkempty" color="#fff" size="12"></uni-icons></view> |
|
|
|
|
{{item.stationName}} |
|
|
|
|
</view> |
|
|
|
|
<view v-if="index >= 9" :style="(index+1)%3 == 0 ? 'margin-right:0;':''" @click="changeStationIndex(index)" class="station_item" :class="[item.isFinish ? 'active' : '',index == stationIndex ? 'choosed' : '']" v-for="(item, index) in highwaySubDataList" :key="item.id"> |
|
|
|
|
<view v-if='item.isFinish' class="tag"><uni-icons type="checkmarkempty" color="#fff" size="12"></uni-icons></view> |
|
|
|
|
{{item.stationName}} |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view v-if="highwaySubDataList.length > 9" class="station_act" @click="showStaion = !showStaion"> |
|
|
|
|
<uni-icons v-if="!showStaion" type="bottom" size="14" color="#2D8CF0" style="margin-right:10rpx;"></uni-icons> |
|
|
|
|
<uni-icons v-if="showStaion" type="top" size="14" color="#2D8CF0" style="margin-right:10rpx;"></uni-icons> |
|
|
|
|
{{showStaion?'收起':'展开'}}</view> |
|
|
|
|
<view class="form_item_box"> |
|
|
|
|
<view class="form_item"> |
|
|
|
|
<view class="form_item_label">收费站名称:</view> |
|
|
|
|
@ -197,6 +205,7 @@ |
|
|
|
|
index: 2, //时段选择,默认0-24 |
|
|
|
|
userInfo: {}, |
|
|
|
|
yoyMom: {},//同比环比 |
|
|
|
|
showStaion: false,//展开收起 |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
onLoad(options) { |
|
|
|
|
@ -547,6 +556,12 @@ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//收费站 |
|
|
|
|
.station_act{ |
|
|
|
|
color: #2D8CF0; |
|
|
|
|
font-size: 24rpx; |
|
|
|
|
text-align: center; |
|
|
|
|
margin-bottom: 30rpx; |
|
|
|
|
} |
|
|
|
|
.station_box { |
|
|
|
|
display: flex; |
|
|
|
|
flex-wrap: wrap; |
|
|
|
|
@ -568,6 +583,7 @@ |
|
|
|
|
border: 1rpx solid #C1C1C1; |
|
|
|
|
text-align: center; |
|
|
|
|
margin-bottom: 30rpx; |
|
|
|
|
margin-right: 16rpx; |
|
|
|
|
|
|
|
|
|
&.active { |
|
|
|
|
position: relative; |
|
|
|
|
@ -588,8 +604,8 @@ |
|
|
|
|
text-align: center; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.choose{ |
|
|
|
|
border-color: #2D8CF0; |
|
|
|
|
&.choosed{ |
|
|
|
|
border-color: #2D8CF0 !important; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|