Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
221900204-陈鸿越
VueJS_01
提交
7fcb75fe
V
VueJS_01
项目概览
221900204-陈鸿越
/
VueJS_01
与 Fork 源项目一致
Fork自
inscode / VueJS
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
VueJS_01
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
7fcb75fe
编写于
4月 07, 2023
作者:
6
641c55cabd0a9b5151c42173
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
UPDATE
上级
b40addd1
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
126 addition
and
4 deletion
+126
-4
.upm/store.json
.upm/store.json
+1
-1
src/App.vue
src/App.vue
+5
-3
src/assets/base.css
src/assets/base.css
+60
-0
src/assets/main.css
src/assets/main.css
+60
-0
未找到文件。
.upm/store.json
浏览文件 @
7fcb75fe
{
"version"
:
2
,
"languages"
:{
"nodejs-npm"
:{
"specfileHash"
:
"58c9ae4e8687db16ea7925086afedf3b"
,
"lockfileHash"
:
"
2157a76123c004596bbf191d5ad4beb8
"
}}}
{
"version"
:
2
,
"languages"
:{
"nodejs-npm"
:{
"specfileHash"
:
"58c9ae4e8687db16ea7925086afedf3b"
,
"lockfileHash"
:
"
15b44c81a6a4931207c0b38e5ba918c2
"
}}}
src/App.vue
浏览文件 @
7fcb75fe
...
...
@@ -4,16 +4,18 @@ import TheWelcome from './components/TheWelcome.vue'
</
script
>
<
template
>
<header>
<
!--
<
header>
<img
alt=
"Vue logo"
class=
"logo"
src=
"./assets/logo.svg"
width=
"125"
height=
"125"
/>
<div
class=
"wrapper"
>
<HelloWorld
msg=
"You did it!"
/>
</div>
</header>
</header>
-->
<main>
<TheWelcome
/>
<div
class=
"loading"
>
<span>
Loading...
</span>
</div>
</main>
</
template
>
...
...
src/assets/base.css
浏览文件 @
7fcb75fe
...
...
@@ -72,3 +72,63 @@ body {
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
}
body
{
margin
:
0
;
padding
:
0
;
background
:
#34495e
;
height
:
100vh
;
display
:
flex
;
/* 设为Flex布局以后,子元素的float、clear和vertical-align属性将失效。 */
align-items
:
center
;
justify-content
:
center
;
/* font-family: "montserrat" ,sans-serif; */
/* 在最后加一个sans-serif,这样如果所列出的字体都不能用,则默认的sans-serif字体能保证调用 */
}
.loading
{
width
:
200px
;
height
:
200px
;
box-sizing
:
border-box
;
border-radius
:
50%
;
border-top
:
10px
solid
#e74c3c
;
position
:
relative
;
animation
:
a1
2s
linear
infinite
;
}
.loading
::before
,
.loading
::after
{
content
:
' '
;
width
:
200px
;
height
:
200px
;
position
:
absolute
;
left
:
0
;
top
:
-10px
;
box-sizing
:
border-box
;
border-radius
:
50%
;
}
.loading
::before
{
border-top
:
10px
solid
#e67e22
;
transform
:
rotate
(
120deg
);
}
.loading
::after
{
border-top
:
10px
solid
#3498db
;
transform
:
rotate
(
240deg
);
}
.loading
span
{
position
:
absolute
;
width
:
200px
;
height
:
200px
;
color
:
#fff
;
text-align
:
center
;
line-height
:
200px
;
animation
:
a2
2s
linear
infinite
;
}
@keyframes
a1
{
to
{
transform
:
rotate
(
360deg
);
}
}
@keyframes
a2
{
to
{
transform
:
rotate
(
-360deg
);
}
}
\ No newline at end of file
src/assets/main.css
浏览文件 @
7fcb75fe
...
...
@@ -32,4 +32,64 @@ a,
grid-template-columns
:
1
fr
1
fr
;
padding
:
0
2rem
;
}
body
{
margin
:
0
;
padding
:
0
;
background
:
#34495e
;
height
:
100vh
;
display
:
flex
;
/* 设为Flex布局以后,子元素的float、clear和vertical-align属性将失效。 */
align-items
:
center
;
justify-content
:
center
;
/* font-family: "montserrat" ,sans-serif; */
/* 在最后加一个sans-serif,这样如果所列出的字体都不能用,则默认的sans-serif字体能保证调用 */
}
.loading
{
width
:
200px
;
height
:
200px
;
box-sizing
:
border-box
;
border-radius
:
50%
;
border-top
:
10px
solid
#e74c3c
;
position
:
relative
;
animation
:
a1
2s
linear
infinite
;
}
.loading
::before
,
.loading
::after
{
content
:
' '
;
width
:
200px
;
height
:
200px
;
position
:
absolute
;
left
:
0
;
top
:
-10px
;
box-sizing
:
border-box
;
border-radius
:
50%
;
}
.loading
::before
{
border-top
:
10px
solid
#e67e22
;
transform
:
rotate
(
120deg
);
}
.loading
::after
{
border-top
:
10px
solid
#3498db
;
transform
:
rotate
(
240deg
);
}
.loading
span
{
position
:
absolute
;
width
:
200px
;
height
:
200px
;
color
:
#fff
;
text-align
:
center
;
line-height
:
200px
;
animation
:
a2
2s
linear
infinite
;
}
@keyframes
a1
{
to
{
transform
:
rotate
(
360deg
);
}
}
@keyframes
a2
{
to
{
transform
:
rotate
(
-360deg
);
}
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录