Skip to content

Commit

Permalink
fix: 修复steps组件抖音小程序样式
Browse files Browse the repository at this point in the history
  • Loading branch information
jry committed Aug 1, 2024
1 parent 522c15c commit 2406fdd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@
created() {
this.init()
},
// #ifdef MP-TOUTIAO
options: {
virtualHost: false
},
// #endif
computed: {
lineStyle() {
const style = {}
Expand Down
7 changes: 7 additions & 0 deletions src/uni_modules/uview-plus/components/u-steps/u-steps.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
},
created() {
this.children = []
},
options: {
virtualHost: false
}
}
</script>
Expand All @@ -78,6 +81,10 @@
&--row {
flex-direction: row;
flex: 1;
/* #ifdef MP-TOUTIAO */
display: grid;
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
/* #endif */
}
}
</style>

0 comments on commit 2406fdd

Please sign in to comment.