Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eMall_miniapp
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
高宇
eMall_miniapp
Commits
f89138ef
Commit
f89138ef
authored
Jul 05, 2023
by
杨硕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改首页
parent
06923184
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
22 deletions
+1
-22
index.vue
pages/shop/index.vue
+1
-22
No files found.
pages/shop/index.vue
View file @
f89138ef
...
...
@@ -30,27 +30,6 @@
<view
class=
"gl-price"
>
¥
{{
formatPrice
(
item
.
price
)
}}
</view>
</view>
</view>
<view>
<u-tabs
:list=
"navList"
:is-scroll=
"false"
:current=
"activeNav"
@
change=
"changeNav"
></u-tabs>
<u-row
gutter=
"16"
>
<u-col
style=
"padding:0px;"
v-for=
"(topic,index) in topicList"
:key=
"index"
:span=
"(index+3)%3===0?6:3"
>
<u-image
width=
"100%"
height=
"180rpx"
:src=
"topic.img"
@
click=
"toTopic(topic.id)"
></u-image>
</u-col>
</u-row>
<view>
<view
class=
"gl-title"
>
热门推荐
</view>
<view
class=
"gl-body"
>
<u-row
v-for=
"(item,index) in hotList"
:key=
"index"
>
<u-col
:span=
"4"
class=
"gl-img"
>
<u-image
width=
"170rpx"
height=
"170rpx"
:src=
"item.img"
@
click=
"toDetail(item.id)"
></u-image>
</u-col>
<u-col
:span=
"8"
@
click=
"toDetail(item.id)"
>
<view
class=
"gl-name"
>
{{
item
.
name
}}
</view>
<view
class=
"gl-descript"
>
{{
item
.
descript
}}
</view>
<view
class=
"gl-price"
>
¥
{{
formatPrice
(
item
.
price
)
}}
</view>
</u-col>
</u-row>
</view>
</view>
...
...
@@ -245,4 +224,4 @@
justify-content
:
center
;
margin-left
:
20
rpx
;
}
</
style
>
</
style
>
\ No newline at end of file
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