|
@@ -27,7 +27,7 @@
|
|
|
<u-form-item style="" labelPosition="left" required label="商品分类" prop="categoryId" borderBottom ref="item1">
|
|
|
<view style="flex: 1; display: flex; justify-content: flex-end">
|
|
|
<view>
|
|
|
- <u-radio-group iconPlacement="left" v-model="form.categoryId" placement="column">
|
|
|
+ <u-radio-group iconPlacement="left" v-model="form.categoryId" placement="row">
|
|
|
<u-radio
|
|
|
v-for="(v, i) in categoryList"
|
|
|
:key="i"
|
|
@@ -65,20 +65,16 @@
|
|
|
<u--input v-model="form.power" inputAlign="right" placeholder="请输入" border="none"></u--input>
|
|
|
</u-form-item>
|
|
|
<u-form-item labelPosition="left" label="能效标识" prop="energy" borderBottom ref="item1">
|
|
|
- <view style="flex: 1; display: flex; justify-content: flex-end">
|
|
|
- <view>
|
|
|
- <u-radio-group v-model="form.energy" placement="column">
|
|
|
- <u-radio
|
|
|
- v-for="(v, i) in dictList"
|
|
|
- :key="i"
|
|
|
- :customStyle="{ marginBottom: '8px' }"
|
|
|
- :label="v.dictValue"
|
|
|
- :name="v.dictValue"
|
|
|
- >
|
|
|
- </u-radio>
|
|
|
- </u-radio-group>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+ <u-radio-group v-model="form.energy" placement="row">
|
|
|
+ <u-radio
|
|
|
+ v-for="(v, i) in dictList"
|
|
|
+ :key="i"
|
|
|
+ :customStyle="{ marginBottom: '8px' }"
|
|
|
+ :label="v.dictValue"
|
|
|
+ :name="v.dictValue"
|
|
|
+ >
|
|
|
+ </u-radio>
|
|
|
+ </u-radio-group>
|
|
|
</u-form-item>
|
|
|
<u-form-item label="制造日期" labelPosition="left" prop="goodsCreateTime" borderBottom ref="item1">
|
|
|
<view class="letText" @click="handleTime">
|
|
@@ -481,6 +477,10 @@ export default {
|
|
|
.contentXZ {
|
|
|
padding: 20px;
|
|
|
}
|
|
|
+::v-deep .u-radio-group {
|
|
|
+ flex-wrap: wrap;
|
|
|
+ justify-content: space-between;
|
|
|
+}
|
|
|
|
|
|
::v-deep .rig {
|
|
|
.u-form-item__body {
|