feat: 添加 .npmrc 和 pnpm-workspace.yaml 文件;更新 pnpm-lock.yaml 以支持新依赖项;优化新闻和 RWA 组件的样式
This commit is contained in:
@@ -43,7 +43,7 @@ function openNewsDetail(item: NewsItem) {
|
||||
<div
|
||||
v-for="item in data"
|
||||
:key="item.id"
|
||||
class="flex gap-3 p-3 rounded-lg bg-(--ion-color-light) transition-colors cursor-pointer"
|
||||
class="flex gap-3 p-3 rounded-lg bg-(--ion-color-faint) transition-colors cursor-pointer"
|
||||
>
|
||||
<!-- 缩略图 -->
|
||||
<div class="shrink-0">
|
||||
|
||||
@@ -59,6 +59,13 @@ function handleClick(item: RwaData) {
|
||||
border-radius: 8px;
|
||||
margin-top: 12px;
|
||||
box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
|
||||
background-color: var(--ion-color-faint);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.card {
|
||||
box-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
}
|
||||
ion-button {
|
||||
--padding-start: 12px;
|
||||
|
||||
Reference in New Issue
Block a user