diff --git a/src/pages/detail/index.scss b/src/pages/detail/index.scss index 4f7fa63..d9bbf5b 100644 --- a/src/pages/detail/index.scss +++ b/src/pages/detail/index.scss @@ -923,6 +923,52 @@ border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.06); background: #FFF; + + .sticky-bottom-bar-share { + display: flex; + align-items: center; + flex-direction: column; + gap: 4px; + + &-icon { + width: 16px; + height: 16px; + } + + &-text { + color: rgba(0, 0, 0, 0.85); + font-size: 10px; + font-style: normal; + font-weight: 500; + line-height: 16px; /* 160% */ + } + } + + &-separator { + width: 1px; + height: 24px; + background: rgba(0, 0, 0, 0.10); + } + + .sticky-bottom-bar-comment { + display: flex; + align-items: center; + flex-direction: column; + gap: 4px; + + &-icon { + width: 16px; + height: 16px; + } + + &-text { + color: rgba(0, 0, 0, 0.85); + font-size: 10px; + font-style: normal; + font-weight: 500; + line-height: 16px; /* 160% */ + } + } } &-join-game { diff --git a/src/pages/detail/index.tsx b/src/pages/detail/index.tsx index ee52196..5d3be38 100644 --- a/src/pages/detail/index.tsx +++ b/src/pages/detail/index.tsx @@ -22,6 +22,10 @@ function insertDotInTags(tags: string[]) { return tags.join('-·-').split('-') } +function handleShare() { + +} + function Index() { // 使用Zustand store // const userStats = useUserStats() @@ -439,8 +443,15 @@ function Index() { {/* sticky bottom action bar */} - - + + + 分享 + + + { Taro.showToast({ title: 'To be continued', icon: 'none' }) }}> + + 32 + 🎾