From 532137c634f9829f96bbf79cf768e1d76b08e1a7 Mon Sep 17 00:00:00 2001
From: Fox-33 <1466778434@qq.com>
Date: Thu, 31 Jul 2025 11:31:49 +0800
Subject: [PATCH] feat: page-thesis-poster;
---
api/model/index.js | 7 ++
pages.json | 2 +
pages_order/thesis/index.vue | 49 ++++++++
pages_order/thesis/poster.vue | 261 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 319 insertions(+)
create mode 100644 pages_order/thesis/poster.vue
diff --git a/api/model/index.js b/api/model/index.js
index b30f057..c92657f 100644
--- a/api/model/index.js
+++ b/api/model/index.js
@@ -29,6 +29,13 @@ const api = {
url: '/index/queryThesisById',
method: 'GET',
},
+ /**
+ * 生成二维码
+ */
+ getInviteCode: {
+ url: '/config/getInviteCode',
+ method: 'POST',
+ },
}
export default api
\ No newline at end of file
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..b9d8819 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.paperDesc || this.details.title,
+ imageUrl: this.details.paperImage || 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..c232b7f
--- /dev/null
+++ b/pages_order/thesis/poster.vue
@@ -0,0 +1,261 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file