Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
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 a7532c92
authored
Aug 30, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复tabbar样式问题
1 parent
b358fc7b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
packagesList/packageOutput/pages/newSummary/newSummary.js
packagesList/packageOutput/pages/newSummary/newSummary.wxml
packagesList/packageOutput/pages/newSummary/newSummary.js
View file @
a7532c9
...
...
@@ -42,6 +42,13 @@ Page({
whiteArrow
:
false
,
scenceList
:
[]
},
navbarReady
(
e
)
{
let
{
height
,
statusBarHeight
}
=
e
.
detail
console
.
log
(
e
)
this
.
setData
({
tabBarStyle
:
height
/
2
+
statusBarHeight
})
},
handleMonthNow
()
{
// this.dateObj.nowMonth = true
this
.
initTime
()
...
...
packagesList/packageOutput/pages/newSummary/newSummary.wxml
View file @
a7532c9
<!--packagesList/packageOutput/pages/openNewBusiness/openNewBusiness.wxml-->
<!-- <text>packagesList/packageOutput/pages/openNewBusiness/openNewBusiness.wxml</text> -->
<wxs src="../../index.wxs" module="filter" />
<view class="layout">
<view class="titleBox">
<navigation-bar showBack navStyle="background-color: transparent;" bindnavbarReady="navbarReady">
{{merchantInfo.merchantName}}
</navigation-bar>
<view class="layout" style="padding-top:{{tabBarStyle}}px; height:calc(100vh - {{tabBarStyle}}px)">
<!-- <view class="titleBox">
<view class="imgBox" bind:tap="back">
<image src="../../images/blackArrow.png" />
</view>
<view class="navigation-title-text text-hide">{{merchantInfo.merchantName}}</view>
</view>
</view> -->
<tab tab="{{ tabList }}" itemWidth="{{ '30%' }}" index="{{ tabIndx }}" bindclick="changeTabIndx" class="tabContainer" />
<view class="searchBar">
<view class="checkCon" wx:if="{{ tabIndx == 0 }}">
<view class="checkoutBox checkBox" bind:tap="changeStatus" wx:if="{{ !allType }}"></view>
<image class="checkBox" bind:tap="changeStatus" wx:if="{{ allType }}" src="../../images/checkoutIcon.png"></image>
查看全
部
品类
查看全品类
</view>
<view class="calendarMonthCon" wx:if="{{ tabIndx != 1 }}">
<view class="monthNow {{ dateObj.nowMonth ? 'active' : '' }}" bind:tap="handleMonthNow">本月</view>
...
...
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