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
b838da55
Commit
b838da55
authored
Dec 14, 2020
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:修改UI验收后的问题
parent
06f15164
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
54 additions
and
22 deletions
+54
-22
src/common/less/icon-font.less
+6
-6
src/components/CheckBeforeSendCode.less
+1
-1
src/core/global.less
+1
-1
src/index.html
+3
-3
src/modules/personalInfo/ChangePhoneModal.tsx
+9
-4
src/modules/root/Header.tsx
+2
-2
src/modules/root/Login.jsx
+11
-1
src/modules/store-manege/CourseCatalogPage.less
+17
-0
src/modules/store-manege/CourseCatalogPage.tsx
+2
-2
src/modules/store-manege/EmployeesManagePage.tsx
+1
-1
src/modules/store-manege/StoreDecorationPage.tsx
+1
-1
No files found.
src/common/less/icon-font.less
View file @
b838da55
@font-face {
@font-face {
font-family: 'iconfont'; /* project id 2223403 */
font-family: 'iconfont'; /* project id 2223403 */
src: url('//at.alicdn.com/t/font_2223403_
13iutf1by4j8
.eot');
src: url('//at.alicdn.com/t/font_2223403_
uo63ciaamd
.eot');
src: url('//at.alicdn.com/t/font_2223403_
13iutf1by4j8
.eot?#iefix') format('embedded-opentype'),
src: url('//at.alicdn.com/t/font_2223403_
uo63ciaamd
.eot?#iefix') format('embedded-opentype'),
url('//at.alicdn.com/t/font_2223403_
13iutf1by4j8
.woff2') format('woff2'),
url('//at.alicdn.com/t/font_2223403_
uo63ciaamd
.woff2') format('woff2'),
url('//at.alicdn.com/t/font_2223403_
13iutf1by4j8
.woff') format('woff'),
url('//at.alicdn.com/t/font_2223403_
uo63ciaamd
.woff') format('woff'),
url('//at.alicdn.com/t/font_2223403_
13iutf1by4j8
.ttf') format('truetype'),
url('//at.alicdn.com/t/font_2223403_
uo63ciaamd
.ttf') format('truetype'),
url('//at.alicdn.com/t/font_2223403_
13iutf1by4j8
.svg#iconfont') format('svg');
url('//at.alicdn.com/t/font_2223403_
uo63ciaamd
.svg#iconfont') format('svg');
}
}
.iconfont{
.iconfont{
font-family:"iconfont" !important;
font-family:"iconfont" !important;
...
...
src/components/CheckBeforeSendCode.less
View file @
b838da55
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
box-sizing: border-box;
box-sizing: border-box;
}
}
.nc_scale .nc_ok, .nc_scale .nc_bg {
.nc_scale .nc_ok, .nc_scale .nc_bg {
background: #FF
E7D6
;
background: #FF
B714
;
border-radius: 4px 0 0 4px;
border-radius: 4px 0 0 4px;
}
}
.nc_scale .btn_ok {
.nc_scale .btn_ok {
...
...
src/core/global.less
View file @
b838da55
...
@@ -1611,7 +1611,7 @@ input:focus {
...
@@ -1611,7 +1611,7 @@ input:focus {
font-size: 22px !important;
font-size: 22px !important;
line-height: 22px !important;
line-height: 22px !important;
float: left !important;
float: left !important;
color: #F
C9C6B
!important;
color: #F
FB714
!important;
margin-right: 16px !important;
margin-right: 16px !important;
}
}
...
...
src/index.html
View file @
b838da55
<!--
<!--
* @Author: 吴文洁
* @Author: 吴文洁
* @Date: 2020-08-24 12:20:57
* @Date: 2020-08-24 12:20:57
* @LastEditors:
wuf
an
* @LastEditors:
zhangleyu
an
* @LastEditTime: 2020-12-1
1 09:49:03
* @LastEditTime: 2020-12-1
4 15:13:30
* @Description:
* @Description:
* @Copyright: 杭州杰竞科技有限公司 版权所有
* @Copyright: 杭州杰竞科技有限公司 版权所有
-->
-->
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
-->
<link
rel=
"manifest"
href=
"%PUBLIC_URL%/manifest.json"
/>
<link
rel=
"manifest"
href=
"%PUBLIC_URL%/manifest.json"
/>
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/font_2223403_
13iutf1by4j8
.css"
>
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/font_2223403_
uo63ciaamd
.css"
>
<!--
<!--
Notice the use of %PUBLIC_URL% in the tags above.
Notice the use of %PUBLIC_URL% in the tags above.
...
...
src/modules/personalInfo/ChangePhoneModal.tsx
View file @
b838da55
...
@@ -133,16 +133,21 @@ function ChangePhoneModal(props: changePhoneModalProps) {
...
@@ -133,16 +133,21 @@ function ChangePhoneModal(props: changePhoneModalProps) {
<
div
className=
"desc"
>
请输入新的手机号
</
div
>
<
div
className=
"desc"
>
请输入新的手机号
</
div
>
<
div
className=
"new-phone-content"
>
<
div
className=
"new-phone-content"
>
<
Input
<
Input
type=
"number"
maxLength=
{
11
}
maxLength=
{
11
}
name=
"newPhone"
name=
"newPhone"
placeholder=
"请输入新手机号"
placeholder=
"请输入新手机号"
value=
{
newPhone
}
value=
{
newPhone
}
className=
{
newPhoneError
?
'error-input'
:
''
}
className=
{
newPhoneError
?
'error-input'
:
''
}
onChange=
{
(
e
)
=>
{
onChange=
{
(
e
)
=>
{
setNewPhone
(
e
.
target
.
value
);
if
((
e
.
target
.
value
).
match
(
/^
\d
+$/
)){
setNewPhoneError
(
false
);
setNewPhone
(
e
.
target
.
value
);
setErrorMessageText
(
''
)
setNewPhoneError
(
false
);
setErrorMessageText
(
''
)
}
else
{
setErrorMessageText
(
'仅支持输入数字'
);
setNewPhoneError
(
true
);
}
}
}
}
}
style=
{
{
width
:
200
,
height
:
32
}
}
style=
{
{
width
:
200
,
height
:
32
}
}
/>
/>
...
...
src/modules/root/Header.tsx
View file @
b838da55
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Author: 吴文洁
* @Date: 2019-09-10 18:26:03
* @Date: 2019-09-10 18:26:03
* @LastEditors: zhangleyuan
* @LastEditors: zhangleyuan
* @LastEditTime: 2020-12-1
0 19:48:55
* @LastEditTime: 2020-12-1
4 15:30:19
* @Description:
* @Description:
*/
*/
import
React
,
{
useContext
,
useState
}
from
'react'
;
import
React
,
{
useContext
,
useState
}
from
'react'
;
...
@@ -69,7 +69,7 @@ function Header(props:headerProps){
...
@@ -69,7 +69,7 @@ function Header(props:headerProps){
return
confirm
({
return
confirm
({
title
:
"你确定要退出登录吗?"
,
title
:
"你确定要退出登录吗?"
,
content
:
"退出后,需重新登录"
,
content
:
"退出后,需重新登录"
,
icon
:
<
QuestionCircleOutlined
/
>,
icon
:
<
span
className=
"icon iconfont default-confirm-icon"
>

</
span
>,
okText
:
"退出登录"
,
okText
:
"退出登录"
,
cancelText
:
"点错了"
,
cancelText
:
"点错了"
,
onOk
:
()
=>
{
onOk
:
()
=>
{
...
...
src/modules/root/Login.jsx
View file @
b838da55
...
@@ -76,6 +76,16 @@ function Login(props) {
...
@@ -76,6 +76,16 @@ function Login(props) {
}
}
function
handleSubmit
()
{
function
handleSubmit
()
{
if
(
!
phone
)
{
setPhoneError
(
true
);
setErrorMessage
(
"请输入手机号"
);
return
;
}
if
(
phone
.
length
!=
11
)
{
setPhoneError
(
true
);
setErrorMessage
(
"请输入11位手机号"
)
return
;
}
if
(
!
phoneverify
){
if
(
!
phoneverify
){
setErrorMessage
(
"请输入验证码"
);
setErrorMessage
(
"请输入验证码"
);
return
;
return
;
...
@@ -178,7 +188,7 @@ function Login(props) {
...
@@ -178,7 +188,7 @@ function Login(props) {
</
div
>
</
div
>
<
div
className=
"submit"
>
<
div
className=
"submit"
>
<
div
className=
"btn"
>
<
div
className=
"btn"
>
<
button
id=
'loginIn'
onClick=
{
()
=>
{
handleSubmit
()
}
}
>
登录
</
button
>
<
button
id=
'loginIn'
onClick=
{
()
=>
{
handleSubmit
()
}
}
>
登录
</
button
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
src/modules/store-manege/CourseCatalogPage.less
View file @
b838da55
...
@@ -3,6 +3,17 @@
...
@@ -3,6 +3,17 @@
thead{
thead{
display:none;
display:none;
}
}
tbody tr td{
border-bottom:none;
background:#FAFAFA;
}
// tr:hover td{
// background: #FAFAFA !important;
// }
// tbody tr:hover{
// background: #FAFAFA !important;
// }
}
}
.divider-line{
.divider-line{
color: #BFBFBF;
color: #BFBFBF;
...
@@ -28,5 +39,10 @@
...
@@ -28,5 +39,10 @@
.empty-child{
.empty-child{
color:#666;
color:#666;
font-size:14px;
font-size:14px;
text-align:center;
background: #FAFAFA;
}
}
// tr.ant-table-expanded-row:hover > td {
// background: #FAFAFA !important;
// }
}
}
\ No newline at end of file
src/modules/store-manege/CourseCatalogPage.tsx
View file @
b838da55
...
@@ -58,7 +58,7 @@ function CourseCatalogPage() {
...
@@ -58,7 +58,7 @@ function CourseCatalogPage() {
return
confirm
({
return
confirm
({
title
:
record
.
type
===
'parent'
?
'你确定要删除此分类吗?'
:
'你确定要删除此子分类吗?'
,
title
:
record
.
type
===
'parent'
?
'你确定要删除此分类吗?'
:
'你确定要删除此子分类吗?'
,
content
:
record
.
type
===
'parent'
?
'删除后,此分类下包含的所有子分类都会被删除,此操作不可恢复。'
:
'此操作不可恢复。'
,
content
:
record
.
type
===
'parent'
?
'删除后,此分类下包含的所有子分类都会被删除,此操作不可恢复。'
:
'此操作不可恢复。'
,
icon
:
<
QuestionCircleOutlined
/
>,
icon
:
<
span
className=
"icon iconfont default-confirm-icon"
>

</
span
>,
okText
:
'删除'
,
okText
:
'删除'
,
okType
:
'danger'
,
okType
:
'danger'
,
cancelText
:
'取消'
,
cancelText
:
'取消'
,
...
@@ -178,7 +178,7 @@ function CourseCatalogPage() {
...
@@ -178,7 +178,7 @@ function CourseCatalogPage() {
pagination=
{
false
}
pagination=
{
false
}
expandedRowRender=
{
(
record
:
RecordTypes
)
=>
{
expandedRowRender=
{
(
record
:
RecordTypes
)
=>
{
if
(
!
record
.
sonCategoryList
){
if
(
!
record
.
sonCategoryList
){
return
<
div
>
还未添加任何子分类
</
div
>;
return
<
div
className=
"empty-child"
>
还未添加任何子分类
</
div
>;
}
}
if
(
record
.
sonCategoryList
.
length
!==
0
){
if
(
record
.
sonCategoryList
.
length
!==
0
){
return
<
Table
columns=
{
parseColumn
()
}
dataSource=
{
record
.
sonCategoryList
}
pagination=
{
false
}
className=
"child-table"
/>
return
<
Table
columns=
{
parseColumn
()
}
dataSource=
{
record
.
sonCategoryList
}
pagination=
{
false
}
className=
"child-table"
/>
...
...
src/modules/store-manege/EmployeesManagePage.tsx
View file @
b838da55
...
@@ -206,7 +206,7 @@ function EmployeesManagePage() {
...
@@ -206,7 +206,7 @@ function EmployeesManagePage() {
return
confirm
({
return
confirm
({
title
:
"你确定要删除此讲师吗?"
,
title
:
"你确定要删除此讲师吗?"
,
content
:
"删除后,讲师将不能登录系统,此操作不能被撤销"
,
content
:
"删除后,讲师将不能登录系统,此操作不能被撤销"
,
icon
:
<
QuestionCircleOutlined
/
>,
icon
:
<
span
className=
"icon iconfont default-confirm-icon"
>

</
span
>,
okText
:
"删除"
,
okText
:
"删除"
,
cancelText
:
"取消"
,
cancelText
:
"取消"
,
onOk
:
()
=>
{
onOk
:
()
=>
{
...
...
src/modules/store-manege/StoreDecorationPage.tsx
View file @
b838da55
...
@@ -90,7 +90,7 @@ function StoreDecorationPage() {
...
@@ -90,7 +90,7 @@ function StoreDecorationPage() {
function
handleDeleteDecorationConfirm
(
record
:
RecordTypes
)
{
function
handleDeleteDecorationConfirm
(
record
:
RecordTypes
)
{
return
confirm
({
return
confirm
({
title
:
"你确定要删除这个banner吗?"
,
title
:
"你确定要删除这个banner吗?"
,
icon
:
<
QuestionCircleOutlined
/
>,
icon
:
<
span
className=
"icon iconfont default-confirm-icon"
>

</
span
>,
okText
:
"删除"
,
okText
:
"删除"
,
cancelText
:
"取消"
,
cancelText
:
"取消"
,
onOk
:
()
=>
{
onOk
:
()
=>
{
...
...
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