From 09d69f69368a591ff12cccdfe9099046b678605e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=8A=8A=E9=87=8C?= <1227971437@qq.com>
Date: Wed, 7 Apr 2021 16:39:40 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E4=B8=8B=E5=95=A6=E5=88=B7?=
=?UTF-8?q?=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 3 +-
pages/list/list.vue | 148 +------------------------------
pages/list/news-list.vue | 41 ++++++---
pages/list/news-search-title.vue | 17 ----
4 files changed, 32 insertions(+), 177 deletions(-)
delete mode 100644 pages/list/news-search-title.vue
diff --git a/pages.json b/pages.json
index 1e405e78..3ad958fd 100644
--- a/pages.json
+++ b/pages.json
@@ -2,7 +2,8 @@
"pages": [{
"path": "pages/list/list",
"style": {
- "navigationStyle": "custom"
+ "navigationStyle": "custom",
+ "enablePullDownRefresh":true
}
},
{
diff --git a/pages/list/list.vue b/pages/list/list.vue
index 68c4ee82..4b7f89b1 100644
--- a/pages/list/list.vue
+++ b/pages/list/list.vue
@@ -1,7 +1,5 @@
-
-
-
+
@@ -74,148 +72,4 @@
min-height: 100%;
height: auto;
}
-
- .tips {
- color: #67c23a;
- font-size: 14px;
- line-height: 40px;
- text-align: center;
- background-color: #f0f9eb;
- height: 0;
- opacity: 0;
- transform: translateY(-100%);
- transition: all 0.3s;
- }
-
- .tips-ani {
- transform: translateY(0);
- height: 40px;
- opacity: 1;
- }
-
- .shop {
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- }
-
- .shop-picture {
- width: 110px;
- height: 110px;
- }
-
- .shop-picture-column {
- width: 100%;
- height: 170px;
- margin-bottom: 10px;
- }
-
- .ellipsis {
- display: flex;
- overflow: hidden;
- }
-
- .uni-ellipsis-1 {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
-
- .uni-ellipsis-2 {
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- .uni-note{
- /* #ifndef APP-NVUE */
- display: flex;
- /* #endif */
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- flex-wrap: nowrap;
- }
-
- // 默认加入 scoped ,所以外面加一层提升权重
- .list {
- // margin-top: 52px;
-
- .uni-list--waterfall {
-
- /* #ifndef H5 || APP-VUE */
- // 小程序 编译后会多一层标签,而其他平台没有,所以需要特殊处理一下
- /deep/ .uni-list {
- /* #endif */
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- padding: 5px;
- box-sizing: border-box;
-
- /* #ifdef H5 || APP-VUE */
- // h5 和 app-vue 使用深度选择器,因为默认使用了 scoped ,所以样式会无法穿透
- /deep/
- /* #endif */
- .uni-list-item--waterfall {
- width: 50%;
- box-sizing: border-box;
-
- .uni-list-item__container {
- padding: 5px;
- flex-direction: column;
- }
- }
-
- /* #ifndef H5 || APP-VUE */
- }
-
- /* #endif */
- }
- }
-
- .search-icons {
- padding: 16rpx;
- }
-
- .search-container-bar {
- /* #ifndef APP-NVUE */
- display: flex;
- /* #endif */
- flex-direction: row;
- justify-content: center;
- align-items: center;
- // position: fixed;
- // left: 0;
- // right: 0;
- // z-index: 10;
- background-color: #fff;
- }
-
- /* #ifndef APP-NVUE */
- /deep/
- /* #endif */
- .uni-searchbar__box {
- border-width: 0;
- }
-
- /* #ifndef APP-NVUE */
- /deep/
- /* #endif */
- .uni-input-placeholder {
- font-size: 28rpx;
- }
-
- .list-info {
- /* #ifndef APP-NVUE */
- display: block;
- /* #endif */
- flex: 1;
- text-align: center;
- font-size: 26rpx;
- color: #808080;
- margin-top: 20rpx;
- }
diff --git a/pages/list/news-list.vue b/pages/list/news-list.vue
index 092c4f0a..3ee3e728 100644
--- a/pages/list/news-list.vue
+++ b/pages/list/news-list.vue
@@ -6,12 +6,16 @@
uni-clientDB 组件文档:https://uniapp.dcloud.net.cn/uniCloud/uni-clientdb-component
DB Schema 规范:https://uniapp.dcloud.net.cn/uniCloud/schema
-->
-
-
-
+
+
+
+
+
+
-
+
+
为您更新了10条内容
@@ -56,8 +60,12 @@
-
-
-
--
GitLab