mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-11-13 20:38:54 +08:00
style(manager): 热区面板 tab 切换改为分段控件样式
This commit is contained in:
@@ -166,19 +166,24 @@ export default {
|
|||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.panel-tabs {
|
.panel-tabs {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
background: #f4f4f5;
|
||||||
gap: 8px;
|
border-radius: 8px;
|
||||||
|
padding: 3px;
|
||||||
margin-bottom: 14px;
|
margin-bottom: 14px;
|
||||||
.panel-tab {
|
.panel-tab {
|
||||||
padding: 5px 18px;
|
flex: 1;
|
||||||
|
text-align: center;
|
||||||
|
padding: 6px 0;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
border-radius: 999px;
|
border-radius: 6px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: #606266;
|
color: #606266;
|
||||||
background: #f4f4f5;
|
transition: all 0.2s ease;
|
||||||
&.active {
|
&.active {
|
||||||
background: #409eff;
|
background: #ffffff;
|
||||||
color: #fff;
|
color: #409eff;
|
||||||
|
font-weight: 600;
|
||||||
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user