first commit
This commit is contained in:
34
衣莎项目/源码/YiShaXiYi/mall/index/index.wxml
Normal file
34
衣莎项目/源码/YiShaXiYi/mall/index/index.wxml
Normal file
@@ -0,0 +1,34 @@
|
||||
<!-- 头部 -->
|
||||
<nav-bar isBack="{{isBack}}" pageTitle="{{pageTitle}}" system="{{system}}" titleColor="{{titleColor}}"></nav-bar>
|
||||
<!-- mall/index/index.wxml -->
|
||||
<view class="index">
|
||||
<view class="index_tab">
|
||||
<scroll-view scroll-x class="bg-white nav" scroll-with-animation scroll-left="{{scrollLeft}}">
|
||||
<view wx:for="{{category}}" wx:key class="cu-item {{item.id==TabCur?'text-green cur':''}}" bindtap="tabSelect" data-id="{{item.id}}">
|
||||
{{item.name}}
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<scroll-view class="index_cen">
|
||||
<view catchtap="goInfo" class="shop_list" wx:for="{{ product }}" wx:key="{{index}}" data-id="{{ item.id }}" >
|
||||
<view class="shop_img">
|
||||
<image lazy-load src="{{item.image}}" />
|
||||
</view>
|
||||
<view class="shop_cen">
|
||||
<view class="shop_title">{{item.name}}</view>
|
||||
<view class="shop_info">
|
||||
<view class="shop_info_l">
|
||||
<view class="opri">原价¥{{item.original_price}}</view>
|
||||
<view class="ppri"><span>¥</span>{{item.price}}</view>
|
||||
</view>
|
||||
<view class="shop_info_r">
|
||||
<image data-item="{{item}}" catchtap="addCart" lazy-load src="/static/img/icon/jrgwc.png" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="clear"></view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<!-- toasta提示 -->
|
||||
<i-toast id="toast" />
|
||||
Reference in New Issue
Block a user