This commit is contained in:
czm 2022-04-07 11:05:20 +08:00
parent fc3e9885d3
commit 64ed1aaad6
3 changed files with 13 additions and 1 deletions

View File

@ -40,4 +40,5 @@
height: 100%;
}
}
}

View File

@ -25,5 +25,11 @@
flex:1;
height: 0;
}
.movable{
position: fixed;
height: 100vh;
width: 100vh;
z-index: 0;
}
}

View File

@ -1,4 +1,4 @@
import { Image, View} from '@tarojs/components'
import { Image, MovableArea, MovableView, View} from '@tarojs/components'
import Swiper from '@/components/swiper'
import Search from '@/components/search'
import SideBar from '@/components/sideBar'
@ -39,6 +39,11 @@ export default () => {
<Product/>
</SideBar>
</View>
<MovableArea className={styles.movableItem}>
<MovableView className={styles.moveBtn}></MovableView>
</MovableArea>
<View className='common_safe_area_y'></View>
</View>
)