[fix] 修复分段器组件css在app里面样式问题

This commit is contained in:
zhengliming
2023-12-19 13:12:19 +08:00
parent 733e71862a
commit 60c496e6ff

View File

@@ -344,19 +344,15 @@
<style lang="scss" scoped>
.tn-subsection {
/* #ifndef APP-PLUS */
display: flex;
flex-direction: row;
/* #endif */
align-items: center;
overflow: hidden;
position: relative;
&__item {
/* #ifndef APP-PLUS */
display: flex;
flex-direction: row;
/* #endif */
flex: 1;
text-align: center;
font-size: 26rpx;
@@ -370,10 +366,8 @@
&--text {
transition: all 0.3s;
color: #FFFFFF;
/* #ifndef APP-PLUS */
display: flex;
flex-direction: row;
/* #endif */
align-items: center;
position: relative;
z-index: 3;