Commit 50a90400 by chenwq

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

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