您需要使父级成为flex容器:
.flex-list .flex-row .flex-item-wrapper .flex-item { width: 100%; height: 100%; display: flex; flex-direction: column; }然后,告诉
.caption元素填充可用高度:
.caption { flex: 1; }
您需要使父级成为flex容器:
.flex-list .flex-row .flex-item-wrapper .flex-item { width: 100%; height: 100%; display: flex; flex-direction: column; }然后,告诉
.caption元素填充可用高度:
.caption { flex: 1; }