Commit 1859c69b by 李君

123

1 parent 998dc2cf
......@@ -17,7 +17,7 @@
<template name="wxSortPickerViewItem">
<block wx:for="{{item.textArray}}" wx:for-item="child" wx:key="child">
<view class="wxSortPickerViewItem" data-text="{{child}}" bindtap = "wxSortPickerViewItemTap">
<text>{{child}}</text>
<text class="text">{{child}}</text>
</view>
</block>
</template>
......
......@@ -30,4 +30,11 @@
line-height: 40px;
border-bottom: 1px solid #eee;
margin-left: 5px;
}
.text{
display: inline-block;
width: 99%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!