Switch to dart-sass and make deploy script fail-safe

node-sass 4.x cannot build on arm64/Node 16. Use sass with ::v-deep
instead of /deep/, and only replace the server dist after the upload
is unpacked and verified.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-17 19:18:37 +08:00
co-authored by Claude Opus 5
parent 276636f70f
commit e282bd23e8
78 changed files with 20279 additions and 219 deletions
@@ -642,21 +642,21 @@ export default {
-webkit-transform: translate(-50%);
transform: translate(-50%);
}
/deep/ .el-form-item__content {
::v-deep .el-form-item__content {
display: flex;
}
/deep/ .el-select {
::v-deep .el-select {
width: 100%;
}
/deep/ .el-date-editor.el-input,
::v-deep .el-date-editor.el-input,
.el-date-editor.el-input__inner {
width: 100%;
}
/deep/ .el-upload-list--picture-card .el-upload-list__item {
::v-deep .el-upload-list--picture-card .el-upload-list__item {
width: 120px;
height: 120px;
}
/deep/ .el-upload--picture-card {
::v-deep .el-upload--picture-card {
width: 120px;
height: 120px;
line-height: 130px;