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
6.9 KiB
1 lines
6.9 KiB
<view><view class="content-right" style="height:100%;background:#fff;padding:0 50rpx 180rpx;"><view style="height:80rpx;position:relative;"><block wx:if="{{isCheck}}"><view data-event-opts="{{[['tap',[['checkGoods',['1']]]]]}}" style="border-radius:10px;color:#fff;background:#088FEB;width:130rpx;height:60rpx;position:absolute;right:0;line-height:60rpx;text-align:center;" bindtap="__e">全部选中</view></block><block wx:if="{{isCheck==false}}"><view data-event-opts="{{[['tap',[['checkGoods',['2']]]]]}}" style="border-radius:10px;color:#fff;background:#088FEB;width:130rpx;height:60rpx;position:absolute;right:0;line-height:60rpx;text-align:center;" bindtap="__e">全部取消</view></block></view><block wx:for="{{shopList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="right-box"><view data-event-opts="{{[['tap',[['largeImg',['$0'],[[['shopList','',index]]]]]]]}}" class="box-left" catchtap="__e"><block wx:if="{{item.productPicture}}"><image class="img-radius _img" src="{{item.productPicture}}" alt></image></block><block wx:else><view class="noPic">暂无图片</view></block></view><view class="box-right"><view class="box-right-name">{{''+(item.productName==null?'':item.productName)+''}}</view><view class="box-right-num">{{item.productSn==null?'':item.productSn}}</view><view class="box-right-num">{{"供应商:"+(item.supplierName==null?'':item.supplierName)}}</view><view class="box-right-price"><block wx:if="{{type==0}}"><view class="price-box"><text>{{item.purchasePrice?item.purchasePrice:'暂无'}}</text><text>采购价</text></view></block><view class="price-box"><text>{{item.wholesalePrice}}</text><text>批发价</text></view><view class="price-box"><text>{{item.price}}</text><text>零售价</text></view></view></view><checkbox-group data-event-opts="{{[['tap',[['checkboxChange',['$0'],[[['shopList','',index]]]]]]]}}" bindtap="__e"><label><checkbox class="checkbox" checked="{{item.checked}}"></checkbox></label></checkbox-group></view></block></view><view class="bottom-box"><view data-event-opts="{{[['tap',[['toggle',['carPopup']]]]]}}" class="bottom-left" bindtap="__e"><view class="bottom-left-box"><uni-icons vue-id="9f847c38-1" type="cart" size="20" color="#646566" bind:__l="__l"></uni-icons><text class="uni-tab__text">已选择</text></view><text class="uni-tab__dot" style="background-color:#ff0000;color:#fff;position:absolute;top:0;right:10rpx;">{{$root.g0}}</text></view><view class="bottom-right"><button data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="bottom-btn" style="width:100%;" bindtap="__e">上新推送</button></view></view><uni-popup class="vue-ref" vue-id="9f847c38-2" background-color="#fff" data-ref="upNewPopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-pay-content" style="height:auto;"><view class="content-list"><view class="list-name">客户</view><view class="list-val"><input style="text-align:center;margin-top:20rpx;" type="text" placeholder="可选择客户" disabled="{{true}}" data-event-opts="{{[['tap',[['goPopleList',['khName']]]]]}}" value="{{khName.name}}" bindtap="__e"/><block wx:if="{{khName!=''}}"><uni-icons style="margin-left:80rpx;line-height:80rpx;" vue-id="{{('9f847c38-3')+','+('9f847c38-2')}}" type="close" size="18" data-event-opts="{{[['^tap',[['clearkhName']]]]}}" bind:tap="__e" bind:__l="__l"></uni-icons></block><block wx:else><view style="margin-left:80rpx;line-height:80rpx;"><uni-icons vue-id="{{('9f847c38-4')+','+('9f847c38-2')}}" type="right" size="16" bind:__l="__l"></uni-icons></view></block></view></view><block wx:if="{{khName==''}}"><view><view class="popup-pay-title"><text>选择推送群体</text></view><block wx:if="{{customerCategoryList!=null}}"><view data-event-opts="{{[['tap',[['checkUserClass',['31','']]]]]}}" class="popup-pay-container" bindtap="__e"><text style="display:inline-block;">全部客户</text></view></block><view data-event-opts="{{[['tap',[['checkUserClass',['0','']]]]]}}" class="popup-pay-container" bindtap="__e"><text style="display:inline-block;">全部客户(零售价)</text></view><view data-event-opts="{{[['tap',[['checkUserClass',['1','']]]]]}}" class="popup-pay-container" bindtap="__e"><text style="display:inline-block;">全部客户(批发价)</text></view><block wx:for="{{customerCategoryList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['checkUserClass',['3','$0'],[[['customerCategoryList','',index]]]]]]]}}" class="popup-pay-container" bindtap="__e"><text style="display:inline-block;">{{item.categoryName}}</text></view></block></view></block><block wx:else><view data-event-opts="{{[['tap',[['upNewRemind',['$event']]]]]}}" style="height:80rpx;background:blue;color:#fff;border-radius:10px;text-align:center;line-height:80rpx;margin-top:20rpx;" bindtap="__e"> 推送 </view></block></view></uni-popup><uni-popup class="vue-ref" vue-id="9f847c38-5" background-color="#fff" data-ref="carPopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-content"><block wx:for="{{gwcList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view style="position:relative;"><view class="popup-title"><view class="popup-title-left"><block wx:if="{{item.productPicture}}"><image class="img-radius _img" src="{{item.productPicture}}" alt></image></block><block wx:else><view class="noPic">暂无图片</view></block></view><view class="popup-title-right"><view class="popup-title-right-box" style="color:#088FEB;">{{item.productName}}</view><view class="popup-title-right-box">{{item.productSn}}</view><view data-event-opts="{{[['tap',[['inputDialogToggle',['$event']]]]]}}" class="popup-title-right-box" style="color:darkorange;" bindtap="__e"><text style="margin-right:20rpx;">{{"¥"+item.price}}</text><view data-event-opts="{{[['tap',[['delShop',['$0'],[[['gwcList','',index,'id']]]]]]]}}" style="position:absolute;top:30rpx;right:30rpx;" catchtap="__e"><uni-icons vue-id="{{('9f847c38-6-'+index)+','+('9f847c38-5')}}" color="red" type="trash" size="26" bind:__l="__l"></uni-icons></view></view></view></view></view></block></view><view class="popup-bottom"><view class="popup-bottom-left"><text>{{"共 "+carType+" 款"}}</text></view><view class="popup-bottom-right"><view data-event-opts="{{[['tap',[['closeCar',['$event']]]]]}}" class="bottom-btn" bindtap="__e">关闭</view></view></view></uni-popup><uni-popup class="vue-ref" vue-id="9f847c38-7" 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>
|