|
@@ -1,6 +1,7 @@
|
|
|
<template>
|
|
|
<view>
|
|
|
- <mini-login></mini-login>
|
|
|
+ <mini-login></mini-login>
|
|
|
+ <view class="ocean"></view>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -10,10 +11,70 @@
|
|
|
return {
|
|
|
|
|
|
};
|
|
|
+ },
|
|
|
+ methods:{
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
-<style lang="scss">
|
|
|
-
|
|
|
+<style lang="scss">
|
|
|
+ .ocean {
|
|
|
+ display: flex;
|
|
|
+ margin-top: -240px;
|
|
|
+ margin-left: -260px;
|
|
|
+ width: 900px;
|
|
|
+ height: 900px;
|
|
|
+ background-color: #4169E1;
|
|
|
+ border-radius: 50%;
|
|
|
+
|
|
|
+ &::before,
|
|
|
+ &::after {
|
|
|
+ content: "";
|
|
|
+ position: absolute;
|
|
|
+ margin-top: 450px;
|
|
|
+ width: 800px;
|
|
|
+ height: 800px;
|
|
|
+ top: 0;
|
|
|
+ left: 50%;
|
|
|
+ border-radius: 43%;
|
|
|
+ background-color: #fafafa;
|
|
|
+ transform: translate(-50%, -70%) rotate(0);
|
|
|
+ animation: rotate 6s linear infinite;
|
|
|
+ z-index: 2;
|
|
|
+ }
|
|
|
+
|
|
|
+ &::after {
|
|
|
+ border-radius: 46%;
|
|
|
+ background-color: #fafafa;
|
|
|
+ opacity: 0.7;
|
|
|
+ transform: translate(-50%, -70%) rotate(0);
|
|
|
+ animation: rotate 10s linear -5s infinite;
|
|
|
+ z-index: 3;
|
|
|
+ }
|
|
|
+ &::after {
|
|
|
+ border-radius: 40%;
|
|
|
+ background-color: #fafafa;
|
|
|
+ opacity: 0.5;
|
|
|
+ transform: translate(-50%, -70%) rotate(0);
|
|
|
+ animation: rotate 10s linear -5s infinite;
|
|
|
+ z-index: 3;
|
|
|
+ }
|
|
|
+ &::after {
|
|
|
+ border-radius: 40%;
|
|
|
+ background-color: #fafafa;
|
|
|
+ opacity: 0.3;
|
|
|
+ transform: translate(-50%, -70%) rotate(0);
|
|
|
+ animation: rotate 10s linear -5s infinite;
|
|
|
+ z-index: 3;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ @keyframes rotate {
|
|
|
+ 50% {
|
|
|
+ transform: translate(-50%, -73%) rotate(180deg);
|
|
|
+ } 100% {
|
|
|
+ transform: translate(-50%, -70%) rotate(360deg);
|
|
|
+ }
|
|
|
+ }
|
|
|
</style>
|