diff --git a/app/Admin/Controllers/Resume/IndexController.php b/app/Admin/Controllers/Resume/IndexController.php index bdaa5d8..83526f4 100644 --- a/app/Admin/Controllers/Resume/IndexController.php +++ b/app/Admin/Controllers/Resume/IndexController.php @@ -14,7 +14,7 @@ class IndexController extends AdminController protected $title = '简历管理'; - public function grid() + public function grid(): Grid { $grid = new Grid(new Resume()); $grid->model()->orderBy('id', 'desc'); diff --git a/public/assets/index/css/style.css b/public/assets/index/css/style.css index fee6844..97815c0 100644 --- a/public/assets/index/css/style.css +++ b/public/assets/index/css/style.css @@ -449,15 +449,16 @@ img {max-width: 100%;} .tdrcList-label li a {width: 100%;overflow: hidden;font-size: 16px;line-height: 1.4;color: #333;padding: 0 0 0 18px;text-overflow: ellipsis;white-space: nowrap;display: block;position: relative;} .tdrcList-label li a::after{content: '';position: absolute;left: 0;top: 7px;width: 6px;height: 6px;background-color: #fe904f;border-radius: 3px;} -.tdrcTop{overflow: hidden;margin: 20px 0; border-radius: 5px;background: #f4f8fe;padding: 20px; box-sizing: border-box; position: relative;} -.tdrcBrief{width: calc(100% - 200px);} -.tdrcBrief-name {border-bottom: 1px solid #dce3ef;font-weight: 700;font-size: 22px; margin-bottom: 20px; width: calc(100% - 200px)} +.tdrcTop{overflow: hidden;margin: 20px 0; display: flex; border-radius: 5px;background: #f4f8fe;padding: 20px; box-sizing: border-box; position: relative;} +.tdrcBrief{width: calc(100% - 200px); margin-right: 30px;} +.tdrcBrief-name {border-bottom: 1px solid #dce3ef;font-weight: 700;font-size: 22px; margin-bottom: 20px;} .tdrcBrief-name span {position: relative;display: inline-block;padding-bottom: 10px; } .tdrcBrief-name span::after{content: '';position: absolute;left: 0;bottom: 0; width: 100%;height: 4px;background-color: #203175;} .tdrcCont-label {margin-bottom: 30px;} .tdrcBrief-label li {line-height: 30px; color: #203175; display: flex;} .tdrcBrief-label li>span {display: inline-block;color: #000; width: 100px; text-align: right; font-weight: 600; margin-right: 20px;} -.tdrcBrief-label li>p {width: calc(100% - 120px);} -.tdrcImg {width: 170px; padding-top: 28%; position: absolute; overflow: hidden; top: 30px; right: 20px;} +.tdrcBrief-label li>p {width: calc(100% - 200px);} +.tdrc {width: 170px; height: 200px;} +.tdrcImg {width: 170px; padding-top: 120%; position: relative; overflow: hidden;} .tdrcCont-title {background: #f4f8fe; line-height: 44px; border-left: #203175 6px solid; padding-left: 15px; font-weight: 700;font-size: 18px; color: #203175; margin-bottom: 20px;} .tdrcCont-text {font-size: 16px; line-height: 32px;} diff --git a/public/assets/index/images/najgImg.png b/public/assets/index/images/najgImg.png new file mode 100644 index 0000000..52c0439 Binary files /dev/null and b/public/assets/index/images/najgImg.png differ diff --git a/resources/views/category/nsjg.blade.php b/resources/views/category/nsjg.blade.php index 9cbb99b..e9ac118 100644 --- a/resources/views/category/nsjg.blade.php +++ b/resources/views/category/nsjg.blade.php @@ -20,7 +20,8 @@ {{-- 查看更多>>--}} {{-- --}} -
+ +