摘要:
比如认识成都: <view style="display: flex;align-items: center;"> <text class="cityVoV2Three" @click="goToCity">认识{{ cityVo.name }}</text> </view> 要有一个父元素抱着行内 阅读全文
摘要:
定宽,左右margin为auto display:flex; justify-content:center; flex-direction:row 父元素设置text-align:center,使内部的行盒、块盒居中(文本) 相对定位元素,left:0;right:0;定宽;左右margin:aut 阅读全文