feat: 不固定头部
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
<image
|
||||
@click="goShare"
|
||||
src="/static/home/shop-go.png"
|
||||
style="width: 92rpx; height: 30rpx"
|
||||
style="width: 75rpx; height: 30rpx"
|
||||
></image>
|
||||
</view>
|
||||
</view>
|
||||
@@ -200,27 +200,31 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.content {
|
||||
height: auto;
|
||||
overflow: auto;
|
||||
}
|
||||
.top-box {
|
||||
width: 100%;
|
||||
padding-bottom: 24rpx;
|
||||
background: linear-gradient(270deg, #af39c4 0%, #7732ff 100%);
|
||||
.swiper-box {
|
||||
position: relative;
|
||||
margin-bottom: 50rpx;
|
||||
margin-bottom: 20rpx;
|
||||
.swiper-card {
|
||||
padding: 12rpx 32rpx 20rpx;
|
||||
padding: 12rpx 32rpx 0;
|
||||
}
|
||||
.swiper-title {
|
||||
padding: 3rpx 10rpx;
|
||||
position: absolute;
|
||||
left: -14rpx;
|
||||
top: 164rpx;
|
||||
// position: absolute;
|
||||
// left: -14rpx;
|
||||
// top: 164rpx;
|
||||
height: 56rpx;
|
||||
width: 702rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin: 0 28rpx;
|
||||
margin: 0 auto;
|
||||
background-color: #f0e7fe;
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
@@ -320,7 +324,7 @@ export default {
|
||||
}
|
||||
.setting-view {
|
||||
width: 100%;
|
||||
height: calc(100% - 88rpx - var(--status-bar-height));
|
||||
// height: calc(100% - var(--status-bar-height));
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 11 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 22 KiB |
Reference in New Issue
Block a user