Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ai-card
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5355c1ae
authored
Sep 05, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
设置背景且背景铺满
1 parent
d7025d19
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletions
pages/tab/index/index.wxml
pages/tab/index/index.wxss
pages/tab/index/index.wxml
View file @
5355c1a
<!-- 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
pages/tab/index/index.wxss
View file @
5355c1a
...
@@ -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;
...
@@ -63,4 +64,19 @@ page {
...
@@ -63,4 +64,19 @@ page {
position: absolute;
position: absolute;
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
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment