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
06923184
Commit
06923184
authored
Jul 05, 2023
by
杨硕
Browse files
Options
Browse Files
Download
Plain Diff
修改首页
parents
4abf8815
a3e12871
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
14 deletions
+35
-14
pages.json
pages.json
+10
-10
goods.vue
pages/goods/goods.vue
+2
-2
list.vue
pages/order/list.vue
+1
-1
index.vue
pages/shop/index.vue
+22
-1
No files found.
pages.json
View file @
06923184
pages/goods/goods.vue
View file @
06923184
pages/order/list.vue
View file @
06923184
pages/shop/index.vue
View file @
06923184
...
...
@@ -30,6 +30,27 @@
<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>
...
...
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