更换版本

This commit is contained in:
2024-01-22 18:48:00 +08:00
parent 9f65ea8fd9
commit 00e6dcaec0
1158 changed files with 70609 additions and 51780 deletions

View File

@@ -0,0 +1,8 @@
var t;
(t = getApp()),
Component({
properties: { tabBar: { type: Object, value: t.tabBar } },
data: {},
methods: {},
created: function () {},
});

View File

@@ -0,0 +1 @@
{ "component": true, "usingComponents": {} }

View File

@@ -0,0 +1,17 @@
<view class="we7-bottom" style="background-color:{{tabBar.backgroundColor}};border-color:{{tabBar.borderStyle}}" wx:if="{{tabBar}}">
<block wx:for="{{tabBar.list}}" wx:key="{{index}}">
<view class="we7-bottom-item" hoverClass="active" wx:if="{{item.pageUrl=='/'+thisurl}}">
<navigator hoverClass="active" openType="redirect" url="{{item.pagePath}}">
<image class="item-img" mode="widthFix" src="{{item.selectedIconPath}}"></image>
<view class="item-text" style="color: {{tabBar.selectedColor}};">{{item.text}}</view>
</navigator>
</view>
<view class="we7-bottom-item" hoverClass="active" wx:else>
<navigator hoverClass="active" openType="redirect" url="{{item.pagePath}}">
<image class="item-img" mode="widthFix" src="{{item.iconPath}}"></image>
<view class="item-text" style="color: {{tabBar.tabBarcolor}}">{{item.text}}</view>
</navigator>
</view>
</block>
</view>
<view class="we7-bottom-placeholder"></view>

View File

@@ -0,0 +1,38 @@
.we7-bottom-placeholder {
bottom: 0;
height: 134rpx;
position: relative;
width: 100%;
z-index: -1;
}
.we7-bottom {
border-top: 1px solid #000;
bottom: 0;
display: -webkit-flex;
display: flex;
left: 0;
overflow: hidden;
padding: 10rpx 0;
position: fixed;
right: 0;
}
.we7-bottom,
.we7-bottom.active,
.we7-bottom.active navigatorurl {
background-color: #fff;
}
.we7-bottom .we7-bottom-item {
flex: 1;
padding: 10rpx;
text-align: center;
}
.we7-bottom .item-img {
display: inline-block;
height: 50rpx;
width: 50rpx;
}
.we7-bottom .item-text {
display: block;
font-size: 12px;
line-height: 1;
}