优化积分商城布局
This commit is contained in:
parent
0b7d4dbc47
commit
6f300f50fe
@ -35,7 +35,8 @@
|
||||
</scroll-view>
|
||||
</view>
|
||||
<!-- 商品列表 -->
|
||||
<scroll-view scroll-y="true" class="product-list" @scrolltolower="loadMore" style="height: calc(100vh - 300rpx);">
|
||||
<scroll-view scroll-y="true" @scrolltolower="loadMore" style="height: calc(100vh - 300rpx);">
|
||||
<view class="product-list">
|
||||
<view v-for="(product, index) in products" :key="index" class="product-item">
|
||||
<image class="product-image" :src="product.commodity_pic" mode="aspectFill"></image>
|
||||
<view class="product-title">{{ product.commodity_name }}</view>
|
||||
@ -47,6 +48,7 @@
|
||||
</view>
|
||||
<!-- 加载更多提示 -->
|
||||
<view v-if="loading" class="loading">加载中...</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user