-
-
项目已创建成功
-
可以联系负责人分发应用
-
- $router.push('/detail/advanced')"> 查看进度
- $router.push('/form/base')"> 再次创建
-
+
+
+
创建成功
+
可以联系负责人分发应用
+
+ $router.push('/detail/advanced')"> 查看进度
+ $router.push('/form/base')"> 再次创建
-
+
@@ -44,6 +39,7 @@ export default defineComponent({
color: @text-color-primary;
text-align: center;
line-height: 22px;
+ font-weight: 500;
}
&-describe {
diff --git a/src/pages/user/constants.ts b/src/pages/user/constants.ts
index 7d3bfa0..b55737a 100644
--- a/src/pages/user/constants.ts
+++ b/src/pages/user/constants.ts
@@ -40,23 +40,23 @@ export const USER_INFO_LIST = [
export const TEAM_MEMBERS = [
{
- avatar: 'https://tdesign.gtimg.com/pro-template/personal/avatar5.png',
- title: 'Lovellzhang 张庆霖',
+ avatar: 'https://avatars.githubusercontent.com/Wen1kang',
+ title: 'Lovellzhong 钟某某',
description: '直客销售 港澳拓展组员工',
},
{
- avatar: 'https://tdesign.gtimg.com/pro-template/personal/avatar1.png',
- title: 'Jiajingwang 王佳静',
+ avatar: 'https://avatars.githubusercontent.com/pengYYYYY',
+ title: 'Jiajingwang 彭某某',
description: '前端开发 前台研发组员工',
},
{
- avatar: 'https://tdesign.gtimg.com/pro-template/personal/avatar5.png',
- title: 'cruisezhang 张超',
+ avatar: 'https://avatars.githubusercontent.com/u/24469546?s=96&v=4',
+ title: 'cruisezhang 林某某',
description: '技术产品 产品组员工',
},
{
- avatar: 'https://tdesign.gtimg.com/pro-template/personal/avatar3.png',
- title: 'Lovellzhang 张庆霖',
+ avatar: 'https://avatars.githubusercontent.com/u/88708072?s=96&v=4',
+ title: 'Lovellzhang 商某某',
description: '产品运营 港澳拓展组员工',
},
];
diff --git a/src/pages/user/index.less b/src/pages/user/index.less
index 6c5ece2..5cc9632 100644
--- a/src/pages/user/index.less
+++ b/src/pages/user/index.less
@@ -1,279 +1,166 @@
-@import '@/style/index';
+@import '@/style/variables.less';
-.user-panel {
- @media (max-width: @screen-sm-max) {
+.card-padding-no {
+ padding-left: 0;
+ padding-right: 0;
+}
- .user-right {
- min-width: 100%;
- }
+.user-left-greeting {
+ padding: 28px 32px;
+ line-height: 28px;
+ font-size: 20px;
+ background: @bg-color-container;
+ color: @text-color-primary;
+ text-align: left;
+ border-radius: @border-radius;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+
+ .regular {
+ margin-right: 15px;
+ font-size: 14px;
}
- @media (min-width: @screen-md-min) {
+ .logo {
+ width: 180px;
+ }
+}
- .user-right {
- min-width: 33.33%;
- }
+.user-info-list {
+ margin-top: 16px;
+
+ .content {
+ width: 90%;
}
- .user-right {
- transition: width .3s linear;
+ .contract {
+ width: 340px;
+ height: 88px;
+ border-radius: @border-radius;
+ margin: 8px 0;
- &-greeting {
- margin-bottom: 16px;
- background: #fff;
- border-radius: @border-radius;
- }
-
- &-trend {
- margin-bottom: 16px;
- background: #fff;
- border-radius: @border-radius;
- }
-
- &-todo {
- margin-bottom: 16px;
- background: #fff;
- border-radius: @border-radius;
- }
- }
-
- .head-bar {
- display: flex;
- justify-content: space-between;
- margin-bottom: 8px;
-
- .title {
+ &-title {
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
line-height: 24px;
- font-family: PingFangSC;
- font-size: 20px;
- color: @text-color-primary;
- text-align: left;
+ margin: 20px 0 6px;
+ font-family: PingFangSC-Regular;
+ font-size: 14px;
+ color: rgb(0 0 0 / 40%);
+ }
+
+ &-detail {
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ line-height: 40px;
+ font-family: PingFangSC-Regular;
+ font-size: 14px;
+ color: rgb(0 0 0 / 90%);
+ }
+ }
+
+ .contract:last-child {
+ margin-bottom: 0;
+ }
+}
+
+.user-intro {
+ padding: 48px;
+ background: @brand-color;
+ border-radius: @border-radius;
+ color: @text-color-primary;
+
+ .name {
+ line-height: 37px;
+ font-size: 20px;
+ margin-top: 36px;
+ color: #fff;
+ }
+
+ .position {
+ line-height: 24px;
+ font-size: 14px;
+ margin-top: 8px;
+ color: #fff;
+ }
+
+ .user-info {
+ line-height: 24px;
+ font-size: 14px;
+ color: @text-color-primary;
+
+ .hiredate,
+ .del,
+ .mail {
+ display: flex;
}
.t-icon {
- font-size: 16px;
- color: rgba(0, 0, 0, .9);
+ height: 24px;
+ margin-right: 8px;
}
- .more {
- display: flex;
- align-items: center;
- justify-content: center;
- line-height: 22px;
- font-family: PingFangSC-Regular;
- font-size: 14px;
- color: @text-color-primary;
- cursor: pointer;
-
- .t-icon {
- vertical-align: bottom;
- font-size: 20px;
- }
-
- &:hover {
- color: @brand-color-8;
- }
- }
- }
-
- .user-right-panel {
-
- .user-top {
- padding: 48px;
- margin: 0 0 16px 16px;
- background: @brand-color;
- border-radius: @border-radius;
-
- .account {
- text-align: left;
- margin-bottom: 0;
- color: @text-color-primary;
-
- .img {
- display: block;
- width: 90px;
- height: 90px;
- border-radius: @border-radius-50;
- border: 1px solid @brand-color;
- background: #ebedf1;
- }
-
- .name {
- line-height: 37px;
- font-family: PingFangSC-Semibold;
- font-size: 20px;
- margin-top: 36px;
- color: #fff;
- }
-
- .position {
- line-height: 24px;
- font-family: PingFangSC-Regular;
- font-size: 14px;
- margin-top: 8px;
- color: #fff;
- }
- }
-
- .user-info {
- line-height: 24px;
- font-family: PingFangSC-Regular;
- font-size: 14px;
- color: @text-color-primary;
-
- .hiredate,
- .del,
- .mail {
- display: flex;
- }
-
- .t-icon {
- height: 24px;
- margin-right: 8px;
- }
-
- .del {
- margin: 16px 0;
- }
- }
- }
-
- .user-middle {
- padding: 28px 32px 5px 32px;
- margin: 0 0 16px 16px;
- background: #fff;
- border-radius: @border-radius;
-
- .t-list {
- margin: 20px 0;
- }
-
- .t-list-item {
- padding: 15px 0;
-
- .t-list-item__meta-avatar {
- height: 50px;
- width: 50px;
- margin: 0 24px 0 0;
- }
-
- .t-list-item__meta-description {
- display: inline-block;
- color: rgba(0, 0, 0, .4);
- font-size: 14px;
- }
- }
- }
-
- .user-bottom {
- padding: 24px 24px 5px 24px;
- margin: 0 0 16px 16px;
- background: #fff;
- border-radius: @border-radius;
-
- .content {
- width: 70%;
- margin: 24px 0 12px 0;
- }
-
- .user-right-logo {
- width: 48px;
- }
- }
- }
-
- .user-left-panel {
-
- .user-top {
-
- .user-left-greeting {
- padding: 28px 32px;
- line-height: 28px;
- font-family: PingFangSC-Semibold;
- font-size: 20px;
- color: @text-color-primary;
- text-align: left;
- background-color: #fff;
- border-radius: @border-radius;
-
- .regular {
- margin: 0 0 0 15px;
- vertical-align: bottom;
- font-family: PingFangSC-Semibold;
- font-size: 14px;
- }
- }
-
- .user-left-logo {
- float: right;
- width: 180px;
- }
-
- .user-right-info {
- margin: 16px 0;
- padding: 32px;
- background-color: #fff;
- border-radius: @border-radius;
-
- .content {
- width: 90%;
- }
-
- .contract {
- width: 340px;
- height: 88px;
- border-radius: @border-radius;
- margin: 8px 0;
-
- &-title {
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- line-height: 24px;
- margin: 20px 0 6px 0;
- font-family: PingFangSC-Regular;
- font-size: 14px;
- color: rgba(0, 0, 0, .4);
- }
-
- &-detail {
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- line-height: 40px;
- font-family: PingFangSC-Regular;
- font-size: 14px;
- color: rgba(0, 0, 0, .9);
- }
- }
-
- .contract:last-child {
- margin-bottom: 0;
- }
- }
- }
-
- .user-bottom {
- margin: 0 0 16px 0;
- padding: 28px 32px;
- background: #fff;
- border-radius: @border-radius;
-
- .user-bottom-container {
- margin-top: 15px;
-
- .unit {
- font-size: 14px;
- font-family: PingFangSC-Regular;
- color: rgba(0, 0, 0, .4);
- }
-
- .time-picker {
- float: right;
- width: 250px;
- }
- }
+ .del {
+ margin: 16px 0;
}
}
}
+.product-container {
+ margin-top: 16px;
+ border-radius: @border-radius;
+
+ .content {
+ width: 70%;
+ margin: 24px 0 12px;
+ }
+
+ .logo {
+ width: 48px;
+ }
+}
+
+.content-container {
+ margin-top: 16px;
+ padding: 28px 32px;
+ background: #fff;
+ border-radius: @border-radius;
+
+ .user-bottom-container {
+ margin-top: 15px;
+
+ .unit {
+ font-size: 14px;
+ font-family: PingFangSC-Regular;
+ color: rgb(0 0 0 / 40%);
+ }
+
+ .time-picker {
+ float: right;
+ width: 250px;
+ }
+ }
+}
+
+.user-team {
+ margin-top: 16px;
+
+ .t-list-item {
+ padding: 15px 0;
+
+ .t-list-item__meta-avatar {
+ height: 50px;
+ width: 50px;
+ margin: 0 24px 0 0;
+ }
+
+ .t-list-item__meta-description {
+ display: inline-block;
+ color: rgb(0 0 0 / 40%);
+ font-size: 14px;
+ }
+ }
+}
diff --git a/src/pages/user/index.vue b/src/pages/user/index.vue
index a5dcacd..92d4661 100644
--- a/src/pages/user/index.vue
+++ b/src/pages/user/index.vue
@@ -1,98 +1,93 @@
-
-
-
-
-
-
- Hi,Image
-
下午好,今天是你加入鹅厂的第 100 天~
-
-
-
-
-
-
-
- {{ item.title }}
-
-
- {{ item.content }}
-
-
-
-
-
+
+
+
+
+ Hi,Image
+ 下午好,今天是你加入鹅厂的第 100 天~
+
+
+
-
-
-
-
- 内容列表
-
-
-
-
-
- 内容列表
-
-
+
+
+
+
+
+
+
+
+
+ {{ item.title }}
-
-
+
+ {{ item.content }}
+
+
+
+
-
-
-
-
-
My Account
-
XXG 港澳业务拓展组员工 直客销售
-
-
+
+
+
+ 内容列表
+
+
+
+
+
+
+
+
+
+
+ 内容列表
+
+
+
+
-
+
+
+ T
+ My Account
+ XXG 港澳业务拓展组员工 直客销售
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+