feat: 一些样式调整
This commit is contained in:
1 parent
57caa62081
commit
a3698add2a
3 files changed
+9
-2
No files matched your search
@@ -99,7 +99,7 @@ onShareAppMessage(() => ({
|
||||
<scroll-view class="w-[86px] shrink-0 bg-alt overflow-hidden pt-3" scroll-y :show-scrollbar="false">
|
||||
<view v-for="(group, i) in groups" :key="group.id"
|
||||
class="h-16 flex items-center justify-center text-cap relative text-center leading-[1.3]"
|
||||
:class="i === activeIndex ? 'bg-white text-brand-deep font-semibold rounded-r-[14px] deco-mark' : 'text-ink2'"
|
||||
:class="i === activeIndex ? 'bg-white text-brand-deep font-semibold deco-mark' : 'text-ink2'"
|
||||
@click="onGroupTap(i)">
|
||||
<text>{{ group.name }}</text>
|
||||
<text class="ml-[3px] text-[10px]" :class="i === activeIndex ? 'text-brand' : 'text-ink3'">
|
||||
@@ -115,6 +115,12 @@ onShareAppMessage(() => ({
|
||||
<view v-for="(item, i) in group.items" :key="item.id" :class="i ? 'mt-[10px]' : ''">
|
||||
<ContentCard :item="item" show-address show-benefit />
|
||||
</view>
|
||||
|
||||
<view v-if="!group.items.length"
|
||||
class="h-[92px] rounded-card bg-alt border-[0.5px] border-line border-dashed flex flex-col items-center justify-center gap-[6px]">
|
||||
<AppIcon name="info" tone="ink3" :size="22" />
|
||||
<text class="text-hint text-ink3">暂无商家</text>
|
||||
</view>
|
||||
</view>
|
||||
<EmptyBox v-if="!groups.length" text="该板块暂无内容" />
|
||||
<view class="h-5" />
|
||||
|
||||
Reference in new issue
Block a user