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
82554f51
Commit
82554f51
authored
Aug 28, 2020
by
zhengxiuming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改分期标签
parent
ee77b987
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
search.vue
pages/search/search.vue
+5
-2
No files found.
pages/search/search.vue
View file @
82554f51
...
...
@@ -45,7 +45,7 @@
<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}`)">
<view
class=
"image-outer"
@
click=
"jumpPhpPage(`app=goods&id=$
{item._source.goods_id}`
, item._source.equipment_id
)">
<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>
</view>
...
...
@@ -166,8 +166,11 @@
})
},
// 跳转商品详情页
jumpPhpPage
(
url
)
{
jumpPhpPage
(
url
,
id
)
{
let
link
=
url
?
`
${
php
}${
url
}
`
:
php
;
if
(
id
){
link
=
window
.
location
.
origin
+
`/uni/pages/installment/installmentinfo?id=218`
;
}
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