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 @@