|
@@ -24,7 +24,7 @@ const filterOptions = [
|
|
|
{ key: 2, label: '空闲最多', widthClass: '' },
|
|
{ key: 2, label: '空闲最多', widthClass: '' },
|
|
|
{ key: 3, label: '电费最低', widthClass: '' },
|
|
{ key: 3, label: '电费最低', widthClass: '' },
|
|
|
]
|
|
]
|
|
|
-
|
|
|
|
|
|
|
+const { themeVars } = storeToRefs(useManualThemeStore())
|
|
|
/**
|
|
/**
|
|
|
* 获取充电站列表
|
|
* 获取充电站列表
|
|
|
*/
|
|
*/
|
|
@@ -127,9 +127,9 @@ function refund() {
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
<template>
|
|
|
- <view class="min-h-screen" :style="{ backgroundImage: `linear-gradient(to bottom, ${useManualThemeStore().themeVars.colorTheme || '#9ED605'}, ${hexToRgba(useManualThemeStore().themeVars.colorTheme || '#9ED605', 0)})` }">
|
|
|
|
|
|
|
+ <view class="min-h-screen" :style="{ backgroundImage: `linear-gradient(to bottom, ${themeVars.colorTheme}, ${hexToRgba(themeVars.colorTheme as string, 0)})` }">
|
|
|
<wd-navbar
|
|
<wd-navbar
|
|
|
- title="" :custom-style="`background-color: ${hexToRgba(useManualThemeStore().themeVars.colorTheme as string, opcity)};`" :bordered="false"
|
|
|
|
|
|
|
+ title="" :custom-style="`background-color: ${hexToRgba(themeVars.colorTheme as string, opcity)};`" :bordered="false"
|
|
|
:z-index="99" safe-area-inset-top left-arrow fixed @click-left="router.back()"
|
|
:z-index="99" safe-area-inset-top left-arrow fixed @click-left="router.back()"
|
|
|
>
|
|
>
|
|
|
<template #left>
|
|
<template #left>
|
|
@@ -154,10 +154,10 @@ function refund() {
|
|
|
<view class="text-32rpx text-#2B303A font-bold">
|
|
<view class="text-32rpx text-#2B303A font-bold">
|
|
|
{{ userInfo?.nickName || '暂未登录' }}
|
|
{{ userInfo?.nickName || '暂未登录' }}
|
|
|
</view>
|
|
</view>
|
|
|
- <view v-if="!token" class="text-24rpx text-#9ED605" @click="router.replace({ name: 'smqjh-login' })">
|
|
|
|
|
|
|
+ <view v-if="!token" class="text-24rpx" @click="router.replace({ name: 'smqjh-login' })">
|
|
|
授权登录
|
|
授权登录
|
|
|
</view>
|
|
</view>
|
|
|
- <view v-else class="rounded-8rpx bg-#E9FFAC px12rpx py4rpx text-24rpx text-#9ED605">
|
|
|
|
|
|
|
+ <view v-else class="rounded-8rpx bg-[var(--them-color)] px12rpx py4rpx text-24rpx text-#fff">
|
|
|
{{ userInfo.channelName }}
|
|
{{ userInfo.channelName }}
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -177,7 +177,7 @@ function refund() {
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view
|
|
<view
|
|
|
- class="absolute right-[-24rpx] h-44rpx w-120rpx rounded-[22rpx_0_0_22rpx] bg-#9ED605 text-center text-28rpx text-#FFF line-height-[44rpx]"
|
|
|
|
|
|
|
+ class="absolute right-[-24rpx] h-44rpx w-120rpx rounded-[22rpx_0_0_22rpx] bg-[var(--them-color)] text-center text-28rpx text-#FFF line-height-[44rpx]"
|
|
|
@click="refund"
|
|
@click="refund"
|
|
|
>
|
|
>
|
|
|
退还
|
|
退还
|
|
@@ -188,16 +188,16 @@ function refund() {
|
|
|
<view class="text-28rpx">
|
|
<view class="text-28rpx">
|
|
|
企业积分
|
|
企业积分
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="mt-16rpx text-40rpx text-#9ED605 font-bold">
|
|
|
|
|
|
|
+ <view class="mt-16rpx text-40rpx text-[var(--them-color)] font-bold">
|
|
|
{{ userAccountInfo?.availablePoints || '0.00' }}
|
|
{{ userAccountInfo?.availablePoints || '0.00' }}
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="h-92rpx w-2rpx bg-#9ED605" />
|
|
|
|
|
|
|
+ <view class="h-92rpx w-2rpx bg-[var(--them-color)]" />
|
|
|
<view class="text-center">
|
|
<view class="text-center">
|
|
|
<view class="text-28rpx">
|
|
<view class="text-28rpx">
|
|
|
平台券
|
|
平台券
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="mt-16rpx text-40rpx text-#9ED605 font-bold">
|
|
|
|
|
|
|
+ <view class="mt-16rpx text-40rpx text-[var(--them-color)] font-bold">
|
|
|
<text class="text-24rpx">
|
|
<text class="text-24rpx">
|
|
|
¥
|
|
¥
|
|
|
</text>{{ userAccountInfo?.couponBalance || '0.00' }}
|
|
</text>{{ userAccountInfo?.couponBalance || '0.00' }}
|
|
@@ -267,7 +267,7 @@ function refund() {
|
|
|
</view>
|
|
</view>
|
|
|
<!-- 有车辆时显示车牌和管理入口 -->
|
|
<!-- 有车辆时显示车牌和管理入口 -->
|
|
|
<view
|
|
<view
|
|
|
- v-else class="flex items-center gap-50rpx text-26rpx text-#9ED605"
|
|
|
|
|
|
|
+ v-else class="flex items-center gap-50rpx text-26rpx text-[var(--them-color)]"
|
|
|
@click="router.push({ name: 'charge-plate-list' })"
|
|
@click="router.push({ name: 'charge-plate-list' })"
|
|
|
>
|
|
>
|
|
|
<view>{{ defaultVehicle.licensePlate }}</view>
|
|
<view>{{ defaultVehicle.licensePlate }}</view>
|
|
@@ -382,7 +382,7 @@ function refund() {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.select-item-active {
|
|
.select-item-active {
|
|
|
- background: #9ED605;
|
|
|
|
|
|
|
+ background: var(--them-color);
|
|
|
box-shadow: inset 0rpx 20rpx 40rpx 2rpx rgba(100, 255, 218, 0.26);
|
|
box-shadow: inset 0rpx 20rpx 40rpx 2rpx rgba(100, 255, 218, 0.26);
|
|
|
border-radius: 0rpx 16rpx 0rpx 16rpx;
|
|
border-radius: 0rpx 16rpx 0rpx 16rpx;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|