diff --git a/pages.json b/pages.json
index d50481561bef25181f4bfc49f946e5889a3b69ba..dfd000959b4ce7da5e997f88c25cd04627a321d9 100644
--- a/pages.json
+++ b/pages.json
@@ -582,6 +582,24 @@
}
}
+ ,{
+ "path" : "pages/component/long-list/long-list",
+ "style" :
+ {
+ "navigationBarTitleText": "长列表示例",
+ "enablePullDownRefresh": false
+ }
+
+ }
+ ,{
+ "path" : "pages/component/long-list/detail/detail",
+ "style" :
+ {
+ "navigationBarTitleText": "详情示例",
+ "enablePullDownRefresh": false
+ }
+
+ }
],
"globalStyle": {
"pageOrientation": "portrait",
diff --git a/pages/component/list/list.uvue b/pages/component/list/list.uvue
index c8ff54625673a4dfc59ff7fa51426eeddd703cfd..37cdf4eb6954861176f461284eaa00af31cc2cc5 100644
--- a/pages/component/list/list.uvue
+++ b/pages/component/list/list.uvue
@@ -6,7 +6,7 @@
-
+
@@ -19,20 +19,18 @@
- |
-
-
+ |
+
+
diff --git a/pages/component/long-list/long-list.uvue b/pages/component/long-list/long-list.uvue
new file mode 100644
index 0000000000000000000000000000000000000000..cdd0496ae78457f15395cb05bc3930f613b54e77
--- /dev/null
+++ b/pages/component/long-list/long-list.uvue
@@ -0,0 +1,130 @@
+
+
+
+
+
+
+
+
+ {{ value.title }}
+
+ {{ value.subTitle }}
+
+
+
+
+ |
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/tabBar/component.uvue b/pages/tabBar/component.uvue
index 683cfad27f1133e1caf0e7b40e54b6f97759a90b..c657af9330393979427715e69f97f7d183905f3b 100644
--- a/pages/tabBar/component.uvue
+++ b/pages/tabBar/component.uvue
@@ -69,8 +69,14 @@
enable: false
},
// #endif
+ {
+ name:'list(新闻)',
+ url:"pages/component/list/list",
+ enable:true
+ },
{
name:'list',
+ url:"pages/component/long-list/long-list",
enable:true
}
] as Page[]
diff --git a/static/list-mock/internation.png b/static/list-mock/internation.png
new file mode 100644
index 0000000000000000000000000000000000000000..d2a6961e01bf189a8bdfceabaecdb7e3847d3048
Binary files /dev/null and b/static/list-mock/internation.png differ
diff --git a/static/list-mock/mock.json b/static/list-mock/mock.json
new file mode 100644
index 0000000000000000000000000000000000000000..217847fadbacaf3e542f7629943f2d57b03b0020
--- /dev/null
+++ b/static/list-mock/mock.json
@@ -0,0 +1,17 @@
+[{
+ "title": "灵魂拷问:你做的应用安全吗?",
+ "subTitle": "功能都能实现,至于安全嘛",
+ "img": "static/list-mock/safe.png",
+ "detail": "12345678"
+},{
+ "title": "云对象-重新定义前后端交互",
+ "subTitle": "更清晰的逻辑、更少的代码、更低的协作成本、更好的语法提示",
+ "img": "static/list-mock/unicloud.png",
+ "detail": "12345678"
+},
+{
+ "title": "庆贺:uni-app海外月活设备过亿",
+ "subTitle": "2022,让我们卷向海外吧",
+ "img": "static/list-mock/internation.png",
+ "detail": "12345678"
+}]
\ No newline at end of file
diff --git a/static/list-mock/safe.png b/static/list-mock/safe.png
new file mode 100644
index 0000000000000000000000000000000000000000..a9d433771d0ad56802f4c73cd9aa4716728505e5
Binary files /dev/null and b/static/list-mock/safe.png differ
diff --git a/static/list-mock/unicloud.png b/static/list-mock/unicloud.png
new file mode 100644
index 0000000000000000000000000000000000000000..a77599c3c0cbacf141a90711658d8f615fb66b47
Binary files /dev/null and b/static/list-mock/unicloud.png differ