进行一些调整、优化效果
This commit is contained in:
@@ -75,7 +75,7 @@ export default {
|
||||
|
||||
// 清空
|
||||
btnClear() {
|
||||
this.$confirm('确定要清空输入和输出的内容吗?', '确认', {
|
||||
this.$confirm('确定要清空输入和输出的内容吗?', '', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
|
@@ -85,10 +85,6 @@ export default {
|
||||
line-height: 1.8rem;
|
||||
font-size: 0.85rem;
|
||||
color: #888;
|
||||
|
||||
/deep/ .el-link {
|
||||
font-size: inherit;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -47,13 +47,14 @@ export default {
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
|
||||
/**
|
||||
* 清除数据
|
||||
*
|
||||
* @param {string} type 清除类型(cache、settings)
|
||||
*/
|
||||
resetDatas(type) {
|
||||
this.$confirm('确定要清除吗?', '确认', {
|
||||
this.$confirm('确定要清除吗?', '', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
@@ -85,6 +86,7 @@ export default {
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
@@ -45,9 +45,24 @@ export default {
|
||||
|
||||
> div {
|
||||
> .title {
|
||||
padding: 1rem 0;
|
||||
position: relative;
|
||||
margin: 1.5rem 0;
|
||||
font-size: 1rem;
|
||||
font-weight: bold;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
> .title::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -0.5rem;
|
||||
width: 0.2rem;
|
||||
height: 100%;
|
||||
background-color: @colorPrimary;
|
||||
}
|
||||
|
||||
> .content {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user