diff --git a/pages.json b/pages.json
index dfd000959b4ce7da5e997f88c25cd04627a321d9..902fb61b08c460f3d28b9bd5015cedb9344a4a4b 100644
--- a/pages.json
+++ b/pages.json
@@ -600,7 +600,16 @@
}
}
- ],
+ ,{
+ "path" : "pages/template/swiper-tiktok/swiper-tiktok",
+ "style" :
+ {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+
+ }
+ ],
"globalStyle": {
"pageOrientation": "portrait",
"navigationBarTitleText": "Hello uniapp x",
diff --git a/pages/tabBar/template.uvue b/pages/tabBar/template.uvue
index a101e7cfda143f2366c08a5bc7463c793ade4d56..bd037a2f1082dade6d46420760022b322a22b823 100644
--- a/pages/tabBar/template.uvue
+++ b/pages/tabBar/template.uvue
@@ -42,14 +42,22 @@
export default {
data() {
return {
- list: [
- {
- id: "drop-card",
- url: "drop-card",
- name: "drop-card",
- open: false,
- enable: true,
- pages: [] as Page[]
+ list: [
+ {
+ id: "drop-card",
+ url: "drop-card",
+ name: "drop-card",
+ open: false,
+ enable: true,
+ pages: [] as Page[]
+ },
+ {
+ id: "swiper-tiktok",
+ url: "swiper-tiktok",
+ name: "swiper-tiktok",
+ open: false,
+ enable: true,
+ pages: [] as Page[]
}
] as ListItem[],
arrowUpIcon: '/static/icons/arrow-up.png',
diff --git a/pages/template/swiper-tiktok/swiper-tiktok.uvue b/pages/template/swiper-tiktok/swiper-tiktok.uvue
new file mode 100644
index 0000000000000000000000000000000000000000..05e6c53b2bf6d54c9b367e3186e604f555ea3d1f
--- /dev/null
+++ b/pages/template/swiper-tiktok/swiper-tiktok.uvue
@@ -0,0 +1,115 @@
+
+
+
+ 仿抖音,复用组件,无限滚动、加载、浏览视频的示例模板
+ 已知问题:
+ 1.swiper 组件竖滑动有 bug,先横向滑动
+ 2.uvue暂未支持video
+
+
+
+
+
+ 第:{{index}}个容器
+ 数据内容:{{item.content}}
+
+
+
+
+
+
+
\ No newline at end of file