Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f24c82d8
authored
Jun 19, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 提交
1 parent
d15de879
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
53 deletions
api/request/http.js
components/HomeFrame/index.vue
api/request/http.js
View file @
f24c82d
...
...
@@ -83,6 +83,7 @@ class Request {
if
(
code
==
"0"
)
{
resolve
(
data
.
data
);
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
message
||
"系统异常"
,
icon
:
"none"
,
...
...
components/HomeFrame/index.vue
View file @
f24c82d
...
...
@@ -66,23 +66,6 @@
<view
class=
"right-side"
>
<
template
v-if=
"tabIndex == 0"
>
<view
class=
"right-content"
>
<template
v-if=
"skeletonStatus"
>
<view
class=
"skeleton-box"
>
<view
class=
"start"
>
<view
class=
"start-text"
></view>
</view>
<view
class=
"module-list"
>
<view
class=
"module-item"
v-for=
"(item, index) in 10"
:key=
"index"
>
<view
class=
"module-img"
>
</view>
<view
class=
"module-name"
></view>
</view>
</view>
</view>
</
template
>
<view
class=
"start"
@
click=
"$emit('start')"
...
...
@@ -188,7 +171,6 @@ export default {
data
()
{
return
{
userInfo
:
{},
skeletonStatus
:
false
,
tabs
:
[
{
label
:
"首页"
,
...
...
@@ -629,41 +611,6 @@ export default {
}
}
}
.skeleton-box
{
position
:
absolute
;
left
:
0
;
top
:
0
;
padding
:
0
60
rpx
;
width
:
100%
;
box-sizing
:
border-box
;
z-index
:
2
;
.start
{
background
:
linear-gradient
(
90deg
,
#fff
,
#c8c8c8
,
#fff
);
background-size
:
200%
100%
;
animation
:
shine
2s
linear
infinite
;
&-text
{
width
:
284
rpx
;
height
:
72
rpx
;
background
:
rgb
(
224
,
224
,
224
);
}
}
.module-list
{
.module-item
{
.module-img
{
background
:
linear-gradient
(
90deg
,
#fff
,
#c8c8c8
,
#fff
);
background-size
:
200%
100%
;
animation
:
shine
5s
linear
infinite
;
}
.module-name
{
width
:
100%
;
height
:
38
rpx
;
background
:
linear-gradient
(
90deg
,
#fff
,
#e0e0e0
,
#fff
);
background-size
:
200%
100%
;
animation
:
shine
5s
linear
infinite
;
}
}
}
}
.footer
{
border-top
:
2
rpx
solid
#eff0f2
;
font-weight
:
600
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment