Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shop_mobile_uni
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
郑秀明
shop_mobile_uni
Commits
4337249d
Commit
4337249d
authored
Sep 08, 2020
by
zhengxiuming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
兼容性修改
parent
f6fbffb2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
manifest.json
manifest.json
+1
-1
search.vue
pages/search/search.vue
+2
-2
No files found.
manifest.json
View file @
4337249d
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
"mode"
:
"history"
,
"mode"
:
"history"
,
"base"
:
"/uni"
"base"
:
"/uni"
},
},
"publicPath"
:
"https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/
test
/1.0.29/"
,
"publicPath"
:
"https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/
prod
/1.0.29/"
,
"optimization"
:
{
"optimization"
:
{
"treeShaking"
:
{
"treeShaking"
:
{
"enable"
:
true
"enable"
:
true
...
...
pages/search/search.vue
View file @
4337249d
...
@@ -201,8 +201,8 @@
...
@@ -201,8 +201,8 @@
}
}
this
.
goods_list
=
this
.
goods_list
.
concat
(
data
.
data
||
[]);
this
.
goods_list
=
this
.
goods_list
.
concat
(
data
.
data
||
[]);
this
.
goods_list
.
map
((
item
,
key
)
=>
{
this
.
goods_list
.
map
((
item
,
key
)
=>
{
let
end_time
=
item
.
_source
.
end_time
.
replace
(
/-/g
,
'/'
)
;
let
end_time
=
item
.
_source
.
end_time
?
item
.
_source
.
end_time
.
replace
(
/-/g
,
'/'
)
:
''
;
if
(
item
.
_source
.
is_pro
===
1
&&
new
Date
(
end_time
).
getTime
()
<
new
Date
().
getTime
()){
if
(
item
.
_source
.
is_pro
===
1
&&
new
Date
(
end_time
).
getTime
()
<
new
Date
().
getTime
()){
item
.
_source
.
is_pro
=
0
;
item
.
_source
.
is_pro
=
0
;
}
}
}
);
}
);
...
...
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