diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 1339db98..23bc4561 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -473,8 +473,8 @@ li{ } .el-button--default { - color: rgba(0, 0, 0, .2); - border-color: rgba(0, 0, 0, .1); + color: rgba(0, 0, 0, .3); + border-color: rgba(0, 0, 0, .3); background-color: #FFFFFF; } diff --git a/src/views/course/ManageListRemote.vue b/src/views/course/ManageListRemote.vue index 03a9823d..150f2c44 100644 --- a/src/views/course/ManageListRemote.vue +++ b/src/views/course/ManageListRemote.vue @@ -63,13 +63,6 @@ -
- - - - -
-
@@ -87,6 +80,12 @@
+
+ + + + +
@@ -179,7 +178,7 @@ @@ -1116,7 +1115,14 @@ export default { this.$showMessage('置顶成功!', 'success') this.searchData(); } else if (res.status === 500) { - this.$showMessage('已置顶10条课程,若需继续置顶,请对部分课程执行取消置顶操作', 'error'); + const confirmText = `已置顶10条课程,若需继续置顶,请对部分课程执行取消置顶操作`; + this.$confirm(confirmText, '置顶确认', { + confirmButtonText: '确定', + cancelButtonText: '取消', + dangerouslyUseHTMLString: true, + type: 'warning', + customClass: 'custom-confirm-dialog' + }).then(() => {}).catch(() => { }); } else { this.$showMessage(res.message, 'error'); }