Commit 113ac8ea by 匡雅琴

Merge branch 'huy_dev_v2.7.0' into 'v2.7.0'

确认弹框按钮样式调整

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