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
893bc285
Commit
893bc285
authored
Sep 08, 2020
by
zhengxiuming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
活动bug修改
parent
d7e66166
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
manifest.json
manifest.json
+2
-2
search.vue
pages/search/search.vue
+9
-2
No files found.
manifest.json
View file @
893bc285
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
"name"
:
"shop_mobile_uni"
,
"name"
:
"shop_mobile_uni"
,
"appid"
:
"__UNI__F904656"
,
"appid"
:
"__UNI__F904656"
,
"description"
:
""
,
"description"
:
""
,
"versionName"
:
"1.0.2
7
"
,
"versionName"
:
"1.0.2
9
"
,
"versionCode"
:
"100"
,
"versionCode"
:
"100"
,
"transformPx"
:
false
,
"transformPx"
:
false
,
"app-plus"
:
{
"app-plus"
:
{
...
@@ -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/
mirror/1.0.27
/"
,
"publicPath"
:
"https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/
test/1.0.29
/"
,
"optimization"
:
{
"optimization"
:
{
"treeShaking"
:
{
"treeShaking"
:
{
"enable"
:
true
"enable"
:
true
...
...
pages/search/search.vue
View file @
893bc285
...
@@ -201,8 +201,15 @@
...
@@ -201,8 +201,15 @@
}
}
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
)
=>
{
if
(
item
.
_source
.
is_pro
===
1
&&
new
Date
(
item
.
_source
.
end_time
).
getTime
()
<
new
Date
().
getTime
())
if
(
item
.
_source
.
is_pro
===
1
){
item
.
_source
.
is_pro
=
0
;
if
(
new
Date
(
item
.
_source
.
end_time
).
getTime
()
<
new
Date
().
getTime
()){
item
.
_source
.
is_pro
=
0
;
}
else
{
item
.
_source
.
is_pro
=
1
;
}
}
else
{
item
.
_source
.
is_pro
=
0
;
}
}
);
}
);
this
.
isLogin
=
data
.
login_flg
===
1
;
this
.
isLogin
=
data
.
login_flg
===
1
;
const
{
total
,
page_size
,
current
}
=
data
.
page
;
const
{
total
,
page_size
,
current
}
=
data
.
page
;
...
...
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