初始化

This commit is contained in:
zhu
2026-03-27 13:29:41 +08:00
commit ee03132cee
112 changed files with 6417 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
// pages/auth/access/index.js
Page({
data: {
},
handClick(e) {
let { type } = e.currentTarget.dataset
//拍照
if (type == 1) {
wx.scanCode({
onlyFromCamera: true,
scanType: ['qrCode'],
success(res) {
console.log(res);
},
fail(err) {
wx.showToast({
title: '扫码失败',
icon: 'none'
})
}
})
} else {
wx.navigateTo({
url: "/pages/joinFlow/manual/index",
})
}
}
})

View File

@@ -0,0 +1,4 @@
{
"usingComponents": {},
"navigationStyle": "custom"
}

View File

@@ -0,0 +1,80 @@
page {
height: 100vh;
display: flex;
flex-direction: column;
}
.banner {
height: 400rpx;
background-image: var(--background);
padding: 30rpx;
.text-1 {
color: white;
font-size: 60rpx;
font-weight: bold;
}
.text-2 {
font-size: 28rpx;
color: rgba(255, 255, 255, 0.8);
}
}
.content {
flex: 1;
background-color: white;
transform: translateY(-20rpx);
border-radius: 30rpx 30rpx 0 0;
padding: 80rpx 30rpx 30rpx;
.text-1 {
text-align: center;
font-weight: 700;
font-size: 45rpx;
}
.text-2 {
font-size: 28rpx;
text-align: center;
color: rgba(69, 70, 78, 1);
margin-top: 20rpx;
margin-bottom: 60rpx;
}
.item {
box-shadow: 0 4rpx 12rpx rgba(11, 27, 61, 0.14);
padding: 30rpx;
border-radius: 30rpx;
gap: 30rpx;
margin-bottom: 60rpx;
.icon {
width: 90rpx;
aspect-ratio: 1;
background-color: rgba(0, 106, 106, 0.1);
font-size: 50rpx;
border-radius: 20rpx;
color: rgba(46, 139, 87, 1);
}
.t-1 {
font-weight: bold;
}
.t-2 {
margin-top: 10rpx;
font-size: 24rpx;
color: rgba(69, 70, 78, 1);
}
}
.tip {
background-color: rgba(255, 221, 180, 1);
padding: 30rpx;
border-radius: 20rpx;
color: rgba(99, 63, 0, 1);
font-size: 28rpx;
line-height: 44rpx;
}
}

View File

@@ -0,0 +1,40 @@
<view class="banner">
<t-navbar t-class="fixed-nav"
fixed="{{false}}" />
<view class="info">
<view class="text-1">术极守护</view>
<view class="text-2">您的贴身康复管家</view>
</view>
</view>
<view class="content">
<view class="text-1">开始使用</view>
<view class="text-2">请选择康复计划接入方式</view>
<view class="item flex-align"
bind:tap="handClick"
data-type="1">
<view class="icon flex-center">
<t-icon name="qrcode" />
</view>
<view>
<view class="t-1">扫码接入</view>
<view class="t-2">扫描医护人员提供的二维码</view>
</view>
</view>
<view class="item flex-align"
bind:tap="handClick"
data-type="2">
<view class="icon flex-center">
<t-icon name="search" />
</view>
<view>
<view class="t-1">手动选择</view>
<view class="t-2">搜索医院、科室、手术名称</view>
</view>
</view>
<view class="tip">
<view>💡 温馨提示:</view>
<view>首次使用需要录入基本信息,请准备好您的手术相关资料</view>
</view>
</view>