Skip to content

Commit

Permalink
fix: 优化 demo 的 axml
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondYuan committed Jan 26, 2024
1 parent fb6c6d9 commit e3235fa
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
11 changes: 5 additions & 6 deletions compiled/alipay/demo/pages/RareWordsKeyboard/index.axml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
placeholder="请输入姓名"
value="{{ value }}"
onChange="onInputChange">
<view slot="suffix">
<view
class="tips"
onTap="onTap">
生僻字?
</view>
<view
slot="suffix"
class="tips"
onTap="onTap">
生僻字?
</view>
</ant-input>
</container>
Expand Down
11 changes: 5 additions & 6 deletions compiled/wechat/demo/pages/RareWordsKeyboard/index.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
placeholder="请输入姓名"
value="{{ value }}"
bind:change="onInputChange">
<view slot="suffix">
<view
class="tips"
bind:tap="onTap">
生僻字?
</view>
<view
slot="suffix"
class="tips"
bind:tap="onTap">
生僻字?
</view>
</ant-input>
</container>
Expand Down
6 changes: 2 additions & 4 deletions demo/pages/RareWordsKeyboard/index.axml.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ export default ({ value, visible, visible2, visible3 }: InternalData) => (
value={value}
onChange="onInputChange"
>
<View slot="suffix">
<View class="tips" onTap="onTap">
生僻字?
</View>
<View slot="suffix" class="tips" onTap="onTap">
生僻字?
</View>
</AntInput>
</Container>
Expand Down

0 comments on commit e3235fa

Please sign in to comment.