fix ux details

This commit is contained in:
AceDataCloud committed 2023-03-03 01:40:49 +08:00
1 parent df76f2b35a
commit 5b723b7a40
8 files changed
+40 -5

No files matched your search

+17 -1
View File
@@ -23,7 +23,10 @@
<div class="price">
<p v-if="service && service.price && service.price > 0" class="unfree">
<span class="value">¥{{ service.price }}</span>
<span class="unit"> / {{ $t('service.unit.usage') }}</span>
<span class="unit"> / {{ $t(`service.unit.${service.unit}`) }}</span>
<span class="from">
{{ $t('service.message.fromPrice') }}
</span>
</p>
<p v-else class="free">
{{ $t('service.message.free') }}
@@ -337,6 +340,10 @@ export default defineComponent({
.unit {
color: white;
}
.from {
color: white;
}
}
.free {
color: #29c287;
@@ -479,4 +486,13 @@ export default defineComponent({
display: flex;
}
}
.proxies {
margin-bottom: 40px;
.operations {
align-items: center;
justify-items: center;
display: flex;
}
}
</style>
+1 -1
View File
@@ -45,7 +45,7 @@
<el-image class="thumb" :src="service?.thumbnail" />
<div class="title">{{ service.title }}</div>
<div class="price">
<service-price :price="service?.price" />
<service-price :price="service?.price" :unit="$t(`service.unit.${service.unit}`)" />
</div>
<div class="description">
<p>