Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
8f146994
Commit
8f146994
authored
Jul 29, 2025
by
yuzhenWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发布测试换海报
parent
89f296a6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
50 deletions
+22
-50
myPackageA/poster/poster.vue
+12
-12
pages/courseDetail/courseDetail.vue
+2
-10
pages/courselist/courselist.vue
+2
-9
pages/index/index.vue
+0
-8
pages/inviteJoin/inviteJoin.vue
+2
-9
pages/personalCenter/personalCenter.vue
+4
-2
No files found.
myPackageA/poster/poster.vue
View file @
8f146994
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<view
class=
"imgContainer"
>
<view
class=
"imgContainer"
>
<image
<image
style=
"display: block;"
style=
"display: block;"
src=
"@/static/
register
Bg.png"
src=
"@/static/
images/share
Bg.png"
mode=
"widthFix"
mode=
"widthFix"
@
load=
"handleBgImageLoad"
@
load=
"handleBgImageLoad"
@
error=
"handleBgImageError"
@
error=
"handleBgImageError"
...
@@ -137,20 +137,20 @@ export default {
...
@@ -137,20 +137,20 @@ export default {
const
delay
=
1000
*
this
.
retryCount
;
const
delay
=
1000
*
this
.
retryCount
;
console
.
log
(
`第
${
this
.
retryCount
}
次重试,
${
delay
}
ms后重试...`
);
console
.
log
(
`第
${
this
.
retryCount
}
次重试,
${
delay
}
ms后重试...`
);
uni
.
showToast
({
//
uni.showToast({
title
:
`生成中,请稍候...(
${
this
.
retryCount
}
/
${
this
.
maxRetryCount
}
)`
,
//
title: `生成中,请稍候...(${this.retryCount}/${this.maxRetryCount})`,
icon
:
'none'
,
//
icon: 'none',
duration
:
delay
//
duration: delay
});
//
});
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
generateQrcodeAndCapture
();
this
.
generateQrcodeAndCapture
();
},
delay
);
},
delay
);
}
else
{
}
else
{
uni
.
showToast
({
//
uni.showToast({
title
:
'生成分享图失败,请稍后再试'
,
//
title: '生成分享图失败,请稍后再试',
icon
:
'none'
//
icon: 'none'
});
//
});
}
}
},
},
...
@@ -294,7 +294,7 @@ export default {
...
@@ -294,7 +294,7 @@ export default {
.bottomBox
{
.bottomBox
{
//
flex
:
1
;
//
flex
:
1
;
border-radius
:
20
rpx
20
rpx
0
0
;
border-radius
:
20
rpx
20
rpx
0
0
;
height
:
15
0
rpx
;
height
:
20
0
rpx
;
width
:
100%
;
width
:
100%
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -309,7 +309,7 @@ export default {
...
@@ -309,7 +309,7 @@ export default {
.preview-container
{
.preview-container
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
flex
:
1
;
flex
:
1
;
padding
:
30
rpx
;
padding
:
80
rpx
30
rpx
0
rpx
30
rpx
;
.preview-image
{
.preview-image
{
width
:
100%
;
width
:
100%
;
...
...
pages/courseDetail/courseDetail.vue
View file @
8f146994
...
@@ -1083,17 +1083,9 @@
...
@@ -1083,17 +1083,9 @@
}
}
}
}
// #ifdef H5
// #ifdef H5
const
currentUrl
=
`
${
shareURL
}
/pages/index/index`
;
const
shareData
=
{
title
:
'银盾家办家庭财务策划师联盟邀您加入'
,
desc
:
`
${
this
.
userInfo
.
name
||
''
}
邀您加入【家庭财策师联盟】,资源+伙伴,共赢未来!`
,
link
:
currentUrl
,
imgUrl
:
`
${
shareURL
}
/static/images/shareBg.png`
};
initJssdkShare
(()
=>
{
initJssdkShare
(()
=>
{
setWechatShare
(
shareData
);
setWechatShare
();
},
window
.
location
.
href
.
split
(
'#'
)[
0
]
);
},
window
.
location
.
href
);
// #endif
// #endif
}
}
}
}
...
...
pages/courselist/courselist.vue
View file @
8f146994
...
@@ -352,16 +352,9 @@
...
@@ -352,16 +352,9 @@
api
.
userShare
(
UserShareRequestVO
).
then
(
res
=>
{
api
.
userShare
(
UserShareRequestVO
).
then
(
res
=>
{
if
(
res
[
'success'
])
{
if
(
res
[
'success'
])
{
// #ifdef H5
// #ifdef H5
const
currentUrl
=
`
${
shareURL
}
/pages/index/index`
;
const
shareData
=
{
title
:
'银盾家办家庭财务策划师联盟邀您加入'
,
desc
:
`
${
this
.
userInfo
.
name
||
''
}
邀您加入【家庭财策师联盟】,资源+伙伴,共赢未来!`
,
link
:
currentUrl
,
imgUrl
:
`
${
shareURL
}
/static/images/shareBg.png`
};
initJssdkShare
(()
=>
{
initJssdkShare
(()
=>
{
setWechatShare
(
shareData
);
setWechatShare
();
},
window
.
location
.
href
.
split
(
'#'
)[
0
]
);
},
window
.
location
.
href
);
// #endif
// #endif
// uni.showToast({
// uni.showToast({
// title: '分享成功',
// title: '分享成功',
...
...
pages/index/index.vue
View file @
8f146994
...
@@ -344,14 +344,6 @@
...
@@ -344,14 +344,6 @@
// 不是window.location.href.split('#')[0]很可能不成功
// 不是window.location.href.split('#')[0]很可能不成功
initShare
()
{
initShare
()
{
// #ifdef H5
// #ifdef H5
const
currentUrl
=
`
${
shareURL
}
/pages/index/index`
;
const
shareData
=
{
title
:
'银盾家办家庭财务策划师联盟邀您加入'
,
desc
:
`
${
this
.
userInfo
.
name
||
''
}
邀您加入【家庭财策师联盟】,资源+伙伴,共赢未来!`
,
link
:
currentUrl
,
imgUrl
:
`
${
shareURL
}
/static/images/shareBg.png`
};
// shareData
initJssdkShare
(()
=>
{
initJssdkShare
(()
=>
{
setWechatShare
();
setWechatShare
();
},
window
.
location
.
href
.
split
(
'#'
)[
0
]);
},
window
.
location
.
href
.
split
(
'#'
)[
0
]);
...
...
pages/inviteJoin/inviteJoin.vue
View file @
8f146994
...
@@ -354,16 +354,9 @@
...
@@ -354,16 +354,9 @@
)
)
setTimeout
(()
=>
{
setTimeout
(()
=>
{
// #ifdef H5
// #ifdef H5
const
currentUrl
=
`
${
shareURL
}
/pages/index/index`
;
const
shareData
=
{
title
:
'银盾家办家庭财务策划师联盟邀您加入'
,
desc
:
`
${
this
.
userInfo
.
name
||
''
}
邀您加入【家庭财策师联盟】,资源+伙伴,共赢未来!`
,
link
:
currentUrl
,
imgUrl
:
`
${
shareURL
}
/static/images/shareBg.png`
};
initJssdkShare
(()
=>
{
initJssdkShare
(()
=>
{
setWechatShare
(
shareData
);
setWechatShare
();
},
window
.
location
.
href
.
split
(
'#'
)[
0
]
);
},
window
.
location
.
href
);
// #endif
// #endif
},
500
)
},
500
)
...
...
pages/personalCenter/personalCenter.vue
View file @
8f146994
...
@@ -273,7 +273,9 @@
...
@@ -273,7 +273,9 @@
this
.
userInfo
=
JSON
.
parse
(
uni
.
getStorageSync
(
'cffp_userInfo'
))
this
.
userInfo
=
JSON
.
parse
(
uni
.
getStorageSync
(
'cffp_userInfo'
))
}
}
// #ifdef H5
// #ifdef H5
this
.
shareBtnBottom
=
dataHandling
.
isNotchIOS
()
const
systemInfo
=
uni
.
getSystemInfoSync
();
this
.
shareBtnBottom
=
systemInfo
.
platform
===
'ios'
console
.
log
(
'this.shareBtnBottom'
,
this
.
shareBtnBottom
);
initJssdkShare
(()
=>
{
initJssdkShare
(()
=>
{
setWechatShare
();
setWechatShare
();
},
window
.
location
.
href
);
},
window
.
location
.
href
);
...
@@ -799,7 +801,7 @@
...
@@ -799,7 +801,7 @@
}
}
}
}
.shareBottom
{
.shareBottom
{
padding-bottom
:
1
0
0
rpx
;
padding-bottom
:
1
5
0
rpx
;
}
}
}
}
.joinContent
{
.joinContent
{
...
...
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