个人中心的列表控件
首先来看效果图
wxml
<view class="list-item"> <image class="item-image" src="/UploadFiles/2021-04-02/fuwu.png">wxss
.list-item { display: flex; flex-direction: row; align-items: center; width: 100%; height: 80rpx; margin-top: 10rpx; position: relative; /*父元素位置要设置为相对*/ } .item-image { width: 50rpx; height: 50rpx; margin: 20rpx; } .item-text { color: gray; font-size: 35rpx; margin-left: 20rpx; } .image-jiantou { width: 20rpx; height: 35rpx; position: absolute; /* 要约束所在位置的子元素的位置要设置成绝对 */ right: 0; /* 靠右调节 */ margin-right: 35rpx } .line { width: 100%; height: 3rpx; background: lightgray; margin-left: 90rpx; }
最新资源
- 群星.2009-原班情歌2CD【SONY】【WAV+CUE】
- 群星.2024-长乐曲电视剧原声带【TME影音】【FLA
- 群星.1993-烧得厉害VOL.1好戏好歌唱不停【滚石】
- 魔兽世界wlk阿奴巴拉克怎么打 wlk阿奴巴拉克机制
- 归龙潮阿律的笛子位置在哪 阿律的笛子图文位置一
- 归龙潮中浦城区福鼠位置在哪 中浦城区福鼠收集位
- NewViennaOctetViennaWindSoloists-TheDeccaRec
- MatteoPasqualini-JohannSebastianBachItalieni
- 【雨果唱片】陈百强《梦里人LPCD45》2012[WAV+C
- 《黑神话》纪录片9月20日上线!揭秘关卡为何删减