Commit 424496d4 authored by Junling Bu's avatar Junling Bu
Browse files

chore[litemall-vue]: 删除spinner

parent 6a160487
@import "./var";
@import "mixin";
@import "./common";
@import "./vant-theme";
@import "./spinner";
* {
box-sizing: border-box;
}
a {
color: #000
}
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0 1000px white inset;
}
html {
-webkit-overflow-scrolling: touch;
}
body {
overflow-x: hidden;
max-width: 700px;
margin: 0 auto;
font-size: 14px;
}
.view-router {
background-color: $bg-color;
height: 100vh;
overflow-y: auto;
padding-bottom: 50px;
box-sizing: border-box;
}
.full-page {
height: 100vh;
}
.scroll-wrap {
overflow-y: scroll;
@import "./var";
@import "mixin";
@import "./common";
@import "./vant-theme";
* {
box-sizing: border-box;
}
a {
color: #000
}
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0 1000px white inset;
}
html {
-webkit-overflow-scrolling: touch;
}
body {
overflow-x: hidden;
max-width: 700px;
margin: 0 auto;
font-size: 14px;
}
.view-router {
background-color: $bg-color;
height: 100vh;
overflow-y: auto;
padding-bottom: 50px;
box-sizing: border-box;
}
.full-page {
height: 100vh;
}
.scroll-wrap {
overflow-y: scroll;
}
\ No newline at end of file
@keyframes lds-ball {
0%, 100% {
animation-timing-function: cubic-bezier(0.45, 0, 0.9, 0.55);
}
0% {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
50% {
-webkit-transform: translate(0, 108px);
transform: translate(0, 108px);
animation-timing-function: cubic-bezier(0, 0.45, 0.55, 0.9);
}
100% {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
}
@-webkit-keyframes lds-ball {
0%, 100% {
animation-timing-function: cubic-bezier(0.45, 0, 0.9, 0.55);
}
0% {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
50% {
-webkit-transform: translate(0, 108px);
transform: translate(0, 108px);
animation-timing-function: cubic-bezier(0, 0.45, 0.55, 0.9);
}
100% {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
}
.lds-ball {
position: relative;
}
.lds-ball div {
width: 52px;
height: 52px;
border-radius: 50%;
background: #e15b64;
-webkit-animation: lds-ball 1s linear infinite;
animation: lds-ball 1s linear infinite;
}
.lds-ball {
position: fixed;
left: 50%;
top: 30%;
transform: translateX(-50%);
}
\ No newline at end of file
import spinner from './spinner';
export default spinner;
<template>
<div>
<div class="lds-ball">
<div></div>
</div>
</div>
</template>
<script>
export default {};
</script>
import { SHOPINFO } from '@/api/shop';
export default {
methods: {
getShopInfo(...keys) {
return new Promise((resolve, reject) => {
const id = window.sessionStorage.getItem('id');
if (id === null) {
const shop_id = this.$util.getLocationParam('shop_id');
this.$reqGet(`${SHOPINFO}/${shop_id}`)
.then(res => {
const { data } = res.data;
this.$util.setSessionStorage(data);
resolve(data);
})
.catch(reject);
} else {
resolve(this.$util.getSessionStorage(...keys));
}
});
}
}
};
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment