mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-16 16:05:52 +08:00
feat(seller端升级node版本): 添加 .npmrc 和 .yarnrc 文件以支持引擎配置,更新 package.json 中的引擎要求并替换 node-sass 为 sass,优化依赖管理和兼容性,兼容node16版本
This commit is contained in:
1
seller/.npmrc
Normal file
1
seller/.npmrc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
engine-strict=false
|
||||||
1
seller/.yarnrc
Normal file
1
seller/.yarnrc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
--ignore-engines true
|
||||||
@@ -4,6 +4,9 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"description": "lilishop-ui",
|
"description": "lilishop-ui",
|
||||||
"author": "lili-platform",
|
"author": "lili-platform",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
"build": "vue-cli-service build",
|
"build": "vue-cli-service build",
|
||||||
@@ -15,10 +18,10 @@
|
|||||||
"axios": "^0.21.1",
|
"axios": "^0.21.1",
|
||||||
"dplayer": "^1.27.1",
|
"dplayer": "^1.27.1",
|
||||||
"js-cookie": "^2.2.1",
|
"js-cookie": "^2.2.1",
|
||||||
"node-sass": "^4.14.1",
|
"sass": "^1.63.6",
|
||||||
"price-color": "^1.0.2",
|
"price-color": "^1.0.2",
|
||||||
"s": "^1.0.0",
|
"s": "^1.0.0",
|
||||||
"sass-loader": "^8.0.2",
|
"sass-loader": "^10.4.1",
|
||||||
"sockjs-client": "^1.4.0",
|
"sockjs-client": "^1.4.0",
|
||||||
"swiper": "^6.3.5",
|
"swiper": "^6.3.5",
|
||||||
"uuid": "^8.3.2",
|
"uuid": "^8.3.2",
|
||||||
@@ -51,6 +54,8 @@
|
|||||||
"vue-template-compiler": "^2.6.10"
|
"vue-template-compiler": "^2.6.10"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"minimatch": "^3.1.2"
|
"minimatch": "^3.1.2",
|
||||||
|
"node-sass": "npm:sass@^1.63.6",
|
||||||
|
"@achrinza/node-ipc": "9.2.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -256,7 +256,7 @@ export default {
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
/deep/ .ivu-table-wrapper {
|
::v-deep .ivu-table-wrapper {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.table {
|
.table {
|
||||||
|
|||||||
@@ -85,7 +85,7 @@
|
|||||||
flex-wrap: wrap !important;
|
flex-wrap: wrap !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .sku-item-content-val {
|
::v-deep .sku-item-content-val {
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -215,7 +215,7 @@ div.base-info-item {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*teatarea*/
|
/*teatarea*/
|
||||||
/deep/ .el-textarea {
|
::v-deep .el-textarea {
|
||||||
width: 150%;
|
width: 150%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -226,7 +226,7 @@ div.base-info-item {
|
|||||||
|
|
||||||
/*折叠面板*/
|
/*折叠面板*/
|
||||||
.el-collapse-item {
|
.el-collapse-item {
|
||||||
/deep/ .el-collapse-item__header {
|
::v-deep .el-collapse-item__header {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
background-color: #f8f8f8;
|
background-color: #f8f8f8;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
@@ -240,7 +240,7 @@ div.base-info-item {
|
|||||||
width: 25%;
|
width: 25%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .el-form-item__content {
|
::v-deep .el-form-item__content {
|
||||||
margin-left: 120px;
|
margin-left: 120px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
@@ -251,7 +251,7 @@ div.base-info-item {
|
|||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .el-collapse-item__content {
|
::v-deep .el-collapse-item__content {
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
@@ -296,11 +296,11 @@ div.base-info-item {
|
|||||||
|
|
||||||
/*图片上传组件第一张图设置封面*/
|
/*图片上传组件第一张图设置封面*/
|
||||||
.goods-images {
|
.goods-images {
|
||||||
/deep/ li.el-upload-list__item:first-child {
|
::v-deep li.el-upload-list__item:first-child {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ li.el-upload-list__item:first-child:after {
|
::v-deep li.el-upload-list__item:first-child:after {
|
||||||
content: "封";
|
content: "封";
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -394,7 +394,7 @@ div.base-info-item {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.required {
|
.required {
|
||||||
/deep/ .ivu-form-item-label::before {
|
::v-deep .ivu-form-item-label::before {
|
||||||
content: "*";
|
content: "*";
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
@@ -483,7 +483,7 @@ div.base-info-item {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
/deep/ img {
|
::v-deep img {
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
width: 100px;
|
width: 100px;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
@@ -491,7 +491,7 @@ div.base-info-item {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/deep/ p {
|
::v-deep p {
|
||||||
color: #999;
|
color: #999;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
|||||||
@@ -254,7 +254,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import "./addGoods.scss";
|
@import "./addGoods.scss";
|
||||||
/deep/ .ivu-scroll-container {
|
::v-deep .ivu-scroll-container {
|
||||||
height: 450px !important;
|
height: 450px !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ h4 {
|
|||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
/deep/ .ivu-icon {
|
::v-deep .ivu-icon {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
.rate-box {
|
.rate-box {
|
||||||
@@ -82,7 +82,7 @@ h4 {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
width: 286px;
|
width: 286px;
|
||||||
display: flex;
|
display: flex;
|
||||||
/deep/ span {
|
::v-deep span {
|
||||||
color: $theme_color;
|
color: $theme_color;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -295,7 +295,7 @@ export default {
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import "./home.scss";
|
@import "./home.scss";
|
||||||
.noticesDetail{
|
.noticesDetail{
|
||||||
/deep/ img{
|
::v-deep img{
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 200px;
|
max-height: 200px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ export default {
|
|||||||
margin: 0 4px;
|
margin: 0 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/deep/ .ivu-modal-body {
|
::v-deep .ivu-modal-body {
|
||||||
height: 400px !important;
|
height: 400px !important;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -80,11 +80,11 @@ export default {
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
/deep/ .ivu-modal {
|
::v-deep .ivu-modal {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 650px !important;
|
height: 650px !important;
|
||||||
}
|
}
|
||||||
/deep/ .ivu-modal-body {
|
::v-deep .ivu-modal-body {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 500px;
|
height: 500px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
@@ -64,11 +64,11 @@ export default {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .ivu-modal {
|
::v-deep .ivu-modal {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 650px !important;
|
height: 650px !important;
|
||||||
}
|
}
|
||||||
/deep/ .ivu-modal-body {
|
::v-deep .ivu-modal-body {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 500px;
|
height: 500px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
@@ -36,11 +36,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/deep/ .ivu-scroll-container {
|
::v-deep .ivu-scroll-container {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
height: 400px !important;
|
height: 400px !important;
|
||||||
}
|
}
|
||||||
/deep/ .ivu-scroll-content {
|
::v-deep .ivu-scroll-content {
|
||||||
/* */
|
/* */
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
/deep/ img {
|
::v-deep img {
|
||||||
width: 60px;
|
width: 60px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
@@ -127,7 +127,7 @@ export default {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
transition: 0.35s;
|
transition: 0.35s;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
/deep/ p {
|
::v-deep p {
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
}
|
}
|
||||||
border: 1px solid #ededed;
|
border: 1px solid #ededed;
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ export default {
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
/deep/ .ivu-card-body {
|
::v-deep .ivu-card-body {
|
||||||
height: 414px;
|
height: 414px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
@@ -69,11 +69,11 @@ export default {
|
|||||||
height: 416px;
|
height: 416px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
/deep/ .ivu-table {
|
::v-deep .ivu-table {
|
||||||
height: 300px !important;
|
height: 300px !important;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
/deep/ .ivu-card-body {
|
::v-deep .ivu-card-body {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,8 +19,8 @@
|
|||||||
.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){
|
.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: #ed3f14;
|
color: #ed3f14;
|
||||||
}
|
}
|
||||||
/deep/.ivu-menu-vertical .ivu-menu-item-group-title {
|
::v-deep .ivu-menu-vertical .ivu-menu-item-group-title{
|
||||||
height: 40px;
|
height: 40px;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -267,7 +267,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ivu-tag-primary{
|
.ivu-tag-primary{
|
||||||
/deep/ .ivu-tag-dot-inner{
|
::v-deep .ivu-tag-dot-inner{
|
||||||
background: $theme_color !important;
|
background: $theme_color !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -381,7 +381,7 @@ export default {
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
/deep/ .ivu-col {
|
::v-deep .ivu-col {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ img {
|
|||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
}
|
}
|
||||||
/deep/ .btn {
|
::v-deep .btn {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -532,7 +532,7 @@ export default {
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.action {
|
.action {
|
||||||
display: flex;
|
display: flex;
|
||||||
/deep/ .ivu-btn {
|
::v-deep .ivu-btn {
|
||||||
margin: 0 5px !important;
|
margin: 0 5px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ export default {
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
/deep/ .ivu-form-item {
|
::v-deep .ivu-form-item {
|
||||||
padding: 18px 10px !important;
|
padding: 18px 10px !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -225,7 +225,7 @@
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
// 建议引入通用样式 可删除下面样式代码
|
// 建议引入通用样式 可删除下面样式代码
|
||||||
@import "@/styles/table-common.scss";
|
@import "@/styles/table-common.scss";
|
||||||
/deep/ .ivu-col{
|
::v-deep .ivu-col{
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -654,7 +654,7 @@ table {
|
|||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|
||||||
/deep/ span {
|
::v-deep span {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
|
|||||||
@@ -57,11 +57,11 @@ export default {
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
/deep/ .ivu-modal {
|
::v-deep .ivu-modal {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 650px !important;
|
height: 650px !important;
|
||||||
}
|
}
|
||||||
/deep/ .ivu-modal-body {
|
::v-deep .ivu-modal-body {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 500px;
|
height: 500px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
@@ -353,7 +353,7 @@ export default {
|
|||||||
.search {
|
.search {
|
||||||
width: 460px;
|
width: 460px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
/deep/ .ivu-input.ivu-input-large {
|
::v-deep .ivu-input.ivu-input-large {
|
||||||
border: 2px solid $theme_color;
|
border: 2px solid $theme_color;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
height: 34px;
|
height: 34px;
|
||||||
@@ -361,7 +361,7 @@ export default {
|
|||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/deep/ .ivu-input-group-append {
|
::v-deep .ivu-input-group-append {
|
||||||
border: 1px solid $theme_color;
|
border: 1px solid $theme_color;
|
||||||
border-left: none;
|
border-left: none;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
/deep/ .ivu-modal-mask,.ivu-modal-wrap{
|
::v-deep .ivu-modal-mask,::v-deep .ivu-modal-wrap{
|
||||||
z-index: 800;
|
z-index: 800;
|
||||||
}
|
}
|
||||||
.decorate-view-link{
|
.decorate-view-link{
|
||||||
|
|||||||
@@ -84,7 +84,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 2;
|
line-height: 2;
|
||||||
/deep/ img {
|
::v-deep img {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -718,7 +718,7 @@ export default {
|
|||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/deep/ .box {
|
::v-deep .box {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user