提交 21e2a5ed 编写于 作者: 雪洛's avatar 雪洛

feat: web端启用sticky-header、sticky-section页面

上级 27112766
......@@ -81,7 +81,6 @@
"navigationBarTitleText": "list-view-children-in-slot"
}
},
// #ifdef APP
{
"path": "pages/component/sticky-section/sticky-section",
"style": {
......@@ -96,7 +95,6 @@
"enablePullDownRefresh": false
}
},
//#endif
{
"path": "pages/component/text/text",
"style": {
......
......@@ -74,7 +74,7 @@
.content-item {
padding: 15px;
margin: 5px 0;
margin-bottom: 10px;
background-color: #fff;
}
......
......@@ -72,7 +72,7 @@
.content-item {
padding: 15px;
margin: 5px 0;
margin-bottom: 10px;
background-color: #fff;
}
</style>
......@@ -80,14 +80,12 @@
{
name: 'list-view',
},
// #ifdef APP
{
name: 'sticky-header',
},
{
name: 'sticky-section',
},
// #endif
] as Page[],
},
{
......
......@@ -5,7 +5,6 @@
<image class="banner-img" :src="banner.cover"></image>
<text class="banner-title">{{ banner.title }}</text>
</list-item>
<!-- #ifdef APP -->
<sticky-header>
<view
style="width: 100%;height:44px;background-color: #f5f5f5;flex-direction: row;justify-content:center;align-items:center;">
......@@ -14,7 +13,6 @@
</text>
</view>
</sticky-header>
<!-- #endif -->
<list-item v-for="(value, index) in listData" :key="index" type=2>
<view class="uni-list-cell" hover-class="uni-list-cell-hover" @click="goDetail(value)">
<view class="uni-media-list">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册