|
|
@@ -266,7 +266,7 @@ Support dynamic addition / deletion of pictures
|
|
|
right: 0;
|
|
|
width: 46px;
|
|
|
height: 22px;
|
|
|
- background: rgba(0, 0, 0, 0.33);
|
|
|
+ background-color: rgba(0, 0, 0, 0.33);
|
|
|
border-radius: 22px;
|
|
|
text-align: center;
|
|
|
color: #fff;
|
|
|
@@ -291,7 +291,7 @@ You can manually switch through `api` (`prev`, `next`)
|
|
|
<img :src="item" alt="" />
|
|
|
</nut-swiper-item>
|
|
|
</nut-swiper>
|
|
|
- <view class="nut-swiper-btns">
|
|
|
+ <view class="nut-swiper-btns" style="width: 100%;">
|
|
|
<span class="nut-swiper-btns__left" @click="handlePrev">
|
|
|
<nut-icon name='left'></nut-icon>
|
|
|
</span>
|
|
|
@@ -338,7 +338,6 @@ You can manually switch through `api` (`prev`, `next`)
|
|
|
}
|
|
|
}
|
|
|
.nut-swiper-btns{
|
|
|
- width: 100%;
|
|
|
position: absolute;
|
|
|
top: 50%;
|
|
|
transform: translateY(-50%);
|
|
|
@@ -518,8 +517,8 @@ You can manually switch through `api` (`prev`, `next`)
|
|
|
|
|
|
| Attribute | Description | Type | Default |
|
|
|
| ---------------------- | ----------------------------------------------------------- | -------------- | ----------- |
|
|
|
-| width | Width of rotation card | Number、String | window.innerWidth |
|
|
|
-| height | Height of rotation card | String、Number | 0 |
|
|
|
+| width | Width of rotation card | Number、String | `auto` |
|
|
|
+| height | Height of rotation card | String、Number | `auto` |
|
|
|
| direction | Rotation direction, optional value:`horizontal`,`vertical` | String | 'horizontal' |
|
|
|
| pagination-visible | Is the paging indicator displayed | Boolean | false |
|
|
|
| pagination-color | The color selected by the pagination indicator | String | '#fff' |
|