浏览代码

Merge branch 'master' of ssh://gogs.zfire.top:2222/zfire-front/recycle-mobile

* 'master' of ssh://gogs.zfire.top:2222/zfire-front/recycle-mobile:
  feat:发布
  feat: 修改
Moss 1 年之前
父节点
当前提交
83d856d3df
共有 2 个文件被更改,包括 16 次插入16 次删除
  1. 15 15
      src/pages/issue/index.vue
  2. 1 1
      src/pages/message/msgView.vue

+ 15 - 15
src/pages/issue/index.vue

@@ -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 {

+ 1 - 1
src/pages/message/msgView.vue

@@ -76,7 +76,7 @@
       <view class="text_input_view">
         <view class="text_input_lay">
           <view class="text_input_tengh">
-            <input class="uni-input_chat" focus placeholder="请输入" v-model="message" />
+            <input class="uni-input_chat" type="text" confirm-type="send" focus placeholder="请输入" v-model="message" @confirm="send"/>
           </view>
           <!-- 更多功能 -->
           <!-- <view class="text_input_mount" @click="gengduo = !gengduo">