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
f7e131d0
Commit
f7e131d0
authored
Jan 25, 2021
by
wufan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style:员工管理样式优化
parent
8595031d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
6 deletions
+26
-6
src/modules/root/Header.jsx
+2
-4
src/modules/store-manage/EmployeeAddOrEditModal.less
+12
-0
src/modules/store-manage/EmployeeAddOrEditModal.tsx
+12
-2
No files found.
src/modules/root/Header.jsx
View file @
f7e131d0
...
...
@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2019-09-10 18:26:03
* @LastEditors: wufan
* @LastEditTime: 2021-01-
12 17:25:20
* @LastEditTime: 2021-01-
25 20:40:53
* @Description:
*/
import
React
,
{
useContext
,
useEffect
,
useState
}
from
"react"
;
...
...
@@ -163,9 +163,7 @@ function Header(props) {
</
div
>
</
div
>
<
div
className=
"share"
onClick=
{
handleCopy
}
>
<
Tooltip
title=
"分享店铺"
placement=
"bottom"
>
<
span
className=
"icon iconfont tool-tip-right"
>

</
span
>
</
Tooltip
>
<
span
className=
"icon iconfont tool-tip-right"
>

</
span
>
<
div
className=
"text"
>
分享店铺
</
div
>
</
div
>
...
...
src/modules/store-manage/EmployeeAddOrEditModal.less
View file @
f7e131d0
.employee-add-modal {
.mt-4 {
margin-bottom:-6px !important
}
.mt-10 {
margin-bottom:-10px !important
}
.mt-26 {
margin-bottom:-26px !important
}
.mb10 {
margin-top: 5px !important;
}
.radio-tip {
padding-left: 24px;
font-size: 14px;
...
...
src/modules/store-manage/EmployeeAddOrEditModal.tsx
View file @
f7e131d0
...
...
@@ -2,7 +2,7 @@
* @Author: wufan
* @Date: 2020-11-27 16:21:49
* @LastEditors: wufan
* @LastEditTime: 2021-01-
09 16:32:41
* @LastEditTime: 2021-01-
25 21:14:48
* @Description: Description
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -223,6 +223,8 @@ function AddEmployeeModal(props: AddEmployeeModalProps) {
rules=
{
[{
required
:
true
}]
}
validateStatus=
{
nameStatus
}
help=
{
nameErrorMsg
}
style=
{
{
marginBottom
:
'-2px !important'
}
}
className=
"mt-4"
>
<
Input
style=
{
{
width
:
200
}
}
...
...
@@ -236,6 +238,8 @@ function AddEmployeeModal(props: AddEmployeeModalProps) {
<
Form
.
Item
label=
"企业微信账号"
name=
"weChatAccount"
style=
{
{
marginBottom
:
'-2px !important'
}
}
className=
"mt-10"
>
<
div
>
{
props
.
choosedItem
.
weChatAccount
}
</
div
>
</
Form
.
Item
>
...
...
@@ -246,6 +250,8 @@ function AddEmployeeModal(props: AddEmployeeModalProps) {
rules=
{
[{
required
:
true
}]
}
validateStatus=
{
phoneStatus
}
help=
{
phoneErrorMessage
}
style=
{
{
marginBottom
:
'-2px !important'
}
}
className=
"mt-10"
>
<
Input
style=
{
{
width
:
200
}
}
...
...
@@ -268,13 +274,17 @@ function AddEmployeeModal(props: AddEmployeeModalProps) {
label=
"员工身份"
name=
"role"
rules=
{
[{
required
:
false
}]
}
style=
{
{
marginBottom
:
'-2px !important'
}
}
className=
"mt-26"
>
<
RadioGroup
onChange=
{
(
e
)
=>
{
handleChangeValues
(
"role"
,
e
.
target
.
value
);
}
}
className=
"mt5"
>
<
Radio
value=
{
"CloudLecturer"
}
>
<
Radio
value=
{
"CloudLecturer"
}
className=
"mt-4"
>
<
span
style=
{
{
color
:
"#333"
}
}
>
普通讲师
</
span
>
<
p
className=
"radio-tip"
>
仅可查看/使用与自己相关的文件和课表,并进行上课
...
...
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