浏览代码

增加badge demo中button样式

杨磊 7 年之前
父节点
当前提交
2b094e8ef6
共有 1 个文件被更改,包括 10 次插入1 次删除
  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>