Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-11-11 16:19:30 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
11871a11983954c7f6e4d784348200c03776b9a0
11871a11
1 parent
6f7d368b
✨ feat(书籍详情页): note字段适配文字换行修改为html渲染
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
components.d.ts
src/views/client/bookDetail.vue
components.d.ts
View file @
11871a1
// 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'
]
}
}
...
...
src/views/client/bookDetail.vue
View file @
11871a1
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-21 09:35:14
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 202
2-07-26 13:09:53
* @LastEditTime: 202
4-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">
展开
...
...
Please
register
or
login
to post a comment