一些问题的修复

This commit is contained in:
xiaowang
2026-03-19 14:10:59 +08:00
parent 580a89c64d
commit 3527e248d1
50 changed files with 847 additions and 165 deletions
+3 -3
View File
@@ -8,7 +8,7 @@
</div>
<h1>{{ product.name || '作品详情' }}</h1>
<div class="actions">
<el-icon @click="handleFavoriteClick" :style="{ fontSize: '20px' }" :class="{ active: isFavorite }"><Star /></el-icon>
<el-icon @click="handleFavoriteClick" :style="{ fontSize: '20px' }" :class="{ active: isFavorite }"><StarFilled /></el-icon>
</div>
</header>
@@ -115,7 +115,7 @@
<script setup lang="ts">
import { ref, onMounted, inject } from 'vue'
import { ArrowLeft, Star, Clock, Collection, ShoppingCart, Right } from '@element-plus/icons-vue'
import { ArrowLeft, StarFilled, Clock, Collection, ShoppingCart, Right } from '@element-plus/icons-vue'
import { Icon } from '@iconify/vue'
import { useRouter, useRoute } from 'vue-router'
import { ElMessage } from 'element-plus'
@@ -388,7 +388,7 @@ onMounted(() => {
}
.actions .el-icon.active {
color: #f56c6c;
color: #fadb14;
}
.product-image-container {