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
ec033e42
Commit
ec033e42
authored
Apr 17, 2022
by
程新智
👽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shop
parent
c2825b9a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
98 additions
and
10 deletions
+98
-10
detail.vue
pages/shop/detail.vue
+98
-10
.DS_Store
static/shop/.DS_Store
+0
-0
item.png
static/shop/item.png
+0
-0
No files found.
pages/shop/detail.vue
View file @
ec033e42
<
template
>
<
template
>
<div
class=
"shop__detail"
>
<div
class=
"shop__detail"
>
11
<div
class=
"top__swiper"
>
<u-swiper
radius=
'0'
:list=
"list6"
@
change=
"e => currentNum = e.current"
:autoplay=
"false"
height=
'358'
indicatorStyle=
"right: 20px"
>
<view
slot=
"indicator"
class=
"indicator-num"
>
<text
class=
"indicator-num__text"
>
{{
currentNum
+
1
}}
/
{{
list6
.
length
}}
</text>
</view>
</u-swiper>
<div
class=
"shop__title"
>
<div>
防晒布罩 加厚防风 大款 商务风
</div>
<div>
<span>
¥48.00
</span>
<span>
销量500笔
</span>
</div>
</div>
<div
class=
"shop__title__2"
>
规格
<span>
儿童数学思维训练游戏(套装共5册)
</span></div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
currentNum
:
0
,
}
list6
:
[
require
(
'../../static/shop/item.png'
),
},
require
(
'../../static/shop/item.png'
),
}
require
(
'../../static/shop/item.png'
),
],
}
},
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.shop__detail
{
.indicator-num
{
padding
:
2px
0
;
background-color
:
rgba
(
0
,
0
,
0
,
0
.35
);
border-radius
:
100px
;
width
:
35px
;
margin-bottom
:
40rpx
;
@include
flex
;
justify-content
:
center
;
&
__text
{
color
:
#FFFFFF
;
font-size
:
12px
;
}
}
.shop__title
{
background
:
#FFFFFF
;
box-shadow
:
0rpx
0rpx
28rpx
1rpx
rgba
(
232
,
232
,
232
,
0
.2
);
border-radius
:
0rpx
0rpx
20rpx
20rpx
;
padding
:
10rpx
40rpx
30rpx
40rpx
;
border-radius
:
20rpx
;
>
div
:nth-of-type
(
1
)
{
font-size
:
36rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#333333
;
margin-bottom
:
20rpx
;
}
</
style
>
>
div
:nth-of-type
(
2
)
{
\ No newline at end of file
display
:
flex
;
justify-content
:
space-between
;
>
span
:nth-of-type
(
1
)
{
font-size
:
24rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#F1251B
;
}
>
span
:nth-of-type
(
2
)
{
font-size
:
28rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#999999
;
}
}
}
.shop__title__2
{
background
:
#FFFFFF
;
box-shadow
:
0rpx
0rpx
28rpx
1rpx
rgba
(
232
,
232
,
232
,
0
.2
);
border-radius
:
20rpx
;
padding
:
30rpx
40rpx
;
font-size
:
30rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#333333
;
margin
:
30rpx
0
;
span
{
font-size
:
30rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#666666
;
padding-left
:
30rpx
;
}
}
}
</
style
>
static/shop/.DS_Store
0 → 100644
View file @
ec033e42
File added
static/shop/item.png
0 → 100644
View file @
ec033e42
796 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