Commit 5355c1ae by 匡雅琴

设置背景且背景铺满

1 parent d7025d19
<!-- pages/tab/index/index.wxml --> <!-- pages/tab/index/index.wxml -->
<user-info></user-info> <view class="main-box">
<user-info></user-info>
<view class="main-bottom">
<!-- 面向渠道 --> <!-- 面向渠道 -->
<import src="../../template/channel/channel.wxml" /> <import src="../../template/channel/channel.wxml" />
<template is="channel"></template> <template is="channel"></template>
...@@ -25,7 +27,9 @@ ...@@ -25,7 +27,9 @@
<block wx:if="{{curTabIndex === 1 }}"> <block wx:if="{{curTabIndex === 1 }}">
<template is="menu" data="{{menuList, curIntroduceIndex, templateMethods, customerType}}"></template> <template is="menu" data="{{menuList, curIntroduceIndex, templateMethods, customerType}}"></template>
</block> </block>
</view>
<!-- 服务咨询 --> <!-- 服务咨询 -->
<view bindtap="goConsult"> <view bindtap="goConsult">
<image mode="widthFix" class="icon-consult" webp src="{{IMGURL}}home/custom.png"></image> <image mode="widthFix" class="icon-consult" webp src="{{IMGURL}}home/custom.png"></image>
</view> </view>
</view>
\ No newline at end of file \ No newline at end of file
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
page { page {
background-color: #F5F5F7; background-color: #F5F5F7;
} }
.tab-list { .tab-list {
display: flex; display: flex;
justify-content: space-evenly; justify-content: space-evenly;
...@@ -64,3 +65,18 @@ page { ...@@ -64,3 +65,18 @@ page {
right: 6rpx; right: 6rpx;
bottom: 90rpx; bottom: 90rpx;
} }
.main-box {
box-sizing: border-box;
height: 100%;
position: absolute;
width: 100%;
display: flex;
flex-direction: column;
}
.main-bottom {
background: #FFFFFF;
padding: 24rpx 0;
flex: 1;
}
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!