From da1f751bea60280504d7fa04e6a547c68ef4381a Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期五, 12 七月 2024 17:49:30 +0800
Subject: [PATCH] add 商铺信息数据和商铺详情,还todo订单相关的
---
sub_pages/customer/trade/list.vue | 100 +++-----------------------------------------------
1 files changed, 6 insertions(+), 94 deletions(-)
diff --git a/sub_pages/customer/trade/list.vue b/sub_pages/customer/trade/list.vue
index 66d74ea..edc0e59 100644
--- a/sub_pages/customer/trade/list.vue
+++ b/sub_pages/customer/trade/list.vue
@@ -51,7 +51,7 @@
</view>
</view>
</view>
- <view class="item flex" v-for="(item,index) of list" :key="index"
+ <view class="component-shop-item flex" v-for="(item,index) of list" :key="index"
@click="toDetail(item)">
<view class="img">
<image class="img img100"
@@ -107,7 +107,10 @@
</view>
<!-- 判断是否到底了,自动吧 -->
- <footer-msg :more="page.total>0&&page.total>page.current*page.size"></footer-msg>
+ <footer-msg :more="page.total>0&&page.total>page.current*page.size"></footer-msg>
+
+
+
</view>
</template>
@@ -229,98 +232,7 @@
}
}
- .item {
- margin-top: 20rpx;
- background: #FFFFFF;
- border-radius: 8rpx;
- padding: 10rpx;
-
- .info-container {
- position: relative;
-
- .other-info {
- margin-top: 6rpx;
- font-size: 24rpx;
- color: #666666;
- line-height: 34rpx;
- text-align: left;
- }
-
- .shop-name {
- margin-top: 14rpx;
- font-size: 24rpx;
- color: #666666;
- line-height: 34rpx;
- }
-
- .bottom-buttons {
- // width: 400rpx;
- position: absolute;
- bottom: 0rpx;
-
- left: 0;
- right: 0;
-
- .icons {
- margin-left: auto;
- margin-right: 0rpx;
- margin-top: -10rpx;
-
- .curnums {
- line-height: 60rpx;
- margin-left: 12rpx;
- margin-right: 12rpx;
- }
- }
- }
-
- .title {
- font-weight: 600;
- font-size: 32rpx;
- color: #000000;
- line-height: 44rpx;
- margin-top: 8rpx;
- position: relative;
-
- .price {
- position: absolute;
- font-weight: 400;
- font-size: 28rpx;
- color: #CF0000;
- line-height: 40rpx;
- top: 0;
- right: 0;
- }
- }
-
- }
-
- .img {
- width: 206rpx;
- height: 206rpx;
- border-radius: 8rpx;
- position: relative;
-
- .level {
- position: absolute;
- width: 66rpx;
- height: 44rpx;
- background: #20613D;
- left: 0;
- top: 0;
- border-top-left-radius: 8rpx;
- border-bottom-right-radius: 8rpx;
- color: #FFFFFF;
- line-height: 44rpx;
- font-size: 24rpx;
- text-align: center;
- }
-
- }
-
-
- }
-
+
.icon-shop {
position: absolute;
position: fixed;
--
Gitblit v1.9.3