1
This commit is contained in:
parent
fc3e9885d3
commit
64ed1aaad6
@ -40,4 +40,5 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -25,5 +25,11 @@
|
|||||||
flex:1;
|
flex:1;
|
||||||
height: 0;
|
height: 0;
|
||||||
}
|
}
|
||||||
|
.movable{
|
||||||
|
position: fixed;
|
||||||
|
height: 100vh;
|
||||||
|
width: 100vh;
|
||||||
|
z-index: 0;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
import { Image, View} from '@tarojs/components'
|
import { Image, MovableArea, MovableView, View} from '@tarojs/components'
|
||||||
import Swiper from '@/components/swiper'
|
import Swiper from '@/components/swiper'
|
||||||
import Search from '@/components/search'
|
import Search from '@/components/search'
|
||||||
import SideBar from '@/components/sideBar'
|
import SideBar from '@/components/sideBar'
|
||||||
@ -39,6 +39,11 @@ export default () => {
|
|||||||
<Product/>
|
<Product/>
|
||||||
</SideBar>
|
</SideBar>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
|
<MovableArea className={styles.movableItem}>
|
||||||
|
<MovableView className={styles.moveBtn}>拖动</MovableView>
|
||||||
|
</MovableArea>
|
||||||
|
|
||||||
<View className='common_safe_area_y'></View>
|
<View className='common_safe_area_y'></View>
|
||||||
</View>
|
</View>
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user