first commit
This commit is contained in:
67
App.vue
Normal file
67
App.vue
Normal file
@@ -0,0 +1,67 @@
|
||||
<script setup>
|
||||
import { onLaunch } from '@dcloudio/uni-app'
|
||||
|
||||
// 小程序只承载免押流程,启动时无需额外初始化
|
||||
onLaunch(() => {})
|
||||
</script>
|
||||
|
||||
<style>
|
||||
/* 全局主题 */
|
||||
page {
|
||||
--brand-blue: #1e6bff;
|
||||
--brand-blue-light: #4a90ff;
|
||||
--text-primary: #1a1a1a;
|
||||
--text-secondary: #666666;
|
||||
--text-placeholder: #999999;
|
||||
--border-color: #eeeeee;
|
||||
background-color: #ffffff;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
|
||||
}
|
||||
|
||||
view,
|
||||
text {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* 底部固定操作区 */
|
||||
.bottom-bar {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 10;
|
||||
padding: 24rpx 48rpx;
|
||||
padding-bottom: calc(24rpx + constant(safe-area-inset-bottom));
|
||||
padding-bottom: calc(24rpx + env(safe-area-inset-bottom));
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
/* 主按钮 */
|
||||
.btn-primary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
height: 92rpx;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
border-radius: 46rpx;
|
||||
background: linear-gradient(90deg, #3f8bff 0%, #1e6bff 100%);
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
letter-spacing: 2rpx;
|
||||
color: #ffffff;
|
||||
line-height: 92rpx;
|
||||
}
|
||||
|
||||
.btn-primary::after {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.btn-primary[disabled] {
|
||||
opacity: 0.6;
|
||||
color: #ffffff;
|
||||
background: linear-gradient(90deg, #3f8bff 0%, #1e6bff 100%);
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user