表格td中的文字居左显示
使用align=’left’ 属性控制文字居左
table.table.table-bordered.device-info-table(id='tableid')
thead
tr(id='headid')
th(width='14%',style='border-style: hidden') {{ "Manufacturer" | translate }}
th(width='14%',style='border-style: hidden') {{ "OS" | translate }}
th(width='14%',style='border-style: hidden') {{ "Screen Resolution" | translate }}
th(width='14%',style='border-style: hidden') {{"CPU architecture" |translate }}
tbody
tr(id='bodyid')
td(width='14%',style='border-style: hidden;-webkit-user-select:auto;user-select: auto',align='left') {{device.manufacturer}}
td(width='14%',style='border-style: hidden;-webkit-user-select:auto;user-select: auto',align='left') {{device.platform}} {{device.version}}
td(width='14%',style='border-style: hidden;-webkit-user-select:auto;user-select: auto',align='left') {{device.display.width}} x {{device.display.height}}
td(width='14%',style='border-style: hidden;-webkit-user-select:auto;user-select: auto',align='left') {{device.abi}}
结果: