File tree Expand file tree Collapse file tree 4 files changed +19
-12
lines changed Expand file tree Collapse file tree 4 files changed +19
-12
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "/app.js" : " /app.js?id=bd89b077f08d1b3fe3c8 " ,
2
+ "/app.js" : " /app.js?id=56b921be10395873e06e " ,
3
3
"/manifest.js" : " /manifest.js?id=8991394a854ee5cdffc3" ,
4
4
"/vendor.js" : " /vendor.js?id=df0be4950fcb717193ba"
5
5
}
Original file line number Diff line number Diff line change 152
152
</el-footer >
153
153
</el-container >
154
154
</el-container >
155
- <el-backtop :bottom = " 80 " ></el-backtop >
155
+ <el-backtop ></el-backtop >
156
156
<el-drawer :visible.sync =" showAdminSet" size =" 250px" >
157
157
<div style =" padding :0 10px ;" >
158
158
<el-divider >主题风格</el-divider >
Original file line number Diff line number Diff line change 100
100
</template >
101
101
</component >
102
102
</component >
103
- <component :is =" attrs.actions.fixed?'Affix':'div'" :offset-bottom =" 2" >
103
+ <component
104
+ :is =" attrs.actions.fixed ? 'Affix' : 'div'"
105
+ :offset-bottom =" 20"
106
+ >
104
107
<div
105
108
class =" form-bottom-actions flex padding-tb"
106
109
:class =" { 'form-bottom-actions-fixedxxx': attrs.actions.fixed }"
133
136
:icon =" attrs.actions.cancelButton.icon"
134
137
:autofocus =" attrs.actions.cancelButton.autofocus"
135
138
:loading =" loading"
136
- @click =" attrs.attrs.isDialog ? closeDialog : $router.go(-1) "
139
+ @click =" onCancel "
137
140
><template v-if =" attrs .actions .cancelButton .content " >{{
138
141
attrs.actions.cancelButton.content
139
142
}}</template >
@@ -299,6 +302,9 @@ export default {
299
302
resetForm (formName ) {
300
303
this .$refs [formName].resetFields ();
301
304
},
305
+ onCancel () {
306
+ this .attrs .attrs .isDialog ? this .closeDialog () : this .$router .go (- 1 );
307
+ },
302
308
closeDialog () {
303
309
this .$bus .emit (" showDialogGridFrom" , { isShow: false });
304
310
},
@@ -318,14 +324,15 @@ export default {
318
324
align-items : center ;
319
325
justify-content : space-between ;
320
326
}
321
- .form-bottom-actions-fixed {
322
- position : fixed ;
323
- bottom : 15 px ;
324
- left : 0 ;
325
- right : 0 ;
326
- padding : 15 px ;
327
- background : #ffffff ;
327
+ .admin-affix {
328
+ .form-bottom-actions {
329
+ padding : 6 px ;
330
+ background : #ffffff ;
331
+ border-radius : 4 px ;
332
+ border : 1 px solid #EBEEF5 ;
333
+ }
328
334
}
335
+
329
336
.form-item-help {
330
337
color : #999 ;
331
338
}
You can’t perform that action at this time.
0 commit comments