chore: init theme (#14508)

* chore: init theme

* chore: update faas config
This commit is contained in:
iamkun
2019-02-28 16:00:59 +08:00
committed by Zhi Cun
parent 2604c6192f
commit febdd3bbb4
63 changed files with 5552 additions and 805 deletions

View File

@@ -0,0 +1,35 @@
<style>
.loadingClass {
z-index: 0!important;
.el-loading-spinner {
top: 0%;
margin-top: 30%;
}
}
</style>
<script>
import bus from '../../bus.js';
import './progress.js';
export default {
data() {
return {
count: 0
};
},
created() {
bus.$on('user-theme-config-loading', val => {
if (val) {
this.count++;
if (this.count > 1) return;
this.$bar.start();
} else {
this.count--;
if (this.count) return;
this.$bar.finish();
}
});
}
};
</script>