记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
539e80a5
Commit
539e80a5
authored
Jan 18, 2022
by
dongchun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
动态修改iframe地址
parent
07743253
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
54 additions
and
8 deletions
+54
-8
RubikArea.html
...resources/templates/zhengzai/store/homeSet/RubikArea.html
+9
-1
carefullyGoods.html
...rces/templates/zhengzai/store/homeSet/carefullyGoods.html
+9
-1
index.html
...ain/resources/templates/zhengzai/store/homeSet/index.html
+9
-2
kingArea.html
.../resources/templates/zhengzai/store/homeSet/kingArea.html
+9
-2
searchStore.html
...sources/templates/zhengzai/store/homeSet/searchStore.html
+9
-1
topBanner.html
...resources/templates/zhengzai/store/homeSet/topBanner.html
+9
-1
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/RubikArea.html
View file @
539e80a5
...
...
@@ -153,7 +153,7 @@
</div>
<div
class=
"function_area"
>
<iframe
src=
"http://172.16.3.82:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190"
frameborder=
"0"
></iframe>
<iframe
id=
"iframe"
src=
"http://172.16.3.82:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190"
frameborder=
"0"
></iframe>
</div>
</div>
</div>
...
...
@@ -171,6 +171,14 @@
let
updateTime
=
''
;
$
(
function
()
{
// addItem (1);
let
url
=
window
.
location
.
hostname
;
if
(
url
.
includes
(
'test'
))
{
$
(
"#iframe"
).
attr
(
'src'
,
'https://testm.zhengzai.tv/#/goods/home?place=admin'
);
}
else
if
(
!
url
.
includes
(
'test'
)
&&
url
.
includes
(
'admin'
))
{
$
(
"#iframe"
).
attr
(
'src'
,
'https://m.zhengzai.tv/#/goods/home?place=admin'
);
}
else
{
}
promiseMethods
(
'/goblin-front-cube/list'
,
'post'
).
then
(
res
=>
{
let
{
data
}
=
res
;
if
(
data
&&
data
.
length
>
0
)
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/carefullyGoods.html
View file @
539e80a5
...
...
@@ -168,7 +168,7 @@
</div>
<div
class=
"function_area"
>
<iframe
src=
"http://172.16.3.82:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190"
frameborder=
"0"
></iframe>
<iframe
id=
"iframe"
src=
"http://172.16.3.82:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190"
frameborder=
"0"
></iframe>
</div>
</div>
</div>
...
...
@@ -184,6 +184,14 @@
let
selectGoodsId
=
''
;
let
updateTime
=
''
;
$
(
function
()
{
let
url
=
window
.
location
.
hostname
;
if
(
url
.
includes
(
'test'
))
{
$
(
"#iframe"
).
attr
(
'src'
,
'https://testm.zhengzai.tv/#/goods/home?place=admin'
);
}
else
if
(
!
url
.
includes
(
'test'
)
&&
url
.
includes
(
'admin'
))
{
$
(
"#iframe"
).
attr
(
'src'
,
'https://m.zhengzai.tv/#/goods/home?place=admin'
);
}
else
{
}
promiseMethods
(
'/selectGoods/getList'
,
'post'
).
then
(
res
=>
{
console
.
log
(
res
,
121212
)
let
{
data
}
=
res
;
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/index.html
View file @
539e80a5
...
...
@@ -138,7 +138,7 @@
<div
class=
"huDongBanner"
onclick=
"goArea(2)"
>
<span
class=
"huDongBannerSp"
onclick=
"delSp(2)"
>
X
</span>
</div>
<iframe
src=
"http://172.16.3.82:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190"
frameborder=
"0"
></iframe>
<iframe
id=
"iframe"
src=
"http://172.16.3.82:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190"
frameborder=
"0"
></iframe>
</div>
</div>
...
...
@@ -147,7 +147,14 @@
<script
th:inline=
"javascript"
>
var
prefix2
=
ctx
+
"local"
;
$
(
function
()
{
console
.
log
(
window
.
location
,
ctx
,
window
.
location
.
hostname
,
'ctx'
)
let
url
=
window
.
location
.
hostname
;
if
(
url
.
includes
(
'test'
))
{
$
(
"#iframe"
).
attr
(
'src'
,
'https://testm.zhengzai.tv/#/goods/home?place=admin'
);
}
else
if
(
!
url
.
includes
(
'test'
)
&&
url
.
includes
(
'admin'
))
{
$
(
"#iframe"
).
attr
(
'src'
,
'https://m.zhengzai.tv/#/goods/home?place=admin'
);
}
else
{
}
modalPx
()
})
function
goArea
(
num
)
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/kingArea.html
View file @
539e80a5
...
...
@@ -145,7 +145,7 @@
</div>
<div
class=
"function_area"
>
<iframe
src=
"http://172.16.3.82:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190"
frameborder=
"0"
></iframe>
<iframe
id=
"iframe"
src=
"http://172.16.3.82:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190"
frameborder=
"0"
></iframe>
</div>
</div>
</div>
...
...
@@ -159,7 +159,14 @@
let
jumpType
=
1
;
let
hang
=
1
;
$
(
function
()
{
let
url
=
window
.
location
.
hostname
;
if
(
url
.
includes
(
'test'
))
{
$
(
"#iframe"
).
attr
(
'src'
,
'https://testm.zhengzai.tv/#/goods/home?place=admin'
);
}
else
if
(
!
url
.
includes
(
'test'
)
&&
url
.
includes
(
'admin'
))
{
$
(
"#iframe"
).
attr
(
'src'
,
'https://m.zhengzai.tv/#/goods/home?place=admin'
);
}
else
{
}
promiseMethods
(
'/navigation/list'
,
'post'
).
then
(
res
=>
{
let
{
data
}
=
res
;
if
(
data
&&
data
.
length
>
0
)
{
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/searchStore.html
View file @
539e80a5
...
...
@@ -114,7 +114,7 @@
</div>
<div
class=
"function_area"
>
<iframe
src=
"http://172.16.3.82:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190"
frameborder=
"0"
></iframe>
<iframe
id=
"iframe"
src=
"http://172.16.3.82:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190"
frameborder=
"0"
></iframe>
</div>
</div>
</div>
...
...
@@ -128,6 +128,14 @@
let
hotWordId
=
''
;
let
updateTime
=
''
;
$
(
function
(){
let
url
=
window
.
location
.
hostname
;
if
(
url
.
includes
(
'test'
))
{
$
(
"#iframe"
).
attr
(
'src'
,
'https://testm.zhengzai.tv/#/goods/home?place=admin'
);
}
else
if
(
!
url
.
includes
(
'test'
)
&&
url
.
includes
(
'admin'
))
{
$
(
"#iframe"
).
attr
(
'src'
,
'https://m.zhengzai.tv/#/goods/home?place=admin'
);
}
else
{
}
promiseMethods
(
'/hotWord/list'
,
'post'
).
then
(
res
=>
{
let
data
=
res
.
data
[
0
];
mid
=
data
.
mid
;
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/topBanner.html
View file @
539e80a5
...
...
@@ -150,7 +150,7 @@
</div>
<div
class=
"function_area"
>
<iframe
src=
"http://172.16.3.82:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190"
frameborder=
"0"
></iframe>
<iframe
id=
"iframe"
src=
"http://172.16.3.82:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190"
frameborder=
"0"
></iframe>
</div>
</div>
</div>
...
...
@@ -163,6 +163,14 @@
let
num
=
0
;
let
type
=
0
;
$
(
function
(){
let
url
=
window
.
location
.
hostname
;
if
(
url
.
includes
(
'test'
))
{
$
(
"#iframe"
).
attr
(
'src'
,
'https://testm.zhengzai.tv/#/goods/home?place=admin'
);
}
else
if
(
!
url
.
includes
(
'test'
)
&&
url
.
includes
(
'admin'
))
{
$
(
"#iframe"
).
attr
(
'src'
,
'https://m.zhengzai.tv/#/goods/home?place=admin'
);
}
else
{
}
let
name
=
'id'
;
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
var
r
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg
);
...
...
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