From 621441e3f30bc9be769620a804f962b070dcbbb2 Mon Sep 17 00:00:00 2001 From: Lee-1203 <342694918@qq.com> Date: Fri, 15 Jul 2022 18:39:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=8D=E9=A6=88=E4=BF=AE=E6=94=B9-0715?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commons/style.css | 10 +++++----- pages/tabbar/news/collection.vue | 3 +-- pages/tabbar/news/news.vue | 2 +- .../dist/dev/.sourcemap/mp-weixin/common/main.js.map | 2 +- .../mp-weixin/pages/tabbar/news/collection.js.map | 2 +- unpackage/dist/dev/mp-weixin/common/main.wxss | 10 +++++----- .../dist/dev/mp-weixin/pages/tabbar/news/collection.js | 3 +-- .../dist/dev/mp-weixin/pages/tabbar/news/news.wxml | 2 +- 8 files changed, 16 insertions(+), 18 deletions(-) diff --git a/commons/style.css b/commons/style.css index 9fd223e..0fcf391 100644 --- a/commons/style.css +++ b/commons/style.css @@ -230,22 +230,22 @@ page {background-color: #eaeaea;} z-index: 99; overflow-x: auto; } -.nav-list-bg::-webkit-scrollbar{ +.news-nav-bg::-webkit-scrollbar{ width: 0; height: 0; opacity: 0; } -.nav-list-bg .pull-nav-btns{ +.news-nav-bg .pull-nav-btns{ justify-content: start !important; } -.nav-list-bg .pull-nav-btns .btn{ +.news-nav-bg .pull-nav-btns .btn{ width: 180rpx !important; margin: 0 20rpx !important; } -.nav-list-bg .pull-nav-btns .btn:first-child{ +.news-nav-bg .pull-nav-btns .btn:first-child{ margin-left: 0 !important; } -.nav-list-bg .pull-nav-btns .btn:last-child{ +.news-nav-bg .pull-nav-btns .btn:last-child{ margin-right: 0 !important; } .news-list-bg{ diff --git a/pages/tabbar/news/collection.vue b/pages/tabbar/news/collection.vue index 467c9bb..7152d7d 100644 --- a/pages/tabbar/news/collection.vue +++ b/pages/tabbar/news/collection.vue @@ -155,12 +155,11 @@ id:item.id, src:item.cover, title:item.title, - time:this.dateFormat(item.published_at.replace(/-/g,'/')), + time:this.dateFormat(item.created_at.replace(/-/g,'/')), } newArr.push(obj) }) this.collectionList = this.collectionList.concat(newArr); - console.log(this.collectionList,1212121) if(this.collectionList.length == this.total){ this.totalAll = this.total; } diff --git a/pages/tabbar/news/news.vue b/pages/tabbar/news/news.vue index 0ae46b3..ae97e25 100644 --- a/pages/tabbar/news/news.vue +++ b/pages/tabbar/news/news.vue @@ -1,7 +1,7 @@