@jx3box/jx3box-common-ui 8.3.4 → 8.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-common-ui",
3
- "version": "8.3.4",
3
+ "version": "8.3.5",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,6 +1,6 @@
1
1
  <template>
2
- <el-dialog custom-class="m-design-task" :visible="modelValue" @close="close" title="快捷推送" append-to-body>
3
- <el-form :model="form" :rules="rules" ref="form" label-position="left" label-width="80px">
2
+ <el-dialog custom-class="m-design-task" :width="isPhone ? '95%' : '600px'" :visible="modelValue" @close="close" title="快捷推送" append-to-body>
3
+ <el-form :model="form" :rules="rules" ref="form" :label-position="isPhone ? 'top' : 'left'" label-width="80px">
4
4
  <el-form-item label="标题" required>
5
5
  <el-input v-model="form.title" placeholder="请输入标题"></el-input>
6
6
  </el-form-item>
@@ -81,7 +81,9 @@ export default {
81
81
  { required: true, message: "请输入标题", trigger: "blur" },
82
82
  ],
83
83
  },
84
- config: []
84
+ config: [],
85
+
86
+ isPhone: window.innerWidth < 768
85
87
  }
86
88
  },
87
89
  watch: {
@@ -161,4 +163,14 @@ export default {
161
163
  color: #c0c4cc;
162
164
  }
163
165
  }
166
+
167
+ @media screen and (max-width: @phone) {
168
+ .m-design-task {
169
+ .m-star-line {
170
+ .el-form-item__content {
171
+ top: 0;
172
+ }
173
+ }
174
+ }
175
+ }
164
176
  </style>