diff --git a/index.html b/index.html
index 8097952f2978a860ebdf5945864c1a40bcd436ce..d60f1715e7f15a48d46569350f46bc6a29d5e887 100644
--- a/index.html
+++ b/index.html
@@ -43,7 +43,7 @@
+
-
+
diff --git a/src/float/bottomPopup.scss b/src/float/bottomPopup.scss
index 9de066a5a44631215a4ae6043e0e66ab4f10a9a4..05a3779b37d2cf7921b0b113109c15a7ceda31a5 100644
--- a/src/float/bottomPopup.scss
+++ b/src/float/bottomPopup.scss
@@ -209,7 +209,7 @@
opacity: 1;
color: #fafafa;
border-radius: 20px;
- background: rgba(235, 116, 116, 0.5);
+ background: rgba(235, 90, 118, 0.4);
transition: opacity 2s ease-in-out, transform 1s ease-in-out;
div {
@@ -283,6 +283,68 @@
}
}
}
+
+
+}
+
+.bounbottom-popupter-gift-list {
+ position: fixed;
+ pointer-events: none;
+ bottom: 10vh;
+ z-index: 500;
+ height: 32vh;
+ width: 100vw;
+ overflow: hidden;
+
+ .gift-list-container {
+ position: relative;
+
+ .gift-list-item {
+ box-sizing: border-box;
+ position: absolute;
+ width: auto;
+ max-width: 70vw;
+ min-height: 20px;
+ text-align: left;
+ margin-top: 2px;
+ font-size: 14px;
+ padding: 4px 8px;
+ opacity: 1;
+ color: #fafafa;
+ border-radius: 30px;
+ background: rgba(235, 90, 118, 0.5);
+ display: flex;
+ flex-wrap: nowrap;
+ align-items: center;
+ padding-right: 40px;
+ .gift-list-avatar {
+ border-radius: 50%;
+ border: 3px solid #ffb3b3;
+ overflow: hidden;
+ width: 36px;
+ height: 36px;
+ box-shadow: 0 0 10px rgba(255, 182, 193, 0.6);
+ transform: translateZ(20px);
+ img {
+ width: 36px;
+ height: auto;
+ }
+ margin-right: 5px;
+ }
+
+ .gift-list-content {
+ white-space: nowrap;
+ }
+ .gift-list-gift-img{
+ position: absolute;
+ right: 15px;
+ img{
+ width: auto;
+ height: 50px;
+ }
+ }
+ }
+ }
}
@keyframes tanlianxia {
@@ -343,8 +405,8 @@
border-radius: 40px;
background-image: url('https://vercel-proxy.fivecc.cn/static-img/1775464/202503/1775464-20250322183844363-2055895336.png');
background-repeat: no-repeat;
- background-size: 100%,100%;
- background-position-y: 30px;
+ background-size: 100%, 100%;
+ background-position-y: 30px;
}
.form {
diff --git a/src/float/bottomPopup.ts b/src/float/bottomPopup.ts
index ceac3b6f9c33e893eb9197fcfc65e4a4f3b6622a..36c7c4e88241a5d5b9d13c1e2ecda6add9469612 100644
--- a/src/float/bottomPopup.ts
+++ b/src/float/bottomPopup.ts
@@ -207,6 +207,23 @@ export function BottomPopup(props: any) {
}
}
+export function GiftsListPopup(props:any) {
+ return {
+ $template:'#gifts-list-popup-template',
+ giftList:[{
+ avatar: 'https://vercel-proxy.fivecc.cn/static-img/1775464/202503/1775464-20250322202646157-442978556.png',
+ avatarClass: '',
+ text: "棘祥杏福 情定终身",
+ giftImg: "https://vercel-proxy.fivecc.cn/static-img/1775464/202503/1775464-20250322205303857-804953175.png",
+ giftImg2: "https://vercel-proxy.fivecc.cn/static-img/1775464/202503/1775464-20250322205245772-817504696.png"
+ }],
+ isShow: false,
+ mounted(){
+ console.log(this.giftList)
+ }
+ }
+}
+
export function MusicPlay(props: any) {
return {
isPlay: true,
@@ -223,9 +240,9 @@ export function MusicPlay(props: any) {
audio.pause();
}
},
- mounted() {
- this.playMusic()
- }
+ mounted() {
+ this.playMusic()
+ }
}
}
-export default { floatStore, BottomPopup, FormPopup,MusicPlay }
\ No newline at end of file
+export default { floatStore, BottomPopup, FormPopup, GiftsListPopup, MusicPlay }
\ No newline at end of file