Commit 0dd35f6c by chenwq

style(dateSearch): 调整tab板块显示逻辑与布局样式

修改日期搜索组件tab板块的显示条件,仅在选中第三个标签时展示该板块;调整flex布局对齐方式,注释冗余的max-width样式规则
1 parent 3621c6f0
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="date-screen-wrapper"> <div class="date-screen-wrapper">
<div class="date-screen"> <div class="date-screen">
<div <div
v-if="!tabSelected || tabSelected == 3" v-if="tabSelected == 3"
class="tab-section" class="tab-section"
:class="{ isSticky }" :class="{ isSticky }"
:style="{ background: customBackground }" :style="{ background: customBackground }"
...@@ -442,10 +442,10 @@ export default { ...@@ -442,10 +442,10 @@ export default {
box-sizing: border-box; box-sizing: border-box;
height: 28px; height: 28px;
flex: 1; flex: 1;
max-width: calc(100% - 139px); // max-width: calc(100% - 139px);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-around; justify-content: space-between;
.date-text { .date-text {
font-size: 13px; font-size: 13px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!