Commit 50b9599af19cf56de5926659d24e26a243f06ff3

Authored by liuqimichale
1 parent 86551874

边框

src/images/content/frame-wrap.png 0 → 100644

1.11 KB

src/view/VHome.vue
@@ -57,7 +57,11 @@ export default { @@ -57,7 +57,11 @@ export default {
57 } 57 }
58 .frame-wrap{ 58 .frame-wrap{
59 height: calc((100% - 20px)/3); 59 height: calc((100% - 20px)/3);
60 - background: #f00; 60 + border-image-source: url("../images/content/frame-wrap.png");
  61 + border-image-slice: 10 16 15 10 fill;
  62 + border-width: 10px 16px 15px 10px;
  63 + border-style: solid;
  64 + background-clip: border-box;
61 } 65 }
62 66
63 </style> 67 </style>