Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
uni-app
提交
5a9b1116
U
uni-app
项目概览
DCloud
/
uni-app
3 个月 前同步成功
通知
725
Star
38705
Fork
3642
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
7
列表
看板
标记
里程碑
合并请求
1
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
7
Issue
7
列表
看板
标记
里程碑
合并请求
1
合并请求
1
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5a9b1116
编写于
11月 16, 2018
作者:
蓝色的小猫咪
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修正页面自定义 page{} 样式
上级
bc7e8869
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
7 addition
and
23 deletion
+7
-23
examples/hello-uniapp/pages/template/accordion/accordion.vue
examples/hello-uniapp/pages/template/accordion/accordion.vue
+1
-5
examples/hello-uniapp/pages/template/cardview/cardview.vue
examples/hello-uniapp/pages/template/cardview/cardview.vue
+1
-1
examples/hello-uniapp/pages/template/grid-pagination/grid-pagination.vue
...uniapp/pages/template/grid-pagination/grid-pagination.vue
+2
-9
examples/hello-uniapp/pages/template/grid/grid.vue
examples/hello-uniapp/pages/template/grid/grid.vue
+1
-4
examples/hello-uniapp/pages/template/nav-button/nav-button.vue
...les/hello-uniapp/pages/template/nav-button/nav-button.vue
+2
-4
未找到文件。
examples/hello-uniapp/pages/template/accordion/accordion.vue
浏览文件 @
5a9b1116
<
template
>
<
template
>
<view
class=
"page"
>
<view
class=
"page"
>
<page-head
:title=
"title"
></page-head>
<page-head
:title=
"title"
></page-head>
<view
class=
"uni-card"
>
<view
class=
"uni-card"
style=
"margin-top:50px;"
>
<view
class=
"uni-list"
>
<view
class=
"uni-list"
>
<block
v-for=
"(list,index) in lists"
:key=
"index"
>
<block
v-for=
"(list,index) in lists"
:key=
"index"
>
<view
class=
"uni-list-cell uni-collapse"
>
<view
class=
"uni-list-cell uni-collapse"
>
...
@@ -85,10 +85,6 @@
...
@@ -85,10 +85,6 @@
</
script
>
</
script
>
<
style
>
<
style
>
.page
{
padding-top
:
60
upx
;
}
.list-collapse
{
.list-collapse
{
padding-left
:
36
upx
;
padding-left
:
36
upx
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
...
examples/hello-uniapp/pages/template/cardview/cardview.vue
浏览文件 @
5a9b1116
<
template
>
<
template
>
<view
class=
"page"
>
<view
class=
"page"
>
<page-head
:title=
"title"
></page-head>
<page-head
:title=
"title"
></page-head>
<view
class=
"uni-padding-wrap"
>
<view
class=
"uni-padding-wrap
uni-common-mt
"
>
<view
class=
"uni-card"
>
<view
class=
"uni-card"
>
<view
class=
"uni-card-content"
>
<view
class=
"uni-card-content"
>
<view
class=
"uni-card-content-inner"
>
<view
class=
"uni-card-content-inner"
>
...
...
examples/hello-uniapp/pages/template/grid-pagination/grid-pagination.vue
浏览文件 @
5a9b1116
<
template
>
<
template
>
<view
class=
"page"
>
<view>
<page-head
:title=
"title"
></page-head>
<page-head
:title=
"title"
></page-head>
<view
class=
"uni-list"
>
<view
class=
"uni-list"
style=
"margin-top:30px;"
>
<view
class=
"uni-list-cell uni-list-cell-pd"
>
<view
class=
"uni-list-cell uni-list-cell-pd"
>
<view
class=
"uni-list-cell-db"
>
循环
</view>
<view
class=
"uni-list-cell-db"
>
循环
</view>
<switch
@
change=
"switchChange"
/>
<switch
@
change=
"switchChange"
/>
...
@@ -57,13 +57,6 @@
...
@@ -57,13 +57,6 @@
</
script
>
</
script
>
<
style
>
<
style
>
.page
{
padding-top
:
60
upx
;
}
page
{
background
:
#efeff4
;
}
.uni-list
{
.uni-list
{
margin-bottom
:
30
upx
;
margin-bottom
:
30
upx
;
}
}
...
...
examples/hello-uniapp/pages/template/grid/grid.vue
浏览文件 @
5a9b1116
<
template
>
<
template
>
<view
class=
"page"
>
<view>
<page-head
:title=
"title"
></page-head>
<page-head
:title=
"title"
></page-head>
<view
class=
"uni-grid-9 uni-common-mt"
>
<view
class=
"uni-grid-9 uni-common-mt"
>
<view
class=
"uni-grid-9-item"
hover-class=
"uni-grid-9-item-hover"
v-for=
"(item,index) in grids"
:key=
"index"
:class=
"index % 3 === 2 ? 'no-border-right' : ''"
>
<view
class=
"uni-grid-9-item"
hover-class=
"uni-grid-9-item-hover"
v-for=
"(item,index) in grids"
:key=
"index"
:class=
"index % 3 === 2 ? 'no-border-right' : ''"
>
...
@@ -25,7 +25,4 @@
...
@@ -25,7 +25,4 @@
</
script
>
</
script
>
<
style
>
<
style
>
.page
{
padding-top
:
60
upx
;
}
</
style
>
</
style
>
examples/hello-uniapp/pages/template/nav-button/nav-button.vue
浏览文件 @
5a9b1116
<
template
>
<
template
>
<view
class=
"page"
>
<view>
<page-head
:title=
"title"
></page-head>
<page-head
:title=
"title"
></page-head>
<view
class=
"uni-padding-wrap uni-common-mt"
>
<view
class=
"uni-padding-wrap uni-common-mt"
>
<view
class=
"uni-title"
>
<view
class=
"uni-title"
>
...
@@ -32,7 +32,5 @@
...
@@ -32,7 +32,5 @@
</
script
>
</
script
>
<
style
>
<
style
>
.page
{
padding-top
:
60
upx
;
}
</
style
>
</
style
>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录