|
@@ -49,15 +49,15 @@
|
|
|
</van-row>
|
|
</van-row>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="diagnosticcontent">
|
|
<view class="diagnosticcontent">
|
|
|
- <view v-if="select === 0" style="height: 100%">
|
|
|
|
|
|
|
+ <view v-if="select === 0" class="entry-panel">
|
|
|
<!-- 病历 -->
|
|
<!-- 病历 -->
|
|
|
<medicalRecord id="medicalRecord" @resetSelect="resetSelect($event, { tagId: 'medicalRecord' })"></medicalRecord>
|
|
<medicalRecord id="medicalRecord" @resetSelect="resetSelect($event, { tagId: 'medicalRecord' })"></medicalRecord>
|
|
|
</view>
|
|
</view>
|
|
|
- <view v-if="select === 1" style="height: 100%">
|
|
|
|
|
|
|
+ <view v-if="select === 1" class="entry-panel">
|
|
|
<!-- 诊断 -->
|
|
<!-- 诊断 -->
|
|
|
<diagnostic ref="diagnostic" id="diagnostic" @resetSelect="resetSelect($event, { tagId: 'diagnostic' })"></diagnostic>
|
|
<diagnostic ref="diagnostic" id="diagnostic" @resetSelect="resetSelect($event, { tagId: 'diagnostic' })"></diagnostic>
|
|
|
</view>
|
|
</view>
|
|
|
- <view v-if="select === 2" style="height: 100%;">
|
|
|
|
|
|
|
+ <view v-if="select === 2" class="entry-panel">
|
|
|
<!-- 处方 -->
|
|
<!-- 处方 -->
|
|
|
<prescription id="prescription" ref="prescription" @resetSelect="resetSelect" :callData="callData" :callData2="callData2"></prescription>
|
|
<prescription id="prescription" ref="prescription" @resetSelect="resetSelect" :callData="callData" :callData2="callData2"></prescription>
|
|
|
</view>
|
|
</view>
|
|
@@ -615,15 +615,6 @@ export default {
|
|
|
top: calc(40px + 100rpx);
|
|
top: calc(40px + 100rpx);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.diagnostic-wrapper {
|
|
|
|
|
- position: absolute;
|
|
|
|
|
- bottom: 0;
|
|
|
|
|
- left: 0;
|
|
|
|
|
- right: 0;
|
|
|
|
|
- top: 0;
|
|
|
|
|
- overflow: auto;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
.diagnostibutton {
|
|
.diagnostibutton {
|
|
|
background: #1890ff;
|
|
background: #1890ff;
|
|
|
font-size: 30rpx;
|
|
font-size: 30rpx;
|
|
@@ -815,16 +806,14 @@ export default {
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-/* 子页面填满正文区域,长病历/医嘱在内部滚动,避免被 overflow:hidden 截断。 */
|
|
|
|
|
-.entry-page .entry-layout .diagnostic-wrapper {
|
|
|
|
|
|
|
+/* 每个 Tab 使用入口页自身的容器填满正文区域,滚动由子页面独立管理。 */
|
|
|
|
|
+.entry-page .entry-layout > .diagnosticcontent > .entry-panel {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
top: 0;
|
|
top: 0;
|
|
|
bottom: 0;
|
|
bottom: 0;
|
|
|
left: 0;
|
|
left: 0;
|
|
|
right: 0;
|
|
right: 0;
|
|
|
height: auto;
|
|
height: auto;
|
|
|
- overflow-x: hidden;
|
|
|
|
|
- overflow-y: auto;
|
|
|
|
|
- -webkit-overflow-scrolling: touch;
|
|
|
|
|
|
|
+ min-height: 0;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|