银花优选微信小程序修改后的最新版本代码
This commit is contained in:
66
pages/othershop/index.wxml
Normal file
66
pages/othershop/index.wxml
Normal file
@@ -0,0 +1,66 @@
|
||||
<!--index.wxml-->
|
||||
<view class="container">
|
||||
<view class="swiper">
|
||||
<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">
|
||||
<swiper-item bindtap="onslide" data-id="{{item.url}}">
|
||||
<image src="{{item.img}}" class="slide-image"/>
|
||||
</swiper-item>
|
||||
</block>
|
||||
</swiper>
|
||||
</view>
|
||||
<view class="menudata_box">
|
||||
<view>
|
||||
<swiper class="swiper_box0" indicator-dots="{{indicatorDots}}" vertical="{{vertical}}" circular="true"
|
||||
autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" bindchange="swiperchange0">
|
||||
<swiper-item wx:for="{{images0}}">
|
||||
<view wx:for="{{item.datas}}" wx:for-item="cell" wx:for-index="index0" bindtap="gotolb" data-id='{{cell.id+"&title="+cell.label+"&t=8"}}'>
|
||||
<image src='{{cell.img}}'></image>
|
||||
<text>{{cell.label}}</text>
|
||||
</view>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
</view>
|
||||
</view>
|
||||
<view class="container_box">
|
||||
<block wx:for="{{groups}}" wx:for-index="groupindex">
|
||||
<view class="choice_text">
|
||||
<view class="line_flag"></view>
|
||||
<text>{{item.name}}</text>
|
||||
<view class="more" bindtap="gotolb" data-id="{{item._id}}&title={{item.name}}&t=8">更多>></view>
|
||||
</view>
|
||||
<view class="choice_box">
|
||||
<view class="choice_list">
|
||||
<block wx:for="{{item.productlist}}" wx:for-item="cell" wx:for-index="index0">
|
||||
<view class='block block0{{(index0%2)==1?" r":" l"}}' bindtap="gotodetail" data-id="{{cell._id}}">
|
||||
<view class='choice_item'>
|
||||
<image src="{{cell.image}}"/>
|
||||
<view class="title">{{cell.name}}</view>
|
||||
<view class="je">
|
||||
|
||||
<view class="jeto">
|
||||
<view>零售价: </view>
|
||||
<view class="scje">¥{{cell.scje}}</view>
|
||||
</view>
|
||||
<view class="jeto">
|
||||
<view>会员价:</view>
|
||||
<view class="hyje">{{cell.hyje}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
<view class="nodata" hidden="{{nodataHidden}}">
|
||||
<image src="../../images/order-null.png"/>
|
||||
<view>暂无商品</view>
|
||||
</view>
|
||||
<loading hidden="{{loadingHidden}}">
|
||||
加载中...
|
||||
</loading>
|
||||
|
||||
</view>
|
||||
Reference in New Issue
Block a user