Commit 5355c1ae by 匡雅琴

设置背景且背景铺满

1 parent d7025d19
<!-- 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" />
<template is="channel"></template>
......@@ -25,7 +27,9 @@
<block wx:if="{{curTabIndex === 1 }}">
<template is="menu" data="{{menuList, curIntroduceIndex, templateMethods, customerType}}"></template>
</block>
</view>
<!-- 服务咨询 -->
<view bindtap="goConsult">
<image mode="widthFix" class="icon-consult" webp src="{{IMGURL}}home/custom.png"></image>
</view>
</view>
\ No newline at end of file
......@@ -6,6 +6,7 @@
page {
background-color: #F5F5F7;
}
.tab-list {
display: flex;
justify-content: space-evenly;
......@@ -63,4 +64,19 @@ page {
position: absolute;
right: 6rpx;
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
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!