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
eee59bce
Commit
eee59bce
authored
Jul 06, 2021
by
yuananting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style:助学工具列表滚动,头部按钮挤压调整
parent
b54446be
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
36 deletions
+44
-36
src/modules/root/Header.jsx
+9
-9
src/modules/root/Header.less
+9
-6
src/modules/teach-tool/paper-manage/components/PaperList.less
+22
-20
src/modules/teach-tool/question-manage/Index.less
+4
-1
No files found.
src/modules/root/Header.jsx
View file @
eee59bce
/*
/*
* @Author: 吴文洁
* @Author: 吴文洁
* @Date: 2019-09-10 18:26:03
* @Date: 2019-09-10 18:26:03
* @LastEditors:
Please set LastEditors
* @LastEditors:
yuananting
* @LastEditTime: 2021-0
6-24 19:28:14
* @LastEditTime: 2021-0
7-06 14:37:49
* @Description:
* @Description:
*/
*/
import
React
,
{
useRef
,
useContext
,
useEffect
,
useState
}
from
'react'
;
import
React
,
{
useRef
,
useContext
,
useEffect
,
useState
}
from
'react'
;
...
@@ -271,14 +271,14 @@ function Header(props) {
...
@@ -271,14 +271,14 @@ function Header(props) {
onChange=
{
(
e
)
=>
{
onChange=
{
(
e
)
=>
{
setStoreId
(
e
.
target
.
value
);
setStoreId
(
e
.
target
.
value
);
User
.
setStoreId
(
e
.
target
.
value
);
User
.
setStoreId
(
e
.
target
.
value
);
list
.
map
((
item
)
=>
{
list
.
map
((
item
)
=>
{
if
(
item
.
id
===
e
.
target
.
value
)
{
if
(
item
.
id
===
e
.
target
.
value
)
{
User
.
setStoreUserId
(
item
.
storeUserId
);
User
.
setStoreUserId
(
item
.
storeUserId
);
}
}
})
})
;
User
.
setUserId
(
User
.
getUserId
());
User
.
setUserId
(
User
.
getUserId
());
User
.
setToken
(
User
.
getToken
());
User
.
setToken
(
User
.
getToken
());
User
.
setEnterpriseId
(
User
.
getEnterpriseId
())
User
.
setEnterpriseId
(
User
.
getEnterpriseId
())
;
window
.
RCHistory
.
push
(
'/home'
);
window
.
RCHistory
.
push
(
'/home'
);
window
.
location
.
reload
();
window
.
location
.
reload
();
}
}
}
}
...
@@ -320,10 +320,10 @@ function Header(props) {
...
@@ -320,10 +320,10 @@ function Header(props) {
</
div
>
</
div
>
)
}
)
}
<
div
className=
'right-box'
>
<
div
className=
'right-box'
>
<
div
className=
'right-bg-img'
>
<
img
src=
'https://image.xiaomaiketang.com/xm/WCwjyyXYda.png'
></
img
>
</
div
>
<
div
className=
'link-to-store'
>
<
div
className=
'link-to-store'
>
<
div
className=
'right-bg-img'
>
<
img
src=
'https://image.xiaomaiketang.com/xm/WCwjyyXYda.png'
></
img
>
</
div
>
<
div
className=
'link'
>
<
div
className=
'link'
>
<
span
className=
'link-btn'
>
<
span
className=
'link-btn'
>
<
span
className=
'icon iconfont tool-tip-right'
>

</
span
>
<
span
className=
'icon iconfont tool-tip-right'
>

</
span
>
...
...
src/modules/root/Header.less
View file @
eee59bce
...
@@ -310,13 +310,9 @@
...
@@ -310,13 +310,9 @@
display: flex;
display: flex;
align-items: center;
align-items: center;
}
}
.right-bg-img {
img {
width: 277px;
height: 60px;
}
}
.link-to-store {
.link-to-store {
position: relative;
display: flex;
display: flex;
height: 49px;
height: 49px;
line-height: 49px;
line-height: 49px;
...
@@ -329,6 +325,13 @@
...
@@ -329,6 +325,13 @@
.iconfont {
.iconfont {
color: #fff;
color: #fff;
}
}
.right-bg-img {
position: absolute;
img {
width: 277px;
height: 60px;
}
}
.link {
.link {
cursor: pointer;
cursor: pointer;
position: relative;
position: relative;
...
...
src/modules/teach-tool/paper-manage/components/PaperList.less
View file @
eee59bce
...
@@ -2,38 +2,38 @@
...
@@ -2,38 +2,38 @@
.select-box {
.select-box {
display: flex;
display: flex;
align-items: center;
align-items: center;
.select-container{
.select-container
{
margin-right: 24px;
margin-right: 24px;
.con{
.con
{
background: #
E9EFFF
;
background: #
e9efff
;
border-radius: 4px;
border-radius: 4px;
padding: 3px 16px;
padding: 3px 16px;
display: inline-flex;
display: inline-flex;
align-items: center;
align-items: center;
justify-content: space-between;
justify-content: space-between;
.tip{
.tip
{
font-size:14px;
font-size:
14px;
color:
#2966FF
;
color:
#2966ff
;
margin-right:8px;
margin-right:
8px;
}
}
.text{
.text
{
font-size:14px;
font-size:
14px;
color:#666;
color:
#666;
margin-right:30px;
margin-right:
30px;
}
}
.clear{
.clear
{
color:
#5289FA
;
color:
#5289fa
;
font-size:14px;
font-size:
14px;
}
}
}
}
}
}
}
}
.ant-radio-wrapper{
.ant-radio-wrapper
{
left: -10px;
left: -10px;
}
}
.paper-list-filter {
.paper-list-filter {
position: relative;
position: relative;
.search-condition {
.search-condition {
width: calc(100% - 80px);
width: calc(100% - 80px);
display: flex;
display: flex;
...
@@ -75,8 +75,10 @@
...
@@ -75,8 +75,10 @@
.paper-list-content {
.paper-list-content {
position: relative;
position: relative;
margin-top: 12px;
margin-top: 12px;
height: calc(100vh - 260px);
overflow: scroll;
.empty-list-tip {
.empty-list-tip {
color: #2966
FF
;
color: #2966
ff
;
cursor: pointer;
cursor: pointer;
}
}
.record-name {
.record-name {
...
@@ -88,7 +90,7 @@
...
@@ -88,7 +90,7 @@
display: flex;
display: flex;
&__item {
&__item {
color: #2966
FF
;
color: #2966
ff
;
cursor: pointer;
cursor: pointer;
&.split {
&.split {
...
@@ -98,7 +100,7 @@
...
@@ -98,7 +100,7 @@
}
}
}
}
}
}
&.modal-select{
&.modal-select
{
.search-condition {
.search-condition {
width: calc(100% - 80px);
width: calc(100% - 80px);
display: flex;
display: flex;
...
...
src/modules/teach-tool/question-manage/Index.less
View file @
eee59bce
...
@@ -7,7 +7,10 @@
...
@@ -7,7 +7,10 @@
.content {
.content {
width: 100%;
width: 100%;
margin-left: 24px;
margin-left: 24px;
height: calc(100vh - 160px);
.question-list-content {
height: calc(100vh - 260px);
overflow: scroll;
}
}
}
}
}
}
}
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