平板端快衣店
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
2.8 KiB

<view class="page1"><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="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="width:44rpx;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="width:44rpx;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="width:44rpx;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" style="{{'height:'+(screenHeight*0.9+'px !important')+';'}}"><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>