This commit is contained in:
aihe 2024-08-10 09:59:15 +08:00
parent d4808cef8d
commit a86db06e99

View File

@ -1,21 +1,23 @@
<template> <template>
<tpx-checkitems :list="proTypeList" v-model:value="modelInfo.productType" v-model:text="modelInfo.productTypeName" v-slot="curPro" min-checked="1" type="single" <view v-if="proTypeList.length > 0">
@onChange="handleChooseItem" :transKeyVal="{valKey: 'productType', titleKey: 'productTypeName'}" <tpx-checkitems :list="proTypeList" v-model:value="modelInfo.productType" v-model:text="modelInfo.productTypeName" v-slot="curPro" min-checked="1" type="single"
> @onChange="handleChooseItem" :transKeyVal="{valKey: 'productType', titleKey: 'productTypeName'}"
<view slot :class="`yunf-item ${curPro.checked?'active':''}`"> >
<u-row justify="between"> <view slot :class="`yunf-item ${curPro.checked?'active':''}`">
<u-col span="8"> <u-row justify="between">
<u-text :text="curPro.item.productTypeName" size="28" :bold="true"></u-text> <u-col span="8">
<u-text margin="6rpx" :text="curPro.item.agingDesc" size="26" color="#999"></u-text> <u-text :text="curPro.item.productTypeName" size="28" :bold="true"></u-text>
</u-col> <u-text margin="6rpx" :text="curPro.item.agingDesc" size="26" color="#999"></u-text>
<u-col span="4"> </u-col>
<u-text align="right" text="运费预估" size="26" color="#999"></u-text> <u-col span="4">
<u-text align="right" margin="6rpx" :text="curPro.item.estFee" size="26" :bold="true" mode="price" <u-text align="right" text="运费预估" size="26" color="#999"></u-text>
color="#B12D29"></u-text> <u-text align="right" margin="6rpx" :text="curPro.item.estFee" size="26" :bold="true" mode="price"
</u-col> color="#B12D29"></u-text>
</u-row> </u-col>
</view> </u-row>
</tpx-checkitems> </view>
</tpx-checkitems>
</view>
<tpx-empty v-if="proTypeList.length == 0" size="sm"></tpx-empty> <tpx-empty v-if="proTypeList.length == 0" size="sm"></tpx-empty>
</template> </template>