Merge pull request #225 from DevDengChao/codex/lint-mall-bpm-misc
chore: fix mall bpm and misc lintpull/880/head^2
commit
fa42f8e574
|
|
@ -82,9 +82,9 @@ onMounted(() => {
|
||||||
<style>
|
<style>
|
||||||
#mention-modal {
|
#mention-modal {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
border: 1px solid #ccc;
|
|
||||||
background-color: #fff;
|
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
|
background-color: #fff;
|
||||||
|
border: 1px solid #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mention-modal input {
|
#mention-modal input {
|
||||||
|
|
@ -98,10 +98,10 @@ onMounted(() => {
|
||||||
}
|
}
|
||||||
|
|
||||||
#mention-modal ul li {
|
#mention-modal ul li {
|
||||||
list-style: none;
|
|
||||||
cursor: pointer;
|
|
||||||
padding: 3px 0;
|
padding: 3px 0;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
list-style: none;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mention-modal ul li:hover {
|
#mention-modal ul li:hover {
|
||||||
|
|
|
||||||
|
|
@ -42,8 +42,8 @@ watch(
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.box-card {
|
.box-card {
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
:deep(.el-card__body) {
|
:deep(.el-card__body) {
|
||||||
|
|
@ -52,9 +52,9 @@ watch(
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.process-viewer) {
|
:deep(.process-viewer) {
|
||||||
|
width: 100%;
|
||||||
height: 100% !important;
|
height: 100% !important;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
width: 100%;
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -578,8 +578,10 @@ const getSkuTableRef = () => {
|
||||||
defineExpose({ generateTableData, validateSku, getSkuTableRef })
|
defineExpose({ generateTableData, validateSku, getSkuTableRef })
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
// 避免滚动条遮挡最后一行数据
|
/*
|
||||||
/*noinspection CssUnusedSymbol*/
|
* 避免滚动条遮挡最后一行数据
|
||||||
|
* noinspection CssUnusedSymbol
|
||||||
|
*/
|
||||||
.el-table.tabNumWidth .el-scrollbar {
|
.el-table.tabNumWidth .el-scrollbar {
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -136,11 +136,11 @@ const emitActivityChange = () => {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 60px;
|
width: 60px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
|
cursor: pointer;
|
||||||
border: 1px dashed var(--el-border-color-darker);
|
border: 1px dashed var(--el-border-color-darker);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
cursor: pointer;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.spu-pic {
|
.spu-pic {
|
||||||
|
|
|
||||||
|
|
@ -208,8 +208,8 @@ onBeforeUnmount(() => {
|
||||||
//transition: border-left 0.05s ease-in-out; /* 设置过渡效果 */
|
//transition: border-left 0.05s ease-in-out; /* 设置过渡效果 */
|
||||||
|
|
||||||
.username {
|
.username {
|
||||||
min-width: 0;
|
|
||||||
max-width: 60%;
|
max-width: 60%;
|
||||||
|
min-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.last-message {
|
.last-message {
|
||||||
|
|
@ -218,27 +218,27 @@ onBeforeUnmount(() => {
|
||||||
|
|
||||||
.last-message,
|
.last-message,
|
||||||
.username {
|
.username {
|
||||||
|
display: -webkit-box;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
display: -webkit-box;
|
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
-webkit-line-clamp: 1;
|
-webkit-line-clamp: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.active {
|
.active {
|
||||||
background-color: rgba(128, 128, 128, 0.5); // 透明色,暗黑模式下也能体现
|
background-color: rgb(128 128 128 / 50%); // 透明色,暗黑模式下也能体现
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-menu-ul {
|
.right-menu-ul {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background-color: var(--app-content-bg-color);
|
width: 130px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
list-style-type: none; /* 移除默认的项目符号 */
|
list-style-type: none; /* 移除默认的项目符号 */
|
||||||
|
background-color: var(--app-content-bg-color);
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 阴影效果 */
|
box-shadow: 0 2px 4px rgb(0 0 0 / 10%); /* 阴影效果 */
|
||||||
width: 130px;
|
|
||||||
|
|
||||||
li {
|
li {
|
||||||
padding: 8px 16px;
|
padding: 8px 16px;
|
||||||
|
|
|
||||||
|
|
@ -373,36 +373,36 @@ const showTime = computed(() => (item: KeFuMessageRespVO, index: number) => {
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.kefu {
|
.kefu {
|
||||||
background-color: var(--app-content-bg-color);
|
|
||||||
position: relative;
|
position: relative;
|
||||||
width: calc(100% - 300px - 260px);
|
width: calc(100% - 300px - 260px);
|
||||||
|
background-color: var(--app-content-bg-color);
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
content: '';
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 1px; /* 实际宽度 */
|
width: 1px; /* 实际宽度 */
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: var(--el-border-color);
|
background-color: var(--el-border-color);
|
||||||
|
content: '';
|
||||||
transform: scaleX(0.3); /* 缩小宽度 */
|
transform: scaleX(0.3); /* 缩小宽度 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.kefu-header {
|
.kefu-header {
|
||||||
background-color: var(--app-content-bg-color);
|
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
background-color: var(--app-content-bg-color);
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: '';
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 1px; /* 初始宽度 */
|
height: 1px; /* 初始宽度 */
|
||||||
background-color: var(--el-border-color);
|
background-color: var(--el-border-color);
|
||||||
|
content: '';
|
||||||
transform: scaleY(0.3); /* 缩小视觉高度 */
|
transform: scaleY(0.3); /* 缩小视觉高度 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -413,30 +413,30 @@ const showTime = computed(() => (item: KeFuMessageRespVO, index: number) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
&-content {
|
&-content {
|
||||||
margin: 0;
|
|
||||||
padding: 10px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
padding: 10px;
|
||||||
|
margin: 0;
|
||||||
|
|
||||||
.newMessageTip {
|
.newMessageTip {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 35px;
|
|
||||||
right: 35px;
|
right: 35px;
|
||||||
background-color: var(--app-content-bg-color);
|
bottom: 35px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: 30px;
|
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 阴影效果 */
|
background-color: var(--app-content-bg-color);
|
||||||
|
border-radius: 30px;
|
||||||
|
box-shadow: 0 2px 4px rgb(0 0 0 / 10%); /* 阴影效果 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.ss-row-left {
|
.ss-row-left {
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
|
|
||||||
.kefu-message {
|
.kefu-message {
|
||||||
background-color: #fff;
|
|
||||||
margin-left: 10px;
|
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
|
margin-left: 10px;
|
||||||
|
background-color: #fff;
|
||||||
border-top-right-radius: 10px;
|
border-top-right-radius: 10px;
|
||||||
border-bottom-right-radius: 10px;
|
border-bottom-right-radius: 10px;
|
||||||
border-bottom-left-radius: 10px;
|
border-bottom-left-radius: 10px;
|
||||||
|
|
@ -447,22 +447,22 @@ const showTime = computed(() => (item: KeFuMessageRespVO, index: number) => {
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
|
|
||||||
.kefu-message {
|
.kefu-message {
|
||||||
background-color: rgb(206, 223, 255);
|
|
||||||
margin-right: 10px;
|
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
border-top-left-radius: 10px;
|
margin-right: 10px;
|
||||||
|
background-color: rgb(206 223 255);
|
||||||
border-bottom-right-radius: 10px;
|
border-bottom-right-radius: 10px;
|
||||||
border-bottom-left-radius: 10px;
|
border-bottom-left-radius: 10px;
|
||||||
|
border-top-left-radius: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 消息气泡
|
// 消息气泡
|
||||||
.kefu-message {
|
.kefu-message {
|
||||||
color: #414141;
|
|
||||||
font-weight: 500;
|
|
||||||
padding: 5px 10px;
|
|
||||||
width: auto;
|
width: auto;
|
||||||
max-width: 50%;
|
max-width: 50%;
|
||||||
|
padding: 5px 10px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #414141;
|
||||||
//text-align: left;
|
//text-align: left;
|
||||||
//display: inline-block !important;
|
//display: inline-block !important;
|
||||||
//word-break: break-all;
|
//word-break: break-all;
|
||||||
|
|
@ -476,30 +476,30 @@ const showTime = computed(() => (item: KeFuMessageRespVO, index: number) => {
|
||||||
.date-message,
|
.date-message,
|
||||||
.system-message {
|
.system-message {
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
background-color: rgba(0, 0, 0, 0.1);
|
|
||||||
border-radius: 8px;
|
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
color: #fff;
|
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
|
color: #fff;
|
||||||
|
background-color: rgb(0 0 0 / 10%);
|
||||||
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.kefu-footer {
|
.kefu-footer {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
|
||||||
height: auto;
|
height: auto;
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: '';
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 1px; /* 初始宽度 */
|
height: 1px; /* 初始宽度 */
|
||||||
background-color: var(--el-border-color);
|
background-color: var(--el-border-color);
|
||||||
|
content: '';
|
||||||
transform: scaleY(0.3); /* 缩小视觉高度 */
|
transform: scaleY(0.3); /* 缩小视觉高度 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -510,13 +510,13 @@ const showTime = computed(() => (item: KeFuMessageRespVO, index: number) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep(textarea) {
|
::v-deep(textarea) {
|
||||||
resize: none;
|
|
||||||
background-color: var(--app-content-bg-color);
|
background-color: var(--app-content-bg-color);
|
||||||
|
resize: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.el-input__wrapper) {
|
:deep(.el-input__wrapper) {
|
||||||
box-shadow: none !important;
|
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
box-shadow: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep(.el-textarea__inner) {
|
::v-deep(.el-textarea__inner) {
|
||||||
|
|
|
||||||
|
|
@ -173,31 +173,31 @@ const getUserData = async () => {
|
||||||
background-color: var(--app-content-bg-color);
|
background-color: var(--app-content-bg-color);
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
content: '';
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 1px; /* 实际宽度 */
|
width: 1px; /* 实际宽度 */
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: var(--el-border-color);
|
background-color: var(--el-border-color);
|
||||||
|
content: '';
|
||||||
transform: scaleX(0.3); /* 缩小宽度 */
|
transform: scaleX(0.3); /* 缩小宽度 */
|
||||||
}
|
}
|
||||||
|
|
||||||
&-header {
|
&-header {
|
||||||
background-color: var(--app-content-bg-color);
|
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
background-color: var(--app-content-bg-color);
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: '';
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 1px; /* 初始宽度 */
|
height: 1px; /* 初始宽度 */
|
||||||
background-color: var(--el-border-color);
|
background-color: var(--el-border-color);
|
||||||
|
content: '';
|
||||||
transform: scaleY(0.3); /* 缩小视觉高度 */
|
transform: scaleY(0.3); /* 缩小视觉高度 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -207,45 +207,39 @@ const getUserData = async () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
&-item {
|
&-item {
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
&-activation::before {
|
&-activation::before {
|
||||||
content: '';
|
|
||||||
position: absolute; /* 绝对定位 */
|
position: absolute; /* 绝对定位 */
|
||||||
top: 0;
|
inset: 0; /* 覆盖整个元素 */
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0; /* 覆盖整个元素 */
|
|
||||||
border-bottom: 2px solid rgba(128, 128, 128, 0.5); /* 边框样式 */
|
|
||||||
pointer-events: none; /* 确保点击事件不会被伪元素拦截 */
|
pointer-events: none; /* 确保点击事件不会被伪元素拦截 */
|
||||||
|
border-bottom: 2px solid rgb(128 128 128 / 50%); /* 边框样式 */
|
||||||
|
content: '';
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover::before {
|
&:hover::before {
|
||||||
content: '';
|
|
||||||
position: absolute; /* 绝对定位 */
|
position: absolute; /* 绝对定位 */
|
||||||
top: 0;
|
inset: 0; /* 覆盖整个元素 */
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0; /* 覆盖整个元素 */
|
|
||||||
border-bottom: 2px solid rgba(128, 128, 128, 0.5); /* 边框样式 */
|
|
||||||
pointer-events: none; /* 确保点击事件不会被伪元素拦截 */
|
pointer-events: none; /* 确保点击事件不会被伪元素拦截 */
|
||||||
|
border-bottom: 2px solid rgb(128 128 128 / 50%); /* 边框样式 */
|
||||||
|
content: '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-content {
|
&-content {
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-tabs {
|
&-tabs {
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -109,10 +109,10 @@ function formatOrderStatus(order: any) {
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.order-list-card-box {
|
.order-list-card-box {
|
||||||
border-radius: 10px;
|
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
background-color: rgb(128 128 128 / 30%); // 透明色,暗黑模式下也能体现
|
||||||
border: 1px var(--el-border-color) solid;
|
border: 1px var(--el-border-color) solid;
|
||||||
background-color: rgba(128, 128, 128, 0.3); // 透明色,暗黑模式下也能体现
|
border-radius: 10px;
|
||||||
|
|
||||||
.order-card-header {
|
.order-card-header {
|
||||||
height: 28px;
|
height: 28px;
|
||||||
|
|
@ -123,8 +123,8 @@ function formatOrderStatus(order: any) {
|
||||||
|
|
||||||
span {
|
span {
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: underline;
|
|
||||||
color: var(--left-menu-bg-active-color);
|
color: var(--left-menu-bg-active-color);
|
||||||
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -144,9 +144,9 @@ function formatOrderStatus(order: any) {
|
||||||
}
|
}
|
||||||
|
|
||||||
.discounts-money {
|
.discounts-money {
|
||||||
|
font-family: OPPOSANS;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
font-family: OPPOSANS;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.pay-color {
|
.pay-color {
|
||||||
|
|
@ -156,26 +156,26 @@ function formatOrderStatus(order: any) {
|
||||||
}
|
}
|
||||||
|
|
||||||
.warning-color {
|
.warning-color {
|
||||||
color: #faad14;
|
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
color: #faad14;
|
||||||
}
|
}
|
||||||
|
|
||||||
.danger-color {
|
.danger-color {
|
||||||
color: #ff3000;
|
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
color: #ff3000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.success-color {
|
.success-color {
|
||||||
color: #52c41a;
|
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
color: #52c41a;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info-color {
|
.info-color {
|
||||||
color: #999999;
|
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
color: #999;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -68,21 +68,21 @@ const openDetail = (spuId: number) => {
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.button {
|
.button {
|
||||||
background-color: #007bff;
|
|
||||||
color: white;
|
|
||||||
border: none;
|
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
|
color: white;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
background-color: #007bff;
|
||||||
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.product-warp {
|
.product-warp {
|
||||||
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: rgba(128, 128, 128, 0.3);
|
padding: 10px;
|
||||||
|
background-color: rgb(128 128 128 / 30%);
|
||||||
border: 1px solid var(--el-border-color);
|
border: 1px solid var(--el-border-color);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 10px;
|
|
||||||
|
|
||||||
&-left {
|
&-left {
|
||||||
width: 70px;
|
width: 70px;
|
||||||
|
|
@ -98,14 +98,14 @@ const openDetail = (spuId: number) => {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|
||||||
.description {
|
.description {
|
||||||
|
display: -webkit-box;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
overflow: hidden;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
display: -webkit-box;
|
|
||||||
-webkit-line-clamp: 1; /* 显示一行 */
|
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 1; /* 显示一行 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.price {
|
.price {
|
||||||
|
|
|
||||||
|
|
@ -107,11 +107,11 @@ onBeforeUnmount(() => {
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.kefu-layout {
|
.kefu-layout {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
flex: 1;
|
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 定义滚动条样式 */
|
/* 定义滚动条样式 */
|
||||||
|
|
@ -122,15 +122,15 @@ onBeforeUnmount(() => {
|
||||||
|
|
||||||
/* 定义滚动条轨道 内阴影+圆角 */
|
/* 定义滚动条轨道 内阴影+圆角 */
|
||||||
::-webkit-scrollbar-track {
|
::-webkit-scrollbar-track {
|
||||||
box-shadow: inset 0 0 0 rgba(240, 240, 240, 0.5);
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
border-radius: 10px;
|
||||||
|
box-shadow: inset 0 0 0 rgb(240 240 240 / 50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 定义滑块 内阴影+圆角 */
|
/* 定义滑块 内阴影+圆角 */
|
||||||
::-webkit-scrollbar-thumb {
|
::-webkit-scrollbar-thumb {
|
||||||
|
background-color: rgb(240 240 240 / 50%);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
box-shadow: inset 0 0 0 rgba(240, 240, 240, 0.5);
|
box-shadow: inset 0 0 0 rgb(240 240 240 / 50%);
|
||||||
background-color: rgba(240, 240, 240, 0.5);
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -132,11 +132,11 @@ const emitActivityChange = () => {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 60px;
|
width: 60px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
|
cursor: pointer;
|
||||||
border: 1px dashed var(--el-border-color-darker);
|
border: 1px dashed var(--el-border-color-darker);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
cursor: pointer;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.spu-pic {
|
.spu-pic {
|
||||||
|
|
|
||||||
|
|
@ -134,11 +134,11 @@ const emitActivityChange = () => {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 60px;
|
width: 60px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
|
cursor: pointer;
|
||||||
border: 1px dashed var(--el-border-color-darker);
|
border: 1px dashed var(--el-border-color-darker);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
cursor: pointer;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.spu-pic {
|
.spu-pic {
|
||||||
|
|
|
||||||
|
|
@ -394,11 +394,11 @@ onMounted(async () => {
|
||||||
|
|
||||||
.el-timeline-right-content {
|
.el-timeline-right-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
|
||||||
min-height: 30px;
|
min-height: 30px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: var(--el-card-border-radius);
|
|
||||||
background-color: var(--app-content-bg-color);
|
background-color: var(--app-content-bg-color);
|
||||||
|
border-radius: var(--el-card-border-radius);
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue