基调颜色的抽离-高僧详细界面-背景颜色使用内联样式

This commit is contained in:
minimaxagent1 2025-07-31 12:02:44 +08:00
parent 29c59b2795
commit c09d62594f

View File

@ -13,7 +13,7 @@
</view> </view>
</view> </view>
<view class="body"> <view class="body" :style="{ backgroundColor: CommonEnum.BASE_COLOR }">
<!-- 导航标签 --> <!-- 导航标签 -->
<view class="nav-tabs"> <view class="nav-tabs">
<view <view
@ -170,7 +170,7 @@ export default {
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
background-color: v-bind('CommonEnum.BASE_COLOR'); /* 使用枚举中的基调颜色 */ //background-color: v-bind('CommonEnum.BASE_COLOR'); /* 使 */
} }
.content { .content {
padding: 20rpx; padding: 20rpx;