diff --git a/src/api/login.js b/src/api/login.js index c6b62d8..d1a7519 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -30,3 +30,22 @@ export function initInfo(data) { }) } +// 修改密码 +export function updatePassword(data) { + return request({ + url: '/frame/optr/passwd.htm', + method: 'post', + type: 'application/x-www-form-urlencoded', + data + }) +} + +// 修改资料 +export function updateInfo(data) { + return request({ + url: '/frame/optr/edit.htm', + method: 'post', + type: 'application/x-www-form-urlencoded', + data + }) +} diff --git a/src/views/home.vue b/src/views/home.vue index 59d8215..acacfc5 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -112,11 +112,11 @@
  • {{ item.voyage_end_date.slice(8, 10) }}

    - {{ item.voyage_end_date.slice(0, 7) }} + {{ item.voyage_end_date.slice(0, 7) }}

    {{ item.voyage_name }}

    - {{ item.voyage_remark }} + {{ item.voyage_remark }}
  • @@ -124,11 +124,11 @@
  • {{ item.create_time.slice(8, 10) }}

    - {{ item.create_time.slice(0, 7) }} + {{ item.create_time.slice(0, 7) }}

    {{ item.dataset_name }}

    - {{ item.job_type }} + {{ item.job_type }}
  • @@ -1289,9 +1289,9 @@ export default { position: relative; } -.text-ellipsis--4-lines { +.text-ellipsis--3-lines { /* 限制显示的行数 */ - -webkit-line-clamp: 4; + -webkit-line-clamp: 3; /* 将对象作为弹性伸缩盒子模型显示(必要) */ display: -webkit-box; /* 设置或检索伸缩盒对象的子元素的排列方式为垂直(必要) */ diff --git a/src/views/personalCenter.vue b/src/views/personalCenter.vue index 8c709a1..2dc503b 100644 --- a/src/views/personalCenter.vue +++ b/src/views/personalCenter.vue @@ -19,16 +19,16 @@

    我的信息

    -
    - - -

    我的收藏

    -
    -
    - - -

    我的订单

    -
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ item.dict_text }} + + + + + + + + + + + + + + {{ item.dict_text }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +