This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
yoshop-wechat/components/diy/navBar/navBar.wxml

13 lines
619 B
Plaintext
Raw Permalink Normal View History

2020-04-25 22:59:04 +08:00
<!-- 导航组 -->
<view class="diy-navBar" style="background: {{ itemStyle.background }};">
<view class="data-list avg-sm-{{ itemStyle.rowsNum }}">
<view class="item-nav" wx:for="{{ dataList }}" wx:key="this" wx:for-item="dataItem">
<view class="nav-to" catchtap="navigationTo" data-url="{{ dataItem.linkUrl }}">
<view class="item-image">
<image class="image" mode="widthFix" src="{{ dataItem.imgUrl }}"></image>
</view>
<view class="item-text f-28 onelist-hidden" style="color: {{ dataItem.color }};">{{ dataItem.text }}</view>
</view>
</view>
</view>
</view>