style: 纸卷重量长度计算页面布局调整

- 结果显示由卡片式变为列表式
This commit is contained in:
2025-12-01 15:55:19 +08:00
parent ca5d33cf09
commit 17bda531d7

View File

@ -93,26 +93,57 @@
{{ $t('results') }} {{ $t('results') }}
</v-card-title> </v-card-title>
<v-row> <v-list lines="two">
<v-col cols="12"> <result-section
<result-card :label="$t('paperRollWeight')"
:label="$t('paperRollWeight')" :value="result.paperRollWeight"
:value="result.paperRollWeight" />
/> <result-section
</v-col> :label="$t('paperRollLength')"
<v-col cols="12"> :value="result.paperRollLength"
<result-card />
:label="$t('paperRollLength')" <result-section
:value="result.paperRollLength" :label="$t('paperThickness')"
/> :value="result.paperThickness"
</v-col> />
<v-col cols="12"> </v-list>
<result-card
:label="$t('paperThickness')" <v-expansion-panels flat multiple>
:value="result.paperThickness" <v-expansion-panel hide-actions>
/> <v-expansion-panel-title class="text-warning font-weight-bold">
</v-col> <template #default="{ expanded }">
</v-row> <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-col cols="6">
<input-param-section :label="$t('paperCoreDiameter')" :value="paperCoreDiameter" />
</v-col>
<v-col cols="6">
<input-param-section :label="$t('paperRollExternalDiameter')" :value="paperRollExternalDiameter" />
</v-col>
</v-row>
<v-row>
<v-col cols="6">
<input-param-section :label="$t('paperRollWidth')" :value="paperRollWidth" />
</v-col>
<v-col cols="6">
<input-param-section :label="$t('paperDensity')" :value="paperDensity" />
</v-col>
</v-row>
<v-row>
<v-col cols="6">
<input-param-section :label="$t('paperGrammage')" :value="paperGrammage" />
</v-col>
</v-row>
</v-expansion-panel-text>
</v-expansion-panel>
</v-expansion-panels>
</v-card> </v-card>
</v-col> </v-col>
</v-row> </v-row>