From ab9848abdd6bcec72e0725bd76854db28ba47c8b Mon Sep 17 00:00:00 2001 From: yangzhi <765157588@qq.com> Date: Tue, 29 Nov 2022 23:38:28 +0800 Subject: [PATCH] 简历界面 --- src/api/user.js | 35 +++++++++++++++++++++-------------- src/views/resume/malestaff.vue | 322 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------- src/views/resume/style/style.scss | 19 +++++++++++++++---- 3 files changed, 321 insertions(+), 55 deletions(-) diff --git a/src/api/user.js b/src/api/user.js index 970d48a..2187c38 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -132,9 +132,9 @@ export function GetCompanyInvitation(data) { //删除面试邀请 export function InvitationCompanyDelete(ids) { return request({ - url: '/InvitationCompany/Delete' , + url: '/InvitationCompany/Delete', method: 'post', - params:ids + params: ids }); } @@ -174,18 +174,18 @@ export function UserInfo_List(params) { url: `/UserInfo/List`, method: 'get', params - }) -} + }) +} -export function GetTypeSetting(params={}) { +export function GetTypeSetting(params = {}) { return request({ url: `/userType/GetTypeSetting`, method: 'get', params - }) -} + }) +} //设置标签 - export function ChangeTags(params) { +export function ChangeTags(params) { return request({ url: `/Users/ChangeTags`, method: 'post', @@ -200,19 +200,19 @@ export function UserTypeSettings(params) { url: `/userType/GetSettings`, method: 'post', params - }) -} + }) +} export function saveTypeSetting(data) { return request({ url: `/userType/saveTypeSetting`, method: 'post', data - }) -} + }) +} //设置标签 - export function SelectPhoneBool(id,phone) { +export function SelectPhoneBool(id, phone) { return request({ url: `/Users/SelectPhoneBool?id=${id}&phone=${phone}`, method: 'get', @@ -220,9 +220,16 @@ export function saveTypeSetting(data) { } -export function ChangeClass(id,type) { +export function ChangeClass(id, type) { return request({ url: `/Users/ChangeClass?id=${id}&type=${type}`, method: 'post', }) +} + +export function getOuterUserInfo(id) { + return request({ + url: `/UserInfo/GetOuterUserInfo?id=${id}`, + method: 'get' + }); } \ No newline at end of file diff --git a/src/views/resume/malestaff.vue b/src/views/resume/malestaff.vue index 2240af3..4001dc3 100644 --- a/src/views/resume/malestaff.vue +++ b/src/views/resume/malestaff.vue @@ -5,10 +5,14 @@
-

张三

- +

{{ userDetail.fullName }}

+
-
+
-
-
+
+
技能优势 @@ -43,9 +47,9 @@
  • 西南石油大学 - 2014.06-2017.06 + 2014.06-2017.06

    -

    +

    计算机科学与技术 本科

    @@ -54,35 +58,37 @@
  • -
    -
    - 工作经历 -
    -
    -
      -
    • -

      - 腾讯 - 前端工程师 - 2014.06-2017.06 -

      -

      - 负责公司xxxxxx的工作,这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其他 内容这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其 -

      -
    • -
    • -

      - 腾讯 - 前端工程师 - 2014.06-2017.06 -

      -

      - 负责公司xxxxxx的工作,这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其他 内容这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其 -

      -
    • -
    -
    +
    +
    + 工作经历 +
    +
    +
      +
    • +

      + 腾讯 + 前端工程师 + 2014.06-2017.06 +

      +

      + 负责公司xxxxxx的工作,这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其他 + 内容这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其 +

      +
    • +
    • +

      + 腾讯 + 前端工程师 + 2014.06-2017.06 +

      +

      + 负责公司xxxxxx的工作,这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其他 + 内容这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其他内容这里有其 +

      +
    • +
    +
    @@ -117,9 +123,12 @@
    \ No newline at end of file diff --git a/src/views/resume/style/style.scss b/src/views/resume/style/style.scss index 2688b07..d156368 100644 --- a/src/views/resume/style/style.scss +++ b/src/views/resume/style/style.scss @@ -22,6 +22,13 @@ li { align-items: center; } +.text-overflow2 { + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; + overflow: hidden; +} + .page { height: 100vh; background-image: url(/static/resume/male/page_bg.png); @@ -128,10 +135,6 @@ li { } p { color: #ccc; - display: -webkit-box; - -webkit-box-orient: vertical; - -webkit-line-clamp: 2; - overflow: hidden; line-height: 1.5em; } } @@ -148,6 +151,8 @@ li { border: 1px solid #51D2FF; margin-right: 20px; padding: 15px; + display: flex; + flex-direction: column; &:last-child { margin-right: 0; } @@ -160,5 +165,11 @@ li { margin-left: 10px; } } + .panel-body { + flex: 1; + } + [id^=echarts] { + height: 100%; + } } } \ No newline at end of file -- libgit2 0.21.4