diff --git a/src/components/tabs/tabs.scss b/src/components/tabs/tabs.scss index f442c1b..3433214 100644 --- a/src/components/tabs/tabs.scss +++ b/src/components/tabs/tabs.scss @@ -35,7 +35,7 @@ } .tabs-item { - padding: 16rpx 20rpx; + padding: 16rpx 25rpx; font-size: 30rpx; font-family: PingFang SC-Medium, PingFang SC; font-weight: 500; diff --git a/src/pages/home/components/feature_recommended.tsx b/src/pages/home/components/feature_recommended.tsx index c60d10a..009a9fd 100644 --- a/src/pages/home/components/feature_recommended.tsx +++ b/src/pages/home/components/feature_recommended.tsx @@ -151,7 +151,7 @@ const FeatureRecommended: FC = (props) => { return ( - + { data.map(d => = (props) => { onClick={() => jump(d.url)} src={d.titleUrl}/> { d.data.length > 0 && d.data.map((c, index) => jump(d.detailsUrl + c.path, c.id, d.type)}> diff --git a/src/pages/home/home.module.scss b/src/pages/home/home.module.scss index 6997627..df7c0ab 100644 --- a/src/pages/home/home.module.scss +++ b/src/pages/home/home.module.scss @@ -139,7 +139,6 @@ .featureTitle { max-width: 212px; height: 50rpx; - padding-bottom: 10rpx; } .featureText { @@ -166,13 +165,13 @@ white-space: nowrap; text-overflow: ellipsis; -o-text-overflow: ellipsis; - line-height: 3; + margin-top: 8rpx; } .ranking { top: 0; position: absolute; - left: 24rpx; + left: 12rpx; width: 30px; height: 30px; } diff --git a/src/pages/home/home.tsx b/src/pages/home/home.tsx index 898f80c..5de95de 100644 --- a/src/pages/home/home.tsx +++ b/src/pages/home/home.tsx @@ -52,7 +52,7 @@ const Home: FC = () => { leftNode={ <> - 医学道 + 医学道 } > diff --git a/src/pages/manage/depAdmin/depAdmin.scss b/src/pages/manage/depAdmin/depAdmin.scss index 140cd55..7c5d848 100644 --- a/src/pages/manage/depAdmin/depAdmin.scss +++ b/src/pages/manage/depAdmin/depAdmin.scss @@ -1,13 +1,23 @@ +.content { + margin-top: 20rpx; + background: white; + min-height: calc(100vh - 20rpx); + box-sizing: border-box; + padding-bottom: calc(env(safe-area-inset-bottom) + 80rpx); +} + .operation { width: 100%; background: #F5F8F7; position: fixed; bottom: 0; - padding: 30px 0; + align-items: center; color: #45D4A8; left: 0; .safeAreaInsetBottom { + height: 80rpx; + align-items: center; justify-content: space-around; padding-bottom: env(safe-area-inset-bottom); display: flex; diff --git a/src/pages/manage/depAdmin/depAdmin.tsx b/src/pages/manage/depAdmin/depAdmin.tsx index e571b2f..4b558c5 100644 --- a/src/pages/manage/depAdmin/depAdmin.tsx +++ b/src/pages/manage/depAdmin/depAdmin.tsx @@ -141,7 +141,7 @@ const DepAdmin: FC = () => { return ( <> - + {manages.map(d => { @@ -90,8 +89,7 @@ const Sort: FC = () => { Taro.navigateBack()} - > + onClick={() => Taro.navigateBack()}> { - {/**/}