Documentation
¶
Overview ¶
templ: version: v0.3.865
templ: version: v0.3.865
templ: version: v0.3.865
templ: version: v0.3.865
templ: version: v0.3.865
templ: version: v0.3.865
templ: version: v0.3.865
templ: version: v0.3.865
Index ¶
- func Drawer(serverHost string, slot templ.Component) templ.Component
- func Footer(version string) templ.Component
- func GetImageAlt(key int) string
- func GetPageTitle(bookID string) string
- func GetReturnUrl(BookID string) string
- func Header(prop HeaderProps) templ.Component
- func Html(c echo.Context, s *state.GlobalState, bodyContent templ.Component, ...) templ.Component
- func MessageModal() templ.Component
- func QRCode(serverHost string) templ.Component
- func QuickJumpBarBooks(b *model.Book) (list *model.BookInfoList)
- func ServerHostBindStr(serverHost string) string
- func ShowQuickJumpBar(b *model.Book) (QuickJumpBar bool)
- func Toast() templ.Component
- func UploadArea(s *state.GlobalState) templ.Component
- type HeaderProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Header ¶
func Header(prop HeaderProps) templ.Component
bg-base-100/50 透明背景 backdrop-blur-sm 模糊背景 暂时没加上,因为现在不生效 可能是因为父元素或祖先元素上存在一些会创建新的层叠上下文或隔离背景的属性(例如 overflow: hidden、opacity<1、transform、filter、isolation 等)造成的
func Html ¶
func Html(c echo.Context, s *state.GlobalState, bodyContent templ.Component, insertScript []string) templ.Component
Html 定义网页布局
func MessageModal ¶
func QuickJumpBarBooks ¶
func QuickJumpBarBooks(b *model.Book) (list *model.BookInfoList)
func ServerHostBindStr ¶
ServerHostBindStr 传递给前端,显示QRCode用的"主机域名"字符串
func ShowQuickJumpBar ¶
func UploadArea ¶
func UploadArea(s *state.GlobalState) templ.Component
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.