Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6e4f4da0
authored
Jul 17, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
30a3061d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
86 additions
and
83 deletions
Application/Home/View/GoodManage/index.html
dist/css/goodmanage.css
dist/css/goodmanage.css.map
Application/Home/View/GoodManage/index.html
View file @
6e4f4da0
...
...
@@ -80,34 +80,34 @@
</div>
</div>
<div
class=
"good_data"
id=
'listData'
>
<!-- <div class="data_list">
<div class="data_item">
<div class="data_detail">
<div class="type fl ellipsis boxsiz">
<span class="bold">STM32F103ZET6STM32F103ZET6</span>
<span class="icon iconfont iconjuxing17"></span>
</div>
<div class="brand fl ellipsis boxsiz">
品牌:<span>Texas Instrument</span>
</div>
<div class="num fl ellipsis boxsiz">库存:
<span>PCS10,000</span>
</div>
<div class="price fl ellipsis boxsiz bold">¥1.8835</div>
<div class="data_status fl boxsiz zs">
<span class="mark lineBlock"></span>
<span class="text">展示中</span>
</div>
<div class="time fr ellipsis boxsiz">2019-05-22 15:35</div>
</div>
<a class="xj fr">下架</a>
<a class="edit fr">编辑</a>
</div>
</div>
<div class="no_data" style="display: none">
<img src="__PUBLIC__/images/nosearchdata.png" alt="">
<p class="bold">未搜索到询价信息</p>
</div>-->
<!-- <div class="data_list">
<div class="data_item">
<div class="data_detail">
<div class="type fl ellipsis boxsiz">
<span class="bold">STM32F103ZET6STM32F103ZET6</span>
<span class="icon iconfont iconjuxing17"></span>
</div>
<div class="brand fl ellipsis boxsiz">
品牌:<span>Texas Instrument</span>
</div>
<div class="num fl ellipsis boxsiz">库存:
<span>PCS10,000</span>
</div>
<div class="price fl ellipsis boxsiz bold">¥1.8835</div>
<div class="data_status fl boxsiz zs">
<span class="mark lineBlock"></span>
<span class="text">展示中</span>
</div>
<div class="time fr ellipsis boxsiz">2019-05-22 15:35</div>
</div>
<a class="xj fr">下架</a>
<a class="edit fr">编辑</a>
</div>
</div>
<div class="no_data" style="display: none">
<img src="__PUBLIC__/images/nosearchdata.png" alt="">
<p class="bold">未搜索到询价信息</p>
</div>-->
</div>
</div>
</div>
...
...
@@ -119,62 +119,63 @@
<script
type=
"text/html"
id=
"listHtml"
>
<
div
class
=
"data_list"
>
{{
#
layui
.
each
(
d
,
function
(
index
,
item
){
}}
<
div
class
=
"data_item"
goodid
=
"{{item.goods_id}}"
>
<
div
class
=
"data_detail"
>
<
div
class
=
"type fl ellipsis boxsiz"
>
<
span
class
=
"bold"
>
{{
item
.
goods_name
}}
<
/span
>
<
span
class
=
"icon iconfont iconjuxing17"
><
/span
>
<
/div
>
<
div
class
=
"brand fl ellipsis boxsiz"
>
品牌:
<
span
>
{{
item
.
brand_name
}}
<
/span
>
<
/div
>
<
div
class
=
"num fl ellipsis boxsiz"
>
库存:
<
span
>
{{
item
.
stock
}}
<
/span
>
<
/div
>
<
div
class
=
"price fl ellipsis boxsiz bold"
>
¥
{{
item
.
price
}}
<
/div
>
{{
#
if
(
item
[
'audit_status'
]
==
1
){
}}
{{
#
if
(
item
[
'status'
]
==
1
){
}}
<
div
class
=
"data_item"
goodid
=
"{{item.goods_id}}"
>
<
div
class
=
"data_detail"
>
<
div
class
=
"type fl ellipsis boxsiz"
>
<
span
class
=
"bold"
>
{{
item
.
goods_name
}}
<
/span
>
<
span
class
=
"icon iconfont iconjuxing17"
><
/span
>
<
/div
>
<
div
class
=
"brand fl ellipsis boxsiz"
>
品牌:
<
span
>
{{
item
.
brand_name
}}
<
/span
>
<
/div
>
<
div
class
=
"num fl ellipsis boxsiz"
>
库存:
<
span
>
{{
item
.
stock
}}
<
/span
>
<
/div
>
<
div
class
=
"price fl ellipsis boxsiz bold"
>
¥
{{
item
.
price
}}
<
/div
>
{{
#
if
(
item
[
'audit_status'
]
==
1
){
}}
{{
#
if
(
item
[
'status'
]
==
1
){
}}
<
div
class
=
"data_status fl boxsiz zs"
>
<
span
class
=
"mark lineBlock"
><
/span><span class="text">展示中</
span
>
<
/div
>
{{
#
}
else
{
}}
{{
#
}
else
{
}}
<
div
class
=
"data_status fl boxsiz xj"
>
<
span
class
=
"mark lineBlock"
><
/span><span class="text">已下架</
span
>
<
/div
>
{{
#
}
}}
{{
#
}
else
{
}}
<
div
class
=
"data_status fl boxsiz jy"
>
<
span
class
=
"mark lineBlock"
><
/span><span class="text">禁用中</
span
>
<
/div
>
{{
#
}
}}
<
div
class
=
"time fr ellipsis boxsiz"
>
{{
layui
.
util
.
toDateString
(
item
.
update_time
*
1000
)}}
<
/div
>
{{
#
}
}}
{{
#
}
else
{
}}
<
div
class
=
"data_status fl boxsiz jy"
>
<
span
class
=
"mark lineBlock"
><
/span><span class="text">禁用中</
span
>
<
/div
>
{{
#
if
(
item
[
'status'
]
==
1
){
}}
{{
#
if
(
item
[
'audit_status'
]
==
1
){
}}
{{
#
}
}}
<
div
class
=
"time fr ellipsis boxsiz"
>
{{
layui
.
util
.
toDateString
(
item
.
update_time
*
1000
)}}
<
/div
>
<
/div
>
{{
#
if
(
item
[
'status'
]
==
1
){
}}
{{
#
if
(
item
[
'audit_status'
]
==
1
){
}}
<
a
class
=
"xj xj_status fr"
>
下架
<
/a
>
{{
#
}
else
{
}}
{{
#
}
else
{
}}
<
a
class
=
"xj xj_status fr disabled"
>
下架
<
/a
>
{{
#
}
}}
{{
#
}
else
{
}}
{{
#
if
(
item
[
'audit_status'
]
==
1
){
}}
<
a
class
=
"fb xj_status fr"
>
发布
<
/a
>
{{
#
}
else
{
}}
{{
#
}
}}
{{
#
}
else
{
}}
{{
#
if
(
item
[
'audit_status'
]
==
1
){
}}
<
a
class
=
"fb xj_status fr"
>
发布
<
/a
>
{{
#
}
else
{
}}
<
a
class
=
"fb xj_status fr disabled"
>
发布
<
/a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
item
[
'audit_status'
]
==
1
){
}}
<
a
class
=
"edit fr
"
>
编辑
<
/a
>
{{
#
}
else
{
}}
<
a
class
=
"edit fr disabled
"
>
编辑
<
/a
>
{{
#
}
}}
<
/div
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
item
[
'audit_status'
]
==
1
){
}}
<
a
class
=
"edit fr"
href
=
"/uploadsingle?id={{item.goods_id}}
"
>
编辑
<
/a
>
{{
#
}
else
{
}}
<
a
class
=
"edit fr disabled"
href
=
"/uploadsingle?id={{item.goods_id}}
"
>
编辑
<
/a
>
{{
#
}
}}
<
/div
>
{{
#
});
}}
{{
#
if
(
d
.
length
===
0
){
}}
{{
#
if
(
d
.
length
===
0
){
}}
<
div
class
=
"no_data"
>
<
img
src
=
"__PUBLIC__/images/nosearchdata.png"
alt
=
""
>
<
p
class
=
"bold"
>
无商品信息
<
/p
>
<
/div
>
{{
#
}
}}
{{
#
}
}}
<
/div
>
<
div
class
=
"pagination-with"
id
=
"pagination"
style
=
"text-align: right;margin-top: 25px;"
><
/div
>
</script>
...
...
@@ -195,18 +196,18 @@
<
div
class
=
"center_line line2"
><
/div
>
</script>
<script>
$
(
'.dgsc'
).
click
(
function
()
{
window
.
location
.
href
=
'/uploadsingle'
})
$
(
'.plsc'
).
click
(
function
()
{
window
.
location
.
href
=
'/bulkupload'
})
$
(
'.xz'
).
click
(
function
()
{
window
.
location
.
href
=
'/uploadresult'
})
$
(
'.data_item'
).
click
(
function
()
{
window
.
location
.
href
=
'/gooddetail'
})
$
(
'.dgsc'
).
click
(
function
()
{
window
.
location
.
href
=
'/uploadsingle'
})
$
(
'.plsc'
).
click
(
function
()
{
window
.
location
.
href
=
'/bulkupload'
})
$
(
'.xz'
).
click
(
function
()
{
window
.
location
.
href
=
'/uploadresult'
})
$
(
'.data_item'
).
click
(
function
()
{
window
.
location
.
href
=
'/gooddetail'
})
</script>
</body>
...
...
dist/css/goodmanage.css
View file @
6e4f4da0
...
...
@@ -241,3 +241,4 @@
.good_manage_content
.good_data
.data_list
.data_item
.xj_status.fb
{
color
:
#0D84D1
;
}
/*# sourceMappingURL=goodmanage.css.map */
\ No newline at end of file
dist/css/goodmanage.css.map
View file @
6e4f4da0
{"version":3,"sources":["goodmanage.less"],"names":[],"mappings":"AAAA;EACI,eAAA;;AADJ,oBAGI;EACI,eAAA;;AAJR,oBAOI;EACI,sBAAA;EACA,aAAA;EACA,kBAAA;;AAVR,oBAOI,YAKI;EACI,aAAA;EACA,kBAAA;;AAdZ,oBAOI,YAKI,IAII;EACI,eAAA;EACA,gBAAA;;AAlBhB,oBAOI,YAKI,IASI;EACI,eAAA;EACA,cAAA;;AAGJ,oBAnBR,YAKI,IAcK,QACG;EACI,cAAA;;AAIR,oBAzBR,YAKI,IAoBK,UACG;EACI,cAAA;;AAIR,oBA/BR,YAKI,IA0BK,QACG;EACI,cAAA;;AAxCpB,oBAOI,YAsCI;EACI,kBAAA;EACA,SAAA;EACA,YAAA;EACA,UAAA;EACA,yBAAA;;AAEA,oBA7CR,YAsCI,aAOK;EACG,YAAA;;AAIJ,oBAlDR,YAsCI,aAYK;EACG,YAAA;;AA1DhB,oBAgEI;EACI,YAAA;EACA,sBAAA;EACA,gBAAA;EACA,eAAA;EACA,cAAA;EACA,eAAA;EACA,iBAAA;;AAvER,oBAgEI,gBASI;EACI,mBAAA;EACA,kBAAA;;AA3EZ,oBAgEI,gBASI,WAII;EACI,UAAA;EACA,QAAA;EACA,kBAAA;EACA,QAAA;;AAjFhB,oBAgEI,gBASI,WAWI;EACI,YAAA;EACA,kBAAA;EACA,yBAAA;EACA,eAAA;EACA,UAAA;EACA,iBAAA;;AAIJ,mBAAqC;EAArC,oBA9BR,gBASI,WAsBQ;IACI,UAAA;;;AAhGpB,oBAgEI,gBASI,WA2BI;EACI,WAAA;;AArGhB,oBAgEI,gBAyCI,UACI;EACI,YAAA;EACA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WAGI,WAoCI,OAGI;EACI,cAAA;;AA7NxB,oBAiLI,WACI,WAGI,WA4CI;EACI,UAAA;;AAlOpB,oBAiLI,WACI,WAGI,WA4CI,KAGI;EACI,cAAA;;AArOxB,oBAiLI,WACI,WAGI,WAoDI;EACI,UAAA;;AA1OpB,oBAiLI,WACI,WAGI,WAoDI,aAGI;EACI,YAAA;EACA,WAAA;EACA,sBAAA;EACA,iBAAA;;AAGJ,oBAlEhB,WACI,WAGI,WAoDI,aAUK,GACG;EACI,yBAAA;;AAIR,oBAxEhB,WACI,WAGI,WAoDI,aAgBK,GACG;EACI,yBAAA;;AA3P5B,oBAiLI,WACI,WAGI,WAoDI,aAsBI;EACI,cAAA;;AAhQxB,oBAiLI,WACI,WAGI,WA+EI;EACI,UAAA;;AArQpB,oBAiLI,WACI,WAGI,WAoFI;EACI,cAAA;EACA,UAAA;;AAGJ,mBAAqC;EAArC,oBA7FZ,WACI,WAGI,WA4FQ;IACI,UAAA;;EAJR,oBA7FZ,WACI,WAGI,WAgGQ;IACI,UAAA;;EARR,oBA7FZ,WACI,WAGI,WAoGQ;IACI,UAAA;;EAZR,oBA7FZ,WACI,WAGI,WAwGQ;IACI,aAAA;;;AA9RxB,oBAiLI,WACI,WAGI,WA6GI;EACI,cAAA;EACA,eAAA;;AApSpB,oBAiLI,WACI,WAGI,WAkHI;EACI,cAAA;EACA,eAAA;EACA,iBAAA;;AAEA,oBA3HhB,WACI,WAGI,WAkHI,IAKK;EACG,cAAA","file":"goodmanage.css"}
\ No newline at end of file
{"version":3,"sources":["goodmanage.less"],"names":[],"mappings":"AAAA;EACI,eAAA;;AADJ,oBAGI;EACI,eAAA;;AAJR,oBAOI;EACI,sBAAA;EACA,aAAA;EACA,kBAAA;;AAVR,oBAOI,YAKI;EACI,aAAA;EACA,kBAAA;;AAdZ,oBAOI,YAKI,IAII;EACI,eAAA;EACA,gBAAA;;AAlBhB,oBAOI,YAKI,IASI;EACI,eAAA;EACA,cAAA;;AAGJ,oBAn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AAA;;AArQxB,oBAiLI,WACI,WAGI,WAoFI;EACI,UAAA;;AA1QpB,oBAiLI,WACI,WAGI,WAyFI;EACI,cAAA;EACA,UAAA;;AAGJ,mBAAqC;EAArC,oBAlGZ,WACI,WAGI,WAiGQ;IACI,UAAA;;EAJR,oBAlGZ,WACI,WAGI,WAqGQ;IACI,UAAA;;EARR,oBAlGZ,WACI,WAGI,WAyGQ;IACI,UAAA;;EAZR,oBAlGZ,WACI,WAGI,WA6GQ;IACI,aAAA;;;AAnSxB,oBAiLI,WACI,WAGI,WAkHI;EACI,cAAA;EACA,eAAA;;AACA,oBAzHhB,WACI,WAGI,WAkHI,MAGK;EACG,mBAAA;;AA3SxB,oBAiLI,WACI,WAGI,WA0HI;EACI,cAAA;EACA,eAAA;EACA,iBAAA;;AACA,oBAlIhB,WACI,WAGI,WA0HI,WAIK;EACG,mBAAA;;AAEJ,oBArIhB,WACI,WAGI,WA0HI,WAOK;EACG,cAAA","file":"goodmanage.css"}
\ No newline at end of file
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