Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
singleStore
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Max
singleStore
Commits
09ecf4df
Commit
09ecf4df
authored
Nov 10, 2021
by
DESKTOP-RL2O6OD\没有姓名的打工人
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复首页搜索商品重复的问题
parent
a6e4fb7c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
33 deletions
+29
-33
pages/home/index.vue
pages/home/index.vue
+27
-31
pages/mine/index.vue
pages/mine/index.vue
+2
-2
No files found.
pages/home/index.vue
View file @
09ecf4df
...
...
@@ -128,39 +128,35 @@
v-for=
"(item, index) in searchList"
:key=
"index"
>
<template
v-for=
"(search, searchidx) in item"
<navigator
class=
"list-item mb-3 ml-3"
hover-class=
"none"
v-for=
"good in item"
:key=
"good.goods_id"
:url=
"'/pages/goods/detail?goods_id=' + good.goods_id"
>
<navigator
class=
"list-item mb-3 ml-3"
hover-class=
"none"
v-for=
"good in item"
:key=
"good.goods_id"
:url=
"'/pages/goods/detail?goods_id=' + good.goods_id"
>
<image
lazy-load
class=
"goods_cover w-100"
:src=
"baseUrl + '/' + good.goods_thumb"
mode=
"aspectFit"
/>
<view
class=
"goods-info flex flex-column j-between"
>
<view
class=
"title font-28 my-1"
>
{{
good
.
goods_name
}}
</view>
<view
class=
"flex j-between a-center mt-1 mb-2"
>
<price
:is_inquiry=
"good.is_inquiry"
:price=
"good.shop_price"
/>
<image
class=
"cart-btn"
@
click.stop=
"handlePop(good)"
src=
"/static/images/common/icon-cart.png"
mode=
"aspectFit"
/>
</view>
<image
lazy-load
class=
"goods_cover w-100"
:src=
"baseUrl + '/' + good.goods_thumb"
mode=
"aspectFit"
/>
<view
class=
"goods-info flex flex-column j-between"
>
<view
class=
"title font-28 my-1"
>
{{
good
.
goods_name
}}
</view>
<view
class=
"flex j-between a-center mt-1 mb-2"
>
<price
:is_inquiry=
"good.is_inquiry"
:price=
"good.shop_price"
/>
<image
class=
"cart-btn"
@
click.stop=
"handlePop(good)"
src=
"/static/images/common/icon-cart.png"
mode=
"aspectFit"
/>
</view>
</
navigator
>
</
template
>
</
view
>
</
navigator
>
</block>
</view>
</view>
...
...
pages/mine/index.vue
View file @
09ecf4df
...
...
@@ -83,13 +83,13 @@
<!-- 功能与服务 -->
<view
class=
"server-wrap"
>
<view
class=
"title font-28 font-bold pt-3"
>
功能与服务
</view>
<view
<
!--
<
view
class=
"server-item font-28 flex j-between a-center py-3"
@
click=
"nav('news')"
>
<text>
消息中心
</text>
<icon
class=
"right_arrow"
/>
</view>
</view>
-->
<view
class=
"server-item font-28 flex j-between a-center py-3"
@
click=
"phoneCall"
...
...
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