123456789101112131415161718 |
- <!--templates/footer_parent/footer.wxml-->
- <template name="footer">
- <view class="footer-container">
- <view class="footer-wrapper">
- <view class="footer-items">
- <block wx:for="{{list}}" wx:key="{{index}}">
- <view wx:if='{{item.id == "camera"}}' class='footer-item' data-url="{{item.src}}" bindtap="navigateCtl">
- <image class="footer-item-image-large" src="{{item.url}}"></image>
- </view>
- <view wx:else class="footer-item" data-url="{{item.src}}" bindtap="redirectCtl">
- <image class="footer-item-image" wx:if="{{item.url || item.actUrl}}" src="{{actIndex == index ? item.actUrl : item.url}}"></image>
- <view class="footer-item-text {{actIndex == index ? 'footer-item-text-active' : ''}}">{{item.text}}</view>
- </view>
- </block>
- </view>
- </view>
- </view>
- </template>
|