银花优选微信小程序修改后的最新版本代码
This commit is contained in:
43
pages/classify/index.wxml
Normal file
43
pages/classify/index.wxml
Normal file
@@ -0,0 +1,43 @@
|
||||
<view class="container">
|
||||
<view class="nav_left">
|
||||
<block wx:for="{{navLeftItems}}" wx:for-index="index">
|
||||
<view class="nav_left_items {{index==navindex?'active':''}}" bindtap="switchRightTab" data-id="{{index}}">{{item.header}}</view>
|
||||
</block>
|
||||
</view>
|
||||
<view class="nav_right">
|
||||
<view wx:if="{{categoryid>0&&navRightItems.length>0}}" style="width:100%;overflow-x: auto;">
|
||||
<view style="width:200%;">
|
||||
<view class="nav_right_item {{navindex0==-1?'active':''}}" bindtap="switchRightTab0" data-id="-1">
|
||||
全部分类
|
||||
</view>
|
||||
<block wx:for="{{navRightItems}}" wx:for-index="index">
|
||||
<view class="nav_right_item {{index==navindex0?'active':''}}" bindtap="switchRightTab0" data-id="{{index}}">
|
||||
{{item.header}}
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
</view>
|
||||
<view class="clear"></view>
|
||||
<view wx:if="{{products}}">
|
||||
|
||||
<view wx:for="{{products}}" class="brand_item" bindtap="ondetail" data-id="{{item._id}}">
|
||||
|
||||
<image src="{{item.image}}" class="pic"></image>
|
||||
<view class="brand_item_cont">
|
||||
|
||||
<text class="name">{{item.name}}</text>
|
||||
<view class="price">
|
||||
<!--<text class="marketprice">¥{{item.scje}}</text>-->
|
||||
<text class="ourprice">¥{{item.hyje}}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
</view>
|
||||
|
||||
<view wx:else>暂无数据</view>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user