初始化登录功能,注册功能

This commit is contained in:
yzy committed 2026-01-14 18:36:31 +08:00
1 parent 63726d8200
commit 76ba02d29b
16 files changed
+2090 -1025

No files matched your search

+15 -2
View File
@@ -3,7 +3,7 @@ import { ref, onMounted, getCurrentInstance, nextTick } from 'vue';
import { onLoad, onShow, onReady, onHide, onPullDownRefresh } from '@dcloudio/uni-app';
import CustomTabBar from '@/components/CustomTabBar.vue'
import { getSystemSafeArea, getSystemInfo, isEmpty, showToast, showLoadingToast, closeToast } from '@/common/common.js';
import LoginPopup from '@/components/login-popup.vue';
import LoginPopup from '@/components/login.vue';
import { getProducts } from './api.js';
import { useUserStore } from '@/store/user.js';
@@ -134,7 +134,8 @@ const handleBook = (productId) => {
</view>
</view>
<!-- 交流栏 -->
<view class="absolute top-[-60px] right-[-30px] w-[120px] flex flex-col justify-center items-center px-[10px] border border-solid border-theme bg-[#fff] rounded-t-lg rounded-br-lg h-[70px] border-[2px] shadow-[4px_4px_1px_0_rgba(0,0,0,1)]" >
<view class="absolute top-[-60px] right-[-30px] w-[120px] flex flex-col justify-center items-center px-[10px] border border-solid border-theme bg-[#fff] rounded-t-lg rounded-br-lg h-[70px] border-[2px] shadow-[4px_4px_1px_0_rgba(0,0,0,1)] animate-bounce"
style="animation: bounce 1.5s infinite;">
<view class="text-[12px]">
Master,I missed you! Let's play together!
</view>
@@ -206,5 +207,17 @@ const handleBook = (productId) => {
</template>
<style>
/* 定义弹跳动画 */
@keyframes bounce {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-5px);
}
}
.animate-bounce {
animation: bounce 1.5s infinite;
}
</style>