From 14b8e6ed4789ce75aabc3da687a06d753178b7be Mon Sep 17 00:00:00 2001 From: aihe <961836564@qq.com> Date: Tue, 5 Dec 2023 02:08:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/custom.scss | 17 +++ components/tpx-tabs/tpx-tabs.vue | 96 ++++++++++++++++ pages/post/post.vue | 150 +++++++++++++++++++++++- pages/tabBar/search/search.vue | 191 ++++++++++++++----------------- 4 files changed, 344 insertions(+), 110 deletions(-) create mode 100644 components/tpx-tabs/tpx-tabs.vue diff --git a/common/custom.scss b/common/custom.scss index 0b5cb16..5fe6090 100644 --- a/common/custom.scss +++ b/common/custom.scss @@ -6,6 +6,18 @@ margin-left: 28rpx; margin-right: 28rpx; } +%blcok { + margin-top: 30rpx; + border-radius: 30rpx; + padding: 26rpx 30rpx; +} +.blcok { + @extend %blcok; +} +.blcok-white{ + @extend %blcok; + background-color: #fff; +} .com-radius { border-radius: 20rpx; } @@ -27,6 +39,11 @@ .w-full{ width: 100%; } +.flex-column-center{ + display: flex; + flex-direction: column; + align-items: center; +} /************* 动画 /**************/ diff --git a/components/tpx-tabs/tpx-tabs.vue b/components/tpx-tabs/tpx-tabs.vue new file mode 100644 index 0000000..d5a29c9 --- /dev/null +++ b/components/tpx-tabs/tpx-tabs.vue @@ -0,0 +1,96 @@ + + + + + \ No newline at end of file diff --git a/pages/post/post.vue b/pages/post/post.vue index 6004535..622f237 100644 --- a/pages/post/post.vue +++ b/pages/post/post.vue @@ -1,5 +1,140 @@