1234567891011121314151617181920212223242526272829303132333435 |
- <!--pages/hotProduct/index.wxml-->
- <scroll-view class="scrollView" scroll-left="{{scroll_left}}" scroll-into-view="{{toIndex}}" scroll-x="{{true}}" style="width: 100%;white-space: nowrap;">
- <view wx:for="{{cateList}}" data-type="{{index}}" data-id='{{item.id}}' bindtap="check" wx:key="voucherFind" id="{{'cate'+item.id}}" class="item {{cate==item.id?'active':''}}">
- {{item.cate_name}}
- </view>
- </scroll-view>
- <scroll-view class="box" scroll-y="true" style="height:{{scrollHeight}}px;" bindscrolltolower="bindDownLoad">
- <view class="proItem" wx:for="{{proList}}"wx:key="prolist" data-id='{{item.commodity_id}}' bindtap="toProduct">
- <view class="index">
- <image wx:if="{{index<=2}}" class="sIcon {{index<3?'goTop':''}}" src="{{index==0?'https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/one.png':index==1?'https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/two.png':'https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/three.png'}}"></image>
- <text style="position:relative;z-index:33;">{{index+1}}</text>
- </view>
- <image class="img" wx:if="{{item.img}}" src="{{item.img}}"></image>
- <view class="info">
- <view class="title">
- <image class="icon" src="{{item.channelName=='淘宝'?'../../assets/img/taobao.png':item.channelName=='天猫'?'../../assets/img/tianmao.png':item.channelName=='有赞'?'../../assets/img/youzan.png':item.channelName=='魔筷星选'?'../../assets/img/mo.png':item.channelName=='苏宁'?'../../assets/img/su.png':item.channelName=='快手小店'?'../../assets/img/kuai.png':item.channelName=='拼多多'?'../../assets/img/pinduoduo.png':item.channelName=='京东'?'../../assets/img/jingdong.png.png':'../../assets/img/shan.png'}}"></image>
- {{item.title}}</view>
- <view class="price">¥
- <text style="font-size:28rpx;">{{item.price?item.price:'-'}}</text>
- </view>
- <view class="bottom">
- <view class="text">
- 销量<text class="number">{{item.sale_count?item.sale_count:'-'}}</text>
- </view>
- <view class="text">
- 销售额<text class="number">{{item.sale_money?item.sale_money:'-'}}</text>
- </view>
- </view>
- </view>
- </view>
- <nopermission wx:if="{{hasAuno}}"></nopermission>
- </scroll-view>
- <text class="desc">更多数据请登录www.data.kuxuan.com进行查看</text>
|