hookehuyr

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

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