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,7 +137,8 @@ export default { ...@@ -137,7 +137,8 @@ export default {
this.$confirm('签名预设最多添加5个,请知悉。', '提示', { this.$confirm('签名预设最多添加5个,请知悉。', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
showCancelButton: false, confirmButtonClass: 'confirmBtnClass',
showCancelButton: false,
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
}).catch(() => { }) }).catch(() => { })
...@@ -193,31 +194,39 @@ export default { ...@@ -193,31 +194,39 @@ export default {
} }
} }
</script> </script>
<style scoped> <style lang="scss">
.img-36 { .sign-manage {
width: 101px; .img-36 {
height: 36px; width: 101px;
} height: 36px;
.import-btn { }
position: relative; .import-btn {
width: 116px; position: relative;
height: 32px; width: 116px;
text-align: center; height: 32px;
background: #5850ff; text-align: center;
border-radius: 4px; background: #5850ff;
color: #ffffff; border-radius: 4px;
font-size: 14px; color: #ffffff;
margin-right: 8px; font-size: 14px;
} margin-right: 8px;
}
.import-input { .import-input {
opacity: 0; opacity: 0;
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
width: 98px; width: 98px;
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!