Skip to content

Commit

Permalink
chore: 增强recycle
Browse files Browse the repository at this point in the history
  • Loading branch information
lareinayanyu committed Jan 22, 2025
1 parent 78c6340 commit e93b931
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<template>
<view class="list-item">
<view class="item-content">recycle-item-default</view>
</view>
</template>

<style lang="stylus" scoped>
.list-item
margin 4px 16px
padding 16px
background #fff
border-radius 8px
box-shadow 0 2px 4px rgba(0,0,0,0.1)

.item-content
display flex
flex-direction column
font-size 14px
color #666

</style>
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ createComponent({
"component": true,
"componentGenerics": {
"recycle-item": {
"default": "../components/test"
"default": "./mpx-recycle-item-default"
}
}
}
Expand Down

0 comments on commit e93b931

Please sign in to comment.