Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
c01f938d
Commit
c01f938d
authored
Jun 17, 2021
by
maolipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:二维码链接替换
parent
4d72ecc6
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
src/common/js/axios.ts
+5
-1
src/modules/home/Home.jsx
+1
-1
src/modules/root/CollegeManagePage.jsx
+1
-1
src/modules/root/Menu.tsx
+1
-1
No files found.
src/common/js/axios.ts
View file @
c01f938d
...
@@ -27,7 +27,8 @@ interface HeadersType{
...
@@ -27,7 +27,8 @@ interface HeadersType{
storeId
?:
any
,
storeId
?:
any
,
storeUserId
?:
any
,
storeUserId
?:
any
,
userId
?:
any
,
userId
?:
any
,
xmtoken
?:
any
xmtoken
?:
any
,
enterpriseId
?:
string
|
null
}
}
class
Axios
{
class
Axios
{
static
post
(
static
post
(
...
@@ -51,6 +52,9 @@ class Axios {
...
@@ -51,6 +52,9 @@ class Axios {
if
(
User
.
getToken
()){
if
(
User
.
getToken
()){
headerObject
.
xmtoken
=
User
.
getToken
();
headerObject
.
xmtoken
=
User
.
getToken
();
}
}
if
(
User
.
getEnterpriseId
())
{
headerObject
.
enterpriseId
=
User
.
getEnterpriseId
();
}
const
instance
:
AxiosInstance
=
axios
.
create
({
const
instance
:
AxiosInstance
=
axios
.
create
({
timeout
:
TIME_OUT
,
timeout
:
TIME_OUT
,
responseType
:
'json'
,
responseType
:
'json'
,
...
...
src/modules/home/Home.jsx
View file @
c01f938d
...
@@ -272,7 +272,7 @@ class Home extends React.Component {
...
@@ -272,7 +272,7 @@ class Home extends React.Component {
<
div
className=
"renew-popover"
>
<
div
className=
"renew-popover"
>
<
div
class=
"popover-arrow"
><
span
class=
"-popover-arrow-content"
></
span
></
div
>
<
div
class=
"popover-arrow"
><
span
class=
"-popover-arrow-content"
></
span
></
div
>
<
div
className=
"qrcode"
>
<
div
className=
"qrcode"
>
<
img
src=
"https://
image.xiaomaiketang.com/xm/HPTEsZf5DQ
.png"
alt=
""
></
img
>
<
img
src=
"https://
cdn.xiaomai5.com/qixueyuankehu
.png"
alt=
""
></
img
>
<
div
className=
"des"
>
微信/企业微信扫码续费
</
div
>
<
div
className=
"des"
>
微信/企业微信扫码续费
</
div
>
</
div
>
</
div
>
<
div
className=
"phone"
><
svg
style=
{
{
position
:
"relative"
,
top
:
"2px"
,
marginRight
:
"4px"
}
}
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
><
path
d=
"M512.651 3.78c-281.433 0-509.21 228.324-509.21 509.209 0 281.43 228.325 509.203 509.21 509.203 281.427 0 509.202-228.317 509.202-509.203 0.55-280.885-227.775-509.21-509.202-509.21z m198.205 743.553c-36.14 36.136-169.737 1.641-302.24-130.312-131.953-131.959-165.902-266.104-129.768-301.695 31.211-31.21 68.99-85.417 125.939-14.782 56.943 70.629 29.016 90.34-3.291 122.647-22.449 22.448 24.642 79.392 73.37 128.125 49.283 48.73 105.678 95.818 128.126 73.368 32.306-32.305 52.017-60.23 122.646-3.288 71.182 56.949 16.426 95.276-14.782 125.937z"
p
-
id=
"4409"
fill=
"#999999"
></
path
></
svg
>
<
div
className=
"phone"
><
svg
style=
{
{
position
:
"relative"
,
top
:
"2px"
,
marginRight
:
"4px"
}
}
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
><
path
d=
"M512.651 3.78c-281.433 0-509.21 228.324-509.21 509.209 0 281.43 228.325 509.203 509.21 509.203 281.427 0 509.202-228.317 509.202-509.203 0.55-280.885-227.775-509.21-509.202-509.21z m198.205 743.553c-36.14 36.136-169.737 1.641-302.24-130.312-131.953-131.959-165.902-266.104-129.768-301.695 31.211-31.21 68.99-85.417 125.939-14.782 56.943 70.629 29.016 90.34-3.291 122.647-22.449 22.448 24.642 79.392 73.37 128.125 49.283 48.73 105.678 95.818 128.126 73.368 32.306-32.305 52.017-60.23 122.646-3.288 71.182 56.949 16.426 95.276-14.782 125.937z"
p
-
id=
"4409"
fill=
"#999999"
></
path
></
svg
>
...
...
src/modules/root/CollegeManagePage.jsx
View file @
c01f938d
...
@@ -22,7 +22,7 @@ function ExpirationPopover(props) {
...
@@ -22,7 +22,7 @@ function ExpirationPopover(props) {
<
div
className=
"title"
>
服务到期提醒
</
div
>
<
div
className=
"title"
>
服务到期提醒
</
div
>
<
div
className=
"tip-text"
>
当前企业购买的小麦企学院服务已于 到期,到期后仍可访问,但功能不可使用,建议尽快续费购买哦~
</
div
>
<
div
className=
"tip-text"
>
当前企业购买的小麦企学院服务已于 到期,到期后仍可访问,但功能不可使用,建议尽快续费购买哦~
</
div
>
<
div
className=
"qrcode"
>
<
div
className=
"qrcode"
>
<
img
src=
"https://
image.xiaomaiketang.com/xm/HPTEsZf5DQ
.png"
alt=
""
></
img
>
<
img
src=
"https://
cdn.xiaomai5.com/qixueyuankehu
.png"
alt=
""
></
img
>
<
div
className=
"des"
>
微信/企业微信扫码续费
</
div
>
<
div
className=
"des"
>
微信/企业微信扫码续费
</
div
>
</
div
>
</
div
>
<
div
className=
"phone"
><
svg
style=
{
{
position
:
"relative"
,
top
:
"2px"
,
marginRight
:
"4px"
}
}
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
><
path
d=
"M512.651 3.78c-281.433 0-509.21 228.324-509.21 509.209 0 281.43 228.325 509.203 509.21 509.203 281.427 0 509.202-228.317 509.202-509.203 0.55-280.885-227.775-509.21-509.202-509.21z m198.205 743.553c-36.14 36.136-169.737 1.641-302.24-130.312-131.953-131.959-165.902-266.104-129.768-301.695 31.211-31.21 68.99-85.417 125.939-14.782 56.943 70.629 29.016 90.34-3.291 122.647-22.449 22.448 24.642 79.392 73.37 128.125 49.283 48.73 105.678 95.818 128.126 73.368 32.306-32.305 52.017-60.23 122.646-3.288 71.182 56.949 16.426 95.276-14.782 125.937z"
p
-
id=
"4409"
fill=
"#999999"
></
path
></
svg
>
<
div
className=
"phone"
><
svg
style=
{
{
position
:
"relative"
,
top
:
"2px"
,
marginRight
:
"4px"
}
}
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
><
path
d=
"M512.651 3.78c-281.433 0-509.21 228.324-509.21 509.209 0 281.43 228.325 509.203 509.21 509.203 281.427 0 509.202-228.317 509.202-509.203 0.55-280.885-227.775-509.21-509.202-509.21z m198.205 743.553c-36.14 36.136-169.737 1.641-302.24-130.312-131.953-131.959-165.902-266.104-129.768-301.695 31.211-31.21 68.99-85.417 125.939-14.782 56.943 70.629 29.016 90.34-3.291 122.647-22.449 22.448 24.642 79.392 73.37 128.125 49.283 48.73 105.678 95.818 128.126 73.368 32.306-32.305 52.017-60.23 122.646-3.288 71.182 56.949 16.426 95.276-14.782 125.937z"
p
-
id=
"4409"
fill=
"#999999"
></
path
></
svg
>
...
...
src/modules/root/Menu.tsx
View file @
c01f938d
...
@@ -157,7 +157,7 @@ function Aside(props: any) {
...
@@ -157,7 +157,7 @@ function Aside(props: any) {
<
div
className=
"renew"
onClick=
{
onRenewClick
}
>
去续费
<
span
className=
"icon iconfont"
style=
{
{
fontSize
:
"10px"
}
}
>

</
span
>
<
div
className=
"renew"
onClick=
{
onRenewClick
}
>
去续费
<
span
className=
"icon iconfont"
style=
{
{
fontSize
:
"10px"
}
}
>

</
span
>
<
div
className=
{
renewPopoverClass
}
>
<
div
className=
{
renewPopoverClass
}
>
<
div
className=
"qrcode"
>
<
div
className=
"qrcode"
>
<
img
src=
"https://
image.xiaomaiketang.com/xm/HPTEsZf5DQ
.png"
alt=
""
></
img
>
<
img
src=
"https://
cdn.xiaomai5.com/qixueyuankehu
.png"
alt=
""
></
img
>
<
div
className=
"des"
>
微信/企业微信扫码续费
</
div
>
<
div
className=
"des"
>
微信/企业微信扫码续费
</
div
>
</
div
>
</
div
>
<
div
className=
"phone"
><
svg
style=
{
{
position
:
"relative"
,
top
:
"2px"
,
marginRight
:
"4px"
}
}
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
><
path
d=
"M512.651 3.78c-281.433 0-509.21 228.324-509.21 509.209 0 281.43 228.325 509.203 509.21 509.203 281.427 0 509.202-228.317 509.202-509.203 0.55-280.885-227.775-509.21-509.202-509.21z m198.205 743.553c-36.14 36.136-169.737 1.641-302.24-130.312-131.953-131.959-165.902-266.104-129.768-301.695 31.211-31.21 68.99-85.417 125.939-14.782 56.943 70.629 29.016 90.34-3.291 122.647-22.449 22.448 24.642 79.392 73.37 128.125 49.283 48.73 105.678 95.818 128.126 73.368 32.306-32.305 52.017-60.23 122.646-3.288 71.182 56.949 16.426 95.276-14.782 125.937z"
p
-
id=
"4409"
fill=
"#999999"
></
path
></
svg
>
<
div
className=
"phone"
><
svg
style=
{
{
position
:
"relative"
,
top
:
"2px"
,
marginRight
:
"4px"
}
}
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
><
path
d=
"M512.651 3.78c-281.433 0-509.21 228.324-509.21 509.209 0 281.43 228.325 509.203 509.21 509.203 281.427 0 509.202-228.317 509.202-509.203 0.55-280.885-227.775-509.21-509.202-509.21z m198.205 743.553c-36.14 36.136-169.737 1.641-302.24-130.312-131.953-131.959-165.902-266.104-129.768-301.695 31.211-31.21 68.99-85.417 125.939-14.782 56.943 70.629 29.016 90.34-3.291 122.647-22.449 22.448 24.642 79.392 73.37 128.125 49.283 48.73 105.678 95.818 128.126 73.368 32.306-32.305 52.017-60.23 122.646-3.288 71.182 56.949 16.426 95.276-14.782 125.937z"
p
-
id=
"4409"
fill=
"#999999"
></
path
></
svg
>
...
...
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