mirror of
https://gitee.com/ShopeX/ECShopX_mobile-frontend
synced 2026-08-05 12:25:51 +08:00
chore(slider): remove unused Taro import; fix cover pagination position
- Drop unused getCurrentInstance/Taro import from slider widget - .slider-pagination.cover: use bottom:0 instead of width/position reset Made-with: Cursor
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
* See LICENSE file for license details.
|
||||
*/
|
||||
import React, { Component, useEffect } from 'react'
|
||||
import Taro, { getCurrentInstance } from '@tarojs/taro'
|
||||
import { View, Image, Text, Swiper, SwiperItem } from '@tarojs/components'
|
||||
import { SpImage, SpLogin } from '@/components'
|
||||
import { useImmer } from 'use-immer'
|
||||
|
||||
@@ -86,8 +86,7 @@
|
||||
right: 0;
|
||||
|
||||
&.cover {
|
||||
width: 100%;
|
||||
position: initial;
|
||||
bottom: 0px;
|
||||
}
|
||||
|
||||
&.left {
|
||||
|
||||
Reference in New Issue
Block a user