fix(manager端升级node版本): 更新多个组件的样式,替换 /deep/ 选择器为 ::v-deep,替换 node-sass 为 sass,优化依赖管理和兼容性,兼容node16版本

This commit is contained in:
Ryan Ran
2025-09-30 11:38:38 +08:00
parent 16c4a78e29
commit ae85f0d612
45 changed files with 161 additions and 93 deletions

View File

@@ -543,7 +543,7 @@ export default {
};
</script>
<style lang="scss" scoped>
/deep/ .ivu-table-wrapper {
::v-deep .ivu-table-wrapper {
overflow: auto;
}
.table {

View File

@@ -10,7 +10,7 @@ h4 {
margin: 20px 0;
font-size: 18px;
}
/deep/ .ivu-icon {
::v-deep .ivu-icon {
margin-left: 40px;
margin-right: 40px;
}

View File

@@ -66,16 +66,16 @@ export default {
};
</script>
<style scoped lang="scss">
/deep/ .ivu-select-dropdown {
::v-deep .ivu-select-dropdown {
text-align: left;
}
.message-con {
margin-right: 10px;
}
/deep/ .ivu-dropdown-item{
::v-deep .ivu-dropdown-item{
padding: 7px 20px !important;
}
/deep/ .ivu-badge-count{
::v-deep .ivu-badge-count{
right: -10px !important;
}
</style>

View File

@@ -49,7 +49,7 @@ export default {
this.selectNav(val.meta.firstRouterName)
}
}
}
}
},
methods: {
changeMenu(name) { //二级路由点击
@@ -90,7 +90,7 @@ export default {
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu), .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title-active:not(.ivu-menu-submenu){
color: $theme_color;
}
/deep/.ivu-menu-vertical .ivu-menu-item-group-title {
::v-deep.ivu-menu-vertical .ivu-menu-item-group-title {
height: 40px;
line-height: 40px;
padding-left: 20px;

View File

@@ -6,7 +6,7 @@
<Form-item label="会员ID" prop="id">
<Input type="text" v-model="searchForm.id" placeholder="请输入会员ID" clearable style="width: 240px" />
</Form-item>
<Form-item label="会员名称" prop="username">
<Input type="text" v-model="searchForm.username" placeholder="请输入会员名称" clearable style="width: 240px" />
</Form-item>
@@ -546,10 +546,10 @@ export default {
};
</script>
<style lang="scss" scoped>
/deep/ .ivu-table-wrapper {
::v-deep .ivu-table-wrapper {
width: 100%;
}
/deep/ .ivu-card {
::v-deep .ivu-card {
width: 100%;
}
.face {

View File

@@ -371,7 +371,7 @@ export default {
.search {
width: 460px;
margin: 0 auto;
/deep/ .ivu-input.ivu-input-large {
::v-deep .ivu-input.ivu-input-large {
border: 2px solid $theme_color;
font-size: 12px;
height: 34px;
@@ -379,7 +379,7 @@ export default {
box-shadow: none;
}
}
/deep/ .ivu-input-group-append {
::v-deep .ivu-input-group-append {
border: 1px solid $theme_color;
border-left: none;
height: 30px;

View File

@@ -1,4 +1,4 @@
/deep/ .ivu-modal-mask,
::v-deep .ivu-modal-mask,
.ivu-modal-wrap {
z-index: 800;
}

View File

@@ -84,7 +84,7 @@
text-align: center;
font-weight: bold;
line-height: 2;
/deep/ img {
::v-deep img {
margin: 0 auto;
}
}

View File

@@ -128,7 +128,7 @@ export default {
}
}
/deep/ .ivu-input {
::v-deep .ivu-input {
width: 70px !important;
}
@@ -138,7 +138,7 @@ export default {
}
.label-btns {
/deep/ .ivu-btn {
::v-deep .ivu-btn {
margin-right: 10px;
}
}

View File

@@ -1,4 +1,4 @@
/deep/ .ivu-input{
::v-deep .ivu-input{
width: 200px !important;
}
@@ -16,7 +16,7 @@
margin-right: 10px;
}
/deep/ .ivu-form-item-content {
::v-deep .ivu-form-item-content {
margin-left: 0 !important;
display: flex;
}

View File

@@ -116,7 +116,7 @@ export default {
width:500px;
justify-content:space-between;
}
/deep/ .ivu-input {
::v-deep .ivu-input {
width: 100px !important;
}
.ivu-input-wrapper {

View File

@@ -188,7 +188,7 @@ export default {
}
}
/deep/ .upload-list {
::v-deep .upload-list {
img {
width: 100%;
height: 100%;

View File

@@ -236,7 +236,7 @@ export default {
<style lang="scss" scoped>
.action {
display: flex;
/deep/ .ivu-btn {
::v-deep .ivu-btn {
margin: 0 5px !important;
}
}

View File

@@ -287,7 +287,7 @@ div.base-info-item {
}
/*teatarea*/
/deep/ .el-textarea {
::v-deep .el-textarea {
width: 150%;
}
@@ -315,11 +315,11 @@ div.base-info-item {
/*图片上传组件第一张图设置封面*/
.goods-images {
/deep/ li.el-upload-list__item:first-child {
::v-deep li.el-upload-list__item:first-child {
position: relative;
}
/deep/ li.el-upload-list__item:first-child:after {
::v-deep li.el-upload-list__item:first-child:after {
content: "封";
color: #fff;
font-weight: bold;

View File

@@ -213,7 +213,7 @@ export default {
};
</script>
<style lang="scss" scoped>
/deep/ .ivu-col {
::v-deep .ivu-col {
min-height: 100vh;
}
</style>

View File

@@ -862,7 +862,7 @@ export default {
z-index: 9;
}
/deep/ .ivu-tabs-bar {
::v-deep .ivu-tabs-bar {
margin: 0;
}

View File

@@ -782,7 +782,7 @@ export default {
z-index: 2;
}
}
/deep/ .box {
::v-deep .box {
color: #fff;
position: absolute;

View File

@@ -123,7 +123,7 @@ export default {
margin-right: 10px;
display: flex;
margin-bottom: 20px;
/deep/ .ivu-card-body {
::v-deep .ivu-card-body {
padding: 0 16px !important;
}
}

View File

@@ -133,7 +133,7 @@ export default {
margin-right: 20px;
display: flex;
margin-bottom: 20px;
/deep/ .ivu-card-body {
::v-deep .ivu-card-body {
padding: 0 16px !important;
}
}
@@ -151,7 +151,7 @@ export default {
padding-bottom: 10px;
flex-direction: column;
align-items: center;
/deep/ .ivu-btn {
::v-deep .ivu-btn {
width: 100px;
}
}

View File

@@ -132,7 +132,7 @@ export default {
margin-right: 20px;
display: flex;
margin-bottom: 20px;
/deep/ .ivu-card-body {
::v-deep .ivu-card-body {
padding: 0 16px !important;
}
}
@@ -150,7 +150,7 @@ export default {
padding-bottom: 10px;
flex-direction: column;
align-items: center;
/deep/ .ivu-btn {
::v-deep .ivu-btn {
width: 100px;
}
}

View File

@@ -90,12 +90,12 @@ export default {
display: flex;
}
.w200 {
/deep/ .ivu-input {
::v-deep .ivu-input {
width: 250px !important;
margin: 0 10px;
}
}
/deep/ .ivu-input {
::v-deep .ivu-input {
width: 450px !important;
margin: 0 10px;
}

View File

@@ -151,7 +151,7 @@ export default {
margin-right: 20px;
display: flex;
margin-bottom: 20px;
/deep/ .ivu-card-body {
::v-deep .ivu-card-body {
padding: 0 16px !important;
}
}

View File

@@ -118,13 +118,13 @@ export default {
}
.w200 {
/deep/ .ivu-input {
::v-deep .ivu-input {
width: 250px !important;
margin: 0 10px;
}
}
/deep/ .ivu-input {
::v-deep .ivu-input {
width: 450px !important;
margin: 0 10px;
}

View File

@@ -188,7 +188,7 @@ export default {
.label-item {
display: flex;
}
/deep/ .ivu-input {
::v-deep .ivu-input {
width: 100px !important;
}
</style>

View File

@@ -74,7 +74,7 @@ export default {
display: flex;
}
/deep/ .ivu-input {
::v-deep .ivu-input {
width: 300px !important;
margin: 0 10px;
}

View File

@@ -113,7 +113,7 @@ export default {
display: flex;
}
/deep/ .ivu-input {
::v-deep .ivu-input {
width: 300px !important;
margin: 0 10px;
}

View File

@@ -124,7 +124,7 @@ export default {
margin-right: 10px;
}
/deep/ .ivu-input {
::v-deep .ivu-input {
width: 100px !important;
}

View File

@@ -161,7 +161,7 @@ export default {
display: flex;
}
/deep/ .ivu-input {
::v-deep .ivu-input {
width: 300px !important;
margin: 0 10px;
}

View File

@@ -172,7 +172,7 @@ export default {
}
}
/deep/ .ivu-input {
::v-deep .ivu-input {
width: 70px !important;
}
@@ -182,7 +182,7 @@ export default {
}
.label-btns {
/deep/ .ivu-btn {
::v-deep .ivu-btn {
margin-right: 10px;
}
}

View File

@@ -160,7 +160,7 @@ export default {
display: flex;
}
/deep/ .ivu-input {
::v-deep .ivu-input {
width: 300px !important;
margin: 0 10px;
}

View File

@@ -98,7 +98,7 @@ export default {
<style lang="scss" scoped>
@import "./style.scss";
/deep/ .ivu-form-item-content{
::v-deep .ivu-form-item-content{
align-items: center;
padding-bottom: 5px;
}

View File

@@ -1,4 +1,4 @@
/deep/ .ivu-input{
::v-deep .ivu-input{
width: 200px !important;
}
@@ -21,7 +21,7 @@
margin-right: 10px;
}
/deep/ .ivu-form-item-content {
::v-deep .ivu-form-item-content {
margin-left: 0 !important;
display: flex;
}