picker component

This commit is contained in:
cookfront 2017-02-20 11:51:22 +08:00
parent 5bae32c726
commit b6bb3c0fa8
2 changed files with 5 additions and 1 deletions

View File

@ -3,6 +3,9 @@ export default {
data() { data() {
return { return {
pickerColumns: [ pickerColumns: [
{
values: ['杭州', '宁波', '温州', '嘉兴', '湖州', '绍兴', '金华', '衢州', '舟山', '台州', '丽水']
},
{ {
values: ['杭州', '宁波', '温州', '嘉兴', '湖州', '绍兴', '金华', '衢州', '舟山', '台州', '丽水'] values: ['杭州', '宁波', '温州', '嘉兴', '湖州', '绍兴', '金华', '衢州', '舟山', '台州', '丽水']
} }

View File

@ -22,7 +22,7 @@
} }
} }
@m 2 { @m 3 {
.z-picker-column { .z-picker-column {
width: 33.333%; width: 33.333%;
} }
@ -35,6 +35,7 @@
overflow: hidden; overflow: hidden;
position: relative; position: relative;
max-height: 100%; max-height: 100%;
float: left;
text-align: center; text-align: center;
@e item { @e item {