ui修改
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<!--index.wxml-->
|
||||
<import src="../../wxParse/wxParse.wxml"/>
|
||||
<view class="container">
|
||||
<view>
|
||||
<view>
|
||||
<swiper class="swiper_box" indicator-dots="{{indicatorDots}}" vertical="{{vertical}}" circular="true"
|
||||
autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" bindchange="swiperchange">
|
||||
<block wx:for="{{images}}" wx:key="index">
|
||||
@@ -10,24 +10,29 @@
|
||||
</swiper-item>
|
||||
</block>
|
||||
</swiper>
|
||||
</view>
|
||||
</view>
|
||||
<view class="mydata_box0" wx:if="{{ifxn==1}}">
|
||||
<view>
|
||||
<swiper class="swiper_box0" indicator-dots="{{indicatorDots0}}" vertical="{{vertical0}}" circular="true"
|
||||
autoplay="{{autoplay}}" interval="{{interval0}}" duration="{{duration}}" bindchange="swiperchange0">
|
||||
<swiper-item wx:for="{{images1}}">
|
||||
<view wx:for="{{item.datas}}" wx:for-item="cell" wx:for-index="index0" bindtap="onnav" data-id='{{cell.id+"&title="+cell.label}}'>
|
||||
<image src='{{cell.img}}'></image>
|
||||
<text>{{cell.label}}</text>
|
||||
</view>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
<view class="category-grid">
|
||||
<view class="category-group" wx:for="{{images1}}" wx:for-item="groupItem" wx:for-index="groupIndex">
|
||||
<view class="category-row">
|
||||
<view class="category-item" wx:for="{{groupItem.datas}}" wx:for-item="cell" wx:for-index="cellIndex" wx:if="{{cellIndex < 4}}" bindtap="onnav" data-id='{{cell.id+"&title="+cell.label}}'>
|
||||
<image src='{{cell.img}}'></image>
|
||||
<text>{{cell.label}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="category-row" wx:if="{{groupItem.datas.length > 4}}">
|
||||
<view class="category-item" wx:for="{{groupItem.datas}}" wx:for-item="cell" wx:for-index="cellIndex" wx:if="{{cellIndex >= 4}}" bindtap="onnav" data-id='{{cell.id+"&title="+cell.label}}'>
|
||||
<image src='{{cell.img}}'></image>
|
||||
<text>{{cell.label}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="choice_text">
|
||||
<view class="line_flag"></view>
|
||||
<text>热门商品</text>
|
||||
<text>优选商品</text>
|
||||
<view class="more"></view>
|
||||
</view>
|
||||
<view class="choice_box">
|
||||
|
||||
Reference in New Issue
Block a user