syue: 样式优化

This commit is contained in:
WLT\Eric.hu
2025-03-28 15:03:27 +08:00
parent 1f4760c30e
commit 12797d650f
4 changed files with 25 additions and 14 deletions

View File

@@ -1,3 +1,3 @@
export default { export default {
navigationBarTitleText: '油管运营笔记' navigationBarTitleText: 'Youtube运营笔记'
} }

View File

@@ -25,6 +25,7 @@
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
color: #69b1ff;
} }
.book_header_middle{ .book_header_middle{
flex: 1; flex: 1;
@@ -32,6 +33,8 @@
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
color: #69b1ff;
} }
.book_header_right{ .book_header_right{
@@ -41,6 +44,8 @@
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
color: #69b1ff;
} }

View File

@@ -141,20 +141,26 @@ const Book = () => {
return ( return (
<> <>
<View className="book_header_div"></View> <View className="book_header_div"></View>
<View className="book_header"> <View className="book_header">
<View className="book_header_left" onClick={()=>{ <View
Taro.navigateBack({ className="book_header_left"
delta: 1, // 表示返回的页面数,默认是 1表示返回上一页 onClick={() => {
}); Taro.navigateBack({
}}> delta: 1, // 表示返回的页面数,默认是 1表示返回上一页
<AtIcon value="chevron-left" ></AtIcon> });
}}
>
<AtIcon value="chevron-left"></AtIcon>
</View> </View>
<View className="book_header_middle">Youtube运营日记</View> <View className="book_header_middle">{`📗 Youtube运营日记`}</View>
<View className="book_header_right" onClick={() => { <View
setshow(!show); className="book_header_right"
}}> onClick={() => {
<AtIcon value="bullet-list" ></AtIcon> setshow(!show);
}}
>
<AtIcon value="bullet-list"></AtIcon>
</View> </View>
</View> </View>
<View className="Book"> <View className="Book">

View File

@@ -26,7 +26,7 @@
> nomadyt.com > nomadyt.com
[nomadyt.com](nomadyt.com) 是`nomad`+`yt`的缩写组合,意思是以油管为收益的数字游民 [nomadyt.com](https://nomadyt.com) 是`nomad`+`yt`的缩写组合,意思是以油管为收益的数字游民
油管适合做为`副业`尝试 油管适合做为`副业`尝试