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
08f82585
authored
Nov 15, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加询价有效期
parent
a67a4816
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
0 deletions
Application/Home/View/Home/index.html
dist/css/common/base.css
dist/css/common/base.less
dist/js/home/index.js
Application/Home/View/Home/index.html
View file @
08f82585
...
@@ -118,11 +118,15 @@
...
@@ -118,11 +118,15 @@
<
div
class
=
"fl num ellipsis"
>
{{
item
.
goods_name
}}
<
/div
>
<
div
class
=
"fl num ellipsis"
>
{{
item
.
goods_name
}}
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"item_middle clr"
>
<
div
class
=
"item_middle clr"
>
{{
#
if
(
item
.
end_time
<
item
.
current_time
){
}}
<
div
class
=
"fl gq"
>
已过期
<
/div
>
{{
#
}
else
{
}}
{{
#
if
(
item
.
offer_num
){
}}
{{
#
if
(
item
.
offer_num
){
}}
<
div
class
=
"fl xjNum"
>
{{
item
.
offer_num
}}
个报价
<
/div
>
<
div
class
=
"fl xjNum"
>
{{
item
.
offer_num
}}
个报价
<
/div
>
{{
#
}
else
{
}}
{{
#
}
else
{
}}
<
div
class
=
"fl xj0"
>
等待报价
<
/div
>
<
div
class
=
"fl xj0"
>
等待报价
<
/div
>
{{
#
}
}}
{{
#
}
}}
{{
#
}
}}
<
div
class
=
"fr time"
>
{{
layui
.
util
.
toDateString
(
item
.
add_time
*
1000
)}}
<
/div
>
<
div
class
=
"fr time"
>
{{
layui
.
util
.
toDateString
(
item
.
add_time
*
1000
)}}
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"item_bottom"
>
<
div
class
=
"item_bottom"
>
...
...
dist/css/common/base.css
View file @
08f82585
...
@@ -327,6 +327,11 @@ body {
...
@@ -327,6 +327,11 @@ body {
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
600
;
font-weight
:
600
;
}
}
.goods_data_list
.my_xj_list
.my_xj_item
.item_middle
.gq
{
color
:
#686E73
;
font-size
:
14px
;
font-weight
:
600
;
}
.goods_data_list
.my_xj_list
.my_xj_item
.item_middle
.xj0
{
.goods_data_list
.my_xj_list
.my_xj_item
.item_middle
.xj0
{
color
:
#61A0F2
;
color
:
#61A0F2
;
font-size
:
14px
;
font-size
:
14px
;
...
...
dist/css/common/base.less
View file @
08f82585
...
@@ -387,6 +387,11 @@ body {
...
@@ -387,6 +387,11 @@ body {
font-size: 14px;
font-size: 14px;
font-weight: 600;
font-weight: 600;
}
}
.gq {
color: #686E73;
font-size: 14px;
font-weight: 600;
}
.xj0 {
.xj0 {
color: #61A0F2;
color: #61A0F2;
...
...
dist/js/home/index.js
View file @
08f82585
...
@@ -69,6 +69,11 @@ $(function () {
...
@@ -69,6 +69,11 @@ $(function () {
if
(
type
==
1
)
{
if
(
type
==
1
)
{
arr
=
res
.
data
;
arr
=
res
.
data
;
}
else
{
}
else
{
var
currentTime
=
new
Date
().
toLocaleDateString
();
var
currentTimeStap
=
new
Date
(
currentTime
+
' 23:59:59'
).
getTime
()
/
1000
;
for
(
var
k
in
res
.
inquiry_list
){
res
.
inquiry_list
[
k
].
current_time
=
currentTimeStap
}
arr
=
res
.
inquiry_list
arr
=
res
.
inquiry_list
}
}
layui
.
laytpl
(
getTpl
).
render
(
arr
,
function
(
html
)
{
layui
.
laytpl
(
getTpl
).
render
(
arr
,
function
(
html
)
{
...
...
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