调整
This commit is contained in:
parent
d01134527e
commit
7de906b8b3
@ -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>
|
||||
|
||||
|
@ -1,15 +1,17 @@
|
||||
<template>
|
||||
<NavBar/>
|
||||
<view class="flex flex-col h-full">
|
||||
<NavBar/>
|
||||
|
||||
<view class="content">
|
||||
<Banner/>
|
||||
<ZhiHuHotList/>
|
||||
<view class="flex-1 flex-grow-1 min-h-0 content overflow-auto">
|
||||
<Banner/>
|
||||
<ZhiHuHotList/>
|
||||
|
||||
<view class="text-center">
|
||||
<text class="title">{{ title }}</text>
|
||||
</view>
|
||||
<view class="text-center">
|
||||
<text class="title">{{ now }}</text>
|
||||
<view class="text-center">
|
||||
<text class="title">{{ title }}</text>
|
||||
</view>
|
||||
<view class="text-center">
|
||||
<text class="title">{{ now }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user