footer.wxml 1016 B

12345678910111213141516171819202122232425262728293031
  1. <view class="{{classPrefix}}">
  2. <!-- theme 为 logo -->
  3. <block wx:if="{{theme === 'logo'}}">
  4. <view class="{{classPrefix}}__logo">
  5. <image class="{{classPrefix}}__icon" src="{{logo.icon}}" wx:if="{{logo.icon}}" />
  6. <view class="{{classPrefix}}__title" wx:if="{{logo.title}}">{{logo.title}}</view>
  7. <image
  8. class="{{classPrefix}}__title-url"
  9. src="{{logo.url}}"
  10. mode="widthFix"
  11. wx:elif="{{logo.url}}"
  12. />
  13. </view>
  14. </block>
  15. <!-- theme 为 text -->
  16. <block wx:else>
  17. <view wx:if="{{textLinkList.length > 0}}" class="{{classPrefix}}__link-list">
  18. <block wx:for="{{textLinkList}}" wx:key="name" wx:for-item="item">
  19. <navigator
  20. url="{{item.url}}"
  21. open-type="{{item.openType}}"
  22. hover-class="none"
  23. class="{{classPrefix}}__link-item"
  24. >
  25. {{item.name}}
  26. </navigator>
  27. </block>
  28. </view>
  29. <view class="{{classPrefix}}__copyright-info">{{copyright}}</view>
  30. </block>
  31. </view>