refine style (#843)

* refine style

* refine 404 style

* refine
This commit is contained in:
花裤衩
2018-07-06 11:19:53 +08:00
committed by GitHub
parent a575670cef
commit d98c5032f8
9 changed files with 57 additions and 30 deletions

View File

@@ -2,7 +2,7 @@
<el-table :data="list" style="width: 100%;padding-top: 15px;">
<el-table-column label="Order_No" min-width="200">
<template slot-scope="scope">
{{scope.row.order_no}}
{{scope.row.order_no | orderNoFilter}}
</template>
</el-table-column>
<el-table-column label="Price" width="195" align="center">
@@ -34,6 +34,9 @@ export default {
pending: 'danger'
}
return statusMap[status]
},
orderNoFilter(str) {
return str.substring(0, 30)
}
},
created() {