<view class="headline" >
<text >{{title}} </text>
</view>
.headline {
width: 100%;
height: 40rpx;
justify-content: center; /**内容居中*/
vertical-align: center; /**垂直居中*/
text-align: justify;
height: 100%;
}
快点儿试试吧