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
b2195edd
Commit
b2195edd
authored
Mar 05, 2020
by
郑秀明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
搜索返回按钮
parent
a3ae59ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
search.vue
pages/search/search.vue
+6
-1
No files found.
pages/search/search.vue
View file @
b2195edd
...
...
@@ -2,7 +2,7 @@
<view
class=
"content"
>
<view
class=
"navbar"
:style=
"
{position:headerPosition}">
<view
class=
"search-content"
>
<uni-icons
color=
"#212121"
class=
"search-icon-arrowleft"
size=
"24"
type=
"arrowleft"
/>
<uni-icons
color=
"#212121"
class=
"search-icon-arrowleft"
@
click=
"backHome"
size=
"24"
type=
"arrowleft"
/>
<view
class=
"search-input_box"
@
click=
"searchClick"
>
<view
class=
"search-input_val"
>
{{
searchVal
}}
</view>
<uni-icons
color=
"#999999"
class=
"uni-searchbar__box-icon-search"
size=
"20"
type=
"search"
/>
...
...
@@ -121,6 +121,11 @@
this
.
getData
();
},
methods
:
{
backHome
(){
uni
.
redirectTo
({
url
:
'/pages/home/home'
})
},
// 加入购物车
addCart
(
spec_id
,
quantity
)
{
this
.
$addCart
(
spec_id
,
quantity
,
this
.
isLogin
);
...
...
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