@24city/web-console 0.3.5 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/styles.css CHANGED
@@ -3548,21 +3548,42 @@
3548
3548
  /*
3549
3549
  * 内容广场版式(参照小红书聚光「创意 → 内容广场」):居中大标题 + 800px 搜索框,滚动时标题淡出、
3550
3550
  * 搜索框吸顶并展开到整行;分类卡片下方是平铺筛选面板和吸顶排序条,之后是结果。
3551
- * --hero-progress(0 → 1)由组件脚本按滚动位置写入。颜色只引用 Semi 设计变量。
3551
+ * 传了 nav 是“一块画布”:分类入口、搜索条、分类、筛选面板同为白底,上下相接成一块,没有大标题。
3552
+ * --hero-progress(0 → 1)与 data-stuck、data-modes 由组件脚本写入。颜色只引用 Semi 设计变量。
3552
3553
  */
3553
3554
 
3554
- ._square_no027_7 {
3555
+ ._square_1aeey_8 {
3555
3556
  --hero-progress: 0;
3556
3557
  --square-search-height: 60px;
3557
3558
  --square-search-padding: 20px;
3558
3559
  --square-filters-height: 48px;
3560
+ /* 匹配方式页签的高度;只有搜索框带页签时(data-modes)才计入吸顶位置的上移量。 */
3561
+ --square-modes-height: 32px;
3562
+ --square-modes-offset: 0px;
3559
3563
 
3560
3564
  display: flex;
3561
3565
  min-width: 0;
3562
3566
  flex-direction: column;
3563
3567
  }
3564
3568
 
3565
- ._heroTitle_no027_18.semi-typography {
3569
+ ._square_1aeey_8[data-modes='true'] {
3570
+ --square-modes-offset: var(--square-modes-height);
3571
+ }
3572
+
3573
+ /* 有 nav 时不显示大标题,h1 只给读屏。 */
3574
+ ._hiddenTitle_1aeey_27.semi-typography {
3575
+ position: absolute;
3576
+ width: 1px;
3577
+ height: 1px;
3578
+ margin: -1px;
3579
+ padding: 0;
3580
+ overflow: hidden;
3581
+ border: 0;
3582
+ clip-path: inset(50%);
3583
+ white-space: nowrap;
3584
+ }
3585
+
3586
+ ._heroTitle_1aeey_39.semi-typography {
3566
3587
  margin: 56px 0 4px;
3567
3588
  color: var(--semi-color-text-0);
3568
3589
  font-size: var(--app-font-size-h1);
@@ -3574,33 +3595,36 @@
3574
3595
  transform-origin: center bottom;
3575
3596
  }
3576
3597
 
3577
- ._heroAccent_no027_30 {
3598
+ ._heroAccent_1aeey_51 {
3578
3599
  color: rgb(var(--app-brand-6));
3579
3600
  }
3580
3601
 
3581
- /* 搜索条吸在顶栏下方,自带页面底色,遮住滚上来的内容。 */
3582
- ._searchBar_no027_35 {
3602
+ /*
3603
+ * 搜索条吸在顶栏下方,自带页面底色,遮住滚上来的内容。带匹配方式页签时吸顶位置上移一个页签的高度:
3604
+ * 页签藏到顶栏后面(并淡出),吸顶条的高度和没有页签时一样,排序条照旧紧贴在它下面。
3605
+ */
3606
+ ._searchBar_1aeey_59 {
3583
3607
  position: sticky;
3584
3608
  z-index: var(--app-z-sticky);
3585
- top: var(--app-header-height);
3609
+ top: calc(var(--app-header-height) - var(--square-modes-offset));
3586
3610
  margin-bottom: 56px;
3587
3611
  padding: var(--square-search-padding) 0;
3588
3612
  background: var(--app-page-gradient) fixed;
3589
3613
  }
3590
3614
 
3591
3615
  /* 没有分类卡片时,搜索条与筛选条之间不必留出分类的位置。 */
3592
- ._square_no027_7[data-categories='false'] ._searchBar_no027_35 {
3616
+ ._square_1aeey_8[data-categories='false'] ._searchBar_1aeey_59 {
3593
3617
  margin-bottom: 4px;
3594
3618
  }
3595
3619
 
3596
- ._searchBox_no027_49 {
3620
+ ._searchBox_1aeey_73 {
3597
3621
  width: calc(800px + (100% - 800px) * var(--hero-progress));
3598
3622
  max-width: 100%;
3599
3623
  margin: 0 auto;
3600
3624
  }
3601
3625
 
3602
- ._searchInput_no027_55.semi-input-wrapper {
3603
- height: var(--square-search-height);
3626
+ ._searchInput_1aeey_79.semi-input-wrapper {
3627
+ height: var(--square-search-height, 60px);
3604
3628
  padding: 0 14px 0 16px;
3605
3629
  border: 1px solid transparent;
3606
3630
  border-radius: var(--app-radius-card);
@@ -3608,34 +3632,34 @@
3608
3632
  box-shadow: var(--app-shadow-card);
3609
3633
  }
3610
3634
 
3611
- ._searchInput_no027_55.semi-input-wrapper:hover {
3635
+ ._searchInput_1aeey_79.semi-input-wrapper:hover {
3612
3636
  border-color: transparent;
3613
3637
  background-color: var(--semi-color-bg-1);
3614
3638
  }
3615
3639
 
3616
- ._searchInput_no027_55.semi-input-wrapper.semi-input-wrapper-focus {
3640
+ ._searchInput_1aeey_79.semi-input-wrapper.semi-input-wrapper-focus {
3617
3641
  border-color: rgb(var(--app-brand-6));
3618
3642
  box-shadow: var(--app-shadow-card), 0 0 0 3px var(--semi-color-primary-light-default);
3619
3643
  }
3620
3644
 
3621
- ._searchInput_no027_55 .semi-input {
3645
+ ._searchInput_1aeey_79 .semi-input {
3622
3646
  font-size: var(--app-font-size-h6);
3623
3647
  }
3624
3648
 
3625
- ._searchInput_no027_55 .semi-input::placeholder {
3649
+ ._searchInput_1aeey_79 .semi-input::placeholder {
3626
3650
  color: var(--semi-color-text-2);
3627
3651
  }
3628
3652
 
3629
- ._searchInput_no027_55 .semi-input-suffix {
3653
+ ._searchInput_1aeey_79 .semi-input-suffix {
3630
3654
  gap: 8px;
3631
3655
  }
3632
3656
 
3633
3657
  /* 框内最左侧的匹配方式:文字触发器,右侧一条竖线隔开输入区。 */
3634
- ._searchInput_no027_55 .semi-input-prefix {
3658
+ ._searchInput_1aeey_79 .semi-input-prefix {
3635
3659
  padding-right: 0;
3636
3660
  }
3637
3661
 
3638
- ._searchPrefix_no027_91 {
3662
+ ._searchPrefix_1aeey_115 {
3639
3663
  display: inline-flex;
3640
3664
  align-items: center;
3641
3665
  margin-left: -8px;
@@ -3644,7 +3668,7 @@
3644
3668
  border-right: 1px solid var(--app-border-2);
3645
3669
  }
3646
3670
 
3647
- ._searchButton_no027_100.semi-button {
3671
+ ._searchButton_1aeey_124.semi-button {
3648
3672
  width: 32px;
3649
3673
  height: 32px;
3650
3674
  border-radius: var(--app-radius-chip);
@@ -3652,7 +3676,7 @@
3652
3676
  }
3653
3677
 
3654
3678
  /* 快捷词:灰底胶囊,空输入时排在检索按钮前。 */
3655
- ._guide_no027_108 {
3679
+ ._guide_1aeey_132 {
3656
3680
  display: inline-flex;
3657
3681
  overflow: hidden;
3658
3682
  max-width: 420px;
@@ -3660,13 +3684,13 @@
3660
3684
  gap: 8px;
3661
3685
  }
3662
3686
 
3663
- ._guideLabel_no027_116.semi-typography {
3687
+ ._guideLabel_1aeey_140.semi-typography {
3664
3688
  flex-shrink: 0;
3665
3689
  color: var(--semi-color-text-2);
3666
3690
  font-size: var(--app-font-size-compact);
3667
3691
  }
3668
3692
 
3669
- ._guideTag_no027_122.semi-button {
3693
+ ._guideTag_1aeey_146.semi-button {
3670
3694
  overflow: hidden;
3671
3695
  max-width: 96px;
3672
3696
  height: 24px;
@@ -3681,27 +3705,188 @@
3681
3705
  text-overflow: ellipsis;
3682
3706
  }
3683
3707
 
3684
- ._guideTag_no027_122.semi-button:hover {
3708
+ ._guideTag_1aeey_146.semi-button:hover {
3685
3709
  background-color: var(--semi-color-fill-2);
3686
3710
  color: var(--semi-color-text-0);
3687
3711
  }
3688
3712
 
3689
- ._guideClear_no027_142.semi-button {
3713
+ ._guideClear_1aeey_166.semi-button {
3690
3714
  flex-shrink: 0;
3691
3715
  color: var(--semi-color-text-2);
3692
3716
  }
3693
3717
 
3694
- ._categories_no027_147 {
3718
+ /* ---------- 深色描边的大框(SquareSearch 传了 modes 或 buttonText) ---------- */
3719
+
3720
+ ._stage_1aeey_173 {
3721
+ display: flex;
3722
+ min-width: 0;
3723
+ flex-direction: column;
3724
+ }
3725
+
3726
+ /* 匹配方式页签:贴在框的上沿,选中项深色底,和深色描边连成一体(参照蝉妈妈“按综合搜 / 按口播文案搜”)。 */
3727
+ ._modeTabs_1aeey_180 {
3728
+ display: flex;
3729
+ height: var(--square-modes-height, 32px);
3730
+ align-items: flex-end;
3731
+ gap: 2px;
3732
+ }
3733
+
3734
+ ._modeTab_1aeey_180.semi-button {
3735
+ height: 100%;
3736
+ padding: 0 18px;
3737
+ border-radius: var(--semi-border-radius-small) var(--semi-border-radius-small) 0 0;
3738
+ background-color: transparent;
3739
+ color: var(--semi-color-text-2);
3740
+ font-size: var(--app-font-size-compact);
3741
+ font-weight: 500;
3742
+ }
3743
+
3744
+ ._modeTab_1aeey_180.semi-button:not(.semi-button-disabled):hover,
3745
+ ._modeTab_1aeey_180.semi-button:not(.semi-button-disabled):active {
3746
+ background-color: transparent;
3747
+ color: var(--semi-color-text-0);
3748
+ }
3749
+
3750
+ ._modeTab_1aeey_180[data-active='true'].semi-button,
3751
+ ._modeTab_1aeey_180[data-active='true'].semi-button:not(.semi-button-disabled):hover,
3752
+ ._modeTab_1aeey_180[data-active='true'].semi-button:not(.semi-button-disabled):active {
3753
+ background-color: var(--app-strong-bg);
3754
+ color: var(--app-strong-text);
3755
+ }
3756
+
3757
+ /* 搜索条贴住顶栏后页签收起(大部分已在顶栏后面,露出的一截淡出,也不再响应点击)。 */
3758
+ ._square_1aeey_8[data-stuck='true'] ._modeTabs_1aeey_180 {
3759
+ opacity: 0;
3760
+ pointer-events: none;
3761
+ visibility: hidden;
3762
+ }
3763
+
3764
+ @media (prefers-reduced-motion: no-preference) {
3765
+ ._modeTabs_1aeey_180 {
3766
+ transition:
3767
+ opacity var(--app-duration) var(--app-ease),
3768
+ visibility var(--app-duration) var(--app-ease);
3769
+ }
3770
+ }
3771
+
3772
+ ._stage_1aeey_173 ._searchInput_1aeey_79.semi-input-wrapper,
3773
+ ._stage_1aeey_173 ._searchInput_1aeey_79.semi-input-wrapper:hover,
3774
+ ._square_1aeey_8[data-nav='true'] ._searchInput_1aeey_79.semi-input-wrapper,
3775
+ ._square_1aeey_8[data-nav='true'] ._searchInput_1aeey_79.semi-input-wrapper:hover {
3776
+ box-sizing: border-box;
3777
+ padding: 0 8px 0 18px;
3778
+ border: 2px solid var(--app-strong-bg);
3779
+ background-color: var(--semi-color-bg-1);
3780
+ box-shadow: 0 10px 28px rgba(var(--app-shadow-color), 0.08);
3781
+ }
3782
+
3783
+ /* 选中的是第一个页签时,框的左上角接住页签,不留圆角;页签收起后恢复。 */
3784
+ ._stage_1aeey_173[data-first-mode='true'] ._searchInput_1aeey_79.semi-input-wrapper {
3785
+ border-top-left-radius: 0;
3786
+ }
3787
+
3788
+ ._square_1aeey_8[data-stuck='true'] ._stage_1aeey_173[data-first-mode='true'] ._searchInput_1aeey_79.semi-input-wrapper {
3789
+ border-top-left-radius: var(--app-radius-card);
3790
+ }
3791
+
3792
+ /* 聚焦时描边不变(深色页签和框连在一起),外面加一圈浅主色光。 */
3793
+ ._stage_1aeey_173 ._searchInput_1aeey_79.semi-input-wrapper.semi-input-wrapper-focus,
3794
+ ._square_1aeey_8[data-nav='true'] ._searchInput_1aeey_79.semi-input-wrapper.semi-input-wrapper-focus {
3795
+ border-color: var(--app-strong-bg);
3796
+ box-shadow:
3797
+ 0 10px 28px rgba(var(--app-shadow-color), 0.08),
3798
+ 0 0 0 4px var(--semi-color-primary-light-default);
3799
+ }
3800
+
3801
+ ._stage_1aeey_173 ._searchInput_1aeey_79 .semi-input-suffix {
3802
+ gap: 10px;
3803
+ }
3804
+
3805
+ /* 框内的快捷键标(代替占位里的“按 / 聚焦”),只在空输入时出现。 */
3806
+ ._keycap_1aeey_259 {
3807
+ display: inline-flex;
3808
+ width: 22px;
3809
+ height: 22px;
3810
+ box-sizing: border-box;
3811
+ flex-shrink: 0;
3812
+ align-items: center;
3813
+ justify-content: center;
3814
+ border: 1px solid var(--app-border-2);
3815
+ border-radius: var(--app-radius-chip);
3816
+ color: var(--semi-color-text-2);
3817
+ font-size: var(--app-font-size-caption);
3818
+ line-height: 1;
3819
+ }
3820
+
3821
+ ._searchTextButton_1aeey_274.semi-button {
3822
+ height: 44px;
3823
+ flex-shrink: 0;
3824
+ padding: 0 22px;
3825
+ border-radius: var(--semi-border-radius-small);
3826
+ font-size: var(--app-font-size-h6);
3827
+ }
3828
+
3829
+ ._categories_1aeey_282 {
3695
3830
  margin-bottom: 0;
3696
3831
  }
3697
3832
 
3698
3833
  /* 平铺筛选面板:分类卡片下方,随页面滚走。 */
3699
- ._panel_no027_152 {
3834
+ ._panel_1aeey_287 {
3700
3835
  margin-top: 16px;
3701
3836
  }
3702
3837
 
3838
+ /* ---------- 一块画布(传了 nav) ---------- */
3839
+
3840
+ /* 导航位是画布的顶:上圆角,顶上一层很淡的主色光(首屏的品牌氛围)。 */
3841
+ ._nav_1aeey_294 {
3842
+ margin-top: 24px;
3843
+ padding: 4px 12px 0;
3844
+ border-radius: var(--app-radius-card) var(--app-radius-card) 0 0;
3845
+ background:
3846
+ radial-gradient(70% 160% at 50% 0%, rgba(var(--app-brand-6), 0.12) 0%, rgba(var(--app-brand-6), 0) 72%),
3847
+ var(--semi-color-bg-1);
3848
+ }
3849
+
3850
+ /* 搜索条在画布里是白底(吸顶后是一条白条),框靠深色描边看出来。 */
3851
+ ._square_1aeey_8[data-nav='true'] ._searchBar_1aeey_59 {
3852
+ margin-bottom: 0;
3853
+ padding: var(--square-search-padding) 24px;
3854
+ background: var(--semi-color-bg-1);
3855
+ }
3856
+
3857
+ ._square_1aeey_8[data-nav='true'] ._categories_1aeey_282 {
3858
+ padding: 0 24px 16px;
3859
+ background: var(--semi-color-bg-1);
3860
+ }
3861
+
3862
+ /* 筛选面板接在画布里:细线隔开,去掉自己的投影和圆角,左右与画布对齐。 */
3863
+ ._square_1aeey_8[data-nav='true'] ._panel_1aeey_287 {
3864
+ --filter-panel-padding: 12px 24px 16px;
3865
+ --filter-panel-radius: 0 0 var(--app-radius-card) var(--app-radius-card);
3866
+ --filter-panel-shadow: none;
3867
+
3868
+ margin-top: 0;
3869
+ border-top: 1px solid var(--app-border-1);
3870
+ border-radius: 0 0 var(--app-radius-card) var(--app-radius-card);
3871
+ background: var(--semi-color-bg-1);
3872
+ }
3873
+
3874
+ /*
3875
+ * 画布的最后一块收圆角:没有筛选面板时是分类,分类也没有时是搜索条。搜索条吸顶后是一条通栏白条,不留圆角,
3876
+ * 免得滚上来的内容从圆角的缺口里露出来。
3877
+ */
3878
+ ._square_1aeey_8[data-nav='true'][data-filters='false'] ._categories_1aeey_282,
3879
+ ._square_1aeey_8[data-nav='true'][data-filters='false'][data-categories='false']:not([data-stuck='true']) ._searchBar_1aeey_59 {
3880
+ border-radius: 0 0 var(--app-radius-card) var(--app-radius-card);
3881
+ }
3882
+
3883
+ /* 画布与排序条之间留一点空,排序条不贴着画布的下沿。 */
3884
+ ._square_1aeey_8[data-nav='true'] ._filters_1aeey_337 {
3885
+ margin-top: 8px;
3886
+ }
3887
+
3703
3888
  /* 排序条紧贴吸顶搜索条下沿,同样带页面底色。 */
3704
- ._filters_no027_157 {
3889
+ ._filters_1aeey_337 {
3705
3890
  position: sticky;
3706
3891
  z-index: calc(var(--app-z-sticky) - 1);
3707
3892
  top: calc(var(--app-header-height) + var(--square-search-height) + var(--square-search-padding) * 2);
@@ -3716,14 +3901,14 @@
3716
3901
  background: var(--app-page-gradient) fixed;
3717
3902
  }
3718
3903
 
3719
- ._toolbarStart_no027_172 {
3904
+ ._toolbarStart_1aeey_357 {
3720
3905
  display: flex;
3721
3906
  min-width: 0;
3722
3907
  flex: 1 1 auto;
3723
3908
  align-items: center;
3724
3909
  }
3725
3910
 
3726
- ._filtersGroup_no027_179 {
3911
+ ._filtersGroup_1aeey_364 {
3727
3912
  display: flex;
3728
3913
  min-width: 0;
3729
3914
  flex-shrink: 0;
@@ -3731,7 +3916,7 @@
3731
3916
  gap: 4px;
3732
3917
  }
3733
3918
 
3734
- ._results_no027_187 {
3919
+ ._results_1aeey_372 {
3735
3920
  position: relative;
3736
3921
  z-index: 0;
3737
3922
  display: flex;
@@ -3740,7 +3925,7 @@
3740
3925
  gap: 12px;
3741
3926
  }
3742
3927
 
3743
- ._footer_no027_196 {
3928
+ ._footer_1aeey_381 {
3744
3929
  display: flex;
3745
3930
  min-height: 32px;
3746
3931
  align-items: center;
@@ -3749,44 +3934,444 @@
3749
3934
  padding: 12px 0 8px;
3750
3935
  }
3751
3936
 
3752
- /* 手机:标题缩小,搜索条与筛选条压低高度;筛选条横向滑动,快捷词收起。 */
3937
+ /*
3938
+ * 排序条左侧在手机上横向滑动时,右边缘渐隐提示后面还有内容;滑到头渐隐消失。进度来自这一行自己的横向滚动(滚动时间线),
3939
+ * 内容放得下时时间线不生效,不渐隐。不支持滚动时间线的浏览器没有渐隐,照常可以滑动。
3940
+ */
3941
+ @property --square-toolbar-fade {
3942
+ syntax: '<length>';
3943
+ inherits: false;
3944
+ initial-value: 0px;
3945
+ }
3946
+
3947
+ @keyframes _square-toolbar-fade_1aeey_1 {
3948
+ 0%,
3949
+ 90% {
3950
+ --square-toolbar-fade: 32px;
3951
+ }
3952
+
3953
+ 100% {
3954
+ --square-toolbar-fade: 0px;
3955
+ }
3956
+ }
3957
+
3958
+ /* 手机:标题缩小,搜索条压低高度,快捷词和按键标收起;排序条分两行,左侧一行横向滑动。 */
3753
3959
  @media (max-width: 576px) {
3754
- ._square_no027_7 {
3960
+ ._square_1aeey_8 {
3755
3961
  --square-search-height: 48px;
3756
3962
  --square-search-padding: 12px;
3757
3963
  --square-filters-height: 44px;
3964
+ --square-modes-height: 28px;
3965
+ }
3966
+
3967
+ /* 画布里的框带页签和带字按钮,比原来高一点。 */
3968
+ ._square_1aeey_8[data-nav='true'] {
3969
+ --square-search-height: 52px;
3758
3970
  }
3759
3971
 
3760
- ._heroTitle_no027_18.semi-typography {
3972
+ ._heroTitle_1aeey_39.semi-typography {
3761
3973
  margin: 12px 0 0;
3762
3974
  font-size: var(--app-font-size-h3);
3763
3975
  line-height: 32px;
3764
3976
  }
3765
3977
 
3766
- ._searchBar_no027_35 {
3978
+ ._searchBar_1aeey_59 {
3767
3979
  margin-bottom: 4px;
3768
3980
  }
3769
3981
 
3770
- ._searchInput_no027_55.semi-input-wrapper {
3982
+ ._searchInput_1aeey_79.semi-input-wrapper {
3771
3983
  padding: 0 8px 0 12px;
3772
3984
  }
3773
3985
 
3774
- ._searchInput_no027_55 .semi-input {
3986
+ ._searchInput_1aeey_79 .semi-input {
3775
3987
  font-size: var(--app-font-size-lead);
3776
3988
  }
3777
3989
 
3778
- ._guide_no027_108 {
3990
+ ._guide_1aeey_132,
3991
+ ._keycap_1aeey_259 {
3779
3992
  display: none;
3780
3993
  }
3781
3994
 
3782
- ._panel_no027_152 {
3995
+ ._panel_1aeey_287 {
3783
3996
  margin-top: 12px;
3784
3997
  }
3785
3998
 
3786
- ._filters_no027_157 {
3999
+ ._modeTab_1aeey_180.semi-button {
4000
+ padding: 0 14px;
4001
+ font-size: var(--app-font-size-caption);
4002
+ }
4003
+
4004
+ ._stage_1aeey_173 ._searchInput_1aeey_79.semi-input-wrapper,
4005
+ ._stage_1aeey_173 ._searchInput_1aeey_79.semi-input-wrapper:hover,
4006
+ ._square_1aeey_8[data-nav='true'] ._searchInput_1aeey_79.semi-input-wrapper,
4007
+ ._square_1aeey_8[data-nav='true'] ._searchInput_1aeey_79.semi-input-wrapper:hover {
4008
+ padding: 0 6px 0 12px;
4009
+ }
4010
+
4011
+ ._searchTextButton_1aeey_274.semi-button {
4012
+ height: 40px;
4013
+ padding: 0 14px;
4014
+ font-size: var(--app-font-size-body);
4015
+ }
4016
+
4017
+ ._nav_1aeey_294 {
4018
+ margin-top: 12px;
3787
4019
  padding: 0 4px;
4020
+ }
4021
+
4022
+ ._square_1aeey_8[data-nav='true'] ._searchBar_1aeey_59 {
4023
+ margin-bottom: 0;
4024
+ padding: var(--square-search-padding);
4025
+ }
4026
+
4027
+ ._square_1aeey_8[data-nav='true'] ._categories_1aeey_282 {
4028
+ padding: 0 12px 12px;
4029
+ }
4030
+
4031
+ ._square_1aeey_8[data-nav='true'] ._panel_1aeey_287 {
4032
+ --filter-panel-padding: 6px 4px 8px;
4033
+
4034
+ margin-top: 0;
4035
+ }
4036
+
4037
+ /*
4038
+ * 排序条分两行:左侧(排序、胶囊、下拉)占满第一行,右侧(收藏、视图切换)另起一行靠右。
4039
+ * 两侧挤在一行时左侧会被压到几乎没有宽度,排序项缩到右侧控件底下,既看不到也点不到。
4040
+ */
4041
+ ._filters_1aeey_337 {
4042
+ height: auto;
4043
+ min-height: var(--square-filters-height);
4044
+ flex-wrap: wrap;
4045
+ gap: 4px 12px;
4046
+ padding: 4px;
4047
+ }
4048
+
4049
+ /* 左侧每一项按自身宽度排(网格列宽取内容宽,不受各项 min-width: 0 影响),放不下时这一行横向滑动。 */
4050
+ ._toolbarStart_1aeey_357 {
4051
+ display: grid;
4052
+ flex: 1 0 100%;
4053
+ grid-auto-columns: max-content;
4054
+ grid-auto-flow: column;
3788
4055
  overflow-x: auto;
3789
4056
  scrollbar-width: none;
4057
+ -webkit-mask-image: linear-gradient(to left, transparent, black var(--square-toolbar-fade));
4058
+ mask-image: linear-gradient(to left, transparent, black var(--square-toolbar-fade));
4059
+ }
4060
+
4061
+ ._toolbarStart_1aeey_357::-webkit-scrollbar {
4062
+ display: none;
4063
+ }
4064
+
4065
+ @supports (animation-timeline: scroll()) {
4066
+ ._toolbarStart_1aeey_357 {
4067
+ animation: _square-toolbar-fade_1aeey_1 linear both;
4068
+ animation-timeline: scroll(self inline);
4069
+ }
4070
+ }
4071
+
4072
+ /* 右侧放不下一行时在组内换行,仍靠右;页面没给右侧内容时不占第二行。 */
4073
+ ._filtersGroup_1aeey_364 {
4074
+ max-width: 100%;
4075
+ flex: 0 1 auto;
4076
+ flex-wrap: wrap;
4077
+ justify-content: flex-end;
4078
+ margin-left: auto;
4079
+ row-gap: 4px;
4080
+ }
4081
+
4082
+ ._filtersGroup_1aeey_364:empty {
4083
+ display: none;
4084
+ }
4085
+ }
4086
+ /*
4087
+ * 图文入口:每一项是三张真实封面扇形叠放加名称,选中项名称加粗、下方 3px 主色条(同 StepTabs 的选中条)。
4088
+ * 宽屏按项数等分一行,项与项之间一条细竖线;超过四项时封面和名称小一档;手机上一行横向滑动。颜色只引用设计变量。
4089
+ */
4090
+
4091
+ ._tabs_6jcnc_6 {
4092
+ --cover-width: 42px;
4093
+ --cover-height: 56px;
4094
+ --cover-step: 19px;
4095
+ --fan-width: 80px;
4096
+ --fan-height: 64px;
4097
+ --tab-padding: 18px;
4098
+
4099
+ display: grid;
4100
+ min-width: 0;
4101
+ grid-template-columns: repeat(var(--cover-tab-count, 4), minmax(0, 1fr));
4102
+ /* 底线画成内阴影:选中条压在它上面,横向滑动时也不会被裁掉。 */
4103
+ box-shadow: inset 0 -1px 0 var(--app-border-1);
4104
+ }
4105
+
4106
+ ._tabs_6jcnc_6[data-dense='true'] {
4107
+ --cover-width: 30px;
4108
+ --cover-height: 40px;
4109
+ --cover-step: 12px;
4110
+ --fan-width: 54px;
4111
+ --fan-height: 52px;
4112
+ --tab-padding: 10px;
4113
+ }
4114
+
4115
+ ._tab_6jcnc_6 {
4116
+ position: relative;
4117
+ display: flex;
4118
+ height: 96px;
4119
+ min-width: 0;
4120
+ box-sizing: border-box;
4121
+ align-items: center;
4122
+ gap: 14px;
4123
+ padding: 0 var(--tab-padding);
4124
+ }
4125
+
4126
+ ._tabs_6jcnc_6[data-dense='true'] ._tab_6jcnc_6 {
4127
+ height: 88px;
4128
+ gap: 8px;
4129
+ }
4130
+
4131
+ ._tab_6jcnc_6.semi-button {
4132
+ height: 96px;
4133
+ justify-content: flex-start;
4134
+ padding: 0 var(--tab-padding);
4135
+ border-radius: 0;
4136
+ background-color: transparent;
4137
+ text-align: left;
4138
+ }
4139
+
4140
+ ._tabs_6jcnc_6[data-dense='true'] ._tab_6jcnc_6.semi-button {
4141
+ height: 88px;
4142
+ }
4143
+
4144
+ ._tab_6jcnc_6.semi-button:not(.semi-button-disabled):hover,
4145
+ ._tab_6jcnc_6.semi-button:not(.semi-button-disabled):active {
4146
+ background-color: transparent;
4147
+ }
4148
+
4149
+ ._tab_6jcnc_6.semi-button:focus-visible {
4150
+ outline: 2px solid rgb(var(--app-brand-6));
4151
+ outline-offset: -2px;
4152
+ }
4153
+
4154
+ /* Semi 按钮把内容包在 .semi-button-content 里:封面和名称左右排。 */
4155
+ ._tab_6jcnc_6 .semi-button-content {
4156
+ display: flex;
4157
+ min-width: 0;
4158
+ align-items: center;
4159
+ gap: 14px;
4160
+ }
4161
+
4162
+ ._tabs_6jcnc_6[data-dense='true'] ._tab_6jcnc_6 .semi-button-content {
4163
+ gap: 8px;
4164
+ }
4165
+
4166
+ /* 项与项之间的细竖线。 */
4167
+ ._tab_6jcnc_6 + ._tab_6jcnc_6::before {
4168
+ position: absolute;
4169
+ top: 30px;
4170
+ bottom: 30px;
4171
+ left: 0;
4172
+ width: 1px;
4173
+ background-color: var(--app-border-1);
4174
+ content: '';
4175
+ }
4176
+
4177
+ ._tab_6jcnc_6::after {
4178
+ position: absolute;
4179
+ right: var(--tab-padding);
4180
+ bottom: 0;
4181
+ left: var(--tab-padding);
4182
+ height: 3px;
4183
+ border-radius: 3px 3px 0 0;
4184
+ background-color: transparent;
4185
+ content: '';
4186
+ }
4187
+
4188
+ ._tab_6jcnc_6[data-active='true']::after {
4189
+ background-color: rgb(var(--app-brand-6));
4190
+ }
4191
+
4192
+ /* ---------- 封面扇面 ---------- */
4193
+
4194
+ ._fan_6jcnc_109 {
4195
+ position: relative;
4196
+ width: var(--fan-width);
4197
+ height: var(--fan-height);
4198
+ flex-shrink: 0;
4199
+ }
4200
+
4201
+ /* 每张封面先是灰色占位,图片读出来后淡入;读不出来就一直是占位。 */
4202
+ ._cover_6jcnc_117 {
4203
+ position: absolute;
4204
+ top: 6px;
4205
+ width: var(--cover-width);
4206
+ height: var(--cover-height);
4207
+ box-sizing: border-box;
4208
+ overflow: hidden;
4209
+ border: 2px solid var(--semi-color-bg-1);
4210
+ border-radius: var(--app-radius-chip);
4211
+ /* Semi 的填充色是半透明的:铺在不透明的底上,叠放时后面那张不会透出来。 */
4212
+ background: linear-gradient(var(--semi-color-fill-1), var(--semi-color-fill-1)) var(--semi-color-bg-1);
4213
+ box-shadow: 0 2px 8px rgba(var(--app-shadow-color), 0.16);
4214
+ }
4215
+
4216
+ ._cover_6jcnc_117:nth-child(1) {
4217
+ z-index: 1;
4218
+ left: 0;
4219
+ transform: rotate(-9deg);
4220
+ }
4221
+
4222
+ ._cover_6jcnc_117:nth-child(2) {
4223
+ z-index: 3;
4224
+ top: 2px;
4225
+ left: var(--cover-step);
4226
+ background: linear-gradient(var(--semi-color-fill-2), var(--semi-color-fill-2)) var(--semi-color-bg-1);
4227
+ }
4228
+
4229
+ ._cover_6jcnc_117:nth-child(3) {
4230
+ z-index: 2;
4231
+ left: calc(var(--cover-step) * 2);
4232
+ transform: rotate(9deg);
4233
+ }
4234
+
4235
+ ._coverImage_6jcnc_150 {
4236
+ display: block;
4237
+ width: 100%;
4238
+ height: 100%;
4239
+ object-fit: cover;
4240
+ opacity: 0;
4241
+ }
4242
+
4243
+ ._cover_6jcnc_117[data-loaded='true'] ._coverImage_6jcnc_150 {
4244
+ opacity: 1;
4245
+ }
4246
+
4247
+ /* 选中或指针移上时扇面张开一点。 */
4248
+ ._tab_6jcnc_6[data-active='true'] ._cover_6jcnc_117:nth-child(1),
4249
+ ._tab_6jcnc_6:hover ._cover_6jcnc_117:nth-child(1) {
4250
+ transform: translateX(-3px) rotate(-13deg);
4251
+ }
4252
+
4253
+ ._tab_6jcnc_6[data-active='true'] ._cover_6jcnc_117:nth-child(3),
4254
+ ._tab_6jcnc_6:hover ._cover_6jcnc_117:nth-child(3) {
4255
+ transform: translateX(3px) rotate(13deg);
4256
+ }
4257
+
4258
+ @media (prefers-reduced-motion: no-preference) {
4259
+ ._cover_6jcnc_117 {
4260
+ transition: transform var(--app-duration) var(--app-ease);
4261
+ }
4262
+
4263
+ ._coverImage_6jcnc_150 {
4264
+ transition: opacity var(--app-duration) var(--app-ease);
4265
+ }
4266
+ }
4267
+
4268
+ /* ---------- 名称 ---------- */
4269
+
4270
+ ._text_6jcnc_185 {
4271
+ display: flex;
4272
+ min-width: 0;
4273
+ flex-direction: column;
4274
+ align-items: flex-start;
4275
+ }
4276
+
4277
+ ._label_6jcnc_192 {
4278
+ max-width: 100%;
4279
+ overflow: hidden;
4280
+ color: var(--semi-color-text-1);
4281
+ font-size: var(--app-font-size-h5);
4282
+ font-weight: 500;
4283
+ line-height: 26px;
4284
+ text-overflow: ellipsis;
4285
+ white-space: nowrap;
4286
+ }
4287
+
4288
+ ._tabs_6jcnc_6[data-dense='true'] ._label_6jcnc_192 {
4289
+ font-size: var(--app-font-size-h6);
4290
+ line-height: 24px;
4291
+ }
4292
+
4293
+ ._tab_6jcnc_6:hover ._label_6jcnc_192,
4294
+ ._tab_6jcnc_6[data-active='true'] ._label_6jcnc_192 {
4295
+ color: var(--semi-color-text-0);
4296
+ }
4297
+
4298
+ ._tab_6jcnc_6[data-active='true'] ._label_6jcnc_192 {
4299
+ font-weight: 600;
4300
+ }
4301
+
4302
+ ._hint_6jcnc_217 {
4303
+ max-width: 100%;
4304
+ overflow: hidden;
4305
+ color: var(--semi-color-text-2);
4306
+ font-size: var(--app-font-size-caption);
4307
+ font-weight: 400;
4308
+ line-height: 20px;
4309
+ text-overflow: ellipsis;
4310
+ white-space: nowrap;
4311
+ }
4312
+
4313
+ /* 当前没有内容的一项:封面褪色,名称灰字;仍可点(页面给出提示)。 */
4314
+ ._tab_6jcnc_6[data-unavailable='true'] ._fan_6jcnc_109 {
4315
+ opacity: 0.4;
4316
+ filter: grayscale(1);
4317
+ }
4318
+
4319
+ ._tab_6jcnc_6[data-unavailable='true'] ._label_6jcnc_192,
4320
+ ._tab_6jcnc_6[data-unavailable='true']:hover ._label_6jcnc_192 {
4321
+ color: var(--semi-color-text-2);
4322
+ }
4323
+
4324
+ /* ---------- 加载占位 ---------- */
4325
+
4326
+ ._skeletonLabel_6jcnc_241.semi-skeleton-title {
4327
+ width: 72px;
4328
+ height: 18px;
4329
+ }
4330
+
4331
+ /* 手机与竖屏平板:一行横向滑动,每一项按内容宽度排,封面和名称小一档。 */
4332
+ @media (max-width: 768px) {
4333
+ ._tabs_6jcnc_6,
4334
+ ._tabs_6jcnc_6[data-dense='true'] {
4335
+ --cover-width: 32px;
4336
+ --cover-height: 43px;
4337
+ --cover-step: 13px;
4338
+ --fan-width: 58px;
4339
+ --fan-height: 50px;
4340
+ --tab-padding: 14px;
4341
+
4342
+ display: flex;
4343
+ overflow-x: auto;
4344
+ scrollbar-width: none;
4345
+ }
4346
+
4347
+ ._tabs_6jcnc_6::-webkit-scrollbar {
4348
+ display: none;
4349
+ }
4350
+
4351
+ ._tab_6jcnc_6,
4352
+ ._tabs_6jcnc_6[data-dense='true'] ._tab_6jcnc_6,
4353
+ ._tab_6jcnc_6.semi-button,
4354
+ ._tabs_6jcnc_6[data-dense='true'] ._tab_6jcnc_6.semi-button {
4355
+ height: 76px;
4356
+ flex: 0 0 auto;
4357
+ }
4358
+
4359
+ ._tab_6jcnc_6,
4360
+ ._tabs_6jcnc_6[data-dense='true'] ._tab_6jcnc_6,
4361
+ ._tab_6jcnc_6 .semi-button-content,
4362
+ ._tabs_6jcnc_6[data-dense='true'] ._tab_6jcnc_6 .semi-button-content {
4363
+ gap: 10px;
4364
+ }
4365
+
4366
+ ._tab_6jcnc_6 + ._tab_6jcnc_6::before {
4367
+ top: 22px;
4368
+ bottom: 22px;
4369
+ }
4370
+
4371
+ ._label_6jcnc_192,
4372
+ ._tabs_6jcnc_6[data-dense='true'] ._label_6jcnc_192 {
4373
+ font-size: var(--app-font-size-h6);
4374
+ line-height: 24px;
3790
4375
  }
3791
4376
  }
3792
4377
  /* 筛选条触发器:32px 高的文字按钮,灰字 + 16px 箭头;悬停与展开时浅灰底。颜色只引用 Semi 设计变量。 */
@@ -3868,37 +4453,32 @@
3868
4453
  font-size: 14px;
3869
4454
  }
3870
4455
  /*
3871
- * 平铺式筛选面板与文字排序条。版式:白底面板里逐行“条件名:选项…”,行高 36px,悬停整行浅灰底;
3872
- * 选项是 13px 深色字,悬停转主色,选中时主色描边 + 主色字。颜色只引用 Semi 设计变量。
4456
+ * 平铺式筛选面板与文字排序条。版式:白底面板里逐行“条件名 选项…”,行高 36px;条件名是灰字、不带冒号,
4457
+ * 选项是 13px 深色字的胶囊,悬停转主色,选中时浅主色底 + 主色字(参照蝉妈妈筛选面板)。颜色只引用 Semi 设计变量。
4458
+ * 内边距、圆角和投影可以由外层用 --filter-panel-* 改掉:内容广场的“一块画布”里面板去掉自己的投影和圆角,接在画布里。
3873
4459
  */
3874
4460
 
3875
- ._panel_12ppi_6 {
4461
+ ._panel_1rhpy_7 {
3876
4462
  --filter-label-width: 68px;
3877
4463
 
3878
4464
  display: flex;
3879
4465
  flex-direction: column;
3880
- padding: 10px 12px;
3881
- border-radius: var(--app-radius-card);
4466
+ padding: var(--filter-panel-padding, 10px 12px);
4467
+ border-radius: var(--filter-panel-radius, var(--app-radius-card));
3882
4468
  background-color: var(--semi-color-bg-1);
3883
- box-shadow: var(--app-shadow-card);
4469
+ box-shadow: var(--filter-panel-shadow, var(--app-shadow-card));
3884
4470
  }
3885
4471
 
3886
- ._row_12ppi_17 {
4472
+ ._row_1rhpy_18 {
3887
4473
  display: flex;
3888
4474
  min-height: 36px;
3889
4475
  box-sizing: border-box;
3890
4476
  align-items: flex-start;
3891
4477
  gap: 8px;
3892
4478
  padding: 0 8px;
3893
- border-radius: var(--app-radius-card);
3894
- transition: background-color var(--app-duration) var(--app-ease);
3895
4479
  }
3896
4480
 
3897
- ._row_12ppi_17:hover {
3898
- background-color: var(--semi-color-fill-0);
3899
- }
3900
-
3901
- ._rowLabel_12ppi_32 {
4481
+ ._rowLabel_1rhpy_27 {
3902
4482
  display: flex;
3903
4483
  width: var(--filter-label-width);
3904
4484
  flex-shrink: 0;
@@ -3909,15 +4489,7 @@
3909
4489
  white-space: nowrap;
3910
4490
  }
3911
4491
 
3912
- ._row_12ppi_17:hover ._rowLabel_12ppi_32 {
3913
- color: var(--semi-color-text-1);
3914
- }
3915
-
3916
- ._colon_12ppi_47 {
3917
- margin-left: 1px;
3918
- }
3919
-
3920
- ._rowContent_12ppi_51 {
4492
+ ._rowContent_1rhpy_38 {
3921
4493
  display: flex;
3922
4494
  min-width: 0;
3923
4495
  flex: 1 1 auto;
@@ -3927,7 +4499,7 @@
3927
4499
  padding: 5px 0;
3928
4500
  }
3929
4501
 
3930
- ._rowExtra_12ppi_61 {
4502
+ ._rowExtra_1rhpy_48 {
3931
4503
  display: flex;
3932
4504
  flex-shrink: 0;
3933
4505
  align-items: center;
@@ -3937,81 +4509,69 @@
3937
4509
 
3938
4510
  /* ---------- 平铺选项 ---------- */
3939
4511
 
3940
- ._option_12ppi_71.semi-button {
4512
+ ._option_1rhpy_58.semi-button {
3941
4513
  height: 26px;
3942
- padding: 0 8px;
3943
- border: 1px solid transparent;
3944
- border-radius: var(--app-radius-chip);
4514
+ padding: 0 12px;
4515
+ border: none;
4516
+ border-radius: 999px;
3945
4517
  background-color: transparent;
3946
4518
  color: var(--semi-color-text-0);
3947
4519
  font-size: var(--app-font-size-compact);
3948
4520
  font-weight: 400;
3949
- line-height: 24px;
4521
+ line-height: 26px;
3950
4522
  }
3951
4523
 
3952
- ._option_12ppi_71.semi-button:not(.semi-button-disabled):hover,
3953
- ._option_12ppi_71.semi-button:focus-visible {
4524
+ ._option_1rhpy_58.semi-button:not(.semi-button-disabled):hover,
4525
+ ._option_1rhpy_58.semi-button:focus-visible {
3954
4526
  background-color: transparent;
3955
4527
  color: rgb(var(--app-brand-6));
3956
4528
  }
3957
4529
 
3958
- ._option_12ppi_71[data-active='true'].semi-button {
3959
- border-color: rgb(var(--app-brand-6));
3960
- background-color: var(--semi-color-bg-1);
3961
- color: rgb(var(--app-brand-6));
3962
- }
3963
-
3964
- ._option_12ppi_71[data-active='true'].semi-button:not(.semi-button-disabled):hover {
3965
- border-color: rgb(var(--app-brand-6));
4530
+ ._option_1rhpy_58[data-active='true'].semi-button,
4531
+ ._option_1rhpy_58[data-active='true'].semi-button:not(.semi-button-disabled):hover {
3966
4532
  background-color: rgb(var(--app-brand-1));
3967
4533
  color: rgb(var(--app-brand-6));
4534
+ font-weight: 500;
3968
4535
  }
3969
4536
 
3970
4537
  /* ---------- 已选条件 ---------- */
3971
4538
 
3972
- ._selectedEmpty_12ppi_103 {
3973
- color: var(--semi-color-text-3);
3974
- font-size: var(--app-font-size-caption);
3975
- line-height: 26px;
3976
- }
3977
-
3978
- ._selectedTag_12ppi_109 {
4539
+ ._selectedTag_1rhpy_85 {
3979
4540
  display: inline-flex;
3980
4541
  min-height: 24px;
3981
4542
  box-sizing: border-box;
3982
4543
  align-items: center;
3983
4544
  gap: 2px;
3984
- padding: 0 2px 0 8px;
3985
- border: 1px solid var(--app-border-2);
3986
- border-radius: var(--app-radius-chip);
3987
- background-color: var(--semi-color-fill-0);
3988
- color: var(--semi-color-text-1);
4545
+ padding: 0 4px 0 10px;
4546
+ border-radius: 999px;
4547
+ background-color: rgb(var(--app-brand-1));
4548
+ color: rgb(var(--app-brand-6));
3989
4549
  font-size: var(--app-font-size-caption);
3990
- line-height: 22px;
4550
+ line-height: 24px;
3991
4551
  }
3992
4552
 
3993
- ._selectedText_12ppi_124 {
4553
+ ._selectedText_1rhpy_99 {
3994
4554
  overflow: hidden;
3995
4555
  max-width: 280px;
3996
4556
  text-overflow: ellipsis;
3997
4557
  white-space: nowrap;
3998
4558
  }
3999
4559
 
4000
- ._selectedRemove_12ppi_131.semi-button {
4560
+ ._selectedRemove_1rhpy_106.semi-button {
4001
4561
  width: 18px;
4002
4562
  height: 18px;
4003
4563
  padding: 0;
4004
4564
  border-radius: 50%;
4005
- color: var(--semi-color-text-3);
4565
+ color: rgb(var(--app-brand-6));
4006
4566
  font-size: 12px;
4007
4567
  }
4008
4568
 
4009
- ._selectedRemove_12ppi_131.semi-button:not(.semi-button-disabled):hover {
4010
- background-color: var(--semi-color-fill-2);
4011
- color: rgb(var(--semi-red-5));
4569
+ ._selectedRemove_1rhpy_106.semi-button:not(.semi-button-disabled):hover {
4570
+ background-color: rgb(var(--app-brand-2));
4571
+ color: rgb(var(--app-brand-7));
4012
4572
  }
4013
4573
 
4014
- ._clearButton_12ppi_145.semi-button {
4574
+ ._clearButton_1rhpy_120.semi-button {
4015
4575
  height: 24px;
4016
4576
  margin-left: 4px;
4017
4577
  padding: 0 6px;
@@ -4019,84 +4579,84 @@
4019
4579
  font-size: var(--app-font-size-caption);
4020
4580
  }
4021
4581
 
4022
- ._clearButton_12ppi_145.semi-button:not(.semi-button-disabled):hover {
4582
+ ._clearButton_1rhpy_120.semi-button:not(.semi-button-disabled):hover {
4023
4583
  background-color: transparent;
4024
4584
  color: rgb(var(--app-brand-6));
4025
4585
  }
4026
4586
 
4027
4587
  /* ---------- 行内文字下拉 ---------- */
4028
4588
 
4029
- ._selectText_12ppi_160.semi-button {
4589
+ ._selectText_1rhpy_135.semi-button {
4030
4590
  display: inline-flex;
4031
4591
  height: 26px;
4032
4592
  align-items: center;
4033
4593
  gap: 4px;
4034
- padding: 0 8px;
4035
- border: 1px solid transparent;
4036
- border-radius: var(--app-radius-chip);
4594
+ padding: 0 10px 0 12px;
4595
+ border: none;
4596
+ border-radius: 999px;
4037
4597
  background-color: transparent;
4038
4598
  color: var(--semi-color-text-0);
4039
4599
  font-size: var(--app-font-size-compact);
4040
4600
  font-weight: 400;
4041
- line-height: 24px;
4601
+ line-height: 26px;
4042
4602
  }
4043
4603
 
4044
- ._selectText_12ppi_160.semi-button:not(.semi-button-disabled):hover,
4045
- ._selectText_12ppi_160[data-open='true'].semi-button {
4604
+ ._selectText_1rhpy_135.semi-button:not(.semi-button-disabled):hover,
4605
+ ._selectText_1rhpy_135[data-open='true'].semi-button {
4046
4606
  background-color: transparent;
4047
4607
  color: rgb(var(--app-brand-6));
4048
4608
  }
4049
4609
 
4050
- ._selectText_12ppi_160[data-active='true'].semi-button,
4051
- ._selectText_12ppi_160[data-active='true'].semi-button:not(.semi-button-disabled):hover {
4052
- border-color: rgb(var(--app-brand-6));
4053
- background-color: var(--semi-color-bg-1);
4610
+ ._selectText_1rhpy_135[data-active='true'].semi-button,
4611
+ ._selectText_1rhpy_135[data-active='true'].semi-button:not(.semi-button-disabled):hover {
4612
+ background-color: rgb(var(--app-brand-1));
4054
4613
  color: rgb(var(--app-brand-6));
4614
+ font-weight: 500;
4055
4615
  }
4056
4616
 
4057
- ._selectTextLabel_12ppi_188 {
4617
+ ._selectTextLabel_1rhpy_163 {
4058
4618
  overflow: hidden;
4059
4619
  max-width: 160px;
4060
4620
  text-overflow: ellipsis;
4061
4621
  white-space: nowrap;
4062
4622
  }
4063
4623
 
4064
- ._selectTextArrow_12ppi_195 {
4624
+ ._selectTextArrow_1rhpy_170 {
4065
4625
  color: var(--semi-color-text-3);
4066
4626
  font-size: 12px;
4067
4627
  transition: rotate var(--app-duration) var(--app-ease);
4068
4628
  }
4069
4629
 
4070
- ._selectText_12ppi_160.semi-button:not(.semi-button-disabled):hover ._selectTextArrow_12ppi_195,
4071
- ._selectText_12ppi_160[data-active='true'] ._selectTextArrow_12ppi_195,
4072
- ._selectText_12ppi_160[data-open='true'] ._selectTextArrow_12ppi_195 {
4630
+ ._selectText_1rhpy_135.semi-button:not(.semi-button-disabled):hover ._selectTextArrow_1rhpy_170,
4631
+ ._selectText_1rhpy_135[data-active='true'] ._selectTextArrow_1rhpy_170,
4632
+ ._selectText_1rhpy_135[data-open='true'] ._selectTextArrow_1rhpy_170 {
4073
4633
  color: rgb(var(--app-brand-6));
4074
4634
  }
4075
4635
 
4076
- ._selectText_12ppi_160[data-open='true'] ._selectTextArrow_12ppi_195 {
4636
+ ._selectText_1rhpy_135[data-open='true'] ._selectTextArrow_1rhpy_170 {
4077
4637
  rotate: 180deg;
4078
4638
  }
4079
4639
 
4080
- ._menu_12ppi_211.semi-dropdown-menu {
4640
+ ._menu_1rhpy_186.semi-dropdown-menu {
4081
4641
  min-width: 140px;
4082
4642
  max-height: 320px;
4083
4643
  }
4084
4644
 
4085
4645
  /* 区间下拉:上面常用档位,中间自定义输入,底部清除 / 确定。 */
4086
- ._rangePanel_12ppi_217 {
4646
+ ._rangePanel_1rhpy_192 {
4087
4647
  display: flex;
4088
4648
  width: 236px;
4089
4649
  flex-direction: column;
4090
4650
  gap: 10px;
4091
4651
  }
4092
4652
 
4093
- ._rangePresets_12ppi_224 {
4653
+ ._rangePresets_1rhpy_199 {
4094
4654
  display: flex;
4095
4655
  flex-direction: column;
4096
4656
  gap: 2px;
4097
4657
  }
4098
4658
 
4099
- ._rangePreset_12ppi_224.semi-button {
4659
+ ._rangePreset_1rhpy_199.semi-button {
4100
4660
  display: flex;
4101
4661
  height: 30px;
4102
4662
  align-items: center;
@@ -4109,18 +4669,18 @@
4109
4669
  font-weight: 400;
4110
4670
  }
4111
4671
 
4112
- ._rangePreset_12ppi_224.semi-button:not(.semi-button-disabled):hover {
4672
+ ._rangePreset_1rhpy_199.semi-button:not(.semi-button-disabled):hover {
4113
4673
  background-color: var(--semi-color-fill-1);
4114
4674
  color: var(--semi-color-text-0);
4115
4675
  }
4116
4676
 
4117
- ._rangePreset_12ppi_224[data-active='true'].semi-button,
4118
- ._rangePreset_12ppi_224[data-active='true'].semi-button:not(.semi-button-disabled):hover {
4677
+ ._rangePreset_1rhpy_199[data-active='true'].semi-button,
4678
+ ._rangePreset_1rhpy_199[data-active='true'].semi-button:not(.semi-button-disabled):hover {
4119
4679
  background-color: rgb(var(--app-brand-1));
4120
4680
  color: rgb(var(--app-brand-6));
4121
4681
  }
4122
4682
 
4123
- ._rangeCustom_12ppi_254 {
4683
+ ._rangeCustom_1rhpy_229 {
4124
4684
  display: flex;
4125
4685
  align-items: center;
4126
4686
  gap: 6px;
@@ -4128,11 +4688,11 @@
4128
4688
  border-top: 1px solid var(--app-border-1);
4129
4689
  }
4130
4690
 
4131
- ._rangeDash_12ppi_262 {
4691
+ ._rangeDash_1rhpy_237 {
4132
4692
  color: var(--semi-color-text-3);
4133
4693
  }
4134
4694
 
4135
- ._rangeFooter_12ppi_266 {
4695
+ ._rangeFooter_1rhpy_241 {
4136
4696
  display: flex;
4137
4697
  justify-content: flex-end;
4138
4698
  gap: 8px;
@@ -4140,14 +4700,14 @@
4140
4700
 
4141
4701
  /* ---------- 胶囊单选(排序条左侧) ---------- */
4142
4702
 
4143
- ._capsules_12ppi_274 {
4703
+ ._capsules_1rhpy_249 {
4144
4704
  display: inline-flex;
4145
4705
  flex-shrink: 0;
4146
4706
  align-items: center;
4147
4707
  gap: 4px;
4148
4708
  }
4149
4709
 
4150
- ._capsule_12ppi_274.semi-button {
4710
+ ._capsule_1rhpy_249.semi-button {
4151
4711
  height: 28px;
4152
4712
  padding: 0 12px;
4153
4713
  border-radius: 999px;
@@ -4156,31 +4716,31 @@
4156
4716
  font-weight: 400;
4157
4717
  }
4158
4718
 
4159
- ._capsule_12ppi_274.semi-button:not(.semi-button-disabled):hover {
4719
+ ._capsule_1rhpy_249.semi-button:not(.semi-button-disabled):hover {
4160
4720
  background-color: var(--semi-color-fill-1);
4161
4721
  color: var(--semi-color-text-0);
4162
4722
  }
4163
4723
 
4164
- ._capsule_12ppi_274[data-active='true'].semi-button,
4165
- ._capsule_12ppi_274[data-active='true'].semi-button:not(.semi-button-disabled):hover {
4724
+ ._capsule_1rhpy_249[data-active='true'].semi-button,
4725
+ ._capsule_1rhpy_249[data-active='true'].semi-button:not(.semi-button-disabled):hover {
4166
4726
  background-color: rgb(var(--app-brand-1));
4167
4727
  color: rgb(var(--app-brand-6));
4168
4728
  font-weight: 500;
4169
4729
  }
4170
4730
 
4171
- ._capsules_12ppi_274[data-size='small'] ._capsule_12ppi_274.semi-button {
4731
+ ._capsules_1rhpy_249[data-size='small'] ._capsule_1rhpy_249.semi-button {
4172
4732
  height: 26px;
4173
4733
  padding: 0 10px;
4174
4734
  }
4175
4735
 
4176
4736
  /* 危险项(如“失败 3”):未选中时文字用危险色,选中后与其他项一样。 */
4177
- ._capsule_12ppi_274[data-danger='true'][data-active='false'].semi-button {
4737
+ ._capsule_1rhpy_249[data-danger='true'][data-active='false'].semi-button {
4178
4738
  color: var(--semi-color-danger);
4179
4739
  }
4180
4740
 
4181
4741
  /* ---------- 文字排序条 ---------- */
4182
4742
 
4183
- ._sortBar_12ppi_314 {
4743
+ ._sortBar_1rhpy_289 {
4184
4744
  display: flex;
4185
4745
  min-width: 0;
4186
4746
  flex: 1 1 auto;
@@ -4190,11 +4750,11 @@
4190
4750
  scrollbar-width: none;
4191
4751
  }
4192
4752
 
4193
- ._sortBar_12ppi_314::-webkit-scrollbar {
4753
+ ._sortBar_1rhpy_289::-webkit-scrollbar {
4194
4754
  display: none;
4195
4755
  }
4196
4756
 
4197
- ._sortLabel_12ppi_328 {
4757
+ ._sortLabel_1rhpy_303 {
4198
4758
  flex-shrink: 0;
4199
4759
  margin-right: 2px;
4200
4760
  color: var(--semi-color-text-2);
@@ -4202,7 +4762,7 @@
4202
4762
  white-space: nowrap;
4203
4763
  }
4204
4764
 
4205
- ._sortItem_12ppi_336.semi-button {
4765
+ ._sortItem_1rhpy_311.semi-button {
4206
4766
  display: inline-flex;
4207
4767
  height: 28px;
4208
4768
  flex-shrink: 0;
@@ -4215,54 +4775,54 @@
4215
4775
  font-weight: 400;
4216
4776
  }
4217
4777
 
4218
- ._sortItem_12ppi_336.semi-button:not(.semi-button-disabled):hover {
4778
+ ._sortItem_1rhpy_311.semi-button:not(.semi-button-disabled):hover {
4219
4779
  background-color: transparent;
4220
4780
  color: rgb(var(--app-brand-6));
4221
4781
  }
4222
4782
 
4223
- ._sortItem_12ppi_336[data-active='true'].semi-button {
4783
+ ._sortItem_1rhpy_311[data-active='true'].semi-button {
4224
4784
  color: rgb(var(--app-brand-6));
4225
4785
  font-weight: 500;
4226
4786
  }
4227
4787
 
4228
- ._sortArrow_12ppi_359 {
4788
+ ._sortArrow_1rhpy_334 {
4229
4789
  color: var(--semi-color-text-3);
4230
4790
  font-size: 12px;
4231
4791
  }
4232
4792
 
4233
- ._sortItem_12ppi_336.semi-button:not(.semi-button-disabled):hover ._sortArrow_12ppi_359,
4234
- ._sortItem_12ppi_336[data-active='true'] ._sortArrow_12ppi_359 {
4793
+ ._sortItem_1rhpy_311.semi-button:not(.semi-button-disabled):hover ._sortArrow_1rhpy_334,
4794
+ ._sortItem_1rhpy_311[data-active='true'] ._sortArrow_1rhpy_334 {
4235
4795
  color: rgb(var(--app-brand-6));
4236
4796
  }
4237
4797
 
4238
4798
  /* 手机:每行一条,条件名缩窄,选项不折行、横向滑动,面板不至于占满一屏。 */
4239
4799
  @media (max-width: 576px) {
4240
- ._panel_12ppi_6 {
4800
+ ._panel_1rhpy_7 {
4241
4801
  --filter-label-width: 60px;
4242
4802
 
4243
- padding: 6px 4px;
4803
+ padding: var(--filter-panel-padding, 6px 4px);
4244
4804
  }
4245
4805
 
4246
- ._row_12ppi_17 {
4806
+ ._row_1rhpy_18 {
4247
4807
  gap: 4px;
4248
4808
  padding: 0 6px;
4249
4809
  }
4250
4810
 
4251
- ._rowLabel_12ppi_32 {
4811
+ ._rowLabel_1rhpy_27 {
4252
4812
  font-size: var(--app-font-size-caption);
4253
4813
  }
4254
4814
 
4255
- ._rowContent_12ppi_51 {
4815
+ ._rowContent_1rhpy_38 {
4256
4816
  flex-wrap: nowrap;
4257
4817
  overflow-x: auto;
4258
4818
  scrollbar-width: none;
4259
4819
  }
4260
4820
 
4261
- ._rowContent_12ppi_51::-webkit-scrollbar {
4821
+ ._rowContent_1rhpy_38::-webkit-scrollbar {
4262
4822
  display: none;
4263
4823
  }
4264
4824
 
4265
- ._rowContent_12ppi_51 > * {
4825
+ ._rowContent_1rhpy_38 > * {
4266
4826
  flex-shrink: 0;
4267
4827
  }
4268
4828
  }