评论商品接口有问题
This commit is contained in:
@@ -1,16 +1,21 @@
|
||||
<script setup>
|
||||
const props = defineProps()
|
||||
const props = defineProps({
|
||||
position: {
|
||||
type: String,
|
||||
default: 'fixed'
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<view class="bottom-view">
|
||||
<view :style="{ position: props.position }" class="bottom-view">
|
||||
<slot></slot>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.bottom-view {
|
||||
position: fixed;
|
||||
// position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
|
||||
Reference in New Issue
Block a user