diff --git a/app/Http/Controllers/Api/ProjectController.php b/app/Http/Controllers/Api/ProjectController.php
index 8a0ee2402..973037974 100755
--- a/app/Http/Controllers/Api/ProjectController.php
+++ b/app/Http/Controllers/Api/ProjectController.php
@@ -895,8 +895,9 @@ class ProjectController extends AbstractController
* - yes:已归档
* - no:未归档(默认)
* @apiParam {String} [deleted] 是否读取已删除
- * - yes:是
- * - no:否(默认)
+ * - all:所有
+ * - yes:已删除
+ * - no:未删除(默认)
* @apiParam {Object} sorts 排序方式
* - sorts.complete_at 完成时间:asc|desc
* - sorts.archived_at 归档时间:asc|desc
@@ -931,9 +932,10 @@ class ProjectController extends AbstractController
//
$scopeAll = false;
if ($parent_id > 0) {
- ProjectTask::userTask($parent_id, str_replace(['all', 'yes', 'no'], [null, false, true], $archived), false, [], true);
+ $isArchived = str_replace(['all', 'yes', 'no'], [null, false, true], $archived);
+ $isDeleted = str_replace(['all', 'yes', 'no'], [null, false, true], $deleted);
+ ProjectTask::userTask($parent_id, $isArchived, $isDeleted);
$scopeAll = true;
- $builder->withTrashed();
$builder->where('project_tasks.parent_id', $parent_id);
} elseif ($parent_id === -1) {
$builder->where('project_tasks.parent_id', 0);
@@ -965,17 +967,19 @@ class ProjectController extends AbstractController
//
if ($complete === 'yes') {
$builder->whereNotNull('project_tasks.complete_at');
- } elseif ($complete === 'no' && $deleted == 'no') {
+ } elseif ($complete === 'no') {
$builder->whereNull('project_tasks.complete_at');
}
//
if ($archived == 'yes') {
$builder->whereNotNull('project_tasks.archived_at');
- } elseif ($archived == 'no' && $deleted == 'no') {
+ } elseif ($archived == 'no') {
$builder->whereNull('project_tasks.archived_at');
}
//
- if ($deleted == 'yes') {
+ if ($deleted == 'all') {
+ $builder->withTrashed();
+ } elseif ($deleted == 'yes') {
$builder->onlyTrashed();
}
//
@@ -1221,7 +1225,8 @@ class ProjectController extends AbstractController
$task_id = intval(Request::input('task_id'));
$archived = Request::input('archived', 'no');
//
- $task = ProjectTask::userTask($task_id, str_replace(['all', 'yes', 'no'], [null, false, true], $archived), false, ['taskUser', 'taskTag'], true);
+ $isArchived = str_replace(['all', 'yes', 'no'], [null, false, true], $archived);
+ $task = ProjectTask::userTask($task_id, $isArchived, true, false, ['taskUser', 'taskTag']);
//
$data = $task->toArray();
$data['project_name'] = $task->project?->name;
@@ -1249,7 +1254,7 @@ class ProjectController extends AbstractController
//
$task_id = intval(Request::input('task_id'));
//
- $task = ProjectTask::userTask($task_id, null, false, [], true);
+ $task = ProjectTask::userTask($task_id, null);
//
if (empty($task->content)) {
return Base::retSuccess('success', json_decode('{}'));
@@ -1277,7 +1282,7 @@ class ProjectController extends AbstractController
//
$task_id = intval(Request::input('task_id'));
//
- $task = ProjectTask::userTask($task_id, null, false, [], true);
+ $task = ProjectTask::userTask($task_id, null);
//
return Base::retSuccess('success', $task->taskFile);
}
@@ -1307,7 +1312,7 @@ class ProjectController extends AbstractController
return Base::retError('文件不存在或已被删除');
}
//
- $task = ProjectTask::userTask($file->task_id, true, true);
+ $task = ProjectTask::userTask($file->task_id, true, true, true);
//
$task->pushMsg('filedelete', $file);
$file->delete();
@@ -1486,7 +1491,7 @@ class ProjectController extends AbstractController
$task_id = intval(Request::input('task_id'));
$name = Request::input('name');
//
- $task = ProjectTask::userTask($task_id, true, true);
+ $task = ProjectTask::userTask($task_id, true, true, true);
if ($task->complete_at) {
return Base::retError('主任务已完成无法添加子任务');
}
@@ -1538,7 +1543,7 @@ class ProjectController extends AbstractController
parse_str(Request::getContent(), $data);
$task_id = intval($data['task_id']);
//
- $task = ProjectTask::userTask($task_id, true, 2);
+ $task = ProjectTask::userTask($task_id, true, true, 2);
// 更新任务
$updateMarking = [];
$task->updateTask($data, $updateMarking);
@@ -1621,7 +1626,7 @@ class ProjectController extends AbstractController
$task_id = intval(Request::input('task_id'));
$type = Request::input('type', 'add');
//
- $task = ProjectTask::userTask($task_id, $type == 'add', true);
+ $task = ProjectTask::userTask($task_id, $type == 'add', true, true);
//
if ($task->parent_id > 0) {
return Base::retError('子任务不支持此功能');
@@ -1663,7 +1668,7 @@ class ProjectController extends AbstractController
$task_id = intval(Request::input('task_id'));
$type = Request::input('type', 'delete');
//
- $task = ProjectTask::userTask($task_id, null, true, [], $type === 'recovery');
+ $task = ProjectTask::userTask($task_id, null, $type !== 'recovery', true);
if ($type == 'recovery') {
$task->recoveryTask();
return Base::retSuccess('操作成功', ['id' => $task->id]);
@@ -1698,7 +1703,7 @@ class ProjectController extends AbstractController
return Base::retError('记录不存在');
}
//
- $task = ProjectTask::userTask($projectLog->task_id, true, true);
+ $task = ProjectTask::userTask($projectLog->task_id, true, true, true);
//
$record = $projectLog->record;
if ($record['flow'] && is_array($record['flow'])) {
@@ -1933,7 +1938,7 @@ class ProjectController extends AbstractController
//
$builder = ProjectLog::select(["*"]);
if ($task_id > 0) {
- $task = ProjectTask::userTask($task_id, null,false,[],true);
+ $task = ProjectTask::userTask($task_id, null);
$builder->whereTaskId($task->id);
} else {
$project = Project::userProject($project_id);
diff --git a/app/Models/ProjectTask.php b/app/Models/ProjectTask.php
index 75cefe50b..6f4053c42 100644
--- a/app/Models/ProjectTask.php
+++ b/app/Models/ProjectTask.php
@@ -1218,31 +1218,29 @@ class ProjectTask extends AbstractModel
* 获取任务(会员有任务权限 或 会员存在项目内)
* @param int $task_id
* @param bool $archived true:仅限未归档, false:仅限已归档, null:不限制
+ * @param bool $trashed true:仅限未删除, false:仅限已删除, null:不限制
* @param int|bool $permission 0|false:不限制, 1|true:限制项目负责人、任务负责人、协助人员及任务创建者, 2:已有负责人才限制true (子任务时如果是主任务负责人也可以)
* @param array $with
- * @param bool $getTrashed
* @return self
*/
- public static function userTask($task_id, $archived = true, $permission = 0, $with = [], $getTrashed = false)
+ public static function userTask($task_id, $archived = true, $trashed = true, $permission = false, $with = [])
{
$builder = self::with($with)->allData()->where("project_tasks.id", intval($task_id));
- if ($getTrashed) {
+ if ($trashed === false) {
+ $builder->onlyTrashed();
+ } elseif ($trashed === null) {
$builder->withTrashed();
}
$task = $builder->first();
//
if (empty($task)) {
- if(self::whereId(intval($task_id))->withTrashed()->exists()){
- throw new ApiException('任务已删除,不可编辑', [ 'task_id' => $task_id ], -4002);
- }else{
- throw new ApiException('任务不存在', [ 'task_id' => $task_id ], -4002);
- }
+ throw new ApiException('任务不存在', ['task_id' => $task_id], -4002);
}
if ($archived === true && $task->archived_at != null) {
- throw new ApiException('任务已归档', [ 'task_id' => $task_id ]);
+ throw new ApiException('任务已归档', ['task_id' => $task_id]);
}
if ($archived === false && $task->archived_at == null) {
- throw new ApiException('任务未归档', [ 'task_id' => $task_id ]);
+ throw new ApiException('任务未归档', ['task_id' => $task_id]);
}
//
try {
diff --git a/resources/assets/js/pages/index.vue b/resources/assets/js/pages/index.vue
index 748f3337b..7b7e44f0f 100644
--- a/resources/assets/js/pages/index.vue
+++ b/resources/assets/js/pages/index.vue
@@ -202,14 +202,11 @@
-
-
diff --git a/resources/assets/js/pages/single/reportDetail.vue b/resources/assets/js/pages/single/reportDetail.vue
index ec56fa9ee..e9871ace9 100644
--- a/resources/assets/js/pages/single/reportDetail.vue
+++ b/resources/assets/js/pages/single/reportDetail.vue
@@ -17,7 +17,6 @@ import ReportDetail from "../manage/components/ReportDetail";
export default {
components: {ReportDetail},
- name: "reportDetail",
data() {
return {
detailData: {},
@@ -47,7 +46,3 @@ export default {
}
}
-
-
diff --git a/resources/assets/js/pages/single/reportEdit.vue b/resources/assets/js/pages/single/reportEdit.vue
index 422bed0fd..b6b620738 100644
--- a/resources/assets/js/pages/single/reportEdit.vue
+++ b/resources/assets/js/pages/single/reportEdit.vue
@@ -17,10 +17,5 @@ import ReportEdit from "../manage/components/ReportEdit"
export default {
components: {ReportEdit},
- name: "reportEdit"
}
-
-
diff --git a/resources/assets/js/pages/single/validEmail.vue b/resources/assets/js/pages/single/validEmail.vue
index 3f16a4d5f..73a023d45 100644
--- a/resources/assets/js/pages/single/validEmail.vue
+++ b/resources/assets/js/pages/single/validEmail.vue
@@ -17,6 +17,34 @@
+
-
diff --git a/resources/assets/js/store/actions.js b/resources/assets/js/store/actions.js
index 233c611f7..971f21991 100644
--- a/resources/assets/js/store/actions.js
+++ b/resources/assets/js/store/actions.js
@@ -1003,7 +1003,7 @@ export default {
state.cacheTasks.filter(task => task.parent_id == id).some(childTask => {
let cIndex = state.cacheTasks.findIndex(task => task.id == childTask.id);
if (cIndex > -1) {
- project_ids.push(state.cacheTasks[index].project_id)
+ project_ids.push(childTask.project_id)
state.cacheTasks.splice(cIndex, 1);
}
})
diff --git a/resources/assets/sass/dark.scss b/resources/assets/sass/dark.scss
index 095b60702..2ee42ae41 100644
--- a/resources/assets/sass/dark.scss
+++ b/resources/assets/sass/dark.scss
@@ -307,38 +307,40 @@ body.dark-mode-reverse {
}
}
- .page-warp {
- background-color: #efefef;
- .page-header {
- .header-nav {
- .header-nav-box {
- .header-right-one {
- .header-right-one-dropdown {
+ .page-index {
+ .page-warp {
+ background-color: #efefef;
+ .page-header {
+ .header-nav {
+ .header-nav-box {
+ .header-right-one {
+ .header-right-one-dropdown {
+ color: #000000;
+ }
+ }
+ .header-right-two {
color: #000000;
}
- }
- .header-right-two {
- color: #000000;
- }
- .header-right-four {
- .ivu-dropdown{
- .ivu-dropdown-rel{
- .header-right-one-dropdown {
- color: #000000;
+ .header-right-four {
+ .ivu-dropdown{
+ .ivu-dropdown-rel{
+ .header-right-one-dropdown {
+ color: #000000;
+ }
}
}
}
}
}
- }
- .header-content {
- .header-title, .header-tips {
- color: #000000;
+ .header-content {
+ .header-title, .header-tips {
+ color: #000000;
+ }
}
}
- }
- .page-header-bottom{
- background-color: #efefef;
+ .page-header-bottom{
+ background-color: #efefef;
+ }
}
}
}
diff --git a/resources/assets/sass/pages/components/project-list.scss b/resources/assets/sass/pages/components/project-list.scss
index 2ce80f19d..5de5b88a4 100644
--- a/resources/assets/sass/pages/components/project-list.scss
+++ b/resources/assets/sass/pages/components/project-list.scss
@@ -228,27 +228,6 @@
}
}
}
-
- .project-gantt-item {
- padding-left: 5px;
- display: flex;
- cursor: pointer;
- &.active {
- color: $primary-color;
- }
-
- .force-right {
- &.act {
- color: #2A53FF;
- }
- }
-
- .gantt-name {
- font-size: 13px;
- padding-top: 6%;
- cursor: pointer;
- }
- }
}
}
}
diff --git a/resources/assets/sass/pages/page-index.scss b/resources/assets/sass/pages/page-index.scss
index de0ac36f8..4780aa494 100644
--- a/resources/assets/sass/pages/page-index.scss
+++ b/resources/assets/sass/pages/page-index.scss
@@ -5,53 +5,58 @@
width: 100%;
height: 100%;
overflow: auto;
-}
.page-warp {
max-width: 1920px;
margin: 0 auto;
+
.page-header {
width: 100%;
background: #8bcf70;
position: relative;
padding-bottom: 40px;
+
.header-nav {
max-width: 1200px;
height: 72px;
margin: auto;
display: flex;
justify-content: space-between;
+
.header-nav-box {
display: flex;
align-items: center;
padding-left: 20px;
color: #ffffff;
- font-family: PingFangSC-Regular, PingFang SC;
-
font-weight: 400;
position: relative;
+
.logo {
width: 143px;
height: 36px;
- background: url("../images/index/logo.svg")
- no-repeat center center;
+ background: url("../images/index/logo.svg") no-repeat center center;
background-size: contain;
}
+
.header-right-one {
display: flex;
+
.header-right-one-language {
margin-right: 8px;
font-size: 26px;
}
+
.header-right-one-dropdown {
color: #ffffff;
font-size: 16px;
}
}
+
.header-right-two {
font-size: 16px;
margin: 0 30px 0 30px;
cursor: pointer;
}
+
.header-right-three {
font-size: 16px;
min-width: 100px;
@@ -63,12 +68,14 @@
cursor: pointer;
padding: 0 10px 0 10px;
}
+
.header-right-four {
font-size: 16px;
margin-left: 30px;
cursor: pointer;
- .ivu-dropdown{
- .ivu-dropdown-rel{
+
+ .ivu-dropdown {
+ .ivu-dropdown-rel {
.header-right-one-dropdown {
color: #ffffff;
font-size: 16px;
@@ -78,32 +85,36 @@
}
}
- .header-nav-boxs{
+
+ .header-nav-boxs {
justify-content: flex-end;
padding-right: 20px;
- .header-nav-more{
+
+ .header-nav-more {
color: #fff;
font-size: 36px;
}
}
}
+
.header-content {
max-width: 1200px;
margin: 0 auto;
+
.header-title {
font-size: 48px;
- font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #ffffff;
line-height: 67px;
text-align: center;
}
+
.header-title-one {
margin-top: 40px;
}
+
.header-tips {
font-size: 24px;
- font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #ffffff;
line-height: 36px;
@@ -111,76 +122,85 @@
padding: 0 30px;
margin-top: 22px;
}
+
.login-buttom {
width: 150px;
height: 48px;
background: #ffa25a;
border-radius: 8px;
font-size: 18px;
- font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #ffffff;
line-height: 48px;
text-align: center;
- margin: 0 auto;
- margin-top: 34px;
+ margin: 34px auto 0;
cursor: pointer;
}
}
}
- .page-header-bottom{
+
+ .page-header-bottom {
position: relative;
- background: url("../images/index/bg_bottom.svg") no-repeat;
- background-color: #FFFFFF;
+ background: #FFFFFF url("../images/index/bg_bottom.svg") no-repeat;
background-size: 100%;
margin-bottom: 190px;
margin-top: -2px;
- .page-header-bottoms{
+
+ .page-header-bottoms {
max-width: 1200px;
margin: auto;
top: 0;
left: 0;
right: 0;
- img{
+
+ img {
display: block;
margin: auto;
width: 80%;
}
}
}
- .page-main{
+
+ .page-main {
max-width: 1200px;
margin: auto;
- .page-main-row{
+
+ .page-main-row {
margin-bottom: 150px;
}
- .page-main-rows{
+
+ .page-main-rows {
margin-bottom: 140px;
}
- .page-main-img{
- img{
+
+ .page-main-img {
+ img {
width: 100%;
}
}
- .page-main-imgs{
- img{
+
+ .page-main-imgs {
+ img {
display: block;
width: 90%;
margin: auto;
}
}
- .page-main-text{
+
+ .page-main-text {
padding-left: 60px;
padding-top: 120px;
- h3{
+
+ h3 {
font-size: 32px;
font-weight: 500;
color: #333333;
line-height: 45px;
margin-bottom: 17px;
}
- p{
+
+ p {
font-size: 18px;
font-weight: 400;
color: #828282;
@@ -188,56 +208,58 @@
padding-right: 70px;
}
}
- .page-main-texts{
+
+ .page-main-texts {
padding-top: 40px;
- h3{
+
+ h3 {
display: flex;
align-items: center;
font-size: 30px;
- img{
- margin-right:10px;
+
+ img {
+ margin-right: 10px;
}
}
- p{
- font-size:16px;
+
+ p {
+ font-size: 16px;
}
}
}
+
.page-footer {
.footer-service {
width: 100%;
height: 188px;
background-color: #ffa25a;
position: relative;
+
.footer-bg-box {
overflow: hidden;
width: 100%;
height: 188px;
- // background: url("../images/index/footer-bg.png") no-repeat
- // center center;
- // background-size: 100% 100%;
- // background-size: contain;
.box-title {
height: 45px;
font-size: 16px;
- font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #ffffff;
line-height: 45px;
text-align: center;
margin: 33px 0 22px 0;
}
+
.buttom-box {
display: flex;
justify-content: center;
+
.login-btn {
width: 150px;
height: 48px;
background: #ffffff;
border-radius: 8px;
font-size: 14px;
- font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #ffa25a;
line-height: 48px;
@@ -245,13 +267,13 @@
margin-right: 20px;
cursor: pointer;
}
+
.contact-btn {
width: 150px;
height: 48px;
border-radius: 8px;
border: 1px solid #ffffff;
font-size: 14px;
- font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #ffffff;
line-height: 48px;
@@ -261,390 +283,420 @@
}
}
}
+
.footer-opyright {
width: 100%;
height: 60px;
background: #ffffff;
text-align: center;
font-size: 12px;
- font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #828282;
line-height: 60px;
}
}
}
+}
+
@media screen and (max-width: 1440px) {
.page-index {
- }
- .page-warp {
- .page-header {
- .header-content {
- .header-title {
- font-size: 44px;
- line-height: 60px;
- font-weight: 600;
- }
- .header-title-one {
- margin-top: 40px;
- }
- .header-tips {
- font-size: 22px;
- padding: 0 20px;
- font-weight: 400;
- line-height: 36px;
- }
- .login-buttom {
- width: 150px;
- height: 48px;
- background: #ffa25a;
- border-radius: 8px;
- font-size: 18px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #ffffff;
- line-height: 48px;
- text-align: center;
- margin: 0 auto;
- margin-top: 34px;
- cursor: pointer;
- }
- }
-
- }
- .page-header-bottom{
- position: relative;
- background: url("../images/index/bg_bottom.svg") no-repeat;
- background-color: #FFFFFF;
- background-size: 100%;
- margin-bottom: 100px;
- margin-top: -2px;
- .page-header-bottoms{
- max-width: 1200px;
- margin: auto;
- top: 0;
- left: 0;
- right: 0;
- img{
- display: block;
- margin: auto;
- width: 80%;
- }
- }
- }
- .page-main{
- max-width: 1200px;
- margin: auto;
- .page-main-row{
- margin-bottom: 150px;
- }
- .page-main-rows{
- margin-bottom: 140px;
- }
- .page-main-img{
- img{
- width: 100%;
- }
- }
- .page-main-imgs{
- img{
- display: block;
- width: 90%;
- margin: auto;
- }
- }
- .page-main-text{
- padding-left: 20px;
- padding-top: 80px;
- h3{
- font-size: 32px;
- font-weight: 500;
- color: #333333;
- line-height: 45px;
- margin-bottom: 17px;
- }
- p{
- font-size: 18px;
- font-weight: 400;
- color: #828282;
- line-height: 28px;
- padding-right: 20px;
- }
- }
- .page-main-texts{
- padding-top: 40px;
- h3{
- display: flex;
- align-items: center;
- font-size: 24px;
- img{
- width: 24px;
- margin-right:10px;
+ .page-warp {
+ .page-header {
+ .header-content {
+ .header-title {
+ font-size: 44px;
+ line-height: 60px;
+ font-weight: 600;
}
- }
- p{
- font-size:14px;
- }
- }
- }
- .page-footer {
- .footer-service {
- width: 100%;
- height: 188px;
- background-color: #ffa25a;
- position: relative;
- .footer-bg-box {
- overflow: hidden;
- width: 100%;
- height: 188px;
- // background: url("../images/index/footer-bg.png") no-repeat
- // center center;
- // background-size: 100% 100%;
- // background-size: contain;
- .box-title {
- height: 45px;
- font-size: 16px;
- font-family: PingFangSC-Medium, PingFang SC;
+ .header-title-one {
+ margin-top: 40px;
+ }
+
+ .header-tips {
+ font-size: 22px;
+ padding: 0 20px;
+ font-weight: 400;
+ line-height: 36px;
+ }
+
+ .login-buttom {
+ width: 150px;
+ height: 48px;
+ background: #ffa25a;
+ border-radius: 8px;
+ font-size: 18px;
font-weight: 500;
color: #ffffff;
- line-height: 45px;
+ line-height: 48px;
text-align: center;
- margin: 33px 0 22px 0;
+ margin: 34px auto 0;
+ cursor: pointer;
}
- .buttom-box {
- display: flex;
- justify-content: center;
- .login-btn {
- width: 150px;
- height: 48px;
- background: #ffffff;
- border-radius: 8px;
- font-size: 14px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #ffa25a;
- line-height: 48px;
- text-align: center;
- margin-right: 20px;
- cursor: pointer;
- }
- .contact-btn {
- width: 150px;
- height: 48px;
- border-radius: 8px;
- border: 1px solid #ffffff;
- font-size: 14px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #ffffff;
- line-height: 48px;
- text-align: center;
- cursor: pointer;
- }
+ }
+
+ }
+
+ .page-header-bottom {
+ position: relative;
+ background: #FFFFFF url("../images/index/bg_bottom.svg") no-repeat;
+ background-size: 100%;
+ margin-bottom: 100px;
+ margin-top: -2px;
+
+ .page-header-bottoms {
+ max-width: 1200px;
+ margin: auto;
+ top: 0;
+ left: 0;
+ right: 0;
+
+ img {
+ display: block;
+ margin: auto;
+ width: 80%;
}
}
}
- .footer-opyright {
- width: 100%;
- height: 60px;
- background: #ffffff;
- text-align: center;
- font-size: 12px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #828282;
- line-height: 60px;
+
+ .page-main {
+ max-width: 1200px;
+ margin: auto;
+
+ .page-main-row {
+ margin-bottom: 150px;
+ }
+
+ .page-main-rows {
+ margin-bottom: 140px;
+ }
+
+ .page-main-img {
+ img {
+ width: 100%;
+ }
+ }
+
+ .page-main-imgs {
+ img {
+ display: block;
+ width: 90%;
+ margin: auto;
+ }
+ }
+
+ .page-main-text {
+ padding-left: 20px;
+ padding-top: 80px;
+
+ h3 {
+ font-size: 32px;
+ font-weight: 500;
+ color: #333333;
+ line-height: 45px;
+ margin-bottom: 17px;
+ }
+
+ p {
+ font-size: 18px;
+ font-weight: 400;
+ color: #828282;
+ line-height: 28px;
+ padding-right: 20px;
+ }
+ }
+
+ .page-main-texts {
+ padding-top: 40px;
+
+ h3 {
+ display: flex;
+ align-items: center;
+ font-size: 24px;
+
+ img {
+ width: 24px;
+ margin-right: 10px;
+ }
+ }
+
+ p {
+ font-size: 14px;
+ }
+ }
+ }
+
+ .page-footer {
+ .footer-service {
+ width: 100%;
+ height: 188px;
+ background-color: #ffa25a;
+ position: relative;
+
+ .footer-bg-box {
+ overflow: hidden;
+ width: 100%;
+ height: 188px;
+
+ .box-title {
+ height: 45px;
+ font-size: 16px;
+ font-weight: 500;
+ color: #ffffff;
+ line-height: 45px;
+ text-align: center;
+ margin: 33px 0 22px 0;
+ }
+
+ .buttom-box {
+ display: flex;
+ justify-content: center;
+
+ .login-btn {
+ width: 150px;
+ height: 48px;
+ background: #ffffff;
+ border-radius: 8px;
+ font-size: 14px;
+ font-weight: 500;
+ color: #ffa25a;
+ line-height: 48px;
+ text-align: center;
+ margin-right: 20px;
+ cursor: pointer;
+ }
+
+ .contact-btn {
+ width: 150px;
+ height: 48px;
+ border-radius: 8px;
+ border: 1px solid #ffffff;
+ font-size: 14px;
+ font-weight: 500;
+ color: #ffffff;
+ line-height: 48px;
+ text-align: center;
+ cursor: pointer;
+ }
+ }
+ }
+ }
+
+ .footer-opyright {
+ width: 100%;
+ height: 60px;
+ background: #ffffff;
+ text-align: center;
+ font-size: 12px;
+ font-weight: 400;
+ color: #828282;
+ line-height: 60px;
+ }
}
}
}
}
+
@media screen and (max-width: 468px) {
.page-index {
- }
- .page-warp {
- .page-header {
- .header-content {
- .header-title {
- font-size: 24px;
- line-height: 34px;
- font-weight: 600;
- }
- .header-title-one {
- margin-top: 40px;
- }
- .header-tips {
- font-size: 16px;
- padding: 0 20px;
- font-weight: 400;
- line-height: 26px;
- }
- .login-buttom {
- width: 150px;
- height: 48px;
- background: #ffa25a;
- border-radius: 8px;
- font-size: 18px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #ffffff;
- line-height: 48px;
- text-align: center;
- margin: 0 auto;
- margin-top: 34px;
- cursor: pointer;
- }
- }
-
- }
- .page-header-bottom{
- position: relative;
- background: url("../images/index/bg_bottom.svg") no-repeat;
- background-color: #FFFFFF;
- background-size: 100%;
- margin-bottom: 100px;
- margin-top: -2px;
- .page-header-bottoms{
- max-width: 1200px;
- margin: auto;
- top: 0;
- left: 0;
- right: 0;
- img{
- display: block;
- margin: auto;
- width: 80%;
- }
- }
- }
- .page-main{
- max-width: 1200px;
- margin: auto;
- .page-main-row{
- margin-bottom: 150px;
- }
- .page-main-rows{
- margin-bottom: 140px;
- }
- .page-main-img{
- img{
- width: 100%;
- }
- }
- .page-main-imgs{
- img{
- display: block;
- width: 90%;
- margin: auto;
- }
- }
- .page-main-text{
- padding-left: 20px;
- padding-top: 80px;
- h3{
- font-size: 32px;
- font-weight: 500;
- color: #333333;
- line-height: 45px;
- margin-bottom: 17px;
- }
- p{
- font-size: 18px;
- font-weight: 400;
- color: #828282;
- line-height: 28px;
- padding-right: 20px;
- }
- }
- .page-main-texts{
- padding-top: 40px;
- h3{
- display: flex;
- align-items: center;
- font-size: 24px;
- img{
- width: 24px;
- margin-right:10px;
+ .page-warp {
+ .page-header {
+ .header-content {
+ .header-title {
+ font-size: 24px;
+ line-height: 34px;
+ font-weight: 600;
}
- }
- p{
- font-size:14px;
- }
- }
- }
- .page-footer {
- .footer-service {
- width: 100%;
- height: 188px;
- background-color: #ffa25a;
- position: relative;
- .footer-bg-box {
- overflow: hidden;
- width: 100%;
- height: 188px;
- // background: url("../images/index/footer-bg.png") no-repeat
- // center center;
- // background-size: 100% 100%;
- // background-size: contain;
- .box-title {
- height: 45px;
+ .header-title-one {
+ margin-top: 40px;
+ }
+
+ .header-tips {
font-size: 16px;
- font-family: PingFangSC-Medium, PingFang SC;
+ padding: 0 20px;
+ font-weight: 400;
+ line-height: 26px;
+ }
+
+ .login-buttom {
+ width: 150px;
+ height: 48px;
+ background: #ffa25a;
+ border-radius: 8px;
+ font-size: 18px;
font-weight: 500;
color: #ffffff;
- line-height: 45px;
+ line-height: 48px;
text-align: center;
- margin: 33px 0 22px 0;
+ margin: 34px auto 0;
+ cursor: pointer;
}
- .buttom-box {
- display: flex;
- justify-content: center;
- .login-btn {
- width: 150px;
- height: 48px;
- background: #ffffff;
- border-radius: 8px;
- font-size: 14px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #ffa25a;
- line-height: 48px;
- text-align: center;
- margin-right: 20px;
- cursor: pointer;
- }
- .contact-btn {
- width: 150px;
- height: 48px;
- border-radius: 8px;
- border: 1px solid #ffffff;
- font-size: 14px;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #ffffff;
- line-height: 48px;
- text-align: center;
- cursor: pointer;
- }
+ }
+
+ }
+
+ .page-header-bottom {
+ position: relative;
+ background: #FFFFFF url("../images/index/bg_bottom.svg") no-repeat;
+ background-size: 100%;
+ margin-bottom: 100px;
+ margin-top: -2px;
+
+ .page-header-bottoms {
+ max-width: 1200px;
+ margin: auto;
+ top: 0;
+ left: 0;
+ right: 0;
+
+ img {
+ display: block;
+ margin: auto;
+ width: 80%;
}
}
}
- .footer-opyright {
- width: 100%;
- height: 60px;
- background: #ffffff;
- text-align: center;
- font-size: 12px;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #828282;
- line-height: 60px;
+
+ .page-main {
+ max-width: 1200px;
+ margin: auto;
+
+ .page-main-row {
+ margin-bottom: 150px;
+ }
+
+ .page-main-rows {
+ margin-bottom: 140px;
+ }
+
+ .page-main-img {
+ img {
+ width: 100%;
+ }
+ }
+
+ .page-main-imgs {
+ img {
+ display: block;
+ width: 90%;
+ margin: auto;
+ }
+ }
+
+ .page-main-text {
+ padding-left: 20px;
+ padding-top: 80px;
+
+ h3 {
+ font-size: 32px;
+ font-weight: 500;
+ color: #333333;
+ line-height: 45px;
+ margin-bottom: 17px;
+ }
+
+ p {
+ font-size: 18px;
+ font-weight: 400;
+ color: #828282;
+ line-height: 28px;
+ padding-right: 20px;
+ }
+ }
+
+ .page-main-texts {
+ padding-top: 40px;
+
+ h3 {
+ display: flex;
+ align-items: center;
+ font-size: 24px;
+
+ img {
+ width: 24px;
+ margin-right: 10px;
+ }
+ }
+
+ p {
+ font-size: 14px;
+ }
+ }
+ }
+
+ .page-footer {
+ .footer-service {
+ width: 100%;
+ height: 188px;
+ background-color: #ffa25a;
+ position: relative;
+
+ .footer-bg-box {
+ overflow: hidden;
+ width: 100%;
+ height: 188px;
+
+ .box-title {
+ height: 45px;
+ font-size: 16px;
+ font-weight: 500;
+ color: #ffffff;
+ line-height: 45px;
+ text-align: center;
+ margin: 33px 0 22px 0;
+ }
+
+ .buttom-box {
+ display: flex;
+ justify-content: center;
+
+ .login-btn {
+ width: 150px;
+ height: 48px;
+ background: #ffffff;
+ border-radius: 8px;
+ font-size: 14px;
+ font-weight: 500;
+ color: #ffa25a;
+ line-height: 48px;
+ text-align: center;
+ margin-right: 20px;
+ cursor: pointer;
+ }
+
+ .contact-btn {
+ width: 150px;
+ height: 48px;
+ border-radius: 8px;
+ border: 1px solid #ffffff;
+ font-size: 14px;
+ font-weight: 500;
+ color: #ffffff;
+ line-height: 48px;
+ text-align: center;
+ cursor: pointer;
+ }
+ }
+ }
+ }
+
+ .footer-opyright {
+ width: 100%;
+ height: 60px;
+ background: #ffffff;
+ text-align: center;
+ font-size: 12px;
+ font-weight: 400;
+ color: #828282;
+ line-height: 60px;
+ }
}
}
}
}
-.client-downloads{
+
+.client-downloads {
position: fixed;
right: 20px;
bottom: 20px;
diff --git a/resources/assets/sass/pages/page-setting.scss b/resources/assets/sass/pages/page-setting.scss
index 74c31ec97..79646a632 100755
--- a/resources/assets/sass/pages/page-setting.scss
+++ b/resources/assets/sass/pages/page-setting.scss
@@ -179,6 +179,10 @@
display: flex;
flex-direction: column;
padding: 0 !important;
+ h3 {
+ font-size: 16px;
+ margin-bottom: 15px;
+ }
.ivu-form {
flex: 1;
padding: 24px 40px;