html:
<view><text>活动规则</text></view>
css:
view {
height: 135rpx;
width: 50rpx;
display: flex; // 让文字居中
justify-content: center;
align-items: center;
}
.rightAdsorbent text {
writing-mode:vertical-rl; // 文字竖行排列
font-size: 26rpx;
color: #fff;
}
若帮到您希望留个赞 辛苦对面的小伙伴了,谢谢