移除无用代码

master
toesbieya 6 years ago
parent 609f5eb1e4
commit a949d6e10a
  1. 27
      vue/src/asset/style/variables.scss
  2. 2
      vue/src/layout/component/TagsView/style.scss
  3. 4
      vue/src/view/example/component/skeletonPage.vue
  4. 4
      vue/src/view/example/test/develop/component/ImageCompressTest.vue

@ -1,30 +1,9 @@
//material design的基础颜色
$--color-red: #F44336;
$--color-pink: #E91E63;
$--color-purple: #9C27B0;
$--color-deep-purple: #673AB7;
$--color-indigo: #3F51B5;
$--color-blue: #2196F3;
$--color-light-blue: #03A9F4;
$--color-cyan: #00BCD4;
$--color-teal: #009688;
$--color-green: #4CAF50;
$--color-light-green: #8BC34A;
$--color-lime: #CDDC39;
$--color-yellow: #FFEB3B;
$--color-amber: #FFC107;
$--color-orange: #FF9800;
$--color-deep-orange: #FF5722;
$--color-brown: #795548;
$--color-gray: #9E9E9E;
$--color-blue-gray: #607D8B;
//覆盖element颜色 //覆盖element颜色
$--color-primary: #1890ff; $--color-primary: #1890ff;
$--color-success: #21BA45; $--color-success: #21BA45;
$--color-warning: $--color-deep-orange; $--color-warning: #FF5722;
$--color-danger: $--color-red; $--color-danger: #F44336;
$--color-info: $--color-teal; $--color-info: #009688;
@mixin clearfix { @mixin clearfix {
&::after { &::after {

@ -17,7 +17,7 @@
cursor: pointer; cursor: pointer;
height: 32px; height: 32px;
line-height: 35px; line-height: 35px;
color: $--color-gray; color: #909399;
background: #fff; background: #fff;
border-radius: 3px; border-radius: 3px;
padding: 0 12px; padding: 0 12px;

@ -27,7 +27,9 @@ import {skeletonAnimations, skeletonTypes} from '@/component/Skeleton/constant'
export default { export default {
name: "skeletonExample", name: "skeletonExample",
components: {QSkeleton}, components: {QSkeleton},
data() { data() {
return { return {
skeletonTypes, skeletonTypes,
@ -49,7 +51,7 @@ export default {
} }
.bg-info { .bg-info {
background-color: $--color-teal; background-color: $--color-info;
} }
.bg-warning { .bg-warning {

@ -174,8 +174,6 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "~@/asset/style/variables.scss";
.container { .container {
max-width: 1200px; max-width: 1200px;
text-align: center; text-align: center;
@ -199,7 +197,7 @@ export default {
text-align: center; text-align: center;
p { p {
color: $--color-gray; color: #909399;
margin-top: 0; margin-top: 0;
margin-bottom: 1rem; margin-bottom: 1rem;
} }

Loading…
Cancel
Save