Commit 8956c655 authored by Jack's avatar Jack Committed by 北桥

去掉重复的css属性.

parent d389f106
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
} }
]" ]"
> >
<view class="u-slider__button-wrap" @touchstart="onTouchStart" <view class="u-slider__button-wrap" @touchstart="onTouchStart"
@touchmove="onTouchMove" @touchend="onTouchEnd" @touchmove="onTouchMove" @touchend="onTouchEnd"
@touchcancel="onTouchEnd"> @touchcancel="onTouchEnd">
<slot v-if="$slots.default || $slots.$default"/> <slot v-if="$slots.default || $slots.$default"/>
<view v-else class="u-slider__button" :style="[blockStyle, { <view v-else class="u-slider__button" :style="[blockStyle, {
...@@ -213,7 +213,6 @@ export default { ...@@ -213,7 +213,6 @@ export default {
.u-slider { .u-slider {
position: relative; position: relative;
border-radius: 999px; border-radius: 999px;
border-radius: 999px;
background-color: #ebedf0; background-color: #ebedf0;
} }
...@@ -231,7 +230,6 @@ export default { ...@@ -231,7 +230,6 @@ export default {
position: relative; position: relative;
border-radius: inherit; border-radius: inherit;
transition: width 0.2s; transition: width 0.2s;
transition: width 0.2s;
background-color: #1989fa; background-color: #1989fa;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment