This commit is contained in:
Your Name
2026-03-19 12:19:00 +08:00
parent 7832514f28
commit 7147c8e148
243 changed files with 1662 additions and 437 deletions
+3 -1
View File
@@ -46,7 +46,9 @@ const loadCardList = async () => {
data.value = res.data
uni.setNavigationBarTitle({
title: res.data.title
});
} catch (err) {
console.error('加载就诊卡列表失败:', err)
+35 -80
View File
@@ -222,56 +222,11 @@
</view>
</view>
<!-- 诊断信息 -->
<!-- <view class="form-section">
<text class="section-title">诊断信息</text>
<view class="form-group">
<text class="form-label">诊断类型</text>
<picker
:range="diagnosisTypeOptions"
range-key="name"
@change="onDiagnosisTypeChange"
>
<view class="picker-input">
<text>{{ getDiagnosisTypeName(formData.diagnosis_type) || '请选择' }}</text>
<text class="picker-icon"></text>
</view>
</picker>
</view>
<view class="form-group">
<text class="form-label">证型</text>
<picker
:range="syndromeTypeOptions"
range-key="name"
@change="onSyndromeTypeChange"
>
<view class="picker-input">
<text>{{ getSyndromeTypeName(formData.syndrome_type) || '请选择' }}</text>
<text class="picker-icon"></text>
</view>
</picker>
</view>
<view class="form-group">
<text class="form-label">糖尿病期数</text>
<picker
:range="diabetesTypeOptions"
range-key="name"
@change="onDiabetesTypeChange"
>
<view class="picker-input">
<text>{{ getDiabetesTypeName(formData.diabetes_type) || '请选择' }}</text>
<text class="picker-icon"></text>
</view>
</picker>
</view>
</view> -->
<!-- 现病史 -->
<view class="form-section">
<text class="section-title">现病史</text>
<!-- <text class="section-title">现病史</text> -->
<!-- 5口腔感觉 -->
<view class="form-item-block">
@@ -1682,7 +1637,7 @@ const goBack = () => {
}
.gender-radio.active {
color: #ff8c00;
color: #386641;
}
.radio-icon {
@@ -1699,8 +1654,8 @@ const goBack = () => {
}
.gender-radio.active .radio-icon {
background: #ff8c00;
border-color: #ff8c00;
background: #386641;
border-color: #386641;
}
.form-tip {
@@ -1784,8 +1739,8 @@ const goBack = () => {
}
.grid-button.active {
border-color: #ff8c00;
background: #ff8c00;
border-color: #386641;
background: #386641;
color: #ffffff;
font-weight: 500;
z-index: 1;
@@ -1891,7 +1846,7 @@ const goBack = () => {
.form-input {
width: 100%;
padding: 24rpx;
border: 2rpx solid #ffd4a3;
border: 2rpx solid #386641;
border-radius: 12rpx;
font-size: 34rpx;
line-height: 1.5;
@@ -1911,7 +1866,7 @@ const goBack = () => {
.form-textarea {
width: 100%;
padding: 24rpx;
border: 2rpx solid #ffd4a3;
border: 2rpx solid #386641;
border-radius: 12rpx;
font-size: 34rpx;
line-height: 1.6;
@@ -1936,7 +1891,7 @@ const goBack = () => {
.gender-btn {
flex: 1;
padding: 22rpx 24rpx;
border: 2rpx solid #ffd4a3;
border: 2rpx solid #386641;
border-radius: 12rpx;
text-align: center;
font-size: 34rpx;
@@ -1951,9 +1906,9 @@ const goBack = () => {
}
.gender-btn.active {
border-color: #ff8c00;
border-color: #386641;
background: #fff4e6;
color: #ff8c00;
color: #386641;
font-weight: 600;
}
@@ -1965,7 +1920,7 @@ const goBack = () => {
.radio-item {
flex: 1;
padding: 20rpx 24rpx;
border: 2rpx solid #ffd4a3;
border: 2rpx solid #386641;
border-radius: 12rpx;
text-align: center;
font-size: 32rpx;
@@ -1979,9 +1934,9 @@ const goBack = () => {
}
.radio-item.active {
border-color: #ff8c00;
border-color: #386641;
background: #fff4e6;
color: #ff8c00;
color: #386641;
font-weight: 600;
}
@@ -1993,7 +1948,7 @@ const goBack = () => {
.checkbox-item {
padding: 18rpx 28rpx;
border: 2rpx solid #ffd4a3;
border: 2rpx solid #386641;
border-radius: 24rpx;
font-size: 32rpx;
color: #666666;
@@ -2002,9 +1957,9 @@ const goBack = () => {
}
.checkbox-item.active {
border-color: #ff8c00;
border-color: #386641;
background: #fff4e6;
color: #ff8c00;
color: #386641;
font-weight: 600;
}
@@ -2016,7 +1971,7 @@ const goBack = () => {
.multi-checkbox-item {
padding: 18rpx 28rpx;
border: 2rpx solid #ffd4a3;
border: 2rpx solid #386641;
border-radius: 24rpx;
font-size: 32rpx;
color: #666666;
@@ -2025,9 +1980,9 @@ const goBack = () => {
}
.multi-checkbox-item.active {
border-color: #ff8c00;
border-color: #386641;
background: #fff4e6;
color: #ff8c00;
color: #386641;
font-weight: 600;
}
@@ -2036,7 +1991,7 @@ const goBack = () => {
justify-content: space-between;
align-items: center;
padding: 24rpx;
border: 2rpx solid #ffd4a3;
border: 2rpx solid #386641;
border-radius: 12rpx;
background: #fffaf5;
font-size: 34rpx;
@@ -2048,7 +2003,7 @@ const goBack = () => {
.date-icon {
font-size: 40rpx;
margin-left: 12rpx;
color: #ff8c00;
color: #386641;
}
.picker-item {
@@ -2110,7 +2065,7 @@ const goBack = () => {
height: 80rpx;
border-radius: 8rpx;
overflow: hidden;
border: 2rpx solid #ffd4a3;
border: 2rpx solid #386641;
}
.more-item image {
@@ -2124,7 +2079,7 @@ const goBack = () => {
display: flex;
align-items: center;
justify-content: center;
border: 2rpx dashed #ffd4a3;
border: 2rpx dashed #386641;
border-radius: 12rpx;
background: #fffaf5;
transition: all 0.2s;
@@ -2132,7 +2087,7 @@ const goBack = () => {
.upload-btn-single:active {
background: #fff4e6;
border-color: #ff8c00;
border-color: #386641;
}
.upload-btn {
@@ -2141,7 +2096,7 @@ const goBack = () => {
align-items: center;
justify-content: center;
padding: 60rpx 40rpx;
border: 2rpx dashed #ffd4a3;
border: 2rpx dashed #386641;
border-radius: 12rpx;
background: #fffaf5;
transition: all 0.2s;
@@ -2149,7 +2104,7 @@ const goBack = () => {
.upload-btn:active {
background: #fff4e6;
border-color: #ff8c00;
border-color: #386641;
}
.upload-icon {
@@ -2180,7 +2135,7 @@ const goBack = () => {
position: relative;
border-radius: 12rpx;
overflow: hidden;
border: 2rpx solid #ffd4a3;
border: 2rpx solid #386641;
width: 100%;
height: 100%;
}
@@ -2242,7 +2197,7 @@ const goBack = () => {
padding-bottom: 100%;
border-radius: 12rpx;
overflow: hidden;
border: 2rpx solid #ffd4a3;
border: 2rpx solid #386641;
}
.item-image {
@@ -2275,7 +2230,7 @@ const goBack = () => {
width: 100%;
padding-bottom: 100%;
position: relative;
border: 2rpx dashed #ffd4a3;
border: 2rpx dashed #386641;
border-radius: 12rpx;
background: #fffaf5;
display: flex;
@@ -2289,7 +2244,7 @@ const goBack = () => {
left: 50%;
transform: translate(-50%, -50%);
font-size: 60rpx;
color: #ff8c00;
color: #386641;
}
@@ -2298,7 +2253,7 @@ const goBack = () => {
justify-content: space-between;
align-items: center;
padding: 24rpx;
border: 2rpx solid #ffd4a3;
border: 2rpx solid #386641;
border-radius: 12rpx;
background: #fffaf5;
font-size: 34rpx;
@@ -2309,7 +2264,7 @@ const goBack = () => {
.picker-icon {
font-size: 28rpx;
color: #ff8c00;
color: #386641;
margin-left: 12rpx;
}
@@ -2466,7 +2421,7 @@ const goBack = () => {
.date-btn-cancel,
.date-btn-confirm {
font-size: 34rpx;
color: #ff8c00;
color: #386641;
font-weight: 600;
}