This commit is contained in:
shikong 2024-10-18 01:03:26 +08:00
parent d01134527e
commit 7de906b8b3
Signed by: Shikong
GPG Key ID: BD85FF18B373C341
2 changed files with 11 additions and 18 deletions

View File

@ -62,8 +62,6 @@ function switchCategory(index) {
</view>
<view class="w-3/4 p-2 bg-white flex flex-col h-full">
<view class="flex-grow-0 flex flex-col h-full">
<view class="my-1">
<text>
@ -71,16 +69,9 @@ function switchCategory(index) {
</text>
</view>
<scroll-view scroll-y class="flex-grow-0 min-h-0">
<Item v-for="i in 10" :key="i" img="https://www.httpbin.org/image/png" title="测试商品测试商品测试商品测试商品测试商品测试商品测试商品" price="9999.99"/>
<Item v-for="i in 20" :key="i" img="https://www.httpbin.org/image/png" title="测试商品" price="9999.99" oldPrice="8888.88"/>
</scroll-view>
</view>

View File

@ -1,7 +1,8 @@
<template>
<view class="flex flex-col h-full">
<NavBar/>
<view class="content">
<view class="flex-1 flex-grow-1 min-h-0 content overflow-auto">
<Banner/>
<ZhiHuHotList/>
@ -12,6 +13,7 @@
<text class="title">{{ now }}</text>
</view>
</view>
</view>
</template>
<script>