Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jd-vx-app
Project
Project
Details
Activity
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
Administrator
jd-vx-app
Commits
3fb01edd
Commit
3fb01edd
authored
May 07, 2022
by
fwz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商城商品搜索跳转详情
parent
7578385a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
search.vue
pagesC/pages/shop/search.vue
+6
-1
No files found.
pagesC/pages/shop/search.vue
View file @
3fb01edd
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<u-search
placeholder=
"请输入商品"
:showAction=
'false'
bgColor=
'#ffffff'
v-model=
"keyword"
@
search=
"searchCommodity"
></u-search>
<u-search
placeholder=
"请输入商品"
:showAction=
'false'
bgColor=
'#ffffff'
v-model=
"keyword"
@
search=
"searchCommodity"
></u-search>
</div>
</div>
<div
class=
"list"
>
<div
class=
"list"
>
<div
class=
"list__item"
v-for=
"(vo,inx) in items"
:key=
"inx"
>
<div
class=
"list__item"
v-for=
"(vo,inx) in items"
:key=
"inx"
@
click=
"goDetail(vo.id)"
>
<div
class=
"list__img"
>
<div
class=
"list__img"
>
<!--
<image
:src=
"vo.img"
/>
-->
<!--
<image
:src=
"vo.img"
/>
-->
<image
:src=
"vo.mainImgUrl"
style=
"width: 160rpx;height: 160rpx;"
></image>
<image
:src=
"vo.mainImgUrl"
style=
"width: 160rpx;height: 160rpx;"
></image>
...
@@ -59,6 +59,11 @@ export default {
...
@@ -59,6 +59,11 @@ export default {
}
}
})
})
},
},
goDetail
(
id
)
{
uni
.
navigateTo
({
url
:
'/pagesC/pages/shop/detail?id='
+
id
})
},
},
},
}
}
</
script
>
</
script
>
...
...
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