From 3a77a017aab34f3fc3d983ceee4aba626ddac751 Mon Sep 17 00:00:00 2001 From: THK3121 Date: Wed, 21 Jun 2023 15:12:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=97=E9=93=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/columnGoods/goods_search_con/index.vue | 285 +++++++++--------- pages/nongKe/supply_chain/supplier.vue | 295 +++++++++++-------- pages/product/list/index.vue | 2 +- 3 files changed, 316 insertions(+), 266 deletions(-) diff --git a/pages/columnGoods/goods_search_con/index.vue b/pages/columnGoods/goods_search_con/index.vue index 3217380..659b684 100644 --- a/pages/columnGoods/goods_search_con/index.vue +++ b/pages/columnGoods/goods_search_con/index.vue @@ -143,48 +143,45 @@ - - - - - - -

{{item.mer_name}}

- - - - {{item.service_phone}} - - - - - - {{item.mer_take_time[0]}}-{{item.mer_take_time[1]}} - - -
-
- - - -

- {{item.mer_address}} -

-
- - - -

- {{item.mer_info}} -

-
-
+
+ + + + + {{item.mer_name}} - - + + {{item.type_name}} + + + + + + + + + + + {{item.service_phone}} + + + + {{item.mer_take_time[0]}}-{{item.mer_take_time[1]}} + + + + + {{item.mer_info}} + + + + {{item.mer_address}} + + +
@@ -219,10 +216,6 @@ - - - - @@ -396,8 +389,6 @@ merList: [], //商户分类 mTop: 0, activeIndex: 0, - show: false, //质资弹出层 - image: '' //图片 }; }, onLoad: function(options) { @@ -587,7 +578,7 @@ this.storeList = this.storeList.concat(res.data.list) this.count = res.data.count this.loading = false - // console.log(this.storeList); + console.log(this.storeList); }) }, // 店铺排序 @@ -860,18 +851,6 @@ }) } }, - qctail(item) { - // console.log(item); - if (item.mer_certificate == '') { - return - } - this.show = true - this.image = item.mer_certificate[0] - // console.log(this.show); - }, - close() { - this.show = false - } }, onPullDownRefresh() { @@ -1486,109 +1465,117 @@ justify-content: center; color: #fff; - .bgc_img { + .zhezhao { + position: absolute; width: 95%; - height: 200px; + height: 150px; + border-radius: 20rpx; + z-index: 0; + opacity: 0.5; + background-color: #999; + } + + .bgc_img { + position: absolute; + width: 95%; + height: 150px; background-size: cover; border-radius: 20rpx; + z-index: 0; + } - .head_conent { + .zhezhao1 { + width: 100%; + height: 150px; + border-radius: 20rpx; + z-index: 1; + + .title { display: flex; + height: 50px; align-items: center; + margin-left: 20px; + z-index: 1; - .head_conent_l { - width: 70%; - - - .conent_l_top { - display: flex; - height: 200rpx; - - .avatar { - width: 80px; - height: 180rpx; - background-size: cover; - margin: 10px 0 10px 10px; - border-radius: 10px; - } - - .top_text { - margin: 10px 0 0 15px; - - .text { - margin: 12.5rpx 0px; - display: flex; - - span { - width: 120px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - -o-text-overflow: ellipsis; - } - - image { - width: 15px; - height: 15px; - margin-right: 10rpx; - } - } - - p { - font-size: 31rpx; - font-weight: 700; - width: 160px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - -o-text-overflow: ellipsis; - margin-bottom: 30rpx; - } - - - } - - } - - .conent_l_bom { - margin-top: 40rpx; - - .text { - display: flex; - - p { - width: 190px; - margin: 10rpx 0 10Rpx 0; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - -o-text-overflow: ellipsis; - } - - image { - margin: 10rpx 0 10px 10px; - width: 15px; - height: 15px; - margin-right: 10rpx; - } - } - - } - } - - .head_conent_r { - height: 200px; - width: 30%; - - .miniban { - width: 100px; - height: 150px; - margin-top: 35px; - } + span { + background-color: #F84221; + color: white; + font-size: 12px; + padding: 3px; + border-radius: 5px; + margin-left: 5px; } } + + .coent { + display: flex; + margin-left: 20px; + + .avater { + width: 60px; + height: 80px; + + image { + width: 60px; + height: 80px; + } + } + + .text { + .text_one { + display: flex; + height: 30px; + line-height: 30px; + padding-left: 10px; + + image { + width: 20px; + height: 20px; + margin-right: 10px; + } + + .text_one_r { + margin-left: 10px; + } + } + + .text_two { + width: 270px; + height: 30px; + line-height: 30px; + padding-left: 10px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + + image { + width: 20px; + height: 20px; + margin-right: 10px; + } + } + + .text_three { + width: 270px; + height: 30px; + line-height: 30px; + padding-left: 10px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + + image { + width: 20px; + height: 20px; + margin-right: 10px; + } + } + } + + } } + } .pro-box { diff --git a/pages/nongKe/supply_chain/supplier.vue b/pages/nongKe/supply_chain/supplier.vue index dbf2776..2d45244 100644 --- a/pages/nongKe/supply_chain/supplier.vue +++ b/pages/nongKe/supply_chain/supplier.vue @@ -45,45 +45,40 @@ - - - - - - -

{{item.mer_name}}

- - - - {{item.service_phone}} - - - - - - {{item.mer_take_time[0]}}-{{item.mer_take_time[1]}} - - -
-
- - - -

- {{item.mer_address}} -

-
- - - -

- {{item.mer_info}} -

-
-
+
+ + + + + {{item.mer_name}} - - + + {{item.type_name}} + + + + + + + + + + + {{item.service_phone}} + + + + {{item.mer_take_time[0]}}-{{item.mer_take_time[1]}} + + + + + {{item.mer_info}} + + + + {{item.mer_address}} + @@ -870,109 +865,177 @@ justify-content: center; color: #fff; - .bgc_img { + .zhezhao { + position: absolute; width: 95%; - height: 200px; + height: 150px; + border-radius: 20rpx; + z-index: 0; + opacity: 0.5; + background-color: #999; + } + + .bgc_img { + position: absolute; + width: 95%; + height: 150px; background-size: cover; border-radius: 20rpx; + z-index: 0; + } - .head_conent { + .zhezhao1 { + width: 100%; + height: 150px; + border-radius: 20rpx; + z-index: 1; + + .title { display: flex; + height: 50px; align-items: center; + margin-left: 20px; + z-index: 1; - .head_conent_l { - width: 70%; + span { + background-color: #F84221; + color: white; + font-size: 12px; + padding: 3px; + border-radius: 5px; + margin-left: 5px; + } + } + .coent { + display: flex; + margin-left: 20px; - .conent_l_top { + .avater { + width: 60px; + height: 80px; + + image { + width: 60px; + height: 80px; + } + } + + .text { + .text_one { display: flex; - height: 200rpx; + height: 30px; + line-height: 30px; + padding-left: 10px; - .avatar { - width: 80px; - height: 180rpx; - background-size: cover; - margin: 10px 0 10px 10px; - border-radius: 10px; + image { + width: 20px; + height: 20px; + margin-right: 10px; } - .top_text { - margin: 10px 0 0 15px; - - .text { - margin: 12.5rpx 0px; - display: flex; - - span { - width: 120px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - -o-text-overflow: ellipsis; - } - - image { - width: 15px; - height: 15px; - margin-right: 10rpx; - } - } - - p { - font-size: 31rpx; - font-weight: 700; - width: 160px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - -o-text-overflow: ellipsis; - margin-bottom: 30rpx; - } - - + .text_one_r { + margin-left: 10px; } - } - .conent_l_bom { - margin-top: 40rpx; + .text_two { + width: 270px; + height: 30px; + line-height: 30px; + padding-left: 10px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; - .text { - display: flex; - - p { - width: 190px; - margin: 10rpx 0 10Rpx 0; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - -o-text-overflow: ellipsis; - } - - image { - margin: 10rpx 0 10px 10px; - width: 15px; - height: 15px; - margin-right: 10rpx; - } + image { + width: 20px; + height: 20px; + margin-right: 10px; } + } + .text_three { + width: 270px; + height: 30px; + line-height: 30px; + padding-left: 10px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + + image { + width: 20px; + height: 20px; + margin-right: 10px; + } } } - .head_conent_r { - height: 200px; - width: 30%; - - .miniban { - width: 100px; - height: 150px; - margin-top: 35px; - } - } } } + + } + + .pro-box { + white-space: nowrap; + display: flex; + align-items: center; + padding: 20rpx 20rpx 30rpx; + + .pro-item { + display: inline-block; + width: 218rpx; + margin-right: 14rpx; + + .picture, + /deep/image, + uni-image { + width: 100%; + height: 214rpx; + border-radius: 8rpx; + position: relative; + } + + .price { + margin-top: 5rpx; + font-size: 28rpx; + color: var(--view-priceColor); + font-weight: bold; + + text { + font-size: 28rpx; + } + } + + &:last-child { + margin-right: 0; + } + } + + &.styleType3 { + padding: 20rpx; + + .pro-item { + display: inline-block; + background-color: #fff; + border-radius: 16rpx; + text-align: center; + padding: 10rpx 0 20rpx; + + .picture, + /deep/image, + uni-image { + width: 194rpx; + height: 194rpx; + text-align: center; + border-radius: 8rpx; + position: relative; + margin: 0 auto; + } + } + } } } } diff --git a/pages/product/list/index.vue b/pages/product/list/index.vue index 5831c42..0bb656c 100644 --- a/pages/product/list/index.vue +++ b/pages/product/list/index.vue @@ -152,7 +152,7 @@ this.getList(this.mer_id); }, onPullDownRefresh() { - this.where.page = 1 + // this.where.page = 1 this.loading = false this.loaded = false this.getList(this.mer_id);