mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-12 22:49:38 +00:00
perf: 修改 demo
This commit is contained in:
parent
bc0ca617a1
commit
ef41dc809c
@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<Page>
|
<Page>
|
||||||
<div v-if="isDev" style="margin-bottom: 20px">
|
<div v-if="isDev" style="margin-bottom: 20px">
|
||||||
|
<div class="dz">
|
||||||
<el-button
|
<el-button
|
||||||
v-for="tp of ['primary', 'success', 'info', 'warning', 'danger']"
|
v-for="tp of ['primary', 'success', 'info', 'warning', 'danger']"
|
||||||
:key="tp"
|
:key="tp"
|
||||||
@ -9,6 +10,40 @@
|
|||||||
{{ tp.toUpperCase() }}
|
{{ tp.toUpperCase() }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="dz">
|
||||||
|
<el-button
|
||||||
|
v-for="tp of ['primary', 'success', 'info', 'warning', 'danger']"
|
||||||
|
:key="tp"
|
||||||
|
:type="tp"
|
||||||
|
disabled
|
||||||
|
>
|
||||||
|
{{ tp.toUpperCase() }}
|
||||||
|
</el-button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="dz">
|
||||||
|
<el-link
|
||||||
|
v-for="tp of ['primary', 'success', 'info', 'warning', 'danger']"
|
||||||
|
:key="tp"
|
||||||
|
:type="tp"
|
||||||
|
>
|
||||||
|
<span style="padding-right: 10px">{{ tp.toUpperCase() }}</span>
|
||||||
|
</el-link>
|
||||||
|
</div>
|
||||||
|
<div class="dz">
|
||||||
|
<el-radio-group v-model="dz.radio">
|
||||||
|
<el-radio :label="3">备选项1</el-radio>
|
||||||
|
<el-radio :label="6">备选项2</el-radio>
|
||||||
|
<el-radio :label="9">备选项3</el-radio>
|
||||||
|
</el-radio-group>
|
||||||
|
</div>
|
||||||
|
<el-steps class="dz" :space="200" :active="1" finish-status="error">
|
||||||
|
<el-step title="已完成" />
|
||||||
|
<el-step title="进行中" />
|
||||||
|
<el-step title="步骤 3" />
|
||||||
|
</el-steps>
|
||||||
|
<div class="dz" />
|
||||||
|
</div>
|
||||||
<IBox v-if="!loading">
|
<IBox v-if="!loading">
|
||||||
<GenericCreateUpdateForm
|
<GenericCreateUpdateForm
|
||||||
:fields="fields"
|
:fields="fields"
|
||||||
@ -40,6 +75,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
dz: {},
|
||||||
loading: true,
|
loading: true,
|
||||||
files: {},
|
files: {},
|
||||||
interfaceInfo: {},
|
interfaceInfo: {},
|
||||||
@ -193,4 +229,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
.dz {
|
||||||
|
padding: 10px 0
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user