This commit is contained in:
pengxiaolong
2025-05-13 19:39:53 +08:00
parent 37da6765b8
commit c006a8e63d
1232 changed files with 96963 additions and 883 deletions

View File

@@ -0,0 +1,130 @@
.tui-contact-info-h5 {
padding: 0;
overflow: hidden;
&-header {
background-color: #fff;
padding: 10px !important;
display: flex;
flex-direction: row;
&-title {
flex: 1;
text-align: center;
font-weight: 500;
font-size: 14px;
margin-right: 30px;
}
}
&-basic {
padding: 10px !important;
background: #fff;
margin-top: 10px !important;
display: flex;
flex-direction: row-reverse;
justify-content: left;
border-bottom: none;
&-text {
&-name {
font-size: 20px;
padding-bottom: 1px;
}
&-other {
font-size: 14px;
padding: 3px 0;
}
}
&-avatar {
border-radius: 10px;
margin-right: 10px;
}
}
&-more {
background: #fff;
margin-top: 10px !important;
overflow: hidden;
padding: 0;
&-item {
width: 100%;
box-sizing: border-box;
overflow: hidden;
padding: 10px !important;
border-bottom: 1px solid #eee;
&-label {
color: #000;
}
&-content {
overflow: hidden;
color: #979797;
display: flex;
flex-direction: row;
justify-content: flex-end;
&-text {
overflow: hidden;
display: flex;
flex-direction: row;
&-data {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
}
&-item:last-child {
border-bottom: none;
}
}
&-button {
margin-top: 10px !important;
display: flex;
flex-direction: column;
padding: 0;
background-color: #fff;
&-item {
width: 100%;
margin: 0;
border: none;
padding: 16px !important;
font-size: 16px;
border-bottom: 1px solid #eee;
height: fit-content;
&::after {
border: none;
}
&-textarea {
background-color: #f8f8f8;
}
}
&-item:last-child {
border-bottom: none;
}
.tui-contact-info-button-item-cancel {
background-color: #fff;
color: #e54545;
}
.tui-contact-info-button-item-submit {
background-color: #fff;
color: #006eff;
}
}
}

View File

@@ -0,0 +1,3 @@
@import "./web";
@import "./h5";
@import "../../../../assets/styles/common";

View File

@@ -0,0 +1,151 @@
.tui-contact-info {
width: 100%;
height: 100%;
background: #f7f8fa;
display: flex;
padding: 30px;
box-sizing: border-box;
flex-direction: column;
overflow: hidden;
&-basic {
display: flex;
justify-content: space-between;
padding-bottom: 15px;
border-bottom: 1px solid #ddd;
overflow: hidden;
box-sizing: border-box;
width: 100%;
&-text {
flex: 1;
&-name {
font-size: 24px;
padding-bottom: 10px;
}
&-other {
font-size: 16px;
padding: 6px 0;
font-weight: 400;
color: #999;
}
}
&-avatar {
width: 80px;
height: 80px;
}
}
&-more {
padding: 15px 0;
overflow: hidden;
&-item {
display: flex;
padding: 6px 0;
font-size: 16px;
font-weight: 400;
min-height: 56px;
&-label {
color: #999;
height: fit-content;
}
&-left {
flex-direction: row;
align-items: center;
.tui-contact-info-more-item-label {
width: 80px;
}
}
&-top {
flex-direction: column;
}
&-content {
flex: 1;
display: flex;
flex-direction: row;
color: #333;
overflow: hidden;
&-text {
display: flex;
overflow: hidden;
&-data {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
&-icon {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
}
&-input,
&-textarea {
flex: 1;
border: 1px solid #e8e8e9;
border-radius: 4px;
padding: 4px;
color: inherit;
}
&-input {
height: 22px;
font-size: 16px;
}
&-textarea {
resize: none;
height: 100px;
}
}
}
}
&-button {
display: flex;
padding: 30px;
justify-content: center;
&-item {
margin: 15px;
min-width: 142px;
height: 36px;
padding: 8px 20px;
border-radius: 4px;
border: none;
font-size: 14px;
text-align: center;
line-height: 20px;
font-weight: 400;
letter-spacing: 0;
cursor: pointer;
user-select: none;
&-submit {
border: 1px solid #006eff;
background: #006eff;
color: #fff;
}
&-cancel {
border: 1px solid #e54545;
background: transparent;
color: #e54545;
}
}
}
}