Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
model_line
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuhao
model_line
Commits
42dcffcf
Commit
42dcffcf
authored
Sep 22, 2022
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wer45
parent
c1f668b0
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
557 additions
and
4 deletions
+557
-4
global.less
src/global.less
+44
-1
threedire.jsx
src/pages/threedire.jsx
+512
-0
request.js
src/utils/request.js
+1
-3
No files found.
src/global.less
View file @
42dcffcf
...
...
@@ -36,4 +36,47 @@ html,
background-clip: text;
-webkit-text-fill-color: transparent;
}
.fixder{
position: fixed;
width: 400px;
right: 380px;
top:90px;
background-image: linear-gradient(
0deg,
rgba(52, 131, 242,0.6) 0%,
rgba(52, 131, 242,0.1) 100%
);
z-index: 999999;
border-radius: 8px;
padding: 12px;
}
.spread{
display: flex;
justify-content: space-between;
align-items: center;
color:#ffffff;
border-bottom: rgba(216, 216, 216,0.4) solid 2px;
padding-bottom: 12px;
margin-bottom: 12px;
}
.spreaditem{
display: flex;
justify-content: space-between;
align-items: center;
color:rgba(255, 255, 255,0.6);
}
.status{
position: fixed;
width: 209px;
left: 380px;
top:90px;
background-image: linear-gradient(
0deg,
rgba(52, 131, 242,0.6) 0%,
rgba(52, 131, 242,0.1) 100%
);
z-index: 999999;
border-radius: 8px;
padding: 12px;
color: #ffffff;
}
\ No newline at end of file
src/pages/threedire.js
→
src/pages/threedire.js
x
View file @
42dcffcf
This diff is collapsed.
Click to expand it.
src/utils/request.js
View file @
42dcffcf
...
...
@@ -62,17 +62,15 @@ const request = extend({
// request拦截器, 改变url 或 options.
request
.
interceptors
.
request
.
use
(
async
(
url
,
options
)
=>
{
let
token
=
localStorage
.
getItem
(
"TOKEN_MES"
)
??
"
9410b3f7de5d63f2be42d80ec8241d2d
"
;
localStorage
.
getItem
(
"TOKEN_MES"
)
??
""
;
if
(
token
)
{
const
headers
=
options
.
type
==
"form"
?
{
token
:
token
,
}
:
{
"Content-Type"
:
"application/json"
,
Accept
:
"application/json"
,
token
:
token
,
};
return
{
url
:
url
,
...
...
Write
Preview
Markdown
is supported
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