From 59f2f47f395cf07aff381174017f9494bd7a3c3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=B3=E5=8D=8E=E7=A5=A5?= Date: Mon, 2 Mar 2020 16:14:58 +0800 Subject: [PATCH] =?UTF-8?q?GFRS-653=E3=80=90=E5=BE=85=E7=A1=AE=E5=AE=9A?= =?UTF-8?q?=E3=80=91=E4=B8=89=E6=9C=88=E4=B8=89=E6=B4=BB=E5=8A=A8=20=20?= =?UTF-8?q?=E4=BA=A7=E5=93=81=E7=B1=BB=E5=9E=8B=E4=BA=8C=E7=BB=B4=E7=A0=81?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=20--=E6=8F=90=E4=BA=A4=E4=BA=BA=EF=BC=9A?= =?UTF-8?q?=E9=98=B3=E5=8D=8E=E7=A5=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ebiz/poster/poster.js | 9 ++++++ src/views/ebiz/poster/PosterList.vue | 8 ++--- src/views/ebiz/poster/PosterPreview.vue | 43 +++++++++++++++++-------- 3 files changed, 43 insertions(+), 17 deletions(-) diff --git a/src/api/ebiz/poster/poster.js b/src/api/ebiz/poster/poster.js index 05de43d83..9c5011c17 100644 --- a/src/api/ebiz/poster/poster.js +++ b/src/api/ebiz/poster/poster.js @@ -36,3 +36,12 @@ export function shareUrl(data) { data }) } + +// 产品分享分享图片 +export function shareUrlWithQR(data) { + return request({ + url: getUrl('/media/pster/shareUrlWithQR', 1), + method: 'post', + data + }) +} diff --git a/src/views/ebiz/poster/PosterList.vue b/src/views/ebiz/poster/PosterList.vue index b9cc0b6d0..5cfdd7707 100644 --- a/src/views/ebiz/poster/PosterList.vue +++ b/src/views/ebiz/poster/PosterList.vue @@ -10,7 +10,7 @@ - + @@ -97,14 +97,14 @@ export default { this.getPosterList() console.log(this.pageNum) }, - posterPreview(id) { + posterPreview(id, posterType) { this.$jump({ flag: 'h5', extra: { - url: location.origin + `/#/poster/posterPreview?id=${id}` + url: location.origin + `/#/poster/posterPreview?id=${id}&posterType=${posterType}` }, routerInfo: { - path: `/poster/posterPreview?id=${id}` + path: `/poster/posterPreview?id=${id}&posterType=${posterType}` } }) } diff --git a/src/views/ebiz/poster/PosterPreview.vue b/src/views/ebiz/poster/PosterPreview.vue index 4ba40eab8..f8ec79f73 100644 --- a/src/views/ebiz/poster/PosterPreview.vue +++ b/src/views/ebiz/poster/PosterPreview.vue @@ -13,7 +13,7 @@