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
15 KiB
1 lines
15 KiB
<view class="page1"><cmd-nav-bar vue-id="58c2ddea-1" iconOne="chevron-left" title="{{shopName}}" background-color="#fff" data-event-opts="{{[['^iconOne',[['goToInfo']]]]}}" bind:iconOne="__e" bind:__l="__l"></cmd-nav-bar><block wx:if="{{enDayShow}}"><view data-event-opts="{{[['tap',[['bigFWHPic',['$event']]]]]}}" style="width:100%;height:60rpx;position:fixed;top:180rpx;z-index:99;" bindtap="__e"><u-notice-bar vue-id="58c2ddea-2" mode="horizontal" bgColor="#088FEB" color="#eee" text="{{textArr}}" bind:__l="__l"></u-notice-bar></view></block><view style="{{'width:100%;height:200rpx;background:#fff;position:fixed;z-index:98;'+('top:'+(enDayShow?'240rpx':'180rpx')+';')}}"><image style="width:95%;height:100%;border-radius:40rpx;margin:0 auto;display:block;" src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/df43491a82be4f9c85a76e6ba6b68503.jpg" alt class="_img"></image></view><view class="title-box" style="{{'position:fixed;width:100%;z-index:97;'+('top:'+(enDayShow?'440rpx':'380rpx')+';')}}"><uni-search-bar class="uni-mt-10" vue-id="58c2ddea-3" radius="5" placeholder="请输入商品名称/货号" cancelButton="none" data-event-opts="{{[['^confirm',[['search']]],['^blur',[['search']]],['^clear',[['clearSearch']]]]}}" bind:confirm="__e" bind:blur="__e" bind:clear="__e" bind:__l="__l"></uni-search-bar></view><view class="content-left" style="{{'height:63%;float:left;position:fixed;'+('top:'+(enDayShow?'540rpx':'480rpx')+';')}}"><block wx:for="{{indexList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['clickLeftBtn',[index]]]]]}}" class="{{['left-box',item.parentId?'left-box-hover':'']}}" bindtap="__e"><text class="{{[item.parentId?'red':'']}}" style="width:100%;height:90rpx;line-height:90rpx;display:inline-block;overflow:hidden;">{{item.categoryName}}</text></view></block></view><view class="content-right" style="{{'width:570rpx;background:#fff;margin:0 0 0 170rpx;padding-bottom:50rpx;'+('padding-top:'+(enDayShow?'552rpx':'492rpx')+';')}}"><block wx:for="{{shopList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toggle',['bottom','$0'],[[['shopList','',index]]]]]]]}}" class="right-box" bindtap="__e"><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-price"><view class="price-box"><text>{{item.discountAmount==null?'暂无':item.discountAmount}}</text><text>单价</text></view></view></view></view></block><u-loadmore vue-id="58c2ddea-4" status="{{status}}" bind:__l="__l"></u-loadmore></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="58c2ddea-5" 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"><view data-event-opts="{{[['tap',[['clickPrice',['$event']]]]]}}" class="bottom-btn" bindtap="__e">开单</view></view></view><uni-popup class="vue-ref" vue-id="58c2ddea-6" background-color="#fff" data-ref="popup" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-content"><view class="popup-title"><view class="popup-title-left"><block wx:if="{{goodsDetail.productPicture}}"><image class="img-radius _img" src="{{goodsDetail.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;">{{(goodsDetail.productName==null?'':goodsDetail.productName)+''}}</view><view class="popup-title-right-box">{{goodsDetail.productSn}}</view><view data-event-opts="{{[['tap',[['inputDialogToggle',['$event']]]]]}}" class="popup-title-right-box" style="color:darkorange;" bindtap="__e"></view></view></view><view class="popup-container" style="position:relative;"><view data-event-opts="{{[['tap',[['saveCheck',['$event']]]]]}}" style="position:absolute;top:10rpx;right:20rpx;color:#088FEB;text-decoration:underline;" bindtap="__e"> 保存已选 </view><view style="border-top:20rpx;" class="_ul"><block wx:for="{{goodsDetail.attributeList}}" wx:for-item="items" wx:for-index="index" wx:key="index"><view class="_li"><view class="title-fur"><block wx:if="{{index==0}}"><view class="name">{{items.name}}</view></block></view><block wx:if="{{index==0}}"><view class="attrs"><uni-data-checkbox vue-id="{{('58c2ddea-7-'+index)+','+('58c2ddea-6')}}" localdata="{{range}}" value="{{value}}" data-event-opts="{{[['^change',[['change']]],['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-data-checkbox><block wx:for="{{items.value}}" wx:for-item="itemTag" wx:for-index="index1" wx:key="index1"><view data-event-opts="{{[['tap',[['attrNameChange',[index,'$0',index1],[[['goodsDetail.attributeList','',index],['value','',index1,'value']]]]]]]}}" class="{{['suibian',itemTag.isChecked?'checkedText':'']}}" style="position:relative;" catchtap="__e">{{''+itemTag.value+''}}<block wx:if="{{itemTag.isKucun}}"><view class="kucun"></view></block></view></block></view></block></view></block></view><view style="padding-bottom:20rpx;"><block wx:if="{{temporaryList!=''}}"><view class="checkList"><view class="checkList-box" style="width:72%;"><text style="width:50%;display:inline-block;font-size:30rpx;font-weight:bold;padding-left:40rpx;"> 规格 </text><text style="font-size:30rpx;color:#000;font-weight:bold;width:38%;display:inline-block;text-align:right;"> 库存 </text></view><uni-number-box vue-id="{{('58c2ddea-8')+','+('58c2ddea-6')}}" max="1000000" value="{{allChangeNum}}" data-event-opts="{{[['^minus',[['minusNum']]],['^plus',[['plusNum']]],['^change',[['allChange']]],['^input',[['__set_model',['','allChangeNum','$event',[]]]]]]}}" bind:minus="__e" bind:plus="__e" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-number-box></view></block><block wx:for="{{temporaryList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="checkList"><view data-event-opts="{{[['tap',[['delCarData',[index]]]]]}}" style="margin-right:20rpx;" catchtap="__e"><uni-icons vue-id="{{('58c2ddea-9-'+index)+','+('58c2ddea-6')}}" color="red" type="minus" size="26" bind:__l="__l"></uni-icons></view><view class="checkList-box">{{''+item.name+''}}</view><text style="width:25%;font-size:22rpx;">{{item.productNum>0?'有库存':"无库存"}}</text><uni-number-box vue-id="{{('58c2ddea-10-'+index)+','+('58c2ddea-6')}}" min="0" max="{{shopId=='1838094297858183168'||shopId=='1811579958284390400'?item.productNum:10000}}" value="{{item.productCount}}" data-event-opts="{{[['^change',[['temporaryChange']]],['^input',[['__set_model',['$0','productCount','$event',[]],[[['temporaryList','',index]]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></uni-number-box></view></block></view></view></view><block wx:for="{{temporaryList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="popup-bottom"><view class="popup-bottom-left"><text>{{zNum+" 件"}}</text><text>{{"¥"+zPrice}}</text></view><view class="popup-bottom-right"><view data-event-opts="{{[['tap',[['temporaryCheck',['$event']]]]]}}" class="bottom-btn" bindtap="__e">选好了</view></view></view></block></uni-popup><uni-popup class="vue-ref" vue-id="58c2ddea-11" background-color="#fff" data-ref="inputDialog" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-pay-content"><view class="popup-pay-title"> 填写信息 </view><block wx:if="{{$root.g1>1}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" style="position:absolute;top:26rpx;right:20rpx;color:#088FEB;font-size:32rpx;" bindtap="__e"> 选择地址 </view></block><uni-forms class="vue-ref" vue-id="{{('58c2ddea-12')+','+('58c2ddea-11')}}" modelValue="{{formData}}" rules="{{rules}}" labelWidth="170rpx" data-ref="form" bind:__l="__l" vue-slots="{{['default']}}"><view style="color:red;font-size:22rpx;"> *如您不是初次购买,输入手机号后即可获取您的地址信息 </view><uni-forms-item vue-id="{{('58c2ddea-13')+','+('58c2ddea-12')}}" label="手机号码" name="consigneeMobile" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput vue-id="{{('58c2ddea-14')+','+('58c2ddea-13')}}" type="number" placeholder="请输入手机号码" value="{{formData.consigneeMobile}}" data-event-opts="{{[['^blur',[['getOldPhone',['$0'],['formData.consigneeMobile']]]],['^input',[['__set_model',['$0','consigneeMobile','$event',[]],['formData']]]]]}}" bind:blur="__e" bind:input="__e" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('58c2ddea-15')+','+('58c2ddea-12')}}" label="姓名" name="consigneeName" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('58c2ddea-16')+','+('58c2ddea-15')}}" type="text" placeholder="请输入人员姓名" value="{{formData.consigneeName}}" data-event-opts="{{[['^input',[['__set_model',['$0','consigneeName','$event',[]],['formData']]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><uni-forms-item vue-id="{{('58c2ddea-17')+','+('58c2ddea-12')}}" label="地址" name="address1" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['openPicker',['$event']]]]]}}" class="input selectcity" bindtap="__e"><input placeholder="请选择省市区" disabled="{{true}}" type="text" data-event-opts="{{[['input',[['__set_model',['$0','address1','$event',[]],['formData']]]]]}}" value="{{formData.address1}}" bindinput="__e"/></view></uni-forms-item><uni-forms-item vue-id="{{('58c2ddea-18')+','+('58c2ddea-12')}}" label="详细地址" name="address" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('58c2ddea-19')+','+('58c2ddea-18')}}" type="textarea" value="{{formData.address}}" data-event-opts="{{[['^input',[['__set_model',['$0','address','$event',[]],['formData']]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item></uni-forms><view data-event-opts="{{[['tap',[['backPrevPage',['$event']]]]]}}" class="address-btn" bindtap="__e">开单</view></view></uni-popup><uni-popup class="vue-ref" vue-id="58c2ddea-20" background-color="#fff" data-ref="carPopup" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-content"><block wx:for="{{$root.l1}}" 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.$orig.productPicture}}"><image class="img-radius _img" src="{{item.$orig.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.$orig.productName==null?'':item.$orig.productName}}</view><view class="popup-title-right-box">{{item.$orig.productSn}}</view><view class="popup-title-right-box"><text style="margin-right:20rpx;">{{"供应商:"+(item.$orig.supplierName==null?"":item.$orig.supplierName)}}</text><view data-event-opts="{{[['tap',[['delShop',['$0'],[[['carList','',index]]]]]]]}}" style="position:absolute;top:30rpx;right:30rpx;" catchtap="__e"><uni-icons vue-id="{{('58c2ddea-21-'+index)+','+('58c2ddea-20')}}" color="red" type="trash" size="26" bind:__l="__l"></uni-icons></view></view></view></view><block wx:for="{{item.l0}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><view class="popup-container"><view class="checkList" style="padding-bottom:160rpx;"><view data-event-opts="{{[['tap',[['delShopSpec',['$0','$1'],[[['carList','',index,'id']],[['carList','',index],['stockLogList1','',index1,'attributeList']]]]]]]}}" style="margin-right:5%;" bindtap="__e"><uni-icons vue-id="{{('58c2ddea-22-'+index+'-'+index1)+','+('58c2ddea-20')}}" color="red" type="minus" size="26" bind:__l="__l"></uni-icons></view><view class="checkList-box">{{''+item1.f0+''}}</view><view class="zuni-numbox"><view data-event-opts="{{[['tap',[['mapMinusNum',[index,index1]]]]]}}" class="zuni-numbox__minus zuni-numbox-btns" style="background:#f5f5f5;" bindtap="__e"><text class="zuni-numbox--text">-</text></view><input class="zuni-numbox__value" disabled="{{true}}" type="number" data-event-opts="{{[['tap',[['carChange',['$event',index,index1]]]],['input',[['__set_model',['$0','productCount','$event',[]],[[['carList','',index],['stockLogList1','',index1]]]]]]]}}" value="{{item1.$orig.productCount}}" bindtap="__e" bindinput="__e"/><view data-event-opts="{{[['tap',[['mapPlusNum',[index,index1]]]]]}}" class="zuni-numbox__plus zuni-numbox-btns" style="background:#f5f5f5;" bindtap="__e"><text class="zuni-numbox--text">+</text></view></view></view></view></block></view></block><view class="popup-bottom"><view class="popup-bottom-left"><text>{{carType+" 款 "+carNum+" 件"+pageZongPrice+"元"}}</text></view><view class="popup-bottom-right"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="bottom-btn" bindtap="__e">关闭</view></view></view></view></uni-popup><uni-popup class="vue-ref" vue-id="58c2ddea-23" background-color="#fff" data-ref="addressPopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-pay-content" style="width:650rpx;border-radius:40rpx;"><view style="text-align:center;line-height:80rpx;font-weight:bold;"> 查询到您有多条收货地址,请选择后开单 </view><view style="overflow:scroll;"><block wx:for="{{userList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['checkUser',['$0'],[[['userList','',index]]]]]]]}}" style="border-top:1px solid #eee;line-height:60rpx;" bindtap="__e"><view><text style="font-weight:bold;">姓名:</text>{{item.name+''}}</view><view><text style="font-weight:bold;">电话:</text>{{item.phone}}</view><view><text style="font-weight:bold;">地址:</text>{{item.province+'/'+item.city+'/'+item.area+'/'+item.address}}</view></view></block></view></view></uni-popup><uni-popup class="vue-ref" vue-id="58c2ddea-24" 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:20rpx;" mode="aspectFit" src="{{item.productPicture}}" alt></image></view></swiper-item></block></swiper></view></uni-popup></view>
|