123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- <template>
- <view class="content_main">
- <scroll-view style="height: 100%;" scroll-y="true">
- <view class="CarnoData" v-if="!infodata"></view>
- <view class="Carlist" v-for="(item,index) in infodata" :key="index">
- <view class="carDetail">
- <view class="vinMa">
- <view>开始时段</view>
- <view>{{item.startTime }}</view>
- </view>
- <view class="box_vinma">
- <view class="vinMa">
- <view>结束时段</view>
- <view>{{item.endTime }}</view>
- </view>
-
- <view class="vinMa">
- <view>充电量kWh</view>
- <view>{{item.chargePower}}</view>
- </view>
- </view>
- </view>
- </view>
- </scroll-view>
- </view>
- </template>
- <script>
- export default {
- name: 'rechargeDrawer',
- props: ['infodata'],
- data() {
- return {
-
- }
- },
- }
- </script>
- <style lang="scss" scoped>
- ::v-deep .uni-forms-item__content {
- background: rgba(255, 255, 255, 0);
- border-radius: 2px 2px 2px 2px;
- border: 1px solid #263042;
- .uni-easyinput__content {
- background: none !important;
- border: none !important;
- color: #fff;
- }
- }
- .content_main {
- height: 635px;
- }
- .CarnoData {
- width: 274px;
- height: 227px;
- background-image: url('@/static/change/noData.png');
- background-size: 100% 100%;
- margin: 20px 43px;
- }
- .Carlist {
- display: flex;
- flex-direction: column;
- width: 100%;
- .carDetail {
- width: 360px;
- height: 90px;
- border-radius: 8px;
- margin-bottom: 16px;
- background-color:#1D283E ;
- box-sizing: border-box;
- padding: 20px;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- .vinMa {
- display: flex;
- view:first-child {
- width: 80px;
- font-size: 14px;
- font-weight: 400;
- color: rgba(153, 174, 197, 0.65);
- }
- view:last-child {
- flex: 1;
- font-size: 14px;
- font-weight: 400;
- color: rgba(255, 255, 255, 0.85);
- }
- }
- }
- }
- .box_vinma{
- display: flex;
- .vinMa{
- width: 50%;
- }
- }
- </style>
|