Commit 50a90400 by chenwq

style(signManage): 优化签名管理页面样式和确认按钮样式

- 将样式从scoped改为lang="scss"并嵌套类名
- 添加sign-manage类名作为样式根节点
- 新增confirmBtnClass样式类用于确认按钮
1 parent 692cc9d7
<template>
<div class="shop">
<div class="shop sign-manage">
<div class="container" style="height: calc(100vh - 160px)">
<!-- <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="showFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm> -->
<div class="table-header">
......@@ -137,7 +137,8 @@ export default {
this.$confirm('签名预设最多添加5个,请知悉。', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
showCancelButton: false,
confirmButtonClass: 'confirmBtnClass',
showCancelButton: false,
type: 'warning'
}).then(() => {
}).catch(() => { })
......@@ -193,31 +194,39 @@ export default {
}
}
</script>
<style scoped>
.img-36 {
width: 101px;
height: 36px;
}
.import-btn {
position: relative;
width: 116px;
height: 32px;
text-align: center;
background: #5850ff;
border-radius: 4px;
color: #ffffff;
font-size: 14px;
margin-right: 8px;
}
<style lang="scss">
.sign-manage {
.img-36 {
width: 101px;
height: 36px;
}
.import-btn {
position: relative;
width: 116px;
height: 32px;
text-align: center;
background: #5850ff;
border-radius: 4px;
color: #ffffff;
font-size: 14px;
margin-right: 8px;
}
.import-input {
opacity: 0;
position: absolute;
right: 0;
top: 0;
width: 98px;
height: 36px;
cursor: pointer;
font-size: 0;
.import-input {
opacity: 0;
position: absolute;
right: 0;
top: 0;
width: 98px;
height: 36px;
cursor: pointer;
font-size: 0;
}
}
.confirmBtnClass {
color: #fff !important;
border-color: #5850ff !important;
background-color: #5850ff !important;
opacity: 1 !important;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!