Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhengke
jz_Travel
Commits
dd6d7c95
Commit
dd6d7c95
authored
Mar 04, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
签证分享
parent
6e29e93c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
0 deletions
+58
-0
visaDetail.vue
pages/visa/visaDetail.vue
+58
-0
No files found.
pages/visa/visaDetail.vue
View file @
dd6d7c95
...
@@ -731,6 +731,64 @@
...
@@ -731,6 +731,64 @@
url
:
"/pages/visa/visa_Reserve?id="
+
this
.
delMsg
.
Pid
+
'&CreateBy='
+
createBy
,
url
:
"/pages/visa/visa_Reserve?id="
+
this
.
delMsg
.
Pid
+
'&CreateBy='
+
createBy
,
});
});
},
},
// #ifdef MP-WEIXIN
//分享朋友圈
onShareTimeline
()
{
let
uid
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserId
:
0
;
if
(
uid
==
0
)
{
uid
=
uni
.
getStorageSync
(
"pid"
)
?
uni
.
getStorageSync
(
"pid"
).
pid
:
0
;
}
let
SmallShopId
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
SmallShopId
:
0
;
if
(
SmallShopId
==
0
)
{
//如果微店id为0 去找所属微店id
SmallShopId
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserSmallShopId
:
0
;
}
let
title
=
this
.
dataList
.
Name
?
this
.
dataList
.
Name
:
"帖子"
;
let
imageUrl
=
this
.
dataList
.
CoverImageList
&&
this
.
dataList
.
CoverImageList
.
length
>
0
?
this
.
dataList
.
CoverImageList
[
0
]
:
""
;
return
{
title
:
title
,
query
:
"id="
+
this
.
delMsg
.
Pid
+
"&createBy="
+
this
.
createBy
+
this
.
$uiConfig
.
DIRECT_PARAMETER
,
imageUrl
:
imageUrl
,
};
},
// #endif
//分享给朋友
onShareAppMessage
(
res
)
{
let
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
let
uid
=
u
.
UserId
?
u
.
UserId
:
0
;
if
(
uid
==
0
)
{
uid
=
uni
.
getStorageSync
(
"pid"
)
?
uni
.
getStorageSync
(
"pid"
).
pid
:
0
;
}
let
SmallShopId
=
u
.
SmallShopId
?
u
.
SmallShopId
:
0
;
if
(
SmallShopId
==
0
)
{
//如果微店id为0 去找所属微店id
SmallShopId
=
u
.
UserSmallShopId
?
u
.
UserSmallShopId
:
0
;
}
return
{
title
:
this
.
dataList
.
Name
?
this
.
dataList
.
Name
:
"帖子"
,
path
:
"/pages/visa/visaDetail?id="
+
this
.
delMsg
.
Pid
+
"&createBy="
+
this
.
createBy
+
this
.
$uiConfig
.
DIRECT_PARAMETER
,
imageUrl
:
""
,
// imageUrl:
// this.dataList.tempImgCover && this.dataList.tempImgCover.length > 0
// ? this.dataList.tempImgCover[0]
// : "",
};
},
},
},
};
};
</
script
>
</
script
>
...
...
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