Commit 72679e1d by 李长胜

修改设置套餐中的套餐

1 parent 3976c239
......@@ -202,7 +202,7 @@ export default {
}
}
})
this.copyTotalPrice = this.totalPrice
this.copyRuleForm = JSON.parse(JSON.stringify(this.ruleForm)) //深拷贝一份数据
this.copyChoseItemList = this.choseItemList
......@@ -224,7 +224,7 @@ export default {
serviceQuantity: 0
}
})
if (this.id) {
this.getServiceInfo() //获取编辑详情
}
......@@ -400,8 +400,7 @@ export default {
...ele,
serviceId: ele.id
}
})
console.log('确定之后choseItemList', this.choseItemList)
})
this.setmealDialogVisible = false
},
handleClose() {
......@@ -520,141 +519,158 @@ export default {
z-index: 999;
box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
}
/deep/.el-dialog__headerbtn {
background-color: #d9e0f5;
width: 25px;
height: 25px;
border-radius: 50%;
.setmealServiceDialog {
/deep/.el-dialog__headerbtn {
background-color: #d9e0f5;
width: 25px;
height: 25px;
border-radius: 50%;
.el-dialog__close {
color: #5850ff;
font-weight: bold;
.el-dialog__close {
color: #5850ff;
font-weight: bold;
}
}
}
/deep/ .el-dialog__header .el-dialog__title {
font-size: 16px;
/deep/ .el-dialog__header .el-dialog__title {
font-size: 16px;
font-weight: 700;
color: #000000;
}
/deep/ .el-dialog__body {
border-top: 1px solid #e6e6e6;
border-bottom: 1px solid #e6e6e6;
padding: 0px 25px;
.content-body {
max-height: 446px;
.subTitle {
margin-top: 20px;
margin-bottom: 20px;
span:first-child {
font-size: 16px;
font-weight: 700;
color: #000000;
}
/deep/ .el-dialog__body {
border-top: 1px solid #e6e6e6;
border-bottom: 1px solid #e6e6e6;
padding: 0px 25px;
.content-body {
max-height: 446px;
.subTitle {
margin-top: 20px;
margin-bottom: 20px;
span:first-child {
font-size: 16px;
font-weight: 400;
color: #000000;
}
span:last-child {
font-size: 14px;
font-weight: 400;
color: #000000;
}
span:last-child {
font-size: 14px;
font-weight: 500;
color: #5850ff;
cursor: pointer;
font-weight: 500;
color: #5850ff;
cursor: pointer;
}
}
}
.itemWrap {
display: grid;
grid-template-columns: repeat(4, 1fr);
.item {
.itemBox {
margin-bottom: 10px;
width: 240px;
height: 132px;
border-radius: 4px;
border: 2px solid #e6e6e6;
&:hover {
border: 2px solid #5850ff;
cursor: pointer;
}
div {
text-align: center;
margin-bottom: 5px;
}
.name {
margin-top: 15px;
font-size: 18px;
.itemWrap {
display: grid;
grid-template-columns: repeat(4, 1fr);
.item {
.itemBox {
margin-bottom: 10px;
width: 240px;
height: 132px;
border-radius: 4px;
border: 2px solid #e6e6e6;
&:hover {
border: 2px solid #5850ff;
cursor: pointer;
}
div {
text-align: center;
margin-bottom: 5px;
}
.name {
margin-top: 15px;
font-size: 18px;
font-weight: 700;
color: #333333;
}
.price {
font-size: 24px;
font-weight: 700;
color: #333333;
}
.price {
font-size: 24px;
font-weight: 700;
color: #ff5151;
> span {
font-size: 16px;
font-weight: 700;
color: #ff5151;
> span {
font-size: 16px;
}
}
}
.effectiveRange,
.useTime {
font-size: 12px;
.effectiveRange,
.useTime {
font-size: 12px;
font-weight: 400;
color: #666666;
font-weight: 400;
color: #666666;
}
}
}
.s-checkd {
border: 2px solid #5850ff;
}
.optionBtns {
text-align: center;
margin: 0 0 25px;
width: 240px;
.numWrap {
display: inline-block;
background-color: #fff;
border-radius: 3px;
border: 1px solid #e8e8ea;
min-width: 34px;
height: 22px;
text-align: center;
line-height: 22px;
margin: 0 2px;
padding: 1px 0;
.s-checkd {
border: 2px solid #5850ff;
}
.addsubBtn {
background-color: #fff;
color: #5850ff;
padding: 5px 9px;
.optionBtns {
text-align: center;
margin: 0 0 25px;
width: 240px;
.numWrap {
display: inline-block;
background-color: #fff;
border-radius: 3px;
border: 1px solid #e8e8ea;
min-width: 34px;
height: 22px;
text-align: center;
line-height: 22px;
margin: 0 2px;
padding: 1px 0;
}
.addsubBtn {
background-color: #fff;
color: #5850ff;
padding: 5px 9px;
}
}
}
}
}
.amountTo {
margin-top: 17px;
margin-bottom: 28px;
text-align: center;
.bottomText {
font-size: 16px;
font-weight: 400;
color: #000000;
}
.smallRedText {
font-size: 16px;
color: #ff5151;
}
.redText {
font-size: 24px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #ff5151;
.amountTo {
margin-top: 17px;
margin-bottom: 28px;
text-align: center;
.bottomText {
font-size: 16px;
font-weight: 400;
color: #000000;
}
.smallRedText {
font-size: 16px;
color: #ff5151;
}
.redText {
font-size: 24px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #ff5151;
}
}
}
}
/deep/ .el-dialog__footer {
text-align: center;
.el-button + .el-button {
margin-left: 40px;
}
}
}
/deep/ .el-dialog__footer {
text-align: center;
.el-button + .el-button {
margin-left: 40px;
.tipDialog {
/deep/ .el-dialog__body {
border-bottom: 1px solid #e6e6e6;
padding: 20px 25px;
.content-body {
font-size: 18px;
text-align: center;
font-weight: 400;
color: #333333;
}
}
/deep/ .el-dialog__footer {
text-align: center;
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!