fix(custom): 修复若干样式污染的问题

This commit is contained in:
2024-03-07 20:16:08 +08:00
parent 714b980b28
commit 46de69b98b
4 changed files with 67 additions and 90 deletions

View File

@@ -5,7 +5,7 @@
<view class="line"></view>
<Home class="iconfont" @click="goHome" />
</view>
<text class="title">{{ props.title }}</text>
<text style="width: 410px;text-align: center;">{{ props.title }}</text>
</view>
</template>
@@ -66,9 +66,4 @@ const goHome = () => {
box-sizing: border-box;
}
}
.title {
width: 410px;
text-align: center;
}
</style>