|
@@ -100,7 +100,6 @@
|
|
|
<view class="mt-20 block pl-30 pr-30" v-if="chargeType === 0">
|
|
<view class="mt-20 block pl-30 pr-30" v-if="chargeType === 0">
|
|
|
<view
|
|
<view
|
|
|
class="pt-40 pb-40 flex-between"
|
|
class="pt-40 pb-40 flex-between"
|
|
|
- style="border-bottom: 1rpx solid var(--divider)"
|
|
|
|
|
@click="selectTime"
|
|
@click="selectTime"
|
|
|
>
|
|
>
|
|
|
<view class="fs-28 color-000 fw-500">充电时间</view>
|
|
<view class="fs-28 color-000 fw-500">充电时间</view>
|
|
@@ -123,29 +122,6 @@
|
|
|
</block>
|
|
</block>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="pt-40 pb-40 flex-between">
|
|
|
|
|
- <view class="fs-28 color-000 fw-500">预计费用</view>
|
|
|
|
|
- <view class="flex-align-center lh-28">
|
|
|
|
|
- <block v-if="chargeTime.isPowerSaving">
|
|
|
|
|
- <view class="fs-28 color-333 fw-500"
|
|
|
|
|
- >低至{{ priceInfo.minPrice }}元/kwh
|
|
|
|
|
- </view
|
|
|
|
|
- >
|
|
|
|
|
- </block>
|
|
|
|
|
- <block v-else>
|
|
|
|
|
- <view
|
|
|
|
|
- v-if="chargeTime.formatPrice"
|
|
|
|
|
- class="fs-28 color-333 fw-500"
|
|
|
|
|
- >{{ chargeTime.formatPrice }}
|
|
|
|
|
- </view
|
|
|
|
|
- >
|
|
|
|
|
- <view v-else class="fs-26 mr-16" style="color: #cacaca"
|
|
|
|
|
- >选择时间后显示
|
|
|
|
|
- </view
|
|
|
|
|
- >
|
|
|
|
|
- </block>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<view
|
|
<view
|
|
@@ -386,7 +362,6 @@ const chargeTime = ref({
|
|
|
day: "",
|
|
day: "",
|
|
|
hour: "",
|
|
hour: "",
|
|
|
format: "",
|
|
format: "",
|
|
|
- formatPrice: "",
|
|
|
|
|
isPowerSaving: false, // 省电模式
|
|
isPowerSaving: false, // 省电模式
|
|
|
});
|
|
});
|
|
|
const appointmentData = ref();
|
|
const appointmentData = ref();
|
|
@@ -605,7 +580,6 @@ const confirmTime = () => {
|
|
|
chargeTime.value.day = format("M月d日", opt.ts);
|
|
chargeTime.value.day = format("M月d日", opt.ts);
|
|
|
chargeTime.value.hour = opt.timeLabel;
|
|
chargeTime.value.hour = opt.timeLabel;
|
|
|
chargeTime.value.format = `${format("y年M月d日", opt.ts)} ${opt.timeLabel}`;
|
|
chargeTime.value.format = `${format("y年M月d日", opt.ts)} ${opt.timeLabel}`;
|
|
|
- chargeTime.value.formatPrice = opt.price;
|
|
|
|
|
closeTime();
|
|
closeTime();
|
|
|
};
|
|
};
|
|
|
|
|
|
|
@@ -616,7 +590,6 @@ const changePowerSaving = (e: any) => {
|
|
|
hour: "",
|
|
hour: "",
|
|
|
isPowerSaving: e.detail.value,
|
|
isPowerSaving: e.detail.value,
|
|
|
format: "",
|
|
format: "",
|
|
|
- formatPrice: "",
|
|
|
|
|
};
|
|
};
|
|
|
};
|
|
};
|
|
|
|
|
|
|
@@ -632,7 +605,6 @@ const closeTime = () => {
|
|
|
hour: "",
|
|
hour: "",
|
|
|
isPowerSaving: chargeTime.value.isPowerSaving, // 省电模式
|
|
isPowerSaving: chargeTime.value.isPowerSaving, // 省电模式
|
|
|
format: "",
|
|
format: "",
|
|
|
- formatPrice: "",
|
|
|
|
|
};
|
|
};
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|