/* 首页图片 */ .home_list_i{ margin-top:10rpx; width: 100%; height: 300rpx; background:rgba(0, 146, 127, 0.2); display: flex; flex-direction: column; justify-content:conter; align-items: flex-start; } .home_list_img_title{ width: 100%; height: 30%; background:rgba(121, 79, 79, 0.3); } .home_list_img_conter{ width: 70%; flex:1 0 70%; background:rgba(14, 255, 6, 0.3); } .home_list_img_photo{ width: 30%; flex:1 0 70%; align-self: flex-end; background:rgba(250, 246, 3, 0.3); } /*wxml */ <view class='home_list_i'> <view class='home_list_img_title'>a</view> <view class='home_list_img_conter'>b</view> <view class='home_list_img_photo flex-sslf'>1</view> <view class='home_list_img_photo flex-sslf'>2</view> </view>
小程序内flex布局问题如何让 1和2 与b 顶端对齐??? [图片]
2018-09-15