Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
424496d4
Commit
424496d4
authored
May 12, 2019
by
Junling Bu
Browse files
chore[litemall-vue]: 删除spinner
parent
6a160487
Changes
5
Hide whitespace changes
Inline
Side-by-side
litemall-vue/src/assets/scss/global.scss
View file @
424496d4
@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
litemall-vue/src/assets/scss/spinner.scss
deleted
100644 → 0
View file @
6a160487
@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
litemall-vue/src/components/spinner/index.js
deleted
100644 → 0
View file @
6a160487
import
spinner
from
'
./spinner
'
;
export
default
spinner
;
litemall-vue/src/components/spinner/spinner.vue
deleted
100644 → 0
View file @
6a160487
<
template
>
<div>
<div
class=
"lds-ball"
>
<div></div>
</div>
</div>
</
template
>
<
script
>
export
default
{};
</
script
>
litemall-vue/src/mixin/get-shop-info.js
deleted
100644 → 0
View file @
6a160487
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
));
}
});
}
}
};
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment