更新青少年详情
This commit is contained in:
@@ -18,12 +18,11 @@ onMounted(() => {
|
|||||||
<template>
|
<template>
|
||||||
<div style="margin-top: 24px;">
|
<div style="margin-top: 24px;">
|
||||||
<h2>{{ detailData.title }}</h2>
|
<h2>{{ detailData.title }}</h2>
|
||||||
<div class="text-indent content">
|
<div class="text-indent content" v-html="detailData.content">
|
||||||
{{ detailData.content }}
|
|
||||||
</div>
|
</div>
|
||||||
<div style="display: inline-flex;justify-content: center; width: 100%;">
|
<!-- <div style="display: inline-flex;justify-content: center; width: 100%;">
|
||||||
<el-image class="w-[300px] h-[300px]" :src="detailData.img"></el-image>
|
<el-image class="w-[300px] h-[300px]" :src="detailData.img"></el-image>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@@ -31,8 +30,7 @@ onMounted(() => {
|
|||||||
margin: 24px 0;
|
margin: 24px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-indent {
|
// .text-indent {
|
||||||
text-indent: 2em;
|
// text-indent: 2em;
|
||||||
line-height: 36px;
|
// line-height: 36px;
|
||||||
}
|
// }</style>
|
||||||
</style>
|
|
||||||
@@ -117,7 +117,7 @@ export function useData() {
|
|||||||
id: Number(rowData?.id || 0) ?? "",
|
id: Number(rowData?.id || 0) ?? "",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
width: "40%",
|
width: "60%",
|
||||||
hideFooter: true,
|
hideFooter: true,
|
||||||
closeOnClickModal: false,
|
closeOnClickModal: false,
|
||||||
contentRenderer: () => h(detailView, { ref: formRef, formInline: null })
|
contentRenderer: () => h(detailView, { ref: formRef, formInline: null })
|
||||||
|
|||||||
Reference in New Issue
Block a user