Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
biz.qingxiao.com
Project
Project
Details
Activity
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
wangxuelai
biz.qingxiao.com
Commits
b2c5dda0
Commit
b2c5dda0
authored
Apr 20, 2020
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'最新代码提交'
parent
6778646d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
pushsetting.js
src/models/pushsetting.js
+4
-0
index.js
src/pages/pushsetting/index.js
+1
-1
No files found.
src/models/pushsetting.js
View file @
b2c5dda0
...
...
@@ -21,6 +21,8 @@ export default {
title
:
''
,
created_at
:
''
,
logo
:
''
,
app_id
:
''
,
template_config_status
:
''
,
},
hasPushAuth
:
false
,
},
...
...
@@ -60,6 +62,7 @@ export default {
title
:
data
.
data
.
title
,
created_at
:
data
.
data
.
created_at
,
logo
:
data
.
data
.
head_img
,
app_id
:
data
.
data
.
app_id
,
template_config_status
:
data
.
data
.
template_config_status
,
},
},
...
...
@@ -133,6 +136,7 @@ export default {
payload
:
{
isEmpty
:
false
,
wxInfo
:
{
app_id
:
data
.
data
.
app_id
,
title
:
data
.
data
.
title
,
created_at
:
data
.
data
.
created_at
,
logo
:
data
.
data
.
head_img
,
...
...
src/pages/pushsetting/index.js
View file @
b2c5dda0
...
...
@@ -65,7 +65,7 @@ class PushSetting extends React.Component {
{
item
.
template_config_status
==
2
&&
<
div
>
状态:配置中
<
span
style
=
{{
paddingLeft
:
'10px'
}}
className
=
"hreflink"
onClick
=
{
this
.
refreshPushSetting
}
>
刷新状态
<
/span></
div
>
}
{
item
.
template_config_status
==
3
&&
<
div
>
状态:配置成功
<
/div>
}
{
item
.
template_config_status
==
4
&&
<
div
>
状态:配置失败,请联系轻校客服
<
/div>
}
<
div
><
span
id
=
"linkcopy"
>
{
ENVIRONMENT
==
'pro'
?
`https://h5.qingxiao.online/qxbindpush.html?sid=
${
sid
}
`
:
`https://clock-h5.wp53.cn/qxbindpush.html?sid=
${
s
id
}
`
}
<
/span><span style={{ paddingLeft: '10px' }} className="hreflink" data-clipboard-target="#linkcopy" id="btnCopyLink">复制</
span
><
/div
>
<
div
><
span
id
=
"linkcopy"
>
{
ENVIRONMENT
==
'pro'
?
`https://h5.qingxiao.online/qxbindpush.html?sid=
${
sid
}
&appid=
${
item
.
app_id
}
`
:
`https://clock-h5.wp53.cn/qxbindpush.html?sid=
${
sid
}
&appid=
${
item
.
app_
id
}
`
}
<
/span><span style={{ paddingLeft: '10px' }} className="hreflink" data-clipboard-target="#linkcopy" id="btnCopyLink">复制</
span
><
/div
>
<
/div
>
)}
/
>
...
...
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