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
058eb1d1
Commit
058eb1d1
authored
Sep 02, 2020
by
zhengxiuming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分期商品
parent
40b9d2c7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
search.vue
pages/search/search.vue
+4
-4
No files found.
pages/search/search.vue
View file @
058eb1d1
...
...
@@ -45,9 +45,9 @@
<view
class=
"goods-list"
v-if=
"goods_list.length > 0"
>
<view
class=
"goods-item"
v-for=
"(item,index) in goods_list"
:key=
"index"
>
<countDown
v-if=
"item._source.is_pro === 1"
:time=
"item._source.end_time"
></countDown>
<view
class=
"image-outer"
@
click=
"jumpPhpPage(`app=goods&id=$
{item._source.goods_id}`, item._source.equipment_id)">
<view
class=
"image-outer"
@
click=
"jumpPhpPage(`app=goods&id=$
{item._source.goods_id}`, item._source.equipment_id
, item._source.is_show
)">
<image
class=
"goods_image"
:src=
"item._source.default_image || $noGoodsImg"
lazy-load
@
error=
"$__reloadResource(item)"
mode=
"aspectFit"
></image>
<image
v-if=
"item._source.equipment_id"
src=
"https://dbc-static.oss-cn-beijing.aliyuncs.com/static/WechatIMG4.png"
class=
"equipment_logo"
mode=
"aspectFill"
></image>
<image
v-if=
"item._source.equipment_id
&& item._source.is_show == 1
"
src=
"https://dbc-static.oss-cn-beijing.aliyuncs.com/static/WechatIMG4.png"
class=
"equipment_logo"
mode=
"aspectFill"
></image>
</view>
<view
class=
"title"
>
{{
item
.
_source
.
brand
?
`【${item._source.brand
}
】`
:
''
}}
{{
item
.
_source
.
goods_name
}}
<
/view
>
<
view
class
=
"sub-title"
>
{{
item
.
_source
.
goods_subname
}}
<
/view
>
...
...
@@ -166,9 +166,9 @@
}
)
}
,
// 跳转商品详情页
jumpPhpPage
(
url
,
id
)
{
jumpPhpPage
(
url
,
id
,
is_show
)
{
let
link
=
url
?
`${php
}
${url
}
`
:
php
;
if
(
id
){
if
(
id
&&
is_show
==
1
){
link
=
window
.
location
.
origin
+
`/uni/pages/installment/installmentinfo?id=${id
}
`
;
}
window
.
location
.
href
=
link
;
...
...
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