Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e4a594dd
authored
May 31, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
1686023d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
10 deletions
pages/boutique/membranes.vue
pages/boutique/membranes.vue
View file @
e4a594d
...
@@ -3,10 +3,10 @@
...
@@ -3,10 +3,10 @@
* @Author: huyue
* @Author: huyue
* @Date: 2024-05-30 14:40:39
* @Date: 2024-05-30 14:40:39
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2024-05-31 1
6:44:47
* @LastEditTime: 2024-05-31 1
8:06:10
-->
-->
<
template
>
<
template
>
<view>
<view
style=
"position: relative;"
>
<view
class=
"bg"
></view>
<view
class=
"bg"
></view>
<!--
<view
class=
"nav-bar"
>
<!--
<view
class=
"nav-bar"
>
<view
class=
"back"
@
click=
"back"
>
<view
class=
"back"
@
click=
"back"
>
...
@@ -26,9 +26,9 @@
...
@@ -26,9 +26,9 @@
<view
<view
class=
"sprite-icon"
class=
"sprite-icon"
:class=
"[firstIndex == index ? `icon-$
{i.class} active` : '']"
:class=
"[firstIndex == index ? `icon-$
{i.class} active` : '']"
:style="{
left: i.left
}"
:style="{
left: i.left
}"
>
</view>
>
</view>
{{
i
.
name
}}
{{
i
.
name
}}
</view>
</view>
</view>
</view>
<view
class=
"content"
>
<view
class=
"content"
>
...
@@ -39,7 +39,11 @@
...
@@ -39,7 +39,11 @@
class=
"tab-item"
class=
"tab-item"
@
click=
"changeIndex(ind, 'secondIndex')"
@
click=
"changeIndex(ind, 'secondIndex')"
>
>
<view
class=
"text"
:class=
"[secondIndex == ind ? 'active':'']"
>
{{
item
}}
</view>
<view
class=
"text"
:class=
"[secondIndex == ind ? 'active' : '']"
>
{{
item
}}
</view
>
</view>
</view>
</view>
</view>
<view
class=
"product-list"
>
<view
class=
"product-list"
>
...
@@ -47,7 +51,41 @@
...
@@ -47,7 +51,41 @@
<image
<image
:src=
"require('@/assets/images/boutique/product.png')"
:src=
"require('@/assets/images/boutique/product.png')"
mode=
"scaleToFill"
mode=
"scaleToFill"
class=
"product-img"
/>
/>
<view
class=
"product-name"
>
AITO问界 3M车窗膜(M5)
</view>
</view>
<view
class=
"product-item"
>
<image
:src=
"require('@/assets/images/boutique/product.png')"
mode=
"scaleToFill"
class=
"product-img"
/>
<view
class=
"product-name"
>
AITO问界 3M车窗膜(M5)
</view>
</view>
<view
class=
"product-item"
>
<image
:src=
"require('@/assets/images/boutique/product.png')"
mode=
"scaleToFill"
class=
"product-img"
/>
<view
class=
"product-name"
>
AITO问界 3M车窗膜(M5)
</view>
</view>
<view
class=
"product-item"
>
<image
:src=
"require('@/assets/images/boutique/product.png')"
mode=
"scaleToFill"
class=
"product-img"
/>
<view
class=
"product-name"
>
AITO问界 3M车窗膜(M5)
</view>
</view>
<view
class=
"product-item"
>
<image
:src=
"require('@/assets/images/boutique/product.png')"
mode=
"scaleToFill"
class=
"product-img"
/>
<view
class=
"product-name"
>
AITO问界 3M车窗膜(M5)
</view>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -154,13 +192,15 @@ export default {
...
@@ -154,13 +192,15 @@ export default {
z-index
:
-1
;
z-index
:
-1
;
}
}
.wrapper
{
.wrapper
{
padding
:
176
rpx
64
rpx
64
rpx
;
box-sizing
:
border-box
;
padding
:
168
rpx
64
rpx
64
rpx
;
&-content
{
&-content
{
background-color
:
#fff
;
background-color
:
#fff
;
box-shadow
:
inset
0
0
16
rpx
0
#ffffff
;
box-shadow
:
inset
0
0
16
rpx
0
#ffffff
;
border-radius
:
48
rpx
;
border-radius
:
48
rpx
;
height
:
500
rpx
;
padding
:
4
rpx
;
padding
:
4
rpx
;
height
:
1296
rpx
;
box-sizing
:
border-box
;
}
}
//
filter
:
blur
(
8rpx
);
//
filter
:
blur
(
8rpx
);
...
@@ -190,8 +230,7 @@ export default {
...
@@ -190,8 +230,7 @@ export default {
position
:
relative
;
position
:
relative
;
background-color
:
#fff
;
background-color
:
#fff
;
width
:
100%
;
width
:
100%
;
min-height
:
1040
rpx
;
padding
:
64
rpx
0
;
padding
:
64
rpx
;
margin-top
:
-48
rpx
;
margin-top
:
-48
rpx
;
border-radius
:
48
rpx
;
border-radius
:
48
rpx
;
.second-tab
{
.second-tab
{
...
@@ -200,6 +239,7 @@ export default {
...
@@ -200,6 +239,7 @@ export default {
border-radius
:
16
rpx
;
border-radius
:
16
rpx
;
height
:
84
rpx
;
height
:
84
rpx
;
align-items
:
center
;
align-items
:
center
;
margin-left
:
64
rpx
;
.tab-item
{
.tab-item
{
display
:
inline-block
;
display
:
inline-block
;
height
:
100%
;
height
:
100%
;
...
@@ -215,7 +255,7 @@ export default {
...
@@ -215,7 +255,7 @@ export default {
//
margin
:
4
rpx
0
;
//
margin
:
4
rpx
0
;
border-radius
:
16
rpx
;
border-radius
:
16
rpx
;
height
:
calc
(
100%
-
8
rpx
);
height
:
calc
(
100%
-
8
rpx
);
}
}
}
}
}
}
}
}
...
@@ -223,6 +263,24 @@ export default {
...
@@ -223,6 +263,24 @@ export default {
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
4
,
1
fr
);
grid-template-columns
:
repeat
(
4
,
1
fr
);
gap
:
48
rpx
;
gap
:
48
rpx
;
margin-top
:
48
rpx
;
height
:
908
rpx
;
padding
:
0
64
rpx
;
//
height
:
998
rpx
;
overflow-y
:
auto
;
.product-item
{
text-align
:
center
;
background
:
#FFFFFF
;
box-shadow
:
0
16
rpx
24
rpx
0
#2c66f71
a
;
border-radius
:
24
rpx
;
.product-img
{
width
:
486
rpx
;
height
:
486
rpx
;
}
.product-name
{
padding-bottom
:
48
rpx
;
}
}
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment