mirror of
https://gitee.com/TSpecific/tuniao-ui.git
synced 2026-03-13 10:54:01 +08:00
[fix] 修复分段器组件css在app里面样式问题
This commit is contained in:
@@ -344,19 +344,15 @@
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.tn-subsection {
|
.tn-subsection {
|
||||||
/* #ifndef APP-PLUS */
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
/* #endif */
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&__item {
|
&__item {
|
||||||
/* #ifndef APP-PLUS */
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
/* #endif */
|
|
||||||
flex: 1;
|
flex: 1;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
@@ -370,10 +366,8 @@
|
|||||||
&--text {
|
&--text {
|
||||||
transition: all 0.3s;
|
transition: all 0.3s;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
/* #ifndef APP-PLUS */
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
/* #endif */
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
|
|||||||
Reference in New Issue
Block a user