hookehuyr

✨ feat(书籍详情页): note字段适配文字换行修改为html渲染

// generated by unplugin-vue-components
// We suggest you to commit this file into source control
/* eslint-disable */
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
import '@vue/runtime-core'
export {}
declare module '@vue/runtime-core' {
/* prettier-ignore */
declare module 'vue' {
export interface GlobalComponents {
'图形验证码': typeof import('./src/components/图形验证码.vue')['default']
Agreement: typeof import('./src/components/DonateFlower/agreement.vue')['default']
AuditVideoCard: typeof import('./src/components/AuditVideoCard/index.vue')['default']
Banner: typeof import('./src/components/MuiVideo/banner.vue')['default']
......@@ -64,6 +65,5 @@ declare module '@vue/runtime-core' {
VideoBar: typeof import('./src/components/MuiVideo/videoBar.vue')['default']
VideoCard: typeof import('./src/components/VideoCard/index.vue')['default']
VideoDetail: typeof import('./src/components/VideoDetail/index.vue')['default']
'图形验证码': typeof import('./src/components/图形验证码.vue')['default']
}
}
......
......@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-21 09:35:14
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-07-26 13:09:53
* @LastEditTime: 2024-11-11 15:58:45
* @FilePath: /tswj/src/views/client/bookDetail.vue
* @Description:
-->
......@@ -16,7 +16,7 @@
</div>
<div class="book-intro">
<p class="book-post">{{ bookInfo.name }}</p>
<div id="book-intro" :class="{ 'van-multi-ellipsis--l3': isToggle }">{{ bookInfo.note }}</div>
<div id="book-intro" :class="{ 'van-multi-ellipsis--l3': isToggle }" v-html="bookInfo.note"></div>
<template v-if="hasToggle">
<div v-if="isToggle" class="book-toggle-icon" @click="isToggle = false">
展开&nbsp;
......