Commit 3f9efcfd by 邓丽

标签长度bug

parent bd586ef6
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</block> </block>
<block wx:if="{{ route=='tags' }}"> <block wx:if="{{ route=='tags' }}">
<view class="tags"> <view class="tags">
<input placeholder="#添加标签" placeholder-style="color: #7aa5b1" class="add-tag" bindconfirm="addTag" maxlength="8" value="{{ value }}"/> <input placeholder="#添加标签" placeholder-style="color: #7aa5b1" class="add-tag" bindconfirm="addTag" value="{{ value }}"/>
<view class="tag-wrap" bindtap="selectedTag"> <view class="tag-wrap" bindtap="selectedTag">
<block wx:for="{{ tags }}" wx:key="item"> <block wx:for="{{ tags }}" wx:key="item">
<view class="tag {{ item.is_selected ? 'active' : '' }}" id="{{ item.id }}" data-idx="{{ index }}">#{{ item.text }}#</view> <view class="tag {{ item.is_selected ? 'active' : '' }}" id="{{ item.id }}" data-idx="{{ index }}">#{{ item.text }}#</view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment