Browse Source

增加badge demo中button样式

杨磊 7 years ago
parent
commit
2b094e8ef6
1 changed files with 10 additions and 1 deletions
  1. 10 1
      src/demo/badge.vue

+ 10 - 1
src/demo/badge.vue

@@ -48,8 +48,17 @@ export default {
 }
 </script>
 
-<style>
+<style lang="scss" scoped>
     .item {
         display: inline-block;
     }
+    button {
+        appearance: none;
+        width: 100px;
+        height: 30px;
+        line-height: 30px;
+        background: #fff;
+        border: 1px solid #ccc;
+        outline: none;
+    }
 </style>