Commit f955490d64d95c797e4d4e79ad1912867a55ac37

Authored by ly525
1 parent 2d19802c

update image gallery style

front-end/h5/src/components/core/support/image-gallery/gallery.js
@@ -75,7 +75,7 @@ export default { @@ -75,7 +75,7 @@ export default {
75 class="default-activator cursor-pointer " 75 class="default-activator cursor-pointer "
76 onClick={() => { this.innerVisible = true }} 76 onClick={() => { this.innerVisible = true }}
77 > 77 >
78 - <img src={this.value} style={{ width: '100%' }} /> 78 + <img src={this.value} />
79 <div class="flex-space-between" style="margin-top: 8px;"> 79 <div class="flex-space-between" style="margin-top: 8px;">
80 <a-button>更换图片</a-button> 80 <a-button>更换图片</a-button>
81 <a-button onClick={e => { 81 <a-button onClick={e => {
front-end/h5/src/components/core/support/image-gallery/gallery.scss
1 .default-activator { 1 .default-activator {
2 border: 1px dashed #eee; 2 border: 1px dashed #eee;
3 text-align: center; 3 text-align: center;
  4 +
  5 + img {
  6 + width: 100%;
  7 + border: 1px dashed #ccc;
  8 + }
4 } 9 }
5 \ No newline at end of file 10 \ No newline at end of file