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
02f09d6e
Commit
02f09d6e
authored
Apr 20, 2020
by
baixian
Browse files
Options
Browse Files
Download
Plain Diff
微官网新版需求上线
parents
84aae436
b2c5dda0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
6 deletions
+12
-6
index.html
index.html
+3
-2
menuconfig.js
src/common/menuconfig.js
+2
-2
officialweb.js
src/models/officialweb.js
+2
-1
pushsetting.js
src/models/pushsetting.js
+4
-0
index.js
src/pages/pushsetting/index.js
+1
-1
No files found.
index.html
View file @
02f09d6e
...
...
@@ -11,11 +11,12 @@
<script src="js/console-polyfill.js"></script>
<![endif]-->
<script
charset=
"utf-8"
src=
"https://map.qq.com/api/js?v=2.exp&key=XSZBZ-5LHCV-5I2P7-UQHPW-6456F-JBB3B"
></script>
<script
src=
"/js/ueeditor/ueditor.config.js?20200107"
charset=
"utf-8"
></script><script
src=
"/js/ueeditor/ueditor.all.js?20200107"
charset=
"utf-8"
></script>
<script
src=
"
js/console-polyfill.js?20200107"
charset=
"utf-8"
></script><script
src=
"js/es6-shim.min.js?20200107"
charset=
"utf-8"
></script><script
src=
"js/es5-shim.js?20200107"
charset=
"utf-8"
></script><script
src=
"js/es5-sham.min.js?20200107"
charset=
"utf-8"
></script><script
src=
"js/json3.min.js?20200107"
charset=
"utf-8"
></script><script
src=
"js/html5shiv.min.js?20200107"
charset=
"utf-8"
></script><script
src=
"js/polyfill.js?20200107"
charset=
"utf-8"
></script><script
src=
"
lib/vendor.dll.js?20200107"
charset=
"utf-8"
></script>
<script
src=
"
https://cdn.s.shangjiadao.cn/qingxiao/biz/js/console-polyfill.js?20200107"
charset=
"utf-8"
></script><script
src=
"https://cdn.s.shangjiadao.cn/qingxiao/biz/js/es6-shim.min.js?20200107"
charset=
"utf-8"
></script><script
src=
"https://cdn.s.shangjiadao.cn/qingxiao/biz/js/es5-shim.js?20200107"
charset=
"utf-8"
></script><script
src=
"https://cdn.s.shangjiadao.cn/qingxiao/biz/js/es5-sham.min.js?20200107"
charset=
"utf-8"
></script><script
src=
"https://cdn.s.shangjiadao.cn/qingxiao/biz/js/json3.min.js?20200107"
charset=
"utf-8"
></script><script
src=
"https://cdn.s.shangjiadao.cn/qingxiao/biz/js/html5shiv.min.js?20200107"
charset=
"utf-8"
></script><script
src=
"https://cdn.s.shangjiadao.cn/qingxiao/biz/js/polyfill.js?20200107"
charset=
"utf-8"
></script><script
src=
"https://cdn.s.shangjiadao.cn/qingxiao/biz/
lib/vendor.dll.js?20200107"
charset=
"utf-8"
></script>
</head>
</head>
<body>
<div
id=
"root"
></div>
<script
type=
"text/javascript"
src=
"
/dist/main.1e2883
.js"
></script></body>
<script
type=
"text/javascript"
src=
"
https://cdn.s.shangjiadao.cn/qingxiao/biz/dist/main.a9c4c0
.js"
></script></body>
</html>
src/common/menuconfig.js
View file @
02f09d6e
...
...
@@ -233,8 +233,8 @@ export default {
width
:
'15px'
,
height
:
'15px'
,
},
activeurl
:
`
${
__IMGCDN__
}
menu/push.png?v=1`
,
notactiveurl
:
`
${
__IMGCDN__
}
menu/push
active
.png`
,
activeurl
:
`
${
__IMGCDN__
}
menu/push
active
.png?v=1`
,
notactiveurl
:
`
${
__IMGCDN__
}
menu/push.png`
,
path
:
'/sjd/pushsetting'
,
relativePath
:
[
'/sjd/pushsetting'
],
},
...
...
src/models/officialweb.js
View file @
02f09d6e
...
...
@@ -918,13 +918,14 @@ export default {
url
:
signature
.
host
,
callback
:
signature
.
callback
,
};
document
.
getElementById
(
'uploadCommon'
).
value
=
''
;
//
document.getElementById('uploadCommon').value = '';
const
uploadImg
=
yield
call
(
uploader
.
uploadVideo
,
params
,
(
res
)
=>
{
progressCallBack
(
res
);
});
const
videoUrl
=
signature
.
path
;
setTimeout
(
uploaderLoading
);
if
(
JSON
.
stringify
(
uploadImg
)
==
'{"status":"ok"}'
)
{
document
.
getElementById
(
'uploadCommon'
).
value
=
''
;
yield
put
({
type
:
'updateState'
,
payload
:
{
...
...
src/models/pushsetting.js
View file @
02f09d6e
...
...
@@ -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 @
02f09d6e
...
...
@@ -64,7 +64,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