Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
group-buy-ui
Commits
c5c44810
Commit
c5c44810
authored
Oct 05, 2021
by
beisir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test:准备上线
parent
62b98272
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
10 deletions
+9
-10
groupShare.vue
src/components/groupShare.vue
+7
-8
groupSwiper.vue
src/components/groupSwiper.vue
+2
-2
No files found.
src/components/groupShare.vue
View file @
c5c44810
...
@@ -164,13 +164,13 @@ export default {
...
@@ -164,13 +164,13 @@ export default {
return
`/pages/groupbuy/webview?url=
${
encodeURIComponent
(
JSON
.
stringify
(
linkPath
))}
`
;
return
`/pages/groupbuy/webview?url=
${
encodeURIComponent
(
JSON
.
stringify
(
linkPath
))}
`
;
}
}
// // 本地测试时走的逻辑
// // 本地测试时走的逻辑
if
(
isApp
)
{
//
if (isApp) {
const
linkPrve
=
`https://mall.q-gp.com/common/launch?wxapp=gh_e1d790d67513&jumpUrl=
${
encodeURIComponent
(
//
const linkPrve = `https://mall.q-gp.com/common/launch?wxapp=gh_e1d790d67513&jumpUrl=${encodeURIComponent(
'
pages/groupbuy/webview
'
//
'pages/groupbuy/webview'
)}
&terminal=1`
;
//
)}&terminal=1`;
const
linkParams
=
encodeURIComponent
(
JSON
.
stringify
({
url
:
linkPath
}));
//
const linkParams = encodeURIComponent(JSON.stringify({ url: linkPath }));
return
`
${
linkPrve
}
&extraInfo=
${
linkParams
}
`
;
//
return `${linkPrve}&extraInfo=${linkParams}`;
}
//
}
return
linkPath
;
return
linkPath
;
},
},
shareOpenWechat
()
{
shareOpenWechat
()
{
...
@@ -211,7 +211,6 @@ export default {
...
@@ -211,7 +211,6 @@ export default {
openTenetPosterUrl
()
{
openTenetPosterUrl
()
{
// 打开小程序的海报下载页面
// 打开小程序的海报下载页面
const
{
posterUrl
}
=
this
.
shareInfo
;
const
{
posterUrl
}
=
this
.
shareInfo
;
console
.
log
(
posterUrl
);
this
.
nativeBridge
.
openNewUrl
({
this
.
nativeBridge
.
openNewUrl
({
newUrl
:
`/pages/groupbuy/goodshare?url=
${
encodeURIComponent
(
JSON
.
stringify
(
posterUrl
))}
`
newUrl
:
`/pages/groupbuy/goodshare?url=
${
encodeURIComponent
(
JSON
.
stringify
(
posterUrl
))}
`
});
});
...
...
src/components/groupSwiper.vue
View file @
c5c44810
...
@@ -136,11 +136,11 @@ export default {
...
@@ -136,11 +136,11 @@ export default {
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
@keyframes leftToRight {
@keyframes leftToRight {
from {
from {
transform: scale(0.3);
transform: scale(0.3)
translate3d(0, 0, 0)
;
opacity: 0;
opacity: 0;
}
}
to {
to {
transform: scale(1);
transform: scale(1)
translate3d(0, 0, 0)
;
opacity: 1;
opacity: 1;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment