refactor: 调整计算结果卡片在表单中的位置
This commit is contained in:
@@ -284,18 +284,7 @@
|
||||
/>
|
||||
</div>
|
||||
|
||||
<!-- 计算结果 -->
|
||||
<q-card v-if="result" class="q-mt-md shadow-2 bg-green-50">
|
||||
<q-card-section class="bg-green-100">
|
||||
<div class="text-h6 text-green-900 flex items-center gap-2">
|
||||
<q-icon name="check_circle" />
|
||||
计算结果
|
||||
</div>
|
||||
</q-card-section>
|
||||
<q-card-section>
|
||||
<pre class="text-caption bg-white q-pa-md rounded">{{ result }}</pre>
|
||||
</q-card-section>
|
||||
</q-card>
|
||||
|
||||
|
||||
<!-- 错误信息 -->
|
||||
<q-card v-if="error" class="q-mt-md shadow-2 bg-red-50">
|
||||
@@ -310,6 +299,19 @@
|
||||
|
||||
<!-- 运行日志 -->
|
||||
<LogComponent ref="logRef" />
|
||||
|
||||
<!-- 计算结果 -->
|
||||
<q-card v-if="result" class="q-mt-md shadow-2 bg-green-50">
|
||||
<q-card-section class="bg-green-100">
|
||||
<div class="text-h6 text-green-900 flex items-center gap-2">
|
||||
<q-icon name="check_circle" />
|
||||
计算结果
|
||||
</div>
|
||||
</q-card-section>
|
||||
<q-card-section>
|
||||
<pre class="text-caption bg-white q-pa-md rounded">{{ result }}</pre>
|
||||
</q-card-section>
|
||||
</q-card>
|
||||
</div>
|
||||
</q-page>
|
||||
</q-page-container>
|
||||
|
||||
Reference in New Issue
Block a user