update 布局

This commit is contained in:
赵霄
2023-11-29 20:21:25 +08:00
parent 5ef2186398
commit 743d7f236b
4 changed files with 41 additions and 25 deletions
+26 -1
View File
@@ -78,5 +78,30 @@ export default {
}
</script>
<style lang="less">
<style scoped lang="less">
.van-nav-bar__content {
height: 0.88rem;
}
/deep/ .van-nav-bar__left, /deep/ .van-nav-bar__right, /deep/ .van-nav-bar__arrow {
font-size: 0.36rem;
}
@font-color: #34383F;
/deep/ .van-nav-bar {
background-color: #FFFFFF;
.van-nav-bar__title {
color: @font-color;
font-size: 0.36rem;
}
.van-nav-bar__text {
color: @font-color;
}
.van-icon {
color: @font-color;
}
}
</style>
+3 -1
View File
@@ -11,5 +11,7 @@ export default {
</script>
<style scoped>
.home {
font-size: 0.28rem;
}
</style>
+8 -21
View File
@@ -22,40 +22,27 @@ export default {
font-family: PingFang SC-Medium, PingFang SC, sans-serif;
margin: 20vh auto 0;
text-align: center;
.error {
font-size: 0;
margin: 0 auto;
width: 1.6rem;
width: 1.2rem;
img {
width: 100%;
}
}
p {
font-size: 0.427rem;
line-height: 0.607rem;
font-size: 0.32rem;
line-height: 0.38rem;
font-weight: 500;
margin: 0;
padding: 0;
}
.error + p {
margin-top: 0.773rem;
}
}
</style>
<style lang="less">
@font-color: #34383F;
#app > .van-nav-bar {
background-color: #FFFFFF;
.van-nav-bar__title {
color: @font-color;
}
.van-nav-bar__text {
color: @font-color;
}
.van-icon {
color: @font-color;
margin-top: 0.68rem;
}
}
</style>