File tree Expand file tree Collapse file tree 2 files changed +10
-25
lines changed
Expand file tree Collapse file tree 2 files changed +10
-25
lines changed Original file line number Diff line number Diff line change 5353 <v-row >
5454 <v-col cols =" 12" lg =" 8" >
5555 <!-- 扩展详细信息卡片 -->
56- <v-card border class =" mb-6" >
56+ <v-card border class =" mb-6" v-if = " extension " >
5757 <v-card-title > 扩展详细信息 </v-card-title >
5858
5959 <v-card-text class =" pa-0" >
242242 v-if =" extension?.project"
243243 border
244244 class =" mb-6"
245- :to =" extension.project.url"
245+ :href =" extension.project.url"
246246 >
247247 <v-card-title > 关联项目 </v-card-title >
248248 <v-card-item >
364364 </v-container >
365365
366366 <!-- 扩展不存在 -->
367- <v-container v-else-if =" !loading && ! extension" class =" text-center py-8" >
367+ <v-container v-else-if =" !extension" class =" text-center py-8" >
368368 <v-icon size =" 64" color =" grey-lighten-1" >mdi-puzzle-remove</v-icon >
369369 <p class =" text-h6 mt-4 text-grey-darken-1" >扩展不存在</p >
370370 <p class =" text-body-2 text-grey" >找不到指定的扩展信息</p >
Original file line number Diff line number Diff line change 11<template >
22 <v-container >
33 <!-- 页面标题 -->
4- <v-row >
5- <v-col cols =" 12" >
6- <v-card class =" mb-4" ><v-card-item prepend-icon =" mdi-puzzle" >
4+
5+ <v-card class =" mb-4" border ><v-card-item prepend-icon =" mdi-puzzle" >
76 <v-card-title >
87
98 扩展市场
1312 </v-card-subtitle >
1413 </v-card-item >
1514 <v-card-actions >
16- <v-btn color = " primary " to =" /app/extensions/my" >
15+ <v-btn to =" /app/extensions/my" >
1716 我的扩展
1817 </v-btn >
1918 </v-card-actions >
2019 </v-card >
21- </v-col >
22- </v-row >
2320
2421 <!-- 筛选器 -->
25- <v-card variant =" flat" class =" mb-4" >
22+ <v-card variant =" flat" class =" mb-4" border >
2623 <v-card-text >
2724 <v-row >
2825 <!-- 搜索框 -->
9188 重置筛选
9289 </v-btn >
9390
94- <v-chip
95- v-if =" activeFiltersCount > 0"
96- color =" primary"
97- variant =" outlined"
98- size =" small"
99- >
100- {{ activeFiltersCount }} 个筛选条件
101- </v-chip >
91+
10292 </v-col >
10393 </v-row >
10494 </v-card-text >
10797 <!-- 统计信息 -->
10898 <v-row v-if =" !loading && extensions.length > 0" >
10999 <v-col cols =" 12" >
110- <v-card variant =" flat" class =" mb-4" >
100+ <v-card variant =" flat" class =" mb-4" border >
111101 <v-card-text class =" d-flex align-center justify-space-between" >
112102 <div class =" d-flex align-center" >
113103 <v-icon class =" mr-2" color =" primary" >mdi-information</v-icon >
@@ -438,12 +428,7 @@ export default {
438428 return [];
439429 },
440430
441- activeFiltersCount () {
442- let count = 0 ;
443- if (this .searchQuery ) count++ ;
444- if (this .scratchCompatibleFilter !== null ) count++ ;
445- return count;
446- }
431+
447432 },
448433 async created () {
449434 this .s3BucketUrl = get (' s3.staticurl' );
You can’t perform that action at this time.
0 commit comments