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
c2825b9a
Commit
c2825b9a
authored
Apr 17, 2022
by
程新智
👽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shop
parent
e0af07f8
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
40 additions
and
4 deletions
+40
-4
App.vue
App.vue
+3
-0
pages.json
pages.json
+6
-0
index.vue
pages/move-car/index.vue
+0
-1
detail.vue
pages/shop/detail.vue
+19
-0
index.vue
pages/shop/index.vue
+12
-3
item.jpg
static/shop/item.jpg
+0
-0
item.png
static/shop/item.png
+0
-0
No files found.
App.vue
View file @
c2825b9a
...
@@ -17,9 +17,12 @@
...
@@ -17,9 +17,12 @@
}
}
uni-page-body
{
uni-page-body
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
background
:
#f9f9f9
;
background
:
#f9f9f9
;
}
}
uni-page-wrapper
{
uni-page-wrapper
{
width
:
100%
;
height
:
100%
;
height
:
100%
;
background
:
#f9f9f9
;
}
}
</
style
>
</
style
>
pages.json
View file @
c2825b9a
...
@@ -124,6 +124,12 @@
...
@@ -124,6 +124,12 @@
"navigationBarTitleText"
:
"精选商城"
"navigationBarTitleText"
:
"精选商城"
}
}
},
},
{
"path"
:
"pages/shop/detail"
,
"style"
:
{
"navigationBarTitleText"
:
"商品详情"
}
},
{
{
"path"
:
"pages/personal/index"
,
"path"
:
"pages/personal/index"
,
"style"
:
{
"style"
:
{
...
...
pages/move-car/index.vue
View file @
c2825b9a
...
@@ -83,7 +83,6 @@ export default {
...
@@ -83,7 +83,6 @@ export default {
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.moveCar
{
.moveCar
{
.move_car__content
{
.move_car__content
{
padding
:
40rpx
;
padding
:
40rpx
;
...
...
pages/shop/detail.vue
View file @
c2825b9a
<
template
>
<div
class=
"shop__detail"
>
11
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
}
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
\ No newline at end of file
pages/shop/index.vue
View file @
c2825b9a
...
@@ -25,9 +25,9 @@
...
@@ -25,9 +25,9 @@
<div
class=
"shop__list__one"
>
<div
class=
"shop__list__one"
>
<div
class=
"view__title"
>
车主精选 养车必备
</div>
<div
class=
"view__title"
>
车主精选 养车必备
</div>
<div
class=
"list__one__items"
>
<div
class=
"list__one__items"
>
<div
class=
"one__item"
v-for=
"(vo,inx) in 4"
:key=
"inx"
>
<div
class=
"one__item"
v-for=
"(vo,inx) in 4"
:key=
"inx"
@
click=
"goDetail"
>
<div
class=
"one__item__img"
>
<div
class=
"one__item__img"
>
<image
src=
"../../static/shop/item.
pn
g"
/>
<image
src=
"../../static/shop/item.
jp
g"
/>
</div>
</div>
<div
class=
"one__item__title"
>
<div
class=
"one__item__title"
>
临时停车牌
临时停车牌
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
</div>
</div>
</div>
</div>
</view>
</view>
<u-gap
bgColor=
"transparent"
height=
"
7
0"
></u-gap>
<u-gap
bgColor=
"transparent"
height=
"
6
0"
></u-gap>
</view>
</view>
</
template
>
</
template
>
...
@@ -60,6 +60,13 @@ export default {
...
@@ -60,6 +60,13 @@ export default {
],
],
}
}
},
},
methods
:
{
goDetail
()
{
uni
.
navigateTo
({
url
:
'/pages/shop/detail'
})
}
},
};
};
</
script
>
</
script
>
...
@@ -68,6 +75,7 @@ export default {
...
@@ -68,6 +75,7 @@ export default {
height
:
100%
;
height
:
100%
;
.shop__list__one
{
.shop__list__one
{
padding
:
0
30rpx
;
padding
:
0
30rpx
;
background
:
#f9f9f9
;
.list__one__items
{
.list__one__items
{
display
:
flex
;
display
:
flex
;
...
@@ -89,6 +97,7 @@ export default {
...
@@ -89,6 +97,7 @@ export default {
image
{
image
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
border-radius
:
20rpx
;
}
}
}
}
...
...
static/shop/item.jpg
0 → 100644
View file @
c2825b9a
369 KB
static/shop/item.png
deleted
100644 → 0
View file @
e0af07f8
202 KB
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