|
@@ -12,6 +12,7 @@
|
|
|
<el-card class="box-dj" v-if="visible">
|
|
|
<div slot="header" class="clearfix">
|
|
|
<span>{{ isNew ? '修改轮播图' : '添加轮播图' }}</span>
|
|
|
+ <span class="close" @click="close">x</span>
|
|
|
</div>
|
|
|
<div class="main">
|
|
|
<naf-form v-if="visible" ref="ruleForm" @save="save" :meta="formmeta" :rules="rules" :data="is_data" :close="true" @close="close">
|
|
@@ -250,6 +251,15 @@ export default {
|
|
|
.box-card {
|
|
|
height: 100%;
|
|
|
}
|
|
|
+.clearfix {
|
|
|
+ position: relative;
|
|
|
+ .close {
|
|
|
+ position: absolute;
|
|
|
+ right: 10px;
|
|
|
+ top: 0;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+}
|
|
|
.box-dj {
|
|
|
width: 100%;
|
|
|
height: 100%;
|