更新:课程详情的初步代码

This commit is contained in:
2025-11-14 15:13:21 +08:00
parent e7e0597026
commit 21b03635a2
25 changed files with 4958 additions and 12 deletions

View File

@@ -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'])