记得上下班打卡 | 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
6c414603
Commit
6c414603
authored
Jan 17, 2022
by
dongchun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编辑正在下单的skp接口数据格式,及修改金刚位页面逻辑
parent
ad63c01b
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
188 additions
and
118 deletions
+188
-118
RubikArea.html
...resources/templates/zhengzai/store/homeSet/RubikArea.html
+1
-1
carefullyGoods.html
...rces/templates/zhengzai/store/homeSet/carefullyGoods.html
+1
-1
index.html
...ain/resources/templates/zhengzai/store/homeSet/index.html
+1
-1
kingArea.html
.../resources/templates/zhengzai/store/homeSet/kingArea.html
+56
-12
searchStore.html
...sources/templates/zhengzai/store/homeSet/searchStore.html
+1
-1
topBanner.html
...resources/templates/zhengzai/store/homeSet/topBanner.html
+1
-1
setGoodsRole.html
...s/templates/zhengzai/store/placingOrder/setGoodsRole.html
+127
-101
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/RubikArea.html
View file @
6c414603
...
...
@@ -153,7 +153,7 @@
</div>
<div
class=
"function_area"
>
<iframe
src=
"http://172.16.
2.214:8080/#/goods/home?place=admin"
width=
"375"
height=
"896
"
frameborder=
"0"
></iframe>
<iframe
src=
"http://172.16.
3.82:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190
"
frameborder=
"0"
></iframe>
</div>
</div>
</div>
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/carefullyGoods.html
View file @
6c414603
...
...
@@ -168,7 +168,7 @@
</div>
<div
class=
"function_area"
>
<iframe
src=
"http://
m.zhengzai.tv"
width=
"375"
height=
"896
"
frameborder=
"0"
></iframe>
<iframe
src=
"http://
172.16.3.82:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190
"
frameborder=
"0"
></iframe>
</div>
</div>
</div>
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/index.html
View file @
6c414603
...
...
@@ -138,7 +138,7 @@
<div
class=
"huDongBanner"
onclick=
"goArea(2)"
>
<span
class=
"huDongBannerSp"
onclick=
"delSp(2)"
>
X
</span>
</div>
<iframe
src=
"http://172.16.
2.214
:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190"
frameborder=
"0"
></iframe>
<iframe
src=
"http://172.16.
3.82
:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190"
frameborder=
"0"
></iframe>
</div>
</div>
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/kingArea.html
View file @
6c414603
...
...
@@ -87,7 +87,7 @@
display
:
none
!important
;
}
.ibox-content
.imgBox
{
width
:
350px
;
max-
width
:
350px
;
max-height
:
180px
;
}
.jump
,
.ticket_name
,
.set_function_time
{
...
...
@@ -145,7 +145,7 @@
</div>
<div
class=
"function_area"
>
<iframe
src=
"http://
m.zhengzai.tv"
width=
"375"
height=
"896
"
frameborder=
"0"
></iframe>
<iframe
src=
"http://
172.16.3.82:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190
"
frameborder=
"0"
></iframe>
</div>
</div>
</div>
...
...
@@ -193,7 +193,7 @@
类型:
</div>
<div class="iptOrSelect" style="margin-right: 12px;">
<select id="jumpType
${
i
}
" onchange="changeJump(this)" value="
${
data
[
i
].
navigationType
}
" class="type form-control" data-first-title="请选择">
<select id="jumpType
${
i
}
" onchange="changeJump(this)" value="
${
data
[
i
].
navigationType
}
" class="type
Select type
form-control" data-first-title="请选择">
<option value="1">分类</option>
<option value="2">专题页</option>
<option value="3">商品单品</option>
...
...
@@ -206,12 +206,12 @@
</div>
<div class="typeSelect
${
i
}
" style="display:flex;flex:1">
<div class="iptOrSelect">
<select id="jumpSelect
${
i
}
" class="type
form-control" data-first-title="请选择">
<select id="jumpSelect
One
${
i
}
" onchange="selectFirst(this)" class="type1
form-control" data-first-title="请选择">
<option value="">请选择</option>
</select>
</div>
<div class="iptOrSelect">
<select id="jumpSelect
${
i
}
" class="type
form-control" data-first-title="请选择">
<select id="jumpSelect
Two
${
i
}
" class="type2
form-control" data-first-title="请选择">
<option value="">请选择</option>
</select>
</div>
...
...
@@ -254,13 +254,13 @@
common
(
i
)
// setTimeout(() => {
let
type
=
data
[
i
].
navigationType
;
console
.
log
(
type
,
i
,
'看看'
)
showOrhide
(
type
,
i
)
showOrhide
(
type
,
i
,
data
[
i
].
categoryType
)
$
(
"#jumpType"
+
i
+
" option[value="
+
type
+
"]"
).
attr
(
'selected'
,
'selected'
);
// }, 500);
}
}
else
{
console
.
log
(
'?'
)
addItem
(
4
);
}
})
...
...
@@ -298,7 +298,8 @@
类型:
</div>
<div class="iptOrSelect" style="margin-right: 12px;">
<select id="jumpType
${
i
}
" onchange="changeJump(this)" class="type form-control" data-first-title="请选择">
<select id="jumpType
${
i
}
" onchange="changeJump(this)" class="typeSelect type form-control" data-first-title="请选择">
<option value="">请选择</option>
<option value="1">分类</option>
<option value="2">专题页</option>
<option value="3">商品单品</option>
...
...
@@ -311,12 +312,12 @@
</div>
<div class="typeSelect
${
i
}
" style="display:flex;flex:1">
<div class="iptOrSelect">
<select id="jumpSelect
${
i
}
" class="type
form-control" data-first-title="请选择">
<select id="jumpSelect
One
${
i
}
" onchange="selectFirst(this)" class="type1
form-control" data-first-title="请选择">
<option value="">请选择</option>
</select>
</div>
<div class="iptOrSelect">
<select id="jumpSelect
${
i
}
" class="type
form-control" data-first-title="请选择">
<select id="jumpSelect
Two
${
i
}
" class="type2
form-control" data-first-title="请选择">
<option value="">请选择</option>
</select>
</div>
...
...
@@ -355,14 +356,18 @@
let
arr
=
[];
let
obj
=
{};
Array
.
prototype
.
forEach
.
call
(
itmeLength
,
function
(
item
,
index
)
{
let
type
=
[];
if
(
$
(
"#jumpType"
+
index
+
""
).
val
()
==
2
)
{
obj
[
'activityUrl'
]
=
item
.
querySelector
(
".linkUrl"
).
value
;
obj
[
'spuId'
]
=
''
;
}
else
if
(
$
(
"#jumpType"
+
index
+
""
).
val
()
==
3
)
{
obj
[
'activityUrl'
]
=
''
;
obj
[
'spuId'
]
=
item
.
querySelector
(
".storeList"
).
getAttribute
(
'data-id'
);
}
else
{
type
.
push
(
item
.
querySelector
(
".type1"
).
value
)
type
.
push
(
item
.
querySelector
(
".type2"
).
value
)
}
obj
[
'categoryType'
]
=
''
;
obj
[
'categoryType'
]
=
type
.
toString
();
//
obj
[
'createTime'
]
=
''
;
obj
[
'delTag'
]
=
'0'
;
obj
[
'displayType'
]
=
hang
;
...
...
@@ -424,13 +429,52 @@
let
jumpType
=
$
(
e
).
val
();
// 选中的跳转类型
showOrhide
(
jumpType
,
index
)
}
function
showOrhide
(
jumpType
,
index
)
{
function
selectFirst
(
e
)
{
let
index
=
$
(
e
).
attr
(
'id'
).
replace
(
/
[^\d]
/g
,
''
);
// 选中的是第几组
let
jumpType
=
$
(
e
).
val
();
// 选中的跳转类型
categoryMethods
(
jumpType
,
index
,
3
)
}
function
categoryMethods
(
parentsId
,
num
,
type
,
categoryType
)
{
let
data
=
{
cateId
:
parentsId
,
grade
:
type
-
1
}
$
.
ajax
({
type
:
'post'
,
url
:
'/goblin/category/filter'
,
data
,
success
:
function
(
res
)
{
const
{
data
}
=
res
;
let
str
=
''
;
data
.
forEach
(
item
=>
{
if
(
categoryType
)
{
let
categoryTypeArr
=
categoryType
.
split
(
','
);
if
(
item
.
cateId
==
categoryTypeArr
[
0
]
||
item
.
cateId
==
categoryTypeArr
[
1
])
{
str
+=
`<option value="
${
item
.
cateId
}
" selected>
${
item
.
name
}
</option>`
categoryMethods
(
item
.
cateId
,
num
,
3
,
categoryType
)
}
else
{
str
+=
`<option value="
${
item
.
cateId
}
">
${
item
.
name
}
</option>`
}
}
else
{
str
+=
`<option value="
${
item
.
cateId
}
">
${
item
.
name
}
</option>`
}
})
if
(
!
parentsId
)
{
$
(
"#jumpSelectOne"
+
num
+
""
).
append
(
str
);
}
else
{
$
(
"#jumpSelectTwo"
+
num
+
""
).
append
(
str
);
}
}
})
}
function
showOrhide
(
jumpType
,
index
,
categoryType
)
{
switch
(
jumpType
.
toString
())
{
case
'1'
:
$
(
'.shwoSelect'
+
index
+
''
).
hide
();
$
(
'.link'
+
index
+
''
).
hide
();
$
(
'.typeSelect'
+
index
+
''
).
show
();
$
(
".titleDiv"
+
index
+
""
).
text
(
'选择分类:'
);
categoryMethods
(
''
,
index
,
2
,
categoryType
)
break
;
case
'2'
:
$
(
'.shwoSelect'
+
index
+
''
).
hide
();
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/searchStore.html
View file @
6c414603
...
...
@@ -114,7 +114,7 @@
</div>
<div
class=
"function_area"
>
<iframe
src=
"http://
m.zhengzai.tv"
width=
"375"
height=
"896
"
frameborder=
"0"
></iframe>
<iframe
src=
"http://
172.16.3.82:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190
"
frameborder=
"0"
></iframe>
</div>
</div>
</div>
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/homeSet/topBanner.html
View file @
6c414603
...
...
@@ -150,7 +150,7 @@
</div>
<div
class=
"function_area"
>
<
!-- <iframe src="http://m.zhengzai.tv" width="375" height="896" frameborder="0"></iframe> --
>
<
iframe
src=
"http://172.16.3.82:8080/#/goods/home?place=admin"
width=
"375"
height=
"1190"
frameborder=
"0"
></iframe
>
</div>
</div>
</div>
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/store/placingOrder/setGoodsRole.html
View file @
6c414603
...
...
@@ -82,115 +82,141 @@
storeId
:
unescape
(
r2
[
2
]),
marketSpuId
:
unescape
(
r3
[
2
])
};
let
data
=
[];
let
data
s
=
[];
$
.
ajax
({
url
:
'/goblin/marketing/zhengzai/sku'
,
type
:
'post'
,
data
:
params
,
success
:
function
(
param
s
)
{
success
:
function
(
re
s
)
{
console
.
log
(
params
)
var
options
=
{
id
:
'setTable'
,
// url: '/goblin/marketing/zhengzai/sku',
createUrl
:
prefix2
+
"/addNewActivity"
,
detailUrl
:
prefix2
+
"/addNewActivity?id={id}"
,
removeUrl
:
prefix
+
"/cancel/{id}"
,
openTab
:
prefix2
+
"/activityStoreList/id={id}"
,
// exportUrl: prefix + "/export",
sortName
:
"createdAt"
,
sortOrder
:
"desc"
,
modalName
:
"活动"
,
showSearch
:
false
,
showRefresh
:
false
,
showColumns
:
false
,
showToggle
:
false
,
pagination
:
false
,
data
:
datas
,
columns
:
[
// {
// field: 'valFace',
// title: '颜色',
// width: '100',
// align: 'center',
// formatter: function(value) {
// return '七彩湛蓝色'
// }
// },
// {
// field: 'bindType',
// title: '尺寸',
// align: 'center',
// formatter: function(value, row, index) {
// // $('.pull-right').hide()
// return 'XXXL'
// },
// width: '80'
// },
{
field
:
'bindType'
,
title
:
'原价'
,
width
:
'100'
,
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
'299999999'
}
},
{
field
:
'bindType'
,
title
:
'其他活动占用库存'
,
width
:
'120'
,
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
'2021'
}
},
{
field
:
'bindType'
,
title
:
`线下售价<a onclick="setPrice(1)">批量</a>`
,
width
:
'150'
,
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
`<input id="price
${
index
}
" class='form-control' type='text' name='' value=''>`
}
},
{
field
:
'bindType'
,
title
:
'库存限量<a onclick="setPrice(2)">批量</a>'
,
width
:
'150'
,
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
`<input id="goodsNum
${
index
}
" class='form-control' type='text' name='' value=''>`
}
},
{
field
:
'bindType'
,
title
:
'用户限购<a onclick="setPrice(3)">批量</a>'
,
width
:
'150'
,
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
`<input id="purchasing
${
index
}
" class='form-control' type='text' name='' value=''>`
}
},
{
title
:
'购买条件'
,
align
:
'center'
,
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
`<div style="display:flex;">
<label style="margin-right:12px;">
<input type="radio" checked value="1" id="optionsRadios1" name="optionsRadios
${
index
}
"><span>全部用户</span></label>
<label style="margin-right:12px;">
<input type="radio" value="2" id="optionsRadios1" name="optionsRadios
${
index
}
"><span>仅支持会员购买</span></label>
<label style="margin-right:12px;">
<input type="radio" value="3" id="optionsRadios1" name="optionsRadios
${
index
}
"><span>指定用户购买</span></label>
</div>`
}
}]
};
if
(
res
.
code
==
0
)
{
let
{
data
}
=
res
;
let
columnsData
=
data
[
0
].
skuSpecList
if
(
columnsData
&&
columnsData
.
length
>
0
)
{
let
obj
=
{
field
:
''
,
title
:
''
,
align
:
'center'
,
formatter
:
function
(
value
,
row
)
{
return
'七彩湛蓝色'
}
}
columnsData
.
forEach
((
item
,
index
)
=>
{
obj
.
field
=
'specVname'
+
index
+
''
;
obj
.
title
=
item
.
specName
;
options
.
columns
.
unshift
(
obj
)
})
}
datas
=
data
.
map
(
item
=>
{
item
.
skuSpecList
.
forEach
((
d
,
i
)
=>
[
item
[
'specVname'
+
index
+
''
]
=
d
.
specName
])
return
item
})
}
$
.
table
.
init
(
options
);
}
})
return
var
options
=
{
id
:
'setTable'
,
// url: '/goblin/marketing/zhengzai/sku',
createUrl
:
prefix2
+
"/addNewActivity"
,
detailUrl
:
prefix2
+
"/addNewActivity?id={id}"
,
removeUrl
:
prefix
+
"/cancel/{id}"
,
openTab
:
prefix2
+
"/activityStoreList/id={id}"
,
// exportUrl: prefix + "/export",
sortName
:
"createdAt"
,
sortOrder
:
"desc"
,
modalName
:
"活动"
,
showSearch
:
false
,
showRefresh
:
false
,
showColumns
:
false
,
showToggle
:
false
,
pagination
:
false
,
data
:
data
,
columns
:
[
{
field
:
'valFace'
,
title
:
'颜色'
,
width
:
'100'
,
align
:
'center'
,
formatter
:
function
(
value
)
{
return
'七彩湛蓝色'
}
},
{
field
:
'bindType'
,
title
:
'尺寸'
,
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
// $('.pull-right').hide()
return
'XXXL'
},
width
:
'80'
},
{
field
:
'bindType'
,
title
:
'原价'
,
width
:
'100'
,
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
'299999999'
}
},
{
field
:
'bindType'
,
title
:
'其他活动占用库存'
,
width
:
'120'
,
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
'2021'
}
},
{
field
:
'bindType'
,
title
:
`线下售价<a onclick="setPrice(1)">批量</a>`
,
width
:
'150'
,
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
`<input id="price
${
index
}
" class='form-control' type='text' name='' value=''>`
}
},
{
field
:
'bindType'
,
title
:
'库存限量<a onclick="setPrice(2)">批量</a>'
,
width
:
'150'
,
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
`<input id="goodsNum
${
index
}
" class='form-control' type='text' name='' value=''>`
}
},
{
field
:
'bindType'
,
title
:
'用户限购<a onclick="setPrice(3)">批量</a>'
,
width
:
'150'
,
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
`<input id="purchasing
${
index
}
" class='form-control' type='text' name='' value=''>`
}
},
{
title
:
'购买条件'
,
align
:
'center'
,
align
:
'center'
,
formatter
:
function
(
value
,
row
,
index
)
{
return
`<div style="display:flex;">
<label style="margin-right:12px;">
<input type="radio" checked value="1" id="optionsRadios1" name="optionsRadios
${
index
}
"><span>全部用户</span></label>
<label style="margin-right:12px;">
<input type="radio" value="2" id="optionsRadios1" name="optionsRadios
${
index
}
"><span>仅支持会员购买</span></label>
<label style="margin-right:12px;">
<input type="radio" value="3" id="optionsRadios1" name="optionsRadios
${
index
}
"><span>指定用户购买</span></label>
</div>`
}
}]
};
$
.
table
.
init
(
options
);
});
function
setPrice
(
num
)
{
pickNumber
=
num
;
...
...
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