Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
saas-weichat
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
hqzhdj_app
saas-weichat
Commits
92a20ec6
Commit
92a20ec6
authored
Dec 19, 2024
by
yanglang123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
parent
bcffe1a2
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
92 additions
and
80 deletions
+92
-80
src/components/Training/TrainingSteps/TrainingSteps.jsx
+2
-2
src/components/exam/MyExam.jsx
+1
-3
src/components/exam/less/myexam.css
+9
-0
src/components/exam/less/myexam.less
+18
-10
src/components/indexComponent/indexComponent/index.jsx
+1
-5
src/components/menulearn/menulearn.jsx
+1
-1
src/components/menume/image/menumeBg.png
+0
-0
src/components/menume/menume.css
+9
-10
src/components/menume/menume.jsx
+0
-1
src/components/menume/menume.less
+9
-17
src/components/mycontribute/index.jsx
+3
-1
src/components/mysurvey/list.jsx
+25
-19
src/components/newsMessage/NewsMessageResult.less
+0
-1
src/components/vote/index.jsx
+2
-2
src/components/vote/style.css
+4
-2
src/components/vote/style.less
+4
-2
src/components/vote/theCharts.jsx
+4
-4
No files found.
src/components/Training/TrainingSteps/TrainingSteps.jsx
View file @
92a20ec6
...
...
@@ -483,7 +483,7 @@ class TrainingSteps extends Component {
!
introductionVo
.
description
.
trim
()
?
null
:
(
<
div
>
<
div
className=
"product-info-view"
>
<
div
className=
"train-info-view"
>
<
div
className=
"train-info-view"
style=
{
{
borderRadius
:
'12px'
}
}
>
<
div
style=
{
{
marginBottom
:
"20px"
,
...
...
@@ -571,7 +571,7 @@ class TrainingSteps extends Component {
</
p
>
<
div
style=
{
{
fontSize
:
"2
6
px"
,
fontSize
:
"2
8
px"
,
paddingLeft
:
"40px"
,
color
:
"#659EFE"
,
textDecoration
:
"underline"
,
...
...
src/components/exam/MyExam.jsx
View file @
92a20ec6
...
...
@@ -164,7 +164,6 @@ class MyExam extends Component {
};
render
()
{
const
{
my
,
test
}
=
this
.
props
.
location
.
query
;
console
.
log
(
my
,
test
,
"1111111112222222"
);
const
tabsData
=
[
{
key
:
"1"
,
...
...
@@ -186,7 +185,6 @@ class MyExam extends Component {
swipeable=
{
false
}
onChange=
{
(
event
)
=>
this
.
tabsChange
(
event
)
}
tabs=
{
tabsData
}
// renderTabBar={(props) => this.renderTabBar(props)}
className=
"my-exam-tab-container"
>
{
this
.
renderContent
}
...
...
@@ -218,7 +216,7 @@ class MyExam extends Component {
className=
"examItem"
onClick=
{
()
=>
this
.
listItemClick
(
item
,
key
)
}
>
<
p
className=
"exam-title"
>
{
item
.
name
}
</
p
>
<
p
className=
"exam-title"
style=
{
{
fontSize
:
'34px'
}
}
>
{
item
.
name
}
</
p
>
<
p
className=
"exam-time"
>
{
`${moment(item.startTime).format("YYYY-MM-DD")} ${"-"} ${moment(
item.endTime
...
...
src/components/exam/less/myexam.css
View file @
92a20ec6
...
...
@@ -4,6 +4,15 @@
.myExamBody
.am-list-body
::after
{
height
:
0
!important
;
}
.myExamBody
.am-tabs-default-bar-content
{
background
:
linear-gradient
(
270deg
,
#ee4e3c
0%
,
#d23a29
);
color
:
#fff
;
}
.myExamBody
.am-tabs-default-bar-content
.am-tabs-default-bar-tab-active
{
border-bottom
:
1px
solid
red
!important
;
color
:
#fff
;
font-weight
:
bold
;
}
.list-view-header
{
width
:
96%
;
margin
:
0
auto
;
...
...
src/components/exam/less/myexam.less
View file @
92a20ec6
...
...
@@ -6,29 +6,38 @@
.am-list-body::after {
height: 0 !important;
}
.am-tabs-default-bar-content {
background: linear-gradient(270deg, #ee4e3c 0%, #d23a29);
color: #fff;
.am-tabs-default-bar-tab-active {
border-bottom: 1px solid red !important;
color: #fff;
font-weight: bold;
}
}
}
.list-view-header{
width:96%;
.list-view-header
{
width:
96%;
margin: 0 auto;
margin-bottom: 20px;
.list-view-bg{
.list-view-bg
{
width: 100%;
height: 4rem;
}
h3{
color:#4a4a4a;
h3
{
color:
#4a4a4a;
margin: 15px 0;
}
.list-view-header-cont{
.list-view-header-cont
{
display: flex;
align-items: center;
img{
img
{
width: 28px;
height: 28px;
}
p{
p
{
font-size: 30px;
margin-right: 20px;
}
}
}
\ No newline at end of file
}
src/components/indexComponent/indexComponent/index.jsx
View file @
92a20ec6
...
...
@@ -258,11 +258,7 @@ const IndexNewsItem = ({ data, onClick }) => {
className=
"index-module-news-item-info-icon"
/>
{
func
.
dateFormat
(
data
.
releaseTime
,
false
,
true
)
}
<
Icon
type=
"eye"
style=
{
{
fontSize
:
24
,
marginRight
:
10
,
marginLeft
:
60
}
}
/>
{
data
.
number
}
</
div
>
</
div
>
</
div
>
...
...
src/components/menulearn/menulearn.jsx
View file @
92a20ec6
...
...
@@ -402,7 +402,7 @@ class Menulearn extends React.Component {
{
/* 新消息icon */
}
<
div
style=
{
{
position
:
'fixed'
,
top
:
'5
0
%'
,
top
:
'5
5
%'
,
right
:
'0'
}
}
>
<
img
style=
{
{
width
:
'180px'
}
}
src=
{
MessageIcon
}
alt=
""
/>
...
...
src/components/menume/image/menumeBg.png
View file @
92a20ec6
35.1 KB
|
W:
|
H:
65.4 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/components/menume/menume.css
View file @
92a20ec6
...
...
@@ -9,16 +9,15 @@
background
:
#f7f7f7
;
}
.my-menu-body
.header-info-box
{
padding
:
16px
30px
;
background
:
linear-gradient
(
180deg
,
#f8f8f8
0%
,
#f8f8f8
32%
,
#ffffff
39%
,
#ffffff
100%
);
}
.my-menu-body
.header-info-box
.personal-info-main
{
background
:
url("image/menumeBg.png")
no-repeat
;
background-size
:
100%
;
box-shadow
:
0px
2px
12px
2px
rgba
(
0
,
0
,
0
,
0.1
);
background-repeat
:
no-repeat
;
margin-bottom
:
100px
;
}
.my-menu-body
.header-info-box
.personal-info-main
{
border-radius
:
10px
;
height
:
30
0px
;
padding
:
34
px
30px
;
height
:
24
0px
;
padding
:
40
px
30px
;
position
:
relative
;
}
.my-menu-body
.header-info-box
.personal-info-main
.playcard-entry
{
...
...
@@ -134,7 +133,7 @@
background
:
#ffffff
;
box-shadow
:
0px
4px
8px
0px
rgba
(
0
,
0
,
0
,
0.1
);
position
:
relative
;
top
:
-40
px
;
top
:
65
px
;
}
.my-menu-body
.header-info-box
.study-record-info
.study-item
{
width
:
90%
;
...
...
@@ -175,8 +174,8 @@
margin
:
28px
0
;
}
.my-menu-body
.list-box
.list-item
.item-img
{
width
:
100
px
;
height
:
100
px
;
width
:
88
px
;
height
:
88
px
;
}
.my-menu-body
.list-box
.list-item
.item-name
{
color
:
#333
;
...
...
src/components/menume/menume.jsx
View file @
92a20ec6
...
...
@@ -320,7 +320,6 @@ class Menume extends React.Component {
quantity
=
item
.
quantity
;
}
});
console
.
log
(
"this.state=="
,
myWallet
,
reMylistData
);
return
(
<
div
className=
"my-menu-body"
>
...
...
src/components/menume/menume.less
View file @
92a20ec6
...
...
@@ -5,22 +5,14 @@
background: rgba(247, 247, 247, 1);
.header-info-box {
padding: 16px 30px;
background: linear-gradient(
180deg,
rgba(248, 248, 248, 1) 0%,
rgba(248, 248, 248, 1) 32%,
rgba(255, 255, 255, 1) 39%,
rgba(255, 255, 255, 1) 100%
);
background: url("./image/menumeBg.png") no-repeat;
background-size: 100%;
background-repeat: no-repeat;
margin-bottom: 100px;
.personal-info-main {
background: url("./image/menumeBg.png") no-repeat;
background-size: 100%;
box-shadow: 0px 2px 12px 2px rgba(0, 0, 0, 0.1);
border-radius: 10px;
height:
30
0px;
padding:
34
px 30px;
height:
24
0px;
padding:
40
px 30px;
position: relative;
.playcard-entry {
...
...
@@ -156,7 +148,7 @@
background: rgb(255, 255, 255);
box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.1);
position: relative;
top:
-40
px;
top:
65
px;
.study-item {
width: 90%;
margin: 0 auto;
...
...
@@ -196,8 +188,8 @@
align-items: center;
margin: 28px 0;
.item-img {
width:
100
px;
height:
100
px;
width:
88
px;
height:
88
px;
}
.item-name {
color: #333;
...
...
src/components/mycontribute/index.jsx
View file @
92a20ec6
...
...
@@ -51,7 +51,9 @@ class Mycontribute extends Component {
<
div
className=
"mycontribute-box"
>
{
mapList
.
map
((
item
)
=>
{
return
(
<
div
className=
"item-box"
>
<
div
className=
"item-box"
onClick=
{
()
=>
{
this
.
handleSumbit
(
voteNum
,
oldVoteNum
);
}
}
>
<
div
className=
"item-name"
>
{
item
.
name
}
</
div
>
</
div
>
);
...
...
src/components/mysurvey/list.jsx
View file @
92a20ec6
...
...
@@ -133,7 +133,7 @@ class list extends Component {
}
}
>
<
p
className=
"exam-title"
style=
{
{
paddingTop
:
'20px'
}
}
>
{
item
.
name
}
</
p
>
<
p
{
/*
<p
className={
item.finishState == "0" || item.finishState == "3"
? "exam-over"
...
...
@@ -153,7 +153,8 @@ class list extends Component {
: item.finishState == "4"
? "参与调查"
: ""}
</
p
>
</p> */
}
<
p
className=
"exam-start"
>
进行中
</
p
>
</
div
>
</
div
>
</
div
>
...
...
@@ -200,23 +201,28 @@ class list extends Component {
}
};
listItemClick
=
(
item
)
=>
{
if
(
item
.
finishState
!=
3
||
item
.
finishState
!=
0
)
{
if
(
item
.
finishState
==
1
)
{
if
(
item
.
finishTime
)
{
hashHistory
.
push
({
pathname
:
func
.
routerBefore
()
+
"/SurveyAnswer"
,
//pathname: func.routerBefore() + '/SurveyDetails',
query
:
{
id
:
item
.
id
,
answerId
:
item
.
answerId
},
});
}
}
else
{
hashHistory
.
push
({
pathname
:
func
.
routerBefore
()
+
"/SurveyDetails"
,
// pathname:func.routerBefore()+'/InvestigateFinish',
query
:
{
id
:
item
.
id
},
});
}
}
hashHistory
.
push
({
pathname
:
func
.
routerBefore
()
+
"/allDescribe"
,
// pathname:func.routerBefore()+'/InvestigateFinish',
query
:
{
id
:
item
.
id
,
type
:
'投票'
},
});
// if (item.finishState != 3 || item.finishState != 0) {
// if (item.finishState == 1) {
// if (item.finishTime) {
// hashHistory.push({
// pathname: func.routerBefore() + "/SurveyAnswer",
// //pathname: func.routerBefore() + '/SurveyDetails',
// query: { id: item.id, answerId: item.answerId },
// });
// }
// } else {
// hashHistory.push({
// pathname: func.routerBefore() + "/allDescribe",
// // pathname:func.routerBefore()+'/InvestigateFinish',
// query: { id: item.id,type:'投票' },
// });
// }
// }
};
}
export
default
connect
((
state
)
=>
{
...
...
src/components/newsMessage/NewsMessageResult.less
View file @
92a20ec6
...
...
@@ -560,7 +560,6 @@
padding: 0.22rem 0.3rem;
width: 100%;
background-color: #fff;
p {
line-height: .46rem;
.line-hidden;
...
...
src/components/vote/index.jsx
View file @
92a20ec6
...
...
@@ -109,9 +109,9 @@ class Vote extends Component {
>
{
item
.
actived
?
"投票"
:
"已投票"
}
</
div
>
<
div
className=
"score"
>
{
/*
<div className="score">
{item.score}
</
div
>
</div>
*/
}
<
Modal
title=
""
visible=
{
this
.
state
.
modalStatu
}
...
...
src/components/vote/style.css
View file @
92a20ec6
...
...
@@ -24,6 +24,7 @@
display
:
flex
;
flex-wrap
:
wrap
;
justify-content
:
space-between
;
padding-bottom
:
40px
;
}
.vote-out
.vote-box
.vote-top
{
width
:
45%
;
...
...
@@ -135,14 +136,15 @@
background
:
linear-gradient
(
270deg
,
#eb6c53
,
#d23a29
);
}
.vote-out
.sumbit-btn
{
width
:
92%
;
margin
:
0
auto
;
width
:
100%
;
text-align
:
center
;
padding
:
20px
0
;
background
:
linear-gradient
(
270deg
,
#eb6c53
0%
,
#d23a29
);
border-radius
:
5px
;
color
:
#fff
;
font-size
:
36px
;
position
:
fixed
;
bottom
:
0px
;
}
.vote-out
.detail-box
{
width
:
90%
;
...
...
src/components/vote/style.less
View file @
92a20ec6
...
...
@@ -30,6 +30,7 @@
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding-bottom: 40px;
.vote-top {
width: 45%;
height: 480px;
...
...
@@ -143,14 +144,15 @@
}
}
.sumbit-btn {
width: 92%;
margin: 0 auto;
width: 100%;
text-align: center;
padding: 20px 0;
background: linear-gradient(270deg, #eb6c53 0%, #d23a29);
border-radius: 5px;
color: #fff;
font-size: 36px;
position:fixed;
bottom: 0px;
}
//详情
...
...
src/components/vote/theCharts.jsx
View file @
92a20ec6
...
...
@@ -197,16 +197,16 @@ class TheCharts extends Component {
<
div
className=
"detail-content"
>
<
span
className=
{
keywords2
==
"精石之美"
item
.
keywords
==
"精石之美"
?
"cont-icon1"
:
keywords2
==
"突破之美"
:
item
.
keywords
==
"突破之美"
?
"cont-icon2"
:
keywords2
==
"进取之美"
:
item
.
keywords
==
"进取之美"
?
"cont-icon3"
:
"cont-icon4"
}
>
{
keywords2
}
{
item
.
keywords
}
</
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