modify scss

This commit is contained in:
songwanli2025@163.com 2020-03-09 10:30:25 +08:00
parent 48dfcfa174
commit a81c970704
2 changed files with 38 additions and 36 deletions

View File

@ -4,6 +4,7 @@
v-for="(item, index) in value"
:key="index"
class="n-custom-add-item"
:class="{[`n-${syntheticTheme}-theme`]: syntheticTheme}"
>
<div v-if="NFormItem" class="n-custom-add-item__content">
<slot :item="item" :index="index">
@ -56,6 +57,7 @@ import mdAdd from '../../_icons/md-add'
import mdRemove from '../../_icons/md-remove'
import asformitem from '../../_mixins/asformitem'
import NCustomAddItem from './item'
import themeable from '../../_mixins/themeable'
export default {
name: 'NCustomAdd',
@ -71,7 +73,7 @@ export default {
NCustomAdd: this
}
},
mixins: [asformitem({
mixins: [themeable, asformitem({
change: 'change',
blur: 'blur',
focus: 'focus',

View File

@ -1,6 +1,7 @@
@import './mixins/mixins.scss';
@include themes-mixin {
@include once {
@include b(custom-add) {
width: 100%;
@include m(title) {
@ -17,7 +18,6 @@
}
@include e(action) {
width: 70px;
// align-items: center;
display: flex;
margin-left: 13px;
@include m(icon) {
@ -39,9 +39,9 @@
padding-top: 0!important;
}
}
@include b(custom-add-pair-input){
margin-right: 13px;
}
}
}
}