@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 +1 -1
- package/src/bread/DesignTask.vue +15 -3
package/package.json
CHANGED
package/src/bread/DesignTask.vue
CHANGED
|
@@ -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>
|