From 2a3a96d5687f5d4d4583b47a3727823c27563981 Mon Sep 17 00:00:00 2001 From: kbing1981 <549711992@qq.com> Date: Thu, 4 Jul 2024 18:42:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/my/fuwuxiangm.vue | 33 +++++++++++++++++++++++---------- pages/my/indextaociliaoList.vue | 21 ++++----------------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/pages/my/fuwuxiangm.vue b/pages/my/fuwuxiangm.vue index a657705..1fe5b46 100644 --- a/pages/my/fuwuxiangm.vue +++ b/pages/my/fuwuxiangm.vue @@ -25,11 +25,12 @@ - - {{item.title}} + + {{item.title}} + {{item.classifyName}} - {{item.classifyName}} + {{item.price}} @@ -40,8 +41,11 @@ {{item.jianjie}} + - 已售{{item.sales}}w+ + + 已售{{item.sales}}w+ + 查看 @@ -216,7 +220,7 @@ } .item-view-bottom-qian span:nth-child(3){ font-weight: 400; - font-size: 20rpx; + font-size: 26rpx; color: #F95900; } .item-view-bottom{ @@ -238,18 +242,19 @@ text-overflow: ellipsis; } .item-view-biao{ - padding: 1px 2px; - border-radius: 6rpx; + border-radius: 15rpx 3rpx 15rpx 3rpx; } .tuina{ background-color:#d1f2df; color: #17984d; } .xiaoer{ - padding: 2px 8px; + width: 120rpx; + height: 35rpx; + line-height: 35rpx; + text-align: center; background-color:#f1f8d7; color: #58b314; - border-radius: 3px; font-size: 20rpx; } .taishi{ @@ -273,9 +278,13 @@ margin-top: 5px; } .item-view-title{ + width: 76%; font-weight: bold; font-size: 32rpx; color: #333333; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .item-view{ width: 55%; @@ -432,5 +441,9 @@ justify-content: space-between; background-color: #fff; } - + .view-cata{ + display: flex; + flex-direction: row; + align-items: center; + } diff --git a/pages/my/indextaociliaoList.vue b/pages/my/indextaociliaoList.vue index 27c650b..8510ca0 100644 --- a/pages/my/indextaociliaoList.vue +++ b/pages/my/indextaociliaoList.vue @@ -72,7 +72,6 @@ titleNmae:'', classifyId:'', getName:'', - scrollTop: false, } }, onLoad(e){ @@ -85,17 +84,6 @@ this.page = 1; this.getData() }, - onPageScroll: function(e) { - this.scrollTop = e.scrollTop > 200; - }, - onReachBottom: function() { - this.page = this.page + 1; - this.getData(''); - }, - onPullDownRefresh: function() { - this.page = 1; - this.getData('Refresh'); - }, methods: { // 加载更多 loadMore: async function() { @@ -174,15 +162,14 @@ background-color: #f7f7f7; } /deep/.refresh-body{ - border-top: 2px solid #f7f7f7; - margin-top: 50px; - height: 800px !important; - overflow: scroll; + height: 100% !important; + border-top: 2px solid #f7f7f7; + margin: 50px 0px; } .content-view{ width: 100%; height: 100vh; - overflow: scroll; + overflow: auto; background-color: #f7f7f7; position: relative; }