完善页面

This commit is contained in:
2025-04-26 18:06:44 +08:00
parent 0ab586dc2f
commit 2b6340dd15
116 changed files with 4300 additions and 119 deletions

View File

@ -18,22 +18,22 @@
<scroll-view style="height: 100%" scroll-y="true" scroll-with-animation="true" @scrolltolower="getGoodsSearchFun">
<view class="main-wrap">
<view class="goods">
<view class="u-margin-top-32 bold-600">{{cateName}}</view>
<view class="u-m-t-32 bold-600">{{cateName}}</view>
<view class="u-margin-top-32">
<view class="bg-white br16 row u-col-top u-margin-bottom-24" v-for="(item, index) in 10" :key="index" @click="toShop()">
<view class="u-m-t-32">
<view class="bg-white br16 row u-col-top u-m-b-24" v-for="(item, index) in 10" :key="index" @click="toShop()">
<view>
<u-image :src="cloudPath + 'img/banner.png'" width="136" height="136" border-radius="16"></u-image>
</view>
<view class="info">
<view>
<view class="u-line-2 u-padding-top-10">葱烩海鲜卷边披萨</view>
<view class="u-padding-top-44 row-between">
<view class="u-line-2 u-p-t-10">葱烩海鲜卷边披萨</view>
<view class="u-p-t-44 row-between">
<view class="row">
<view class="primary">
<price-format :price="12.9" :subscriptSize="22" :firstSize="34" :secondSize="26"></price-format>
</view>
<view class="u-margin-left-8">
<view class="u-m-l-8">
<price-format :lineThrough="true" color="#C0C0C0" :subscriptSize="22" :firstSize="22" :secondSize="22" :price="16.9"></price-format>
</view>
</view>
@ -53,8 +53,11 @@
</view>
<view class="buy mx40 px40 br60 row-between">
<view class="row">
<u-image :src="cloudPath + 'img/icon_cart.png'" width="56" height="56"></u-image>
<view class="text-fff u-margin-left-32">未选购商品</view>
<view class="u-relative">
<u-image :src="cloudPath + 'img/icon_cart.png'" width="56" height="56"></u-image>
<u-badge type="error" count="7" :absolute="true" offset="[0, 0]"></u-badge>
</view>
<view class="text-fff u-m-l-32">未选购商品</view>
</view>
<view class="text-999">去结算</view>
</view>
@ -67,23 +70,23 @@
</view>
<view>
<scroll-view style="height: 700rpx;" scroll-y="true" scroll-with-animation="true">
<view class="row-start u-row-between u-padding-top-20 u-padding-bottom-20 px20" v-for="(item, index) in 20" :key="index">
<view class="row-start u-row-between u-p-t-20 u-padding-bottom-20 px20" v-for="(item, index) in 20" :key="index">
<view class="row-start">
<view>
<u-image :src="cloudPath + 'img/banner.png'" width="136" height="136" border-radius="16"></u-image>
</view>
<view class="ml20">
<view class="u-line-2 u-padding-top-10">葱烩海鲜卷边披萨</view>
<view class="primary u-padding-top-40">
<view class="u-line-2 u-p-t-10">葱烩海鲜卷边披萨</view>
<view class="primary u-p-t-40">
<price-format :price="12.9" :subscriptSize="22" :firstSize="34" :secondSize="26"></price-format>
</view>
</view>
</view>
<view>
<view class="u-text-right">
<u-icon class="u-padding-top-10" name="trash" size="32"></u-icon>
<u-icon class="u-p-t-10" name="trash" size="32"></u-icon>
</view>
<view class="u-padding-top-30">
<view class="u-p-t-30">
<u-number-box min="1" v-model="numberVal" @change="changeNumber"></u-number-box>
</view>
</view>