html - IONIC :: 离子列表中数据与离子复选框的垂直对齐
问题描述
我正在制作一个带有离子复选框的离子列表,但列表单元格内的数据是水平显示的。
<ion-item class="item" *ngFor="let item of collection">
<ion-label>{{ item.nameMother }}</ion-label>
<ion-label>{{ item.nameChild }}</ion-label>
<ion-label>{{ item.birthDate }}</ion-label>
<ion-label>{{ item.Form }}</ion-label>
<ion-label>{{ item.countdown }}</ion-label>
<ion-checkbox></ion-checkbox>
</ion-item>
这是我运行它时的样子:
我该怎么做才能使数据垂直对齐,而不是水平对齐?谢谢。
解决方案
推荐阅读
- java - 在 Java 中加载资源时出现奇怪的问题
- c++ - 如何降低我的(非正统的)基于 Qt5/QML 的软件的内存使用量?
- functional-programming - 调用函数和函数式编程有什么区别
- c# - C# 编译表达式以创建 T 的新实例并将值从 T 的另一个实例复制到其属性
- c# - 如何修复 'IHasInputDevices 已过时。使用 Actions 或 ActionsBuilder 类通过 Selenium 模拟鼠标和键盘输入警告
- node.js - 其他 IPS 无法访问 NodeJS 项目
- swift - 转换到视图控制器时强制解开 UIImageView 的 nil 可选
- jquery - 为 DT 闪亮中的单列渲染下拉列表,但仅在单元格单击和 replaceData() 时加载
- oauth-2.0 - 在 WSO2 身份服务器中使用 JWT 授予添加声明以访问令牌
- android - Android导航组件saveState和restoreState