Documentation
¶
Overview ¶
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
Index ¶
- func Drawer(c echo.Context, book *model.Book, slot templ.Component) templ.Component
- func Footer(version string) templ.Component
- func GetBookTitle(bookID string) string
- func GetFileBase64Text(bookID string, fileName string) string
- func GetPageTitle(bookID string, nowBookNum int, storeBookInfos []model.StoreBookInfo, ...) string
- func GetReturnUrl(BookID string) string
- func Header(prop HeaderProps) templ.Component
- func Html(c echo.Context, bodyContent templ.Component, insertScript []string) templ.Component
- func MessageModal() templ.Component
- func QRCode() templ.Component
- func QuickJumpBarBooks(b *model.Book) (list *model.BookInfos)
- func ReadModeSelect(inShelf bool) templ.Component
- func ReadModeSwitchButton() templ.Component
- func ShowQuickJumpBar(b *model.Book) (QuickJumpBar bool)
- func Toast() templ.Component
- func UploadArea() templ.Component
- type HeaderProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileBase64Text ¶ added in v1.1.0
func GetPageTitle ¶
func GetPageTitle(bookID string, nowBookNum int, storeBookInfos []model.StoreBookInfo, childBookInfos []model.BookInfo) string
GetPageTitle 获取页面标题
func Header ¶
func Header(prop HeaderProps) templ.Component
bg-base-100/50 透明背景 backdrop-blur-sm 模糊背景 暂时没加上,因为现在不生效 可能是因为父元素或祖先元素上存在一些会创建新的层叠上下文或隔离背景的属性(例如 overflow: hidden、opacity<1、transform、filter、isolation 等)造成的
func MessageModal ¶
func ReadModeSelect ¶ added in v1.1.0
func ReadModeSwitchButton ¶ added in v1.1.0
func ShowQuickJumpBar ¶
func UploadArea ¶
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.