Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-main
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9f1b279a
authored
Jan 04, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
替换图标
1 parent
d87e0039
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
14 deletions
src/assets/css/error.scss
src/assets/images/icon/phone.png
src/assets/images/icon/refresh.png
src/store/modules/app.js
src/assets/css/error.scss
View file @
9f1b279
...
...
@@ -19,15 +19,16 @@
}
.title
{
font-size
:
16px
;
color
:
#
817bff
;
color
:
#
3975c6
;
padding
:
15px
0
4px
;
font-weight
:
500
;
}
.tips
{
font-size
:
12px
;
color
:
#999999
;
}
}
>
.title
{
>
.title
{
font-size
:
15px
;
color
:
#333333
;
span
{
...
...
@@ -43,7 +44,7 @@
z-index
:
-1
;
border-top
:
6px
solid
transparent
;
border-right
:
6px
solid
transparent
;
border-bottom
:
6px
solid
rgba
(
129
,
123
,
255
,
0
.55
);
border-bottom
:
6px
solid
rgba
(
$color
:
#539cff
,
$alpha
:
0
.55
);
border-left
:
6px
solid
transparent
;
}
}
...
...
@@ -113,7 +114,7 @@
}
.phone
{
color
:
#666666
;
background
:
#
F8F8F
8
;
background
:
#
f8f8f
8
;
border-radius
:
1px
;
height
:
32px
;
box-sizing
:
border-box
;
...
...
@@ -127,10 +128,10 @@
}
}
}
>
.tips
{
>
.tips
{
font-size
:
12px
;
color
:
#fc9153
;
text-align
:
center
;
}
}
}
\ No newline at end of file
}
src/assets/images/icon/phone.png
View file @
9f1b279
1.96 KB
|
W:
|
H:
1.94 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/images/icon/refresh.png
View file @
9f1b279
1.43 KB
|
W:
|
H:
1.41 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/store/modules/app.js
View file @
9f1b279
...
...
@@ -35,7 +35,7 @@ const mutations = {
},
SET_LAST_PATH
(
state
,
path
)
{
state
.
lastPath
=
path
}
,
}
}
const
actions
=
{
// 设置name
...
...
@@ -101,7 +101,7 @@ const actions = {
dispatch
(
'registerHttp'
,
userInfo
.
sessionId
)
util
.
removeLocalStorage
(
'dj_scrm_redirect_uri'
)
// 只有一个账号 history.back()
if
(
route
==
'common/overdue'
||
route
==
'common/nothing'
)
route
=
''
if
(
route
==
'common/overdue'
||
route
==
'common/nothing'
)
route
=
''
if
(
redirect_uri
)
window
.
location
.
href
=
decodeURIComponent
(
`
${
redirect_uri
}
?sessionId=
${
userInfo
.
sessionId
}
&corpId=
${
corpId
}
&
${
new
Date
().
getTime
()}
`
)
else
window
.
location
.
replace
(
`
${
url
}${
route
}
`
)
}
...
...
@@ -117,16 +117,18 @@ const actions = {
util
.
showLoading
()
let
appid
=
getParams
(
'corpId'
)
//从链接获取
let
dj_scrm
=
util
.
getLocalStorage
(
'dj_scrm_corpId'
)
const
IS_PROD
=
[
'production'
,
'prod'
].
includes
(
process
.
env
.
NODE_ENV
)
if
(
!
appid
)
{
if
(
dj_scrm
)
{
appid
=
dj_scrm
.
corpId
}
else
{
Notify
({
message
:
'缺少corpId!'
,
duration
:
15000
})
// appid = 'ww7ee69c648ae1b7e6'
return
if
(
IS_PROD
)
{
Notify
({
message
:
'缺少corpId!'
,
duration
:
15000
})
return
}
else
appid
=
'ww7ee69c648ae1b7e6'
}
}
util
.
setLocalStorage
(
'dj_scrm_corpId'
,
{
corpId
:
appid
})
...
...
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