diff --git a/packages/varlet-cli/site/mobile/App.vue b/packages/varlet-cli/site/mobile/App.vue
index cd36fc2b37f..9c154e2528c 100644
--- a/packages/varlet-cli/site/mobile/App.vue
+++ b/packages/varlet-cli/site/mobile/App.vue
@@ -2,7 +2,7 @@
-
+
@@ -17,7 +17,7 @@
@@ -63,5 +73,9 @@ export default {
.var-cell {
cursor: pointer;
+
+ &:hover {
+ background: #eee;
+ }
}
diff --git a/packages/varlet-ui/src/rate/props.ts b/packages/varlet-ui/src/rate/props.ts
index ee07c82849a..6950d78beb0 100644
--- a/packages/varlet-ui/src/rate/props.ts
+++ b/packages/varlet-ui/src/rate/props.ts
@@ -40,7 +40,7 @@ export const props = {
// 图标间隔
marginRight: {
type: [String, Number],
- default: '4',
+ default: '2',
},
// 是否使用半评分
diff --git a/packages/varlet-ui/src/rate/rate.less b/packages/varlet-ui/src/rate/rate.less
index e17880c7170..39e564c1658 100644
--- a/packages/varlet-ui/src/rate/rate.less
+++ b/packages/varlet-ui/src/rate/rate.less
@@ -1,5 +1,10 @@
-@import "../styles/var";
+@import '../styles/var';
.var-rate {
display: flex;
+
+ &--content {
+ padding: 2px;
+ box-sizing: unset;
+ }
}