提交 186d7b48 编写于 作者: W wanganxp

过滤无用的文件

上级 23ed403b
...@@ -777,8 +777,7 @@ ...@@ -777,8 +777,7 @@
{ {
"path": "pages/CSS/border/complex-border/complex-border", "path": "pages/CSS/border/complex-border/complex-border",
"style": { "style": {
"navigationBarTitleText": "border属性组合示例", "navigationBarTitleText": "border属性组合示例"
"enablePullDownRefresh": false
} }
}, },
{ {
...@@ -791,64 +790,55 @@ ...@@ -791,64 +790,55 @@
{ {
"path": "pages/template/calendar/calendar", "path": "pages/template/calendar/calendar",
"style": { "style": {
"navigationBarTitleText": "日历", "navigationBarTitleText": "日历"
"enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/template/custom-refresher/custom-refresher", "path": "pages/template/custom-refresher/custom-refresher",
"style": { "style": {
"navigationBarTitleText": "自定义下拉刷新", "navigationBarTitleText": "自定义下拉刷新"
"enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/API/get-window-info/get-window-info", "path": "pages/API/get-window-info/get-window-info",
"style": { "style": {
"navigationBarTitleText": "", "navigationBarTitleText": ""
"enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/template/half-screen/half-screen", "path": "pages/template/half-screen/half-screen",
"style": { "style": {
"navigationBarTitleText": "半屏弹窗", "navigationBarTitleText": "半屏弹窗"
"enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/template/long-list/long-list", "path": "pages/template/long-list/long-list",
"style": { "style": {
"navigationBarTitleText": "复杂长列表", "navigationBarTitleText": "复杂长列表"
"enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/component/list-view-autotest/list-view-autotest", "path": "pages/component/list-view/list-view",
"style": { "style": {
"navigationBarTitleText": "list-view-autotest", "navigationBarTitleText": "list-view"
"enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/component/scroll-view/scroll-view-props", "path": "pages/component/scroll-view/scroll-view-props",
"style": { "style": {
"navigationBarTitleText": "非下拉刷新的scroll-view属性示例", "navigationBarTitleText": "非下拉刷新的scroll-view属性示例"
"enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/component/scroll-view/scroll-view-refresher-props", "path": "pages/component/scroll-view/scroll-view-refresher-props",
"style": { "style": {
"navigationBarTitleText": "下拉刷新的scroll-view属性示例", "navigationBarTitleText": "下拉刷新的scroll-view属性示例"
"enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/component/scroll-view/scroll-view-custom-refresher-props", "path": "pages/component/scroll-view/scroll-view-custom-refresher-props",
"style": { "style": {
"navigationBarTitleText": "自定义下拉刷新的scroll-view属性示例", "navigationBarTitleText": "自定义下拉刷新的scroll-view属性示例"
"enablePullDownRefresh": false
} }
} }
], ],
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<view class="uni-list-cell-db">是否循环</view> <view class="uni-list-cell-db">是否循环</view>
<switch :checked="circularSelect" @change="circularChange" /> <switch :checked="circularSelect" @change="circularChange" />
</view> </view>
<view class="uni-title">间隔时间</view> <view class="uni-title">间隔时间(毫秒)</view>
<view> <view>
<slider @change="sliderChange" :value="1000" :min="500" :max="5000" :show-value="true" /> <slider @change="sliderChange" :value="1000" :min="500" :max="5000" :show-value="true" />
</view> </view>
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
name: '页面跳转', name: '页面跳转',
url: 'navigator', url: 'navigator',
}, },
{ /* {
name: '页面栈管理', name: '页面栈管理',
url: 'getCurrentPages', url: 'getCurrentPages',
enable: false, enable: false,
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
name: '设置导航条标题', name: '设置导航条标题',
url: 'set-navigation-bar-title', url: 'set-navigation-bar-title',
enable: false, enable: false,
}, }, */
{ {
name: '设置导航条颜色', name: '设置导航条颜色',
url: 'set-navigation-bar-color', url: 'set-navigation-bar-color',
...@@ -98,9 +98,9 @@ ...@@ -98,9 +98,9 @@
enable: false, enable: false,
}, },
{ {
name: '下拉刷新', name: '页面下拉刷新',
url: 'pull-down-refresh', url: 'pull-down-refresh',
enable: false, enable: true,
}, },
{ {
name: '将页面滚动到指定位置', name: '将页面滚动到指定位置',
......
...@@ -8,13 +8,16 @@ ...@@ -8,13 +8,16 @@
</view> </view>
<view class="uni-hello-text"> <view class="uni-hello-text">
<text class="hello-text">uni-app x目前已支持的CSS属性,展示样式仅供参考,文档详见:</text> <text class="hello-text">uni-app x目前已支持的CSS属性,展示样式仅供参考,文档详见:</text>
<u-link :href="'https://uniapp.dcloud.io/component/'" :text="'https://uniapp.dcloud.io/component/'" :inWhiteList="true"></u-link> <u-link :href="'https://uniapp.dcloud.io/component/'" :text="'https://uniapp.dcloud.io/component/'"
:inWhiteList="true"></u-link>
</view> </view>
<uni-collapse> <uni-collapse>
<template v-for="item in list" :key="item.id"> <template v-for="item in list" :key="item.id">
<uni-collapse-item :title="item.name" class="item"> <uni-collapse-item :title="item.name" class="item">
<view class="uni-navigate-item" :hover-class="page.enable == false?'':'is--active'" v-for="(page, key) in item.pages" :key="key" @click="goDetailPage(page)"> <view class="uni-navigate-item" :hover-class="page.enable == false?'':'is--active'"
<text class="uni-navigate-text" :class="page.enable == false ? 'text-disabled' : ''">{{ page.name }}</text> v-for="(page, key) in item.pages" :key="key" @click="goDetailPage(page)">
<text class="uni-navigate-text"
:class="page.enable == false ? 'text-disabled' : ''">{{ page.name }}</text>
<image :src="arrowRightIcon" class="uni-icon"></image> <image :src="arrowRightIcon" class="uni-icon"></image>
</view> </view>
</uni-collapse-item> </uni-collapse-item>
...@@ -101,6 +104,21 @@ ...@@ -101,6 +104,21 @@
}, },
] as Page[], ] as Page[],
}, },
{
id: 'display',
name: 'display',
open: false,
pages: [
{
name: 'flex',
url: '/pages/CSS/display/flex',
},
{
name: 'none',
url: '/pages/CSS/display/none',
}
] as Page[],
},
{ {
id: 'flex', id: 'flex',
name: 'flex', name: 'flex',
...@@ -262,6 +280,10 @@ ...@@ -262,6 +280,10 @@
name: 'font-weight', name: 'font-weight',
url: '/pages/CSS/text/font-weight', url: '/pages/CSS/text/font-weight',
}, },
{
name: 'letter-spacing',
url: '/pages/CSS/text/letter-spacing',
},
{ {
name: 'line-height', name: 'line-height',
url: '/pages/CSS/text/line-height', url: '/pages/CSS/text/line-height',
...@@ -281,17 +303,32 @@ ...@@ -281,17 +303,32 @@
] as Page[], ] as Page[],
}, },
{ {
id: 'animate', id: 'transform',
name: '动画', name: 'transform',
open: false, open: false,
pages: [ pages: [
{ {
name: 'transition', name: 'translate',
url: '/pages/CSS/transition/transition', url: '/pages/CSS/transform/translate',
}, },
{ {
name: 'transform', name: 'scale',
url: '/pages/CSS/transform/transform', url: '/pages/CSS/transform/scale',
},
{
name: 'rotate',
url: '/pages/CSS/transform/rotate',
},
] as Page[],
},
{
id: 'transition',
name: 'transition',
open: false,
pages: [
{
name: 'transition',
url: '/pages/CSS/transition/transition',
}, },
] as Page[], ] as Page[],
}, },
...@@ -339,6 +376,7 @@ ...@@ -339,6 +376,7 @@
<style> <style>
@import '../../common/uni-uvue.css'; @import '../../common/uni-uvue.css';
.item { .item {
margin-bottom: 12px; margin-bottom: 12px;
} }
......
...@@ -91,12 +91,12 @@ export default { ...@@ -91,12 +91,12 @@ export default {
name: 'list(新闻)', name: 'list(新闻)',
url: '/pages/component/list-news/list', url: '/pages/component/list-news/list',
}, },
// {
// name: 'list',
// url: '/pages/component/long-list/long-list',
// },
{ {
name: 'list', name: 'list-view',
url: '/pages/component/long-list/long-list',
},
{
name: 'list-view-autotest',
}, },
] as Page[], ] as Page[],
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册