diff --git a/pages.json b/pages.json index 3725ee9..545f7be 100644 --- a/pages.json +++ b/pages.json @@ -804,6 +804,13 @@ "navigationBarTitleText": "积分商城", "navigationStyle": "custom" } + }, + { + "path" : "pages/discover/publish", + "style" : { + "navigationBarTitleText": "发表", + "navigationStyle": "custom" + } } ], "globalStyle": { diff --git a/pages/discover/discover.vue b/pages/discover/discover.vue index f58939e..09bca53 100644 --- a/pages/discover/discover.vue +++ b/pages/discover/discover.vue @@ -39,6 +39,11 @@ + + + + + @@ -112,6 +117,27 @@ height: 100rpx; border-radius: 50%; } + .fixed-right{ + position: fixed; + right: 32rpx; + bottom: 188rpx; + width: max-content; + height: max-content; + padding-bottom: constant(safe-area-inset-bottom); + padding-bottom: env(safe-area-inset-bottom); + .fixed-btn{ + width: 100rpx; + height: 100rpx; + border-radius: 50%; + background-color: #15716E; + display: flex; + justify-content: center; + align-items: center; + color: #FFFFFF; + } + } + + // tab样式 /deep/.u-scroll-box { display: flex; diff --git a/pages/discover/publish.vue b/pages/discover/publish.vue new file mode 100644 index 0000000..cfcd864 --- /dev/null +++ b/pages/discover/publish.vue @@ -0,0 +1,163 @@ + + + + +