Commit f25412f1 authored by 王炽's avatar 王炽

66666

parent 8d51be73
......@@ -52,7 +52,7 @@
left: 0;
width: 100%;
height: 100%;
opacity: 0.2;
opacity: 0;
background-color: #000;
}
}
......
......@@ -238,7 +238,7 @@ const callAssistInvite = async (ivtCode,unionId) => {
const res = await integralStore.assistInvite(ivtCode, unionId);
if(res.success && res.data.newUser) {
// globalStore.invateUseType = 'new';
globalStore.invateUseType = 'new';
}else{
showSharePopLogin.value = true;
}
......
......@@ -853,12 +853,39 @@
gap: 106rpx;
}
// 当正好三个标签时,固定布局且不可滚动
&.tabs-three {
overflow: hidden;
justify-content: space-between;
// 3个标签下适配容器宽度,避免溢出
.tab-item {
width: 220rpx;
}
}
// 当有四个或更多标签时,允许滑动
&.tabs-many {
overflow-x: auto;
white-space: nowrap;
justify-content: flex-start;
gap: 0rpx;
// padding: 0 32rpx;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch; // iOS 平滑滚动
}
.tab-item {
width: 245rpx;
width: 230rpx;
height: 112rpx;
display: flex;
flex-direction: column;
align-items: center;
flex-shrink: 0; // 防止收缩
// 当在 tabs-many 中时,确保不换行
.tabs-many & {
white-space: nowrap;
}
&.active {
.tab-line1 {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment