diff --git a/pages.json b/pages.json index 3bbeb4f..fa9633b 100644 --- a/pages.json +++ b/pages.json @@ -36,6 +36,8 @@ "path": "thesis/search" }, { "path": "thesis/index" + }, { + "path": "thesis/poster" }, { "path": "case/index" }, { diff --git a/pages_order/thesis/index.vue b/pages_order/thesis/index.vue index dcc62c1..fae31a3 100644 --- a/pages_order/thesis/index.vue +++ b/pages_order/thesis/index.vue @@ -146,6 +146,13 @@ + + + + + + + @@ -159,6 +166,13 @@ onLoad({ thesisId }) { this.getData(thesisId) }, + onShareAppMessage(res) { + return { + title: this.details.title, + imageUrl: this.bannerList?.[0]?.image || '', + path: `/pages_order/thesis/index?thesisId=${this.details.id}` + } + }, computed: { bannerList() { const { image } = this.details || {} @@ -202,6 +216,11 @@ } }); }, + jumpToPoster() { + uni.navigateTo({ + url: `/pages_order/thesis/poster?thesisId=${this.details.id}` + }) + }, }, } @@ -211,6 +230,7 @@ .page__view { padding-bottom: 62rpx; background: #FFFFFF; + padding-bottom: calc(62rpx + 110rpx + env(safe-area-inset-bottom)); } .swiper { @@ -556,4 +576,33 @@ } } + .bottom { + position: fixed; + left: 0; + bottom: 0; + width: 100vw; + height: 110rpx; + padding-bottom: env(safe-area-inset-bottom); + background: #FFFFFF; + box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16); + + .btns { + column-gap: 34rpx; + } + + .btn { + padding: 20rpx 90rpx; + font-size: 28rpx; + color: #FFFFFF; + background: #4883F9; + border-radius: 42rpx; + + &-share { + background: #FFD019; + } + + } + + } + \ No newline at end of file diff --git a/pages_order/thesis/poster.vue b/pages_order/thesis/poster.vue new file mode 100644 index 0000000..0995611 --- /dev/null +++ b/pages_order/thesis/poster.vue @@ -0,0 +1,250 @@ + + + + + \ No newline at end of file