2026-09-10 10:57:40 +08:00
|
|
|
<script setup lang="uts">
|
2026-09-20 10:52:10 +08:00
|
|
|
import { consumeInitialLaunch } from '@/services/launch.uts'
|
|
|
|
|
onLaunch((options) => {
|
|
|
|
|
if (options.path.length > 0 && options.path != 'pages/home/home') consumeInitialLaunch()
|
2026-09-10 10:57:40 +08:00
|
|
|
console.log('AI融资已启动')
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
// #ifdef APP-ANDROID || APP-HARMONY
|
|
|
|
|
let firstBackTime = 0
|
|
|
|
|
onLastPageBackPress(() => {
|
|
|
|
|
if (firstBackTime == 0) {
|
|
|
|
|
uni.showToast({ title: '再按一次退出应用', position: 'bottom' })
|
|
|
|
|
firstBackTime = Date.now()
|
|
|
|
|
setTimeout(() => { firstBackTime = 0 }, 2000)
|
|
|
|
|
} else if (Date.now() - firstBackTime < 2000) {
|
|
|
|
|
uni.exit()
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
// #endif
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style>
|
2026-09-15 16:16:55 +08:00
|
|
|
/* #ifndef APP */
|
2026-09-10 10:57:40 +08:00
|
|
|
page { background-color: #f5f8fc; color: #13213c; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
|
|
|
|
|
view, text, image, input, textarea, button, scroll-view { box-sizing: border-box; }
|
|
|
|
|
button::after { border: 0; }
|
2026-09-15 16:16:55 +08:00
|
|
|
/* #endif */
|
|
|
|
|
.page { background-color: #f5f8fc; }
|
2026-09-10 10:57:40 +08:00
|
|
|
.page-white { background-color: #ffffff; }
|
|
|
|
|
.content { padding: 24rpx 28rpx 190rpx; }
|
2026-09-18 12:59:43 +08:00
|
|
|
.primary-button, .orange-button { height: 92rpx; border-radius: 16rpx; color: #ffffff; font-size: 30rpx; font-weight: 700; line-height: 92rpx; text-align: center; box-shadow: 0 5rpx 14rpx rgba(0, 100, 255, 0.10); }
|
2026-09-10 10:57:40 +08:00
|
|
|
.primary-button { background-color: #0868f7; }
|
2026-09-18 12:59:43 +08:00
|
|
|
.orange-button { background-color: #ff7a16; box-shadow: 0 5rpx 14rpx rgba(255, 122, 22, 0.10); }
|
2026-09-10 10:57:40 +08:00
|
|
|
.section-title { font-size: 32rpx; font-weight: 700; color: #13213c; }
|
|
|
|
|
.muted { color: #8793a8; }
|
|
|
|
|
.surface { background-color: #ffffff; border: 2rpx solid #e8eef7; border-radius: 16rpx; }
|
|
|
|
|
|
|
|
|
|
</style>
|