File tree Expand file tree Collapse file tree 1 file changed +16
-9
lines changed
web/src/components/chooseImg Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Original file line number Diff line number Diff line change 11<template >
22 <el-drawer title =" 媒体库" :visible.sync =" drawer" >
3- <div style = " display : flex ; justify-content : space-around ; flex-wrap : wrap ; padding-top : 40 px " >
3+ <div class = " media " >
44 <el-image
55 class =" header-img-box-list"
66 :src =" (item.url && item.url.slice(0, 4) !== 'http')?path+item.url:item.url"
@@ -49,13 +49,20 @@ export default {
4949 </script >
5050
5151<style lang="scss">
52- .header-img-box-list {
53- width : 180px ;
54- height : 180px ;
55- border : 1px dashed #ccc ;
56- border-radius : 20px ;
57- text-align : center ;
58- line-height : 180px ;
59- cursor : pointer ;
52+ .media {
53+ display :flex ;
54+ flex-wrap :wrap ;
55+ .header-img-box-list {
56+ margin-top : 20px ;
57+ width : 120px ;
58+ margin-left : 20px ;
59+ height : 120px ;
60+ border : 1px dashed #ccc ;
61+ border-radius : 20px ;
62+ text-align : center ;
63+ line-height : 180px ;
64+ cursor : pointer ;
6065}
66+ }
67+
6168 </style >
You can’t perform that action at this time.
0 commit comments