style: 纸带宽度长度计算页面布局调整
- 将结果展示由卡片式变为列表式
This commit is contained in:
@ -68,20 +68,38 @@
|
|||||||
{{ $t('results') }}
|
{{ $t('results') }}
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
|
|
||||||
|
<v-list lines="two">
|
||||||
|
<result-section :label="$t('beltAngle')" :value="result.beltAngle" />
|
||||||
|
<result-section :label="$t('paperHolderAngle')" :value="result.paperHolderAngle" />
|
||||||
|
<result-section :label="$t('leadingLength')" :value="result.leadingLength" />
|
||||||
|
<result-section :label="$t('paperWidth')" :value="result.paperWidth" />
|
||||||
|
</v-list>
|
||||||
|
|
||||||
|
<v-expansion-panels flat multiple>
|
||||||
|
<v-expansion-panel hide-actions>
|
||||||
|
<v-expansion-panel-title class="text-warning font-weight-bold">
|
||||||
|
<template #default="{ expanded }">
|
||||||
|
<span>
|
||||||
|
<v-icon icon="mdi-information-outline" />
|
||||||
|
{{ expanded ? $t('calculationParameters') : $t('expandToShowCalculationParameters') }}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</v-expansion-panel-title>
|
||||||
|
<v-expansion-panel-text>
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col cols="12">
|
<v-col cols="6">
|
||||||
<result-card :label="$t('beltAngle')" :value="result.beltAngle" />
|
<input-param-section :label="$t('paperTubeInnerDiameter')" :value="paperCoreDiameter" />
|
||||||
|
</v-col>
|
||||||
|
<v-col cols="6">
|
||||||
|
<input-param-section :label="$t('paperRollWallThickness')" :value="paperRollWallThickness" />
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<result-card :label="$t('paperHolderAngle')" :value="result.paperHolderAngle" />
|
<input-param-section :label="$t('innerPaperWidth')" :value="innerPaperWidth" />
|
||||||
</v-col>
|
|
||||||
<v-col cols="12">
|
|
||||||
<result-card :label="$t('leadingLength')" :value="result.leadingLength" />
|
|
||||||
</v-col>
|
|
||||||
<v-col cols="12">
|
|
||||||
<result-card :label="$t('paperWidth')" :value="result.paperWidth" />
|
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
</v-expansion-panel-text>
|
||||||
|
</v-expansion-panel>
|
||||||
|
</v-expansion-panels>
|
||||||
</v-card>
|
</v-card>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
|||||||
Reference in New Issue
Block a user