This commit is contained in:
lcw
2026-03-24 12:18:39 +08:00
parent c181530639
commit 60de16032f
49 changed files with 16031 additions and 12706 deletions

View File

@ -113,6 +113,11 @@ const props = defineProps({
default: () => ({})
}
});
const dialogForm = ref(false); //弹窗
const title = ref("回复帖子");
const listQuery = ref({});
const ListData = ref([])
const optionsName = {
'Smileys & Emotion': '笑脸&表情',
'Food & Drink': '食物&饮料',
@ -124,11 +129,6 @@ const optionsName = {
Flags: '旗帜',
Activities: '活动'
};
const dialogForm = ref(false); //弹窗
const title = ref("回复帖子");
const listQuery = ref({});
const ListData = ref([])
// 初始化数据
const init = (row) => {
dialogForm.value = true;

View File

@ -6,8 +6,13 @@
<template #content>
<el-input type="textarea" placeholder="请输入内容" v-model="hfrsfzh.hfnr"></el-input>
<div style="width: 100%;border-bottom: 1px solid #eee;margin-top: 10px">
<V3Emoji :options-name="optionsName" width="40px" title="表情" @click-emoji="onVue3Emoje"
:recent="true" ></V3Emoji>
<V3Emoji
:options-name="optionsName"
width="40px"
title="表情"
@click-emoji="onVue3Emoje"
:recent="true"
></V3Emoji>
</div>
</template>
</FormMessage>
@ -21,24 +26,12 @@
<script setup>
import "@wangeditor/editor/dist/css/style.css";
import V3Emoji from "vue3-emoji";
import FormMessage from "@/components/aboutTable/FormMessage.vue";
import V3Emoji from 'vue3-emoji'
import { getItem } from '@/utils/storage.js'
import { tbGsxtXxltHfSave } from '@/api/tbGsxtXxltHf'
import { ElMessage } from 'element-plus';
import { ref, defineEmits, defineProps, watch, reactive ,computed} from "vue";
const optionsName = {
'Smileys & Emotion': '笑脸&表情',
'Food & Drink': '食物&饮料',
'Animals & Nature': '动物&自然',
'Travel & Places': '旅行&地点',
'People & Body': '人物&身体',
Objects: '物品',
Symbols: '符号',
Flags: '旗帜',
Activities: '活动'
};
const props = defineProps({
modelValue: {
type: Boolean,
@ -80,6 +73,18 @@ const rules = reactive({
]
})
const optionsName = {
'Smileys & Emotion': '笑脸&表情',
'Food & Drink': '食物&饮料',
'Animals & Nature': '动物&自然',
'Travel & Places': '旅行&地点',
'People & Body': '人物&身体',
Objects: '物品',
Symbols: '符号',
Flags: '旗帜',
Activities: '活动'
};
const onVue3Emoje = (val) => {
hfrsfzh.value.hfnr += val
}