mirror of https://github.com/ElemeFE/element
Chore: misc fixes and updates
parent
664b3fb401
commit
9553e1edba
|
@ -90,8 +90,8 @@
|
||||||
methods: {
|
methods: {
|
||||||
setNav() {
|
setNav() {
|
||||||
let nav = navConfig[this.lang];
|
let nav = navConfig[this.lang];
|
||||||
this.nav = [nav[0]].concat(nav[2].children);
|
this.nav = [nav[0]].concat(nav[3].children);
|
||||||
nav[3].groups.map(group => group.list).forEach(list => {
|
nav[4].groups.map(group => group.list).forEach(list => {
|
||||||
this.nav = this.nav.concat(list);
|
this.nav = this.nav.concat(list);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
> ul > .nav-item:nth-child(-n + 3) > a {
|
> ul > .nav-item:nth-child(-n + 4) > a {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -86,7 +86,7 @@ new Vue({
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
Full example (Component list reference [components.json](https://github.com/ElemeFE/element/blob/carbon/components.json))
|
Full example (Component list reference [components.json](https://github.com/ElemeFE/element/blob/master/components.json))
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
|
|
|
@ -86,7 +86,7 @@ new Vue({
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
完整组件列表和引入方式(完整组件列表以 [components.json](https://github.com/ElemeFE/element/blob/carbon/components.json) 为准)
|
完整组件列表和引入方式(完整组件列表以 [components.json](https://github.com/ElemeFE/element/blob/master/components.json) 为准)
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
&:hover, &:focus{
|
&:hover, &:focus {
|
||||||
border-color: #409EFF;
|
border-color: #409EFF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,10 @@
|
||||||
"name": "Element React",
|
"name": "Element React",
|
||||||
"href": "https://eleme.github.io/element-react/"
|
"href": "https://eleme.github.io/element-react/"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Element Angular",
|
||||||
|
"href": "https://eleme.github.io/element-angular/"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "开发指南",
|
"name": "开发指南",
|
||||||
"children": [
|
"children": [
|
||||||
|
@ -254,6 +258,10 @@
|
||||||
"name": "Element React",
|
"name": "Element React",
|
||||||
"href": "https://eleme.github.io/element-react/"
|
"href": "https://eleme.github.io/element-react/"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Element Angular",
|
||||||
|
"href": "https://eleme.github.io/element-angular/"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Development",
|
"name": "Development",
|
||||||
"children": [
|
"children": [
|
||||||
|
|
|
@ -27,11 +27,6 @@
|
||||||
&.focusing:focus:not(:hover){
|
&.focusing:focus:not(:hover){
|
||||||
color: $--color-primary;
|
color: $--color-primary;
|
||||||
}
|
}
|
||||||
|
|
||||||
//&:focus{
|
|
||||||
// color: $--color-primary;
|
|
||||||
//}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@include e(wrap) {
|
@include e(wrap) {
|
||||||
|
|
|
@ -232,10 +232,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
th:first-child .cell, td:first-child .cell {
|
|
||||||
padding-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 拥有多级表头
|
// 拥有多级表头
|
||||||
@include m((group, border)) {
|
@include m((group, border)) {
|
||||||
border: $--table-border;
|
border: $--table-border;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
:class="['el-upload-list__item', 'is-' + file.status, focusing ? 'focusing' : '']"
|
:class="['el-upload-list__item', 'is-' + file.status, focusing ? 'focusing' : '']"
|
||||||
:key="index"
|
:key="index"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
@keydown.delete="$emit('remove', file)"
|
@keydown.delete="!disabled && $emit('remove', file)"
|
||||||
@focus="focusing = true"
|
@focus="focusing = true"
|
||||||
@blur="focusing = false"
|
@blur="focusing = false"
|
||||||
@click="focusing = false"
|
@click="focusing = false"
|
||||||
|
|
|
@ -248,3 +248,5 @@ module.exports = {
|
||||||
Main,
|
Main,
|
||||||
Footer
|
Footer
|
||||||
};
|
};
|
||||||
|
|
||||||
|
module.exports.default = module.exports;
|
||||||
|
|
Loading…
Reference in New Issue