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 01c015e1
authored
Jun 04, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
98065611
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
32 deletions
assets/css/sprite.scss
assets/images/boutique/animation-m7.png
assets/images/boutique/animation-m9.png
assets/images/sprite.png
pages/boutique/membranes.vue
assets/css/sprite.scss
View file @
01c015e
.sprite-icon
{
background-image
:
url(@/assets/images/sprite.png)
;
background-size
:
1070rpx
876rpx
;}
.icon-aito
{
width
:
320rpx
;
height
:
36rpx
;
background-position
:
0rpx
-734rpx
;}
.icon-arrow-right
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1032rpx
-60rpx
;}
.icon-back
{
width
:
128rpx
;
height
:
50rpx
;
background-position
:
-942rpx
0rpx
;}
.icon-change-account
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1032rpx
-102rpx
;}
.icon-customer-1
{
width
:
400rpx
;
height
:
400rpx
;
background-position
:
0rpx
0rpx
;}
.icon-customer-2
{
width
:
400rpx
;
height
:
400rpx
;
background-position
:
-410rpx
0rpx
;}
.icon-customer-detail
{
width
:
40rpx
;
height
:
40rpx
;
background-position
:
-1024rpx
-420rpx
;}
.icon-face-error-active
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-820rpx
-610rpx
;}
.icon-face-error
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
0rpx
-780rpx
;}
.icon-face-success-active
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-106rpx
-780rpx
;}
...
...
@@ -33,21 +37,17 @@
.icon-new-setting
{
width
:
64rpx
;
height
:
64rpx
;
background-position
:
-942rpx
-576rpx
;}
.icon-pen-active
{
width
:
120rpx
;
height
:
120rpx
;
background-position
:
-490rpx
-596rpx
;}
.icon-pen
{
width
:
120rpx
;
height
:
120rpx
;
background-position
:
-620rpx
-596rpx
;}
.icon-qr-success
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-424rpx
-780rpx
;}
.icon-qw
{
width
:
48rpx
;
height
:
48rpx
;
background-position
:
-1016rpx
-502rpx
;}
.icon-record-active
{
width
:
80rpx
;
height
:
80rpx
;
background-position
:
-942rpx
-240rpx
;}
.icon-record
{
width
:
80rpx
;
height
:
80rpx
;
background-position
:
-942rpx
-330rpx
;}
.icon-scene-0
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-424rpx
-780rpx
;}
.icon-scene-1
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-530rpx
-780rpx
;}
.icon-search
{
width
:
40rpx
;
height
:
40rpx
;
background-position
:
-1024rpx
-420rpx
;}
.icon-scan
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-750rpx
-596rpx
;}
.icon-scene-0
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-530rpx
-780rpx
;}
.icon-scene-1
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-636rpx
-780rpx
;}
.icon-search
{
width
:
40rpx
;
height
:
40rpx
;
background-position
:
-1016rpx
-576rpx
;}
.icon-second-nav
{
width
:
480rpx
;
height
:
128rpx
;
background-position
:
0rpx
-596rpx
;}
.icon-setting
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-750rpx
-
596
rpx
;}
.icon-store
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-
636
rpx
-780rpx
;}
.icon-setting
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-750rpx
-
638
rpx
;}
.icon-store
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-
742
rpx
-780rpx
;}
.icon-tool-file
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
-942rpx
-650rpx
;}
.icon-tool-finish
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
-942rpx
-720rpx
;}
.icon-tool-pay
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
-942rpx
-790rpx
;}
.icon-customer-1
{
width
:
400rpx
;
height
:
400rpx
;
background-position
:
0rpx
0rpx
;}
.icon-customer-2
{
width
:
400rpx
;
height
:
400rpx
;
background-position
:
-410rpx
0rpx
;}
.icon-aito
{
width
:
320rpx
;
height
:
36rpx
;
background-position
:
0rpx
-734rpx
;}
.icon-qr-success
{
width
:
96rpx
;
height
:
96rpx
;
background-position
:
-742rpx
-780rpx
;}
.icon-customer-detail
{
width
:
40rpx
;
height
:
40rpx
;
background-position
:
-1016rpx
-576rpx
;}
.icon-scan
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-750rpx
-638rpx
;}
\ No newline at end of file
.icon-tool-pay
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
-942rpx
-790rpx
;}
\ No newline at end of file
assets/images/boutique/animation-m7.png
View file @
01c015e
568 KB
|
W:
|
H:
387 KB
|
W:
|
H:
2-up
Swipe
Onion skin
assets/images/boutique/animation-m9.png
View file @
01c015e
580 KB
|
W:
|
H:
392 KB
|
W:
|
H:
2-up
Swipe
Onion skin
assets/images/sprite.png
View file @
01c015e
945 KB
|
W:
|
H:
945 KB
|
W:
|
H:
2-up
Swipe
Onion skin
pages/boutique/membranes.vue
View file @
01c015e
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-05-30 14:40:39
* @LastEditors: huyue
* @LastEditTime: 2024-06-04 1
1:10:40
* @LastEditTime: 2024-06-04 1
5:08:43
-->
<
template
>
<view
style=
"position: relative;"
>
...
...
@@ -47,7 +47,7 @@
</view>
</view>
<template
v-if=
"views[firstIndex].receptionSourceDetailInfoList.length > 0 && views[firstIndex].receptionSourceDetailInfoList[secondIndex].receptionSourceDetailInfoList"
>
<view
class=
"product-list
"
:style=
"
{height: views[firstIndex].receptionSourceDetailInfoList ? '972rpx' : '1040
rpx'}">
<view
class=
"product-list
left"
:style=
"
{height: views[firstIndex].receptionSourceDetailInfoList ? '958rpx' : '1032
rpx'}">
<view
class=
"product-item"
v-for=
"(itm, idx) in views[firstIndex].receptionSourceDetailInfoList[secondIndex].receptionSourceDetailInfoList"
:key=
"idx"
@
click=
"goDetail(itm)"
>
<image
:src=
"itm.thumbnail"
...
...
@@ -73,7 +73,7 @@
:src=
"animationList[firstIndex]"
mode=
"scaleToFill"
class=
"img-animate"
:key=
"
k
ey"
:key=
"
imgK
ey"
/>
</view>
</template>
...
...
@@ -86,10 +86,7 @@ export default {
type
:
Array
,
default
:
()
=>
[]
},
madiaId
:
{
type
:
Number
,
default
:
0
}
show
:
Boolean
},
data
()
{
return
{
...
...
@@ -98,7 +95,7 @@ export default {
firstClass
:
[
'first-nav'
,
'second-nav'
,
'second-nav'
],
secondIndex
:
0
,
animationList
:
[
require
(
'@/assets/images/boutique/animation-m5.png'
),
require
(
'@/assets/images/boutique/animation-m7.png'
),
require
(
'@/assets/images/boutique/animation-m9.png'
)],
k
ey
:
Date
.
now
()
imgK
ey
:
Date
.
now
()
}
},
computed
:
{
...
...
@@ -107,11 +104,14 @@ export default {
},
},
watch
:
{
show
(
val
)
{
if
(
val
)
this
.
imgKey
=
Date
.
now
()
},
watchStatus
()
{
console
.
log
(
111
)
this
.
firstIndex
=
0
this
.
secondIndex
=
0
this
.
k
ey
=
Date
.
now
()
this
.
imgK
ey
=
Date
.
now
()
}
},
methods
:
{
...
...
@@ -120,7 +120,7 @@ export default {
this
[
name
]
=
index
if
(
name
===
'firstIndex'
)
{
this
.
secondIndex
=
0
this
.
k
ey
=
Date
.
now
()
this
.
imgK
ey
=
Date
.
now
()
}
},
async
findSoureList
()
{
...
...
@@ -229,7 +229,7 @@ export default {
position
:
relative
;
background-color
:
#fff
;
width
:
100%
;
padding-top
:
64
rpx
;
padding-top
:
48
rpx
;
margin-top
:
-48
rpx
;
border-radius
:
48
rpx
;
height
:
calc
(
100%
-
128
rpx
);
...
...
@@ -237,7 +237,7 @@ export default {
display
:
inline-flex
;
background
:
#f2f2f2
;
border-radius
:
16
rpx
;
height
:
84
rpx
;
height
:
92
rpx
;
align-items
:
center
;
margin-left
:
64
rpx
;
margin-bottom
:
48
rpx
;
...
...
@@ -249,13 +249,14 @@ export default {
align-items
:
center
;
margin
:
4
rpx
;
width
:
auto
;
height
:
100%
;
height
:
84
rpx
;
padding
:
0
48
rpx
;
box-sizing
:
border-box
;
&.active
{
background-color
:
#fff
;
//
margin
:
4
rpx
0
;
border-radius
:
16
rpx
;
height
:
calc
(
100%
-
8
rpx
);
//
height
:
calc
(
100%
-
8
rpx
);
}
}
}
...
...
@@ -300,9 +301,10 @@ export default {
}
@keyframes
moveAndFade
{
0
%
{
transform
:
translate
(
100%
,
-100%
)
scale
(
0.2
);
/* 移动到右上角并缩小 */
filter
:
blur
(
2px
);
/* 设置模糊 */
opacity
:
0
;
transform
:
translate
(
30%
,
-30%
)
scale
(
0.5
);
/* 移动到右上角并缩小 */
//
transform
:
translate
(
100%
,
-100%
)
scale
(
0.2
);
filter
:
blur
(
0.5px
);
/* 设置模糊 */
opacity
:
0.3
;
}
100
%
{
transform
:
translate
(
0
,
0
)
scale
(
1
);
/* 移动到正常位置并恢复大小 */
...
...
@@ -312,11 +314,17 @@ export default {
}
.img-animate
{
animation
:
moveAndFade
0.8
s
ease-in-out
forwards
;
/* 应用动画,持续时间2秒,缓动函数,停留在最后一帧 */
animation
:
moveAndFade
1.2
s
ease-in-out
forwards
;
/* 应用动画,持续时间2秒,缓动函数,停留在最后一帧 */
position
:
absolute
;
/* 确保图片可以移动 */
top
:
0
;
right
:
0
;
width
:
600
rpx
;
height
:
400
rpx
;
width
:
480
rpx
;
height
:
320
rpx
;
}
.left
{
animation
:
show-view-left
0.5s
;
}
.right
{
animation
:
show-view-right
0.3s
;
}
</
style
>
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