Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
圆滚滚核心
vue-element-admin
提交
dd3e22d5
V
vue-element-admin
项目概览
圆滚滚核心
/
vue-element-admin
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vue-element-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
dd3e22d5
编写于
11月 29, 2017
作者:
P
Pan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
perf:change i18n-demo to resizeable
上级
d99cb068
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
17 addition
and
13 deletion
+17
-13
src/views/i18n-demo/index.vue
src/views/i18n-demo/index.vue
+17
-13
未找到文件。
src/views/i18n-demo/index.vue
浏览文件 @
dd3e22d5
<
template
>
<div
class=
"app-container"
>
<el-card
class=
"box-card"
>
<div>
<el-card
class=
"box-card"
style=
"margin-top:40px;"
>
<div
slot=
"header"
class=
"clearfix"
>
<svg-icon
icon-class=
"international"
/>
<span
style=
'margin-left:10px;'
>
{{
$t
(
'
i18nView.title
'
)
}}
</span>
...
...
@@ -13,29 +13,30 @@
<el-tag
style=
'margin-top:15px;display:block;'
type=
"info"
>
{{
$t
(
'
i18nView.note
'
)
}}
</el-tag>
</div>
</el-card>
<el-row
:gutter=
"20"
style=
"margin:100px 50px 50px;"
>
<el-row
:gutter=
"20"
style=
"margin:100px 15px 50px;"
>
<el-col
:span=
"12"
>
<div
class=
"block"
>
<el-date-picker
v-model=
"date"
type=
"date"
:placeholder=
"$t('i18nView.datePlaceholder')"
></el-date-picker>
</div>
<div
class=
"block"
>
<el-pagination
:current-page=
"currentPage"
:page-sizes=
"[100, 200, 300, 400]"
:page-size=
"100"
layout=
"total, sizes, prev, pager, next
, jumper
"
<el-pagination
:current-page=
"currentPage"
:page-sizes=
"[100, 200, 300, 400]"
:page-size=
"100"
layout=
"total, sizes, prev, pager, next"
:total=
"400"
>
</el-pagination>
</div>
<div
class=
"block"
>
<el-button
size=
"small"
>
{{
$t
(
'
i18nView.default
'
)
}}
</el-button>
<el-button
size=
"small"
type=
"primary"
>
{{
$t
(
'
i18nView.primary
'
)
}}
</el-button>
<el-button
size=
"small"
type=
"success"
>
{{
$t
(
'
i18nView.success
'
)
}}
</el-button>
<el-button
size=
"small"
type=
"info"
>
{{
$t
(
'
i18nView.info
'
)
}}
</el-button>
<el-button
size=
"small"
type=
"warning"
>
{{
$t
(
'
i18nView.warning
'
)
}}
</el-button>
<el-button
size=
"small"
type=
"danger"
>
{{
$t
(
'
i18nView.danger
'
)
}}
</el-button>
<el-button
class=
"item-btn"
size=
"small"
>
{{
$t
(
'
i18nView.default
'
)
}}
</el-button>
<el-button
class=
"item-btn"
size=
"small"
type=
"primary"
>
{{
$t
(
'
i18nView.primary
'
)
}}
</el-button>
<el-button
class=
"item-btn"
size=
"small"
type=
"success"
>
{{
$t
(
'
i18nView.success
'
)
}}
</el-button>
<el-button
class=
"item-btn"
size=
"small"
type=
"info"
>
{{
$t
(
'
i18nView.info
'
)
}}
</el-button>
<el-button
class=
"item-btn"
size=
"small"
type=
"warning"
>
{{
$t
(
'
i18nView.warning
'
)
}}
</el-button>
<el-button
class=
"item-btn"
size=
"small"
type=
"danger"
>
{{
$t
(
'
i18nView.danger
'
)
}}
</el-button>
</div>
</el-col>
<el-col
:span=
"12"
>
<el-table
:data=
"tableData"
fit
highlight-current-row
border
style=
"width: 100%"
>
<el-table-column
prop=
"
date"
:label=
"$t('i18nView.tableDate')"
width=
"180
"
></el-table-column>
<el-table-column
prop=
"
name"
:label=
"$t('i18nView.tableName')"
width=
"180
"
></el-table-column>
<el-table-column
prop=
"
name"
:label=
"$t('i18nView.tableName')"
width=
"100"
align=
"center
"
></el-table-column>
<el-table-column
prop=
"
date"
:label=
"$t('i18nView.tableDate')"
width=
"120"
align=
"center
"
></el-table-column>
<el-table-column
prop=
"address"
:label=
"$t('i18nView.tableAddress')"
></el-table-column>
</el-table>
</el-col>
...
...
@@ -100,7 +101,10 @@ export default {
width
:
600px
;
margin
:
20px
auto
;
}
.item-btn
{
margin-bottom
:
15px
;
margin-left
:
0px
;
}
.block
{
padding
:
25px
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录