feat: move project
This commit is contained in:
commit
4a940f28ba
97 changed files with 5047 additions and 0 deletions
36
custom-tab-bar/index.wxml
Normal file
36
custom-tab-bar/index.wxml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<view class="tabline">
|
||||
<t-tab-bar value="{{active}}" bindchange="onChange" split="{{false}}">
|
||||
<t-tab-bar-item wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index">
|
||||
<view class="{{'custom-tab-bar-wrapper ' + ('tab' + index) + ' ' + (index == active ? 'cur' : '')}}">
|
||||
<t-icon prefix="wr" name="{{item.icon}}" size="40rpx" />
|
||||
<view class="text">{{ item.text }}</view>
|
||||
</view>
|
||||
</t-tab-bar-item>
|
||||
<!-- <t-tab-bar-item>
|
||||
<view class="{{'custom-tab-bar-wrapper ' + ('tab' + 0) + ' ' + (0 == active ? 'cur' : '')}}">
|
||||
<t-icon prefix="wr" name="{{list[0].icon}}" size="40rpx" />
|
||||
<view class="text">{{ list[0].text }}</view>
|
||||
</view>
|
||||
</t-tab-bar-item>
|
||||
<t-tab-bar-item wx:if="{{is_share}}">
|
||||
<view class="{{'custom-tab-bar-wrapper ' + ('tab' + 1) + ' ' + (1 == active ? 'cur' : '')}}">
|
||||
<t-icon prefix="wr" name="{{list[1].icon}}" size="40rpx" />
|
||||
<view class="text">{{ list[1].text }}</view>
|
||||
</view>
|
||||
</t-tab-bar-item>
|
||||
<t-tab-bar-item>
|
||||
<view class="{{'custom-tab-bar-wrapper ' + ('tab' + 2) + ' ' + (2 == active ? 'cur' : '')}}">
|
||||
<t-icon prefix="wr" name="{{list[2].icon}}" size="40rpx" />
|
||||
<view class="text">{{ list[2].text }}</view>
|
||||
</view>
|
||||
</t-tab-bar-item> -->
|
||||
<!-- <view class="camera" bind:tap="goTakePhoto" wx:if="{{hasPhone}}">
|
||||
<t-image loading=" " mode="aspectFill" src="{{cdnHost + '/static/camera.png?v=5'}}" width="29" height="23" />
|
||||
<view class="txt">发现</view>
|
||||
</view>
|
||||
<button open-type="getPhoneNumber" class="camera" bindgetphonenumber="getPhoneNumber" wx:else>
|
||||
<t-image loading=" " mode="aspectFill" src="{{cdnHost + '/static/camera.png?v=5'}}" width="29" height="23" />
|
||||
<view class="txt">发现</view>
|
||||
</button> -->
|
||||
</t-tab-bar>
|
||||
</view>
|
||||
Loading…
Add table
Add a link
Reference in a new issue