布局调整

This commit is contained in:
1271023382@qq.com
2023-09-25 14:22:57 +08:00
parent a97b8e4a05
commit ea6e42f12f
2 changed files with 7 additions and 3 deletions

View File

@@ -11,7 +11,7 @@
<view class="hehan"> <view class="hehan">
<image src="../../static/icon/hehan.png" mode="aspectFit" class="icon_hua_1"></image> <image src="../../static/icon/hehan.png" mode="aspectFit" class="icon_hua_1"></image>
</view> </view>
<view class="search_box flexbox" @click="onPageJump('./searchFor')"> <view class="search_box flexbox" @click="onPageJump('../peanut/searchFor')">
<view class="search"> <view class="search">
<text class="icon_search"></text> <text class="icon_search"></text>
<text class="prompt">请输入想要搜索的书名</text> <text class="prompt">请输入想要搜索的书名</text>
@@ -334,6 +334,7 @@
<style lang="scss" scoped> <style lang="scss" scoped>
@import '@/style/mixin.scss'; @import '@/style/mixin.scss';
.hehan{width: 80%; margin: 0 auto;}
.home_lunbo { .home_lunbo {
margin: 40rpx 30rpx 0 30rpx; margin: 40rpx 30rpx 0 30rpx;
} }
@@ -450,7 +451,8 @@
image{width: 150rpx; height: 150rpx; margin: 0 auto;} image{width: 150rpx; height: 150rpx; margin: 0 auto;}
} }
.search_box { margin: 0 auto; margin-top: 20rpx; align-items: center; .search_box { margin: 0 auto; margin-top: 20rpx; align-items: center;
width: calc(100% - 30rpx); margin-bottom: -52rpx; width: calc(100% - 30rpx); margin-top: 0;
margin-bottom: 20rpx;
.search{height: 80upx; .search{height: 80upx;
display: flex; display: flex;

View File

@@ -684,6 +684,7 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import '@/style/mixin.scss'; @import '@/style/mixin.scss';
.hehan{width: 80%; margin: 0 auto;}
.zhekou{ .zhekou{
.goodsName{margin-bottom: 20rpx;} .goodsName{margin-bottom: 20rpx;}
} }
@@ -758,7 +759,8 @@
image{width: 150rpx; height: 150rpx; margin: 0 auto;} image{width: 150rpx; height: 150rpx; margin: 0 auto;}
} }
.search_box { margin: 0 auto; margin-top: 20rpx; align-items: center; .search_box { margin: 0 auto; margin-top: 20rpx; align-items: center;
width: calc(100% - 30rpx); margin-bottom: -52rpx; width: calc(100% - 30rpx); margin-top: 0;
margin-bottom: 20rpx;
.search{height: 80upx; .search{height: 80upx;
display: flex; display: flex;