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
11 KiB
1 lines
11 KiB
<view class="page1"><cmd-nav-bar vue-id="6a6fccac-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;margin-top:180rpx;" bindtap="__e"><u-notice-bar vue-id="6a6fccac-2" mode="horizontal" bgColor="#088FEB" color="#eee" text="{{textArr}}" bind:__l="__l"></u-notice-bar></view></block><view class="title" style="{{'margin-top:'+(enDayShow?'0':'180rpx')+';'}}"><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;" src="{{item.productPicture}}" alt></image></view></swiper-item></block></swiper></view><view style="padding-bottom:120rpx;"><view style="background:#fff;border-radius:10px;height:200rpx;padding:0 2%;"><view style="height:100rpx;line-height:100rpx;font-size:32rpx;"><text style="color:red;">¥</text><text style="color:red;font-weight:bold;font-size:42rpx;">{{shopList.discountAmount}}</text><text style="color:#777;font-size:26rpx;margin-left:20rpx;">售价</text></view><view style="height:100rpx;line-height:80rpx;font-size:32rpx;font-weight:bold;"><text>{{shopList.productName}}</text><text style="padding-left:20rpx;">{{shopList.productSn}}</text></view></view><view style="background:#fff;border-radius:10px;margin-top:20rpx;padding:20rpx;display:flex;flex-direction:column;"><view><view style="height:60rpx;line-height:60rpx;font-size:30rpx;font-weight:bold;"> 颜色: </view><block wx:for="{{shopList.attributeList[0].value}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view style="display:inline-block;float:left;"><view style="border-radius:5px;background:#F5F5F5;padding:5px 7px;margin-right:20rpx;">{{item.value}}</view></view></block></view><view><view style="height:60rpx;line-height:60rpx;font-size:30rpx;font-weight:bold;"> 尺码: </view><block wx:for="{{shopList.attributeList[1].value}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view style="display:inline-block;float:left;"><view style="border-radius:5px;background:#F5F5F5;padding:5px 7px;margin-right:20rpx;">{{item.value}}</view></view></block></view></view><view style="background:#fff;height:150rpx;border-radius:10px;display:flex;margin-top:15rpx;"><view><image style="margin:25rpx;width:100rpx;height:100rpx;border-radius:100rpx;" src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/76970b689e86424a965089b2077b111b.jpg" alt></image></view><view style="line-height:150rpx;font-size:38rpx;font-weight:bold;width:55%;">{{shopName}}</view></view><view style="width:100%;"><block wx:for="{{bigImg}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view style="width:100%;"><image style="display:block;width:100%;" mode="aspectFit" src="{{item.productPicture}}" alt></image></view></block></view></view><view style="width:100%;height:120rpx;background:#fff;position:fixed;bottom:0;"><view data-event-opts="{{[['tap',[['toggle',['bottom','$0'],['shopList']]]]]}}" style="width:95%;height:80rpx;background:#FF4040;color:#fff;border-radius:80rpx;text-align:center;line-height:80rpx;font-size:32rpx;margin:20rpx auto;" bindtap="__e"> 下单 </view></view><uni-popup class="vue-ref" vue-id="6a6fccac-3" background-color="#fff" data-ref="popup" 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="{{('6a6fccac-4-'+index)+','+('6a6fccac-3')}}" 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="{{('6a6fccac-5')+','+('6a6fccac-3')}}" 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="{{('6a6fccac-6-'+index)+','+('6a6fccac-3')}}" 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="{{('6a6fccac-7-'+index)+','+('6a6fccac-3')}}" 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><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></uni-popup><uni-popup class="vue-ref" vue-id="6a6fccac-8" 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.g0>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="{{('6a6fccac-9')+','+('6a6fccac-8')}}" modelValue="{{formData}}" rules="{{rules}}" labelWidth="85px" data-ref="form" bind:__l="__l" vue-slots="{{['default']}}"><view style="color:red;font-size:22rpx;"> *如您不是初次购买,输入手机号后即可获取您的地址信息 </view><uni-forms-item vue-id="{{('6a6fccac-10')+','+('6a6fccac-9')}}" label="手机号码" name="consigneeMobile" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput vue-id="{{('6a6fccac-11')+','+('6a6fccac-10')}}" 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="{{('6a6fccac-12')+','+('6a6fccac-9')}}" label="姓名" name="consigneeName" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6a6fccac-13')+','+('6a6fccac-12')}}" 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="{{('6a6fccac-14')+','+('6a6fccac-9')}}" 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="{{('6a6fccac-15')+','+('6a6fccac-9')}}" label="详细地址" name="address" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('6a6fccac-16')+','+('6a6fccac-15')}}" 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="6a6fccac-17" background-color="#fff" data-ref="addressPopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-pay-content" style="width:650rpx;border-radius:20px;"><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></view>
|