Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
group-buy-ui
Commits
6463248d
Commit
6463248d
authored
Sep 28, 2021
by
beisir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:头像
parent
acd3b360
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
14 deletions
+11
-14
avatorSwiper.vue
src/components/avatorSwiper.vue
+1
-1
groupSwiper.vue
src/components/groupSwiper.vue
+10
-13
No files found.
src/components/avatorSwiper.vue
View file @
6463248d
...
@@ -125,7 +125,7 @@ export default {
...
@@ -125,7 +125,7 @@ export default {
}
}
};
};
</
script
>
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
scoped
>
@keyframes bigToSamll {
@keyframes bigToSamll {
from {
from {
transform: scale(1);
transform: scale(1);
...
...
src/components/groupSwiper.vue
View file @
6463248d
<
template
>
<
template
>
<div
class=
"avator-swiper"
>
<div
class=
"avator-swiper"
>
<div
class=
"avator
-swiper_left
"
:class=
"
{ anileft: isAnimate }">
<div
class=
"avator
_left avator-swiper_item
"
:class=
"
{ anileft: isAnimate }">
<
cr-image
class=
"avator-swiper_item"
:src=
"leftImgPath"
/>
<
img
:src=
"leftImgPath"
/>
</div>
</div>
<swiper
ref=
"mySwiper"
:options=
"swiperOptions"
class=
"avator-swiper_container"
>
<swiper
ref=
"mySwiper"
:options=
"swiperOptions"
class=
"avator-swiper_container"
>
<swiper-slide
<swiper-slide
...
@@ -14,8 +14,8 @@
...
@@ -14,8 +14,8 @@
<img
:src=
"item.avatar"
/>
<img
:src=
"item.avatar"
/>
</swiper-slide>
</swiper-slide>
</swiper>
</swiper>
<div
class=
"avator
-swiper_right
"
>
<div
class=
"avator
_right avator-swiper_item
"
>
<
cr-image
class=
"avator-swiper_item"
:src=
"rightImgPath"
/>
<
img
:src=
"rightImgPath"
/>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -97,7 +97,7 @@ export default {
...
@@ -97,7 +97,7 @@ export default {
}
}
};
};
</
script
>
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
scoped
>
@keyframes leftToRight {
@keyframes leftToRight {
from {
from {
transform: scale(0.3, 0.3);
transform: scale(0.3, 0.3);
...
@@ -116,18 +116,15 @@ export default {
...
@@ -116,18 +116,15 @@ export default {
.ani-opt {
.ani-opt {
opacity: 0;
opacity: 0;
}
}
.avator-swiper_left,
.avator_left,
.avator-swiper_right {
.avator_right {
height: 100%;
width: 25px;
position: absolute;
position: absolute;
top: 0px;
top: 0px;
// bottom: 0;
}
}
.avator
-swiper
_right {
.avator_right {
right:
3
px;
right:
1
px;
}
}
.avator
-swiper
_left {
.avator_left {
left: 0px;
left: 0px;
}
}
.avator-swiper {
.avator-swiper {
...
...
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