Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7134f06e
authored
Apr 13, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
分享车况信息页面bug修复
1 parent
e41fc942
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
pages/webView/webViewCommon.js
pages/webView/webViewCommon.js
View file @
7134f06
...
...
@@ -60,7 +60,7 @@ export function createWebViewPage(sharePagePath) {
decodeUrl
=
this
.
appendParamsToUrl
(
decodeUrl
,
{
openType
:
options
.
openType
})
}
}
// const baseUrl = this.getBaseUrl(decodeUrl)
try
{
const
stored
=
wx
.
getStorageSync
(
WEBVIEW_H5_TOKENS_KEY
)
...
...
@@ -113,6 +113,7 @@ export function createWebViewPage(sharePagePath) {
url
:
`
${
decodeUrl
}
?pushed=
${
options
.
pushed
}
&source=
${
options
.
source
}
&carConditionCode=
${
options
.
carConditionCode
}
&operator=
${
userInfo
.
name
}
`
})
}
if
(
decodeUrl
.
includes
(
'/vehicle-detail'
))
this
.
setData
({
shareTitle
:
'车况信息'
})
},
setTime
(
param
)
{
...
...
@@ -212,7 +213,7 @@ export function createWebViewPage(sharePagePath) {
onShareAppMessage
(
options
)
{
const
{
url
,
shareTitle
}
=
this
.
data
if
(
options
.
webviewUrl
.
includes
(
'/vehicle-detail'
))
shareTitle
=
'车况信息'
if
(
options
?.
webviewUrl
?
.
includes
(
'/vehicle-detail'
))
shareTitle
=
'车况信息'
// onShareAppMessage() {
if
(
this
.
data
.
shareDisabled
)
return
// const { url } = this.data
...
...
@@ -225,7 +226,7 @@ export function createWebViewPage(sharePagePath) {
onShareTimeline
()
{
const
{
url
,
shareTitle
}
=
this
.
data
if
(
options
.
webviewUrl
.
includes
(
'/vehicle-detail'
))
shareTitle
=
'车况信息'
if
(
options
?.
webviewUrl
?
.
includes
(
'/vehicle-detail'
))
shareTitle
=
'车况信息'
if
(
this
.
data
.
shareDisabled
)
return
// const { url } = this.data
const
encoded
=
encodeURIComponent
(
url
||
''
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment