更新:课程详情的初步代码
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
<template>
|
||||
<view
|
||||
class="emotion-box"
|
||||
style="display: flex; flex-direction: row; flex-wrap: wrap; height: 275px; overflow-y: scroll;"
|
||||
:style="{
|
||||
display: 'flex',
|
||||
flexDirection: 'row',
|
||||
flexWrap: 'wrap',
|
||||
height: props.height + 'px',
|
||||
overflowY: 'scroll',
|
||||
}"
|
||||
>
|
||||
<block v-for="(list, index) in emojilist" :key="index">
|
||||
<view style="width: 10%; margin: 10px 3.3%;">
|
||||
@@ -24,6 +30,10 @@ const props = defineProps({
|
||||
type: Number,
|
||||
default: 320,
|
||||
},
|
||||
height: {
|
||||
type: Number,
|
||||
default: 275,
|
||||
}
|
||||
})
|
||||
|
||||
const emit = defineEmits(['emotion'])
|
||||
|
||||
Reference in New Issue
Block a user