bugfix
This commit is contained in:
@@ -119,16 +119,21 @@ module.exports = { hex: hex, tags: tags }
|
||||
<view wx:else class="ph icon icon-hanger"></view>
|
||||
</view>
|
||||
|
||||
<!-- 名称 -->
|
||||
<!-- 名称:编辑态给标签 + 浅填充输入框,一眼看出可输入 -->
|
||||
<view class="cd-name">
|
||||
<input
|
||||
wx:if="{{editMode}}"
|
||||
class="cd-input"
|
||||
value="{{formData.name}}"
|
||||
bindinput="onNameInput"
|
||||
placeholder="衣物名称"
|
||||
placeholder-class="input-ph"
|
||||
/>
|
||||
<block wx:if="{{editMode}}">
|
||||
<view class="grp-hd cd-name-hd">
|
||||
<text class="gh-cn">名称</text>
|
||||
<text class="gh-en">Name</text>
|
||||
</view>
|
||||
<input
|
||||
class="cd-input"
|
||||
value="{{formData.name}}"
|
||||
bindinput="onNameInput"
|
||||
placeholder="衣物名称"
|
||||
placeholder-class="input-ph"
|
||||
/>
|
||||
</block>
|
||||
<view wx:else class="t-lg">{{detail.name || '未命名衣物'}}</view>
|
||||
</view>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user