You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1 lines
3.7 KiB

<view><view><uni-datetime-picker style="margin-bottom:10px;" vue-id="b9f38f8e-1" type="daterange" value="{{range}}" data-event-opts="{{[['^change',[['searchList']]],['^input',[['__set_model',['','range','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-datetime-picker></view><view class="paiming"><view style="width:200rpx;height:100rpx;position:absolute;bottom:30%;left:6%;text-align:center;color:#fff;font-size:34rpx;font-weight:bold;"><view>{{''+(fireList[2].productSn==undefined?'':fireList[2].productSn)+''}}</view><view style="line-height:60rpx;">{{''+(fireList[2].totalSold==undefined?'':fireList[2].totalSold)+''}}</view></view><view style="width:200rpx;height:100rpx;position:absolute;top:50%;left:37%;text-align:center;color:#fff;font-size:34rpx;font-weight:bold;"><view>{{''+(fireList[0].productSn==undefined?'':fireList[0].productSn)+''}}</view><view style="line-height:60rpx;">{{''+(fireList[0].totalSold==undefined?'':fireList[0].totalSold)+''}}</view></view><view style="width:200rpx;height:100rpx;position:absolute;bottom:27%;right:6%;text-align:center;color:#fff;font-size:34rpx;font-weight:bold;"><view>{{''+(fireList[1].productSn==undefined?'':fireList[1].productSn)+''}}</view><view style="line-height:60rpx;">{{''+(fireList[1].totalSold==undefined?'':fireList[1].totalSold)+''}}</view></view></view><view class="content-list"><block wx:for="{{fireList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="content-item"><block wx:if="{{index==0}}"><view style="justify-content:center;align-items:center;display:flex;"><uni-icons vue-id="{{'b9f38f8e-2-'+index}}" type="medal-filled" size="22" color="#fcdb56" bind:__l="__l"></uni-icons></view></block><block wx:if="{{index==1}}"><view style="justify-content:center;align-items:center;display:flex;"><uni-icons vue-id="{{'b9f38f8e-3-'+index}}" type="medal-filled" size="22" color="#dedee0" bind:__l="__l"></uni-icons></view></block><block wx:if="{{index==2}}"><view style="justify-content:center;align-items:center;display:flex;"><uni-icons vue-id="{{'b9f38f8e-4-'+index}}" type="medal-filled" size="22" color="#f6bf6f" bind:__l="__l"></uni-icons></view></block><block wx:if="{{index!=0&&index!=1&&index!=2}}"><view style="width:44rpx;justify-content:center;align-items:center;display:flex;">{{index+1}}</view></block><view data-event-opts="{{[['tap',[['largeImg',['$0'],[[['fireList','',index]]]]]]]}}" class="box-left" catchtap="__e"><block wx:if="{{item.productPicture}}"><image src="{{item.productPicture}}" alt class="_img"></image></block><block wx:else><view class="noPic">暂无图片</view></block></view><view class="box-right"><view class="box-right-num">{{"货号:"+(item.productSn==null?'':item.productSn)+"("+(item.productName==null?'暂无':item.productName)+")"}}</view><view class="box-right-name">{{"销量:"+item.totalSold}}</view><view class="box-right-name">{{"供应商:"+(item.supplierName==null?'暂无':item.supplierName)}}</view></view></view></block><u-loadmore vue-id="b9f38f8e-5" status="{{status}}" bind:__l="__l"></u-loadmore></view><uni-popup class="vue-ref" vue-id="b9f38f8e-6" background-color="#fff" data-ref="imgPopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="showImg-box"><swiper class="swiper-box" indicator-dots="{{true}}" circular="{{true}}" autoplay="{{true}}" current="{{swiperDotIndex}}" data-event-opts="{{[['change',[['lunbochange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{bigImg}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item><view class="swiper-item"><image style="width:100%;height:100%;border-radius:10px;" mode="aspectFit" show-menu-by-longpress="{{true}}" src="{{item.productPicture}}" alt></image></view></swiper-item></block></swiper></view></uni-popup></view>