Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiguangyao
mr-julyedu
Commits
34c1ba7b
Commit
34c1ba7b
authored
Jun 19, 2020
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'intelligent-recommend' into dev
parents
c7324090
2a5f09d4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
7 deletions
+15
-7
src/components/intelligent-recommend/index.js
+1
-1
src/components/intelligent-recommend/index.scss
+14
-6
No files found.
src/components/intelligent-recommend/index.js
View file @
34c1ba7b
...
...
@@ -257,7 +257,7 @@ function Options({options, handleSelect}) {
{
!!
options
.
length
&&
options
.
map
(
item
=>
{
return
<
li
onClick
=
{()
=>
handleSelect
(
item
)}
key
=
{
item
.
id
}
>
{
item
.
describe
}
<
button
>
{
item
.
describe
}
<
/button
>
<
/li
>
})
}
...
...
src/components/intelligent-recommend/index.scss
View file @
34c1ba7b
...
...
@@ -73,6 +73,7 @@
.message
{
.avatar
{
width
:
10%
;
display
:
inline-block
;
margin-right
:
14px
;
...
...
@@ -84,9 +85,9 @@
}
.text
{
max-width
:
85%
;
position
:
relative
;
padding
:
0
16px
;
height
:
40px
;
display
:
inline-block
;
background
:
rgba
(
255
,
255
,
255
,
1
);
border-radius
:
4px
;
...
...
@@ -120,6 +121,7 @@
&
.user
{
.avatar
{
float
:
right
;
margin-right
:
0
;
}
.text
{
...
...
@@ -159,15 +161,21 @@
}
li
{
width
:
126px
;
height
:
33px
;
margin
:
0
auto
15px
;
margin-bottom
:
15px
;
text-align
:
center
;
button
{
padding
:
9px
30px
;
box-sizing
:
border-box
;
background
:
linear-gradient
(
90deg
,
rgba
(
0
,
153
,
255
,
1
)
0%
,
rgba
(
77
,
184
,
255
,
1
)
100%
);
border-radius
:
17px
;
font-size
:
16px
;
color
:
#fff
;
text-align
:
center
;
line-height
:
33px
;
-webkit-appearance
:
none
;
outline
:
none
;
border
:
none
;
}
}
}
...
...
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