Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
5fd8c4f3
Commit
5fd8c4f3
authored
Jan 09, 2025
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
0d4eef78
9600f1a8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
tripUtils.js
src/assets/utils/tripUtils.js
+11
-0
choose_menu.vue
src/components/WebSet/plug-in/choose_menu.vue
+2
-1
No files found.
src/assets/utils/tripUtils.js
View file @
5fd8c4f3
...
...
@@ -845,6 +845,17 @@ var tripUtils = {
}
return
url
;
},
// b2c首页系列url
GetB2CHomeSeriesUrl
(
B2BDomain
,
ConfigId
,
tcid
)
{
var
url
=
""
;
if
(
B2BDomain
)
{
url
=
"http://"
+
B2BDomain
+
"/#/detailsProduct/"
+
tcid
+
"/"
+
ConfigId
;
}
return
url
;
},
//跳转到B2C页面
GotoB2CPage
(
B2BDomain
,
ConfigId
,
tcid
)
{
if
(
B2BDomain
)
{
...
...
src/components/WebSet/plug-in/choose_menu.vue
View file @
5fd8c4f3
...
...
@@ -354,7 +354,8 @@
this
.
dataList
.
forEach
((
item
)
=>
{
if
(
item
.
Checked
)
{
obj
.
MenuName
=
item
.
Title
;
obj
.
MenuUrl
=
this
.
$tripUtils
.
GetB2BUrl
(
domainUrl
,
item
.
ConfigId
,
item
.
TCID
);
// obj.MenuUrl = this.$tripUtils.GetB2BUrl(domainUrl, item.ConfigId, item.TCID);
obj
.
MenuUrl
=
this
.
$tripUtils
.
GetB2CHomeSeriesUrl
(
domainUrl
,
item
.
ID
,
item
.
TCIDEnStr
);
if
(
item
.
ImgCover
&&
item
.
ImgCover
.
length
>
0
)
{
obj
.
ImgUrl
=
item
.
ImgCover
[
0
].
Url
;
}
...
...
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