@@ -4,6 +4,7 @@
display: flex;
flex-shrink: 0;
position: relative;
+ margin-right: 14px;
&:last-child {
margin-right: 0;
}
@@ -47,7 +47,7 @@ export default create({
},
spacing: {
type: [String, Number],
- default: 14
+ default: undefined
components: { StarFillN },
@@ -52,7 +52,7 @@ export default create({
@@ -1,6 +1,6 @@
<view :class="classes" @touchstart="onTouchStart" @touchmove="onTouchMove">
<view class="nut-rate-item" v-for="n in Number(count)" :key="n" ref="rateRefs" :id="'rateRefs-' + refRandomId + n"
- :style="n < Number(count) ? { marginRight: pxCheck(spacing) } : {}">
+ :style="{ marginRight: pxCheck(spacing) }">
<view>
<component
:is="renderIcon(customIcon,{width:size,height:size,size,color:n <= modelValue ? activeColor : voidColor})"