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