浏览代码

Refactor: Make loader standalone component

pull/169/head
winkidney 5 年前
committed by Isaac Bythewood
父节点
当前提交
09e46cc907
共有 2 个文件被更改,包括 6 次插入6 次删除
  1. +1
    -6
      pinry-spa/src/components/Pins.vue
  2. +5
    -0
      pinry-spa/src/components/utils/loader.scss

+ 1
- 6
pinry-spa/src/components/Pins.vue 查看文件

@@ -239,12 +239,7 @@ $pin-footer-position-fix: -6px;
$avatar-width: 30px;
$avatar-height: 30px;
@import './utils/fonts';

@mixin loader {
background: url('../assets/loader.gif');
background-position: center center;
background-repeat: no-repeat;
}
@import './utils/loader.scss';

.pin-card{
.pin-preview-image {


+ 5
- 0
pinry-spa/src/components/utils/loader.scss 查看文件

@@ -0,0 +1,5 @@
@mixin loader {
background: url('/assets/loader.gif');
background-position: center center;
background-repeat: no-repeat;
}

正在加载...
取消
保存