Commit e9d004fd by 匡雅琴

确认弹框按钮样式调整

1 parent 3069d2bc
......@@ -73,15 +73,19 @@ $base-color: '#5850FF';
}
.confirm-btn {
.el-message-box__status+.el-message-box__message {
padding: 112.5px 36px 36px;
}
.confirmbtn {
border-color: var(--primaryColor, #5850ff) !important;
border-color: #5850ff !important;
color: #fff !important;
background-color: var(--primaryColor, #5850ff) !important;
&:hover {
background-color: #8883fd;
}
background-color: #5850ff !important;
&:active {
background-color: #3a32e1;
}
&:focus {
background-color: #5850ff !important;
opacity: 1 !important;
}
}
}
......@@ -30,7 +30,7 @@
</div>
<template slot="auth-button" slot-scope="scope" :data="scope.scope" v-if="scope.scope.isBuyPermit">
<GLTableButton :buttonList="buttonList" :buttonItem="scope.scope"></GLTableButton>
<!-- <el-button type="text" @click="viewConfig(scope.scope)">查看</el-button> -->
<el-button type="text" @click="viewConfig(scope.scope)">查看</el-button>
<!-- <el-button type="text" @click="handelActivate(scope.scope)" :loading="loading">一键激活许可</el-button> -->
</template>
</GLTable>
......@@ -222,10 +222,10 @@ export default {
if (res) {
// <i class="el-icon-success" style="color:#2CCA74;font-size:48px;"></i>
var txt = '<p>已激活&nbsp;' + `${res.data ? res.data : 0}` + '&nbsp;个</p>'
this.$alert(txt, '提示', {
this.$confirm(txt, '提示', {
confirmButtonText: '我知道了',
dangerouslyUseHTMLString: true,
// showCancelButton: false,
showCancelButton: false,
confirmButtonClass: 'confirmbtn',
type: 'success',
customClass: 'gl-message-box confirm-btn',
......@@ -262,9 +262,6 @@ export default {
</script>
<style lang="scss" scoped>
/deep/ .el-button .el-button--default .el-button--small .el-button--primary .confirmbtn {
color: red !important;
}
.container {
.table-box {
margin: 20px 0;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!