Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_Ysm
commit
c558f05de3
@ -1,10 +1,2 @@
|
||||
class ProjectsController < ApplicationController
|
||||
def search
|
||||
query_params = { keyword: params[:keyword], category: 'manage' }
|
||||
projects = Users::ProjectService.new(current_user, query_params).call
|
||||
|
||||
params[:limit] = params[:per_page].to_i.zero? ? 20 : params[:per_page].to_i
|
||||
@count = projects.count
|
||||
@projects = paginate projects
|
||||
end
|
||||
end
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 53 KiB |
@ -1,33 +1,35 @@
|
||||
.courses-head{
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
background-image: url(./courses.jpg);
|
||||
background-color: #081C4B;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
a{
|
||||
text-decoration: none;
|
||||
color: #05101a;
|
||||
}
|
||||
.ant-input-affix-wrapper .ant-input:not(:last-child) {
|
||||
padding-right: 24px;
|
||||
}
|
||||
|
||||
.memberscount{
|
||||
font-size: 55px !important;
|
||||
background: #fff;
|
||||
color: #dfdfdf;
|
||||
display: inline-block;
|
||||
padding-right: 15px;
|
||||
}
|
||||
.biaoqiancours{
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.coursesover{
|
||||
position: absolute;
|
||||
color: #fff;
|
||||
left: 17px;
|
||||
background: #dfdfdf;
|
||||
width: 200px;
|
||||
.courses-head{
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
background-image: url(./courses.jpg);
|
||||
background-color: #081C4B;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
a{
|
||||
text-decoration: none;
|
||||
color: #05101a;
|
||||
}
|
||||
.ant-input-affix-wrapper .ant-input:not(:last-child) {
|
||||
padding-right: 24px;
|
||||
}
|
||||
|
||||
.memberscount{
|
||||
font-size: 55px !important;
|
||||
background: #fff;
|
||||
color: #dfdfdf;
|
||||
display: inline-block;
|
||||
padding-right: 15px;
|
||||
}
|
||||
.biaoqiancours{
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.coursesover{
|
||||
position: absolute;
|
||||
color: #fff;
|
||||
left: 17px;
|
||||
background: #dfdfdf;
|
||||
width: 200px;
|
||||
}
|
Loading…
Reference in new issue