2023-11-3-1

This commit is contained in:
X1627315083
2023-11-03 11:16:42 +08:00
parent 769c06e6f9
commit 5b6844a9f0
26 changed files with 1512 additions and 517 deletions

View File

@@ -1060,10 +1060,10 @@ export default defineComponent({
content: "";
display: block;
background: #000;
height: 3px;
height: .4rem;
left: 50%;
transform: translateX(-50%);
bottom: 6px;
bottom: .6rem;
width: 0px;
transition: 0.3s all;
}

View File

@@ -477,7 +477,7 @@ export default defineComponent({
// return `rgb(${r}, ${g}, ${b})`;
// box.style.backgroundColor = label.textContent = result.sRGBHex;
} catch (e) {
message.error(this.t('DesignDetailAlter.jsContent1'))
message.warning(this.t('DesignDetailAlter.jsContent1'))
}
})
},
@@ -927,49 +927,49 @@ export default defineComponent({
position: relative;
justify-content: space-around;
.switch_type_item {
display: flex;
align-items: center;
// padding: 0 2rem;
height: 4rem;
background: #fff;
border-radius: 0.8rem;
line-height: 4rem;
font-size: 1.6rem;
// margin-right: 2.2rem;
color: #000;
cursor: pointer;
position: relative;
text-align: center;
transform-origin: left;
transform: scale(1);
transition: 0.3s all;
&.switch_type_item::before {
position: absolute;
content: "";
display: block;
background: #000;
height: .3rem;
left: 50%;
transform: translateX(-50%);
bottom: .6rem;
width: 0px;
transition: 0.3s all;
}
&.select_swtich {
color: #000;
font-weight: 600;
transform: scale(1.15);
}
&.select_swtich::before {
width: 100%;
}
// .switch_type_item {
// display: flex;
// align-items: center;
// // padding: 0 2rem;
// height: 4rem;
// background: #fff;
// border-radius: 0.8rem;
// line-height: 4rem;
// font-size: 1.6rem;
// // margin-right: 2.2rem;
// color: #000;
// cursor: pointer;
// position: relative;
// text-align: center;
// transform-origin: left;
// transform: scale(1);
// transition: 0.3s all;
// &.switch_type_item::before {
// position: absolute;
// content: "";
// display: block;
// background: #000;
// height: .3rem;
// left: 50%;
// transform: translateX(-50%);
// bottom: .4rem;
// width: 0px;
// transition: 0.3s all;
// }
// &.select_swtich {
// color: #000;
// font-weight: 600;
// transform: scale(1.15);
// }
// &.select_swtich::before {
// width: 100%;
// }
.switch_icon {
font-size: 1.8rem;
margin-right: 0.8rem;
}
}
// .switch_icon {
// font-size: 1.8rem;
// margin-right: 0.8rem;
// }
// }
}

View File

@@ -353,6 +353,7 @@ export default defineComponent({
display: flex;
flex: 1;
align-items: center;
align-items: flex-start;
}
}
.print_left{

View File

@@ -229,6 +229,7 @@ export default defineComponent({
},
'workspaceItem.id_':{
handler(newVal:any,oldVal:any){
// this.store.state.Workspace.workspace
// if(!newVal){
// this.store.commit("setWorkspace", this.workspaceItem);
@@ -908,30 +909,6 @@ export default defineComponent({
margin-right: 8px;
margin-bottom: 8px;
}
.habit :deep(.ant-btn:hover),
:deep(.ant-btn:focus),
:deep(.ant-btn:active),
:deep(.ant-btn::after) {
color: #000;
border-color: #000 !important;
box-shadow: none !important;
}
:deep(.ant-switch-checked) {
background-color: #000;
.ant-switch-handle{
left: calc(100% - 1.8rem - .2rem);
}
}
:deep(.ant-switch){
min-width: 4.4rem;
height: 2.2rem;
line-height: 2.2rem;
.ant-switch-handle{
width: 1.8rem;
height: 1.8rem;
}
}
.habit :deep(.ant-btn) {
box-shadow: none !important;
color: rgba(0, 0, 0, 0.5);