Commit 72679e1d by 李长胜

修改设置套餐中的套餐

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