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.6 KiB

<view><view style="width:100%;height:80rpx;line-height:80rpx;display:flex;background:#fff;border-bottom:1px solid #eee;border-top:1px solid #eee;"><view style="width:30%;padding-left:20rpx;"> 物品种类: </view><input style="height:80rpx;line-height:80rpx;width:65%;overflow:hidden;" type="text" placeholder="点击选择物品种类" disabled="{{true}}" data-event-opts="{{[['tap',[['openPopup',['$event']]]],['input',[['__set_model',['$0','name','$event',[]],['checkTypeName']]]]]}}" value="{{checkTypeName.name}}" bindtap="__e" bindinput="__e"/></view><view style="display:flex;background:#fff;"><input class="input-num" type="digit" placeholder="物品长度(cm)" data-event-opts="{{[['blur',[['changenum',['$event','productLength']]]],['input',[['__set_model',['','productLength','$event',[]]]]]]}}" value="{{productLength}}" bindblur="__e" bindinput="__e"/><input class="input-num" type="digit" placeholder="物品宽度(cm)" data-event-opts="{{[['blur',[['changenum',['$event','productWidth']]]],['input',[['__set_model',['','productWidth','$event',[]]]]]]}}" value="{{productWidth}}" bindblur="__e" bindinput="__e"/><input class="input-num" type="digit" placeholder="物品高度(cm)" data-event-opts="{{[['blur',[['changenum',['$event','productHeight']]]],['input',[['__set_model',['','productHeight','$event',[]]]]]]}}" value="{{productHeight}}" bindblur="__e" bindinput="__e"/></view><view style="display:flex;background:#fff;"><input class="input-num" style="width:95%;" type="digit" placeholder="物品重量(kg)" data-event-opts="{{[['blur',[['changenum',['$event','productWeight']]]],['input',[['__set_model',['','productWeight','$event',[]]]]]]}}" value="{{productWeight}}" bindblur="__e" bindinput="__e"/></view><view style="display:flex;background:#fff;"><input class="input-num" style="width:95%;" type="digit" placeholder="数量" data-event-opts="{{[['blur',[['changenum',['$event','totalNumber']]]],['input',[['__set_model',['','totalNumber','$event',[]]]]]]}}" value="{{totalNumber}}" bindblur="__e" bindinput="__e"/></view><view style="width:100%;background:#fff;height:100rpx;"><view data-event-opts="{{[['tap',[['countPrice',['$event']]]]]}}" style="border-radius:20rpx;width:95%;height:80rpx;background:#088FEB;line-height:80rpx;text-align:center;color:#fff;margin:10rpx auto;" bindtap="__e"> 计算 </view></view><view style="display:flex;height:80rpx;line-height:80rpx;font-weight:bold;text-align:center;"><view style="width:33%;">{{'密度:'+productDensity+''}}</view><view style="width:33%;">{{'单价:'+price+''}}</view><view style="width:33%;">{{'总价:'+totalPrice+''}}</view></view><view data-event-opts="{{[['tap',[['largeImg',['$event']]]]]}}" style="width:95%;margin:0 auto;height:700rpx;" bindtap="__e"><image style="width:100%;height:100%;" src="{{checkTypeName.pic}}" alt class="_img"></image></view><uni-popup class="vue-ref" vue-id="a7516a86-1" background-color="#fff" data-ref="inputDialog" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-pay-content"><view style="width:100%;height:80rpx;line-height:80rpx;display:flex;background:#fff;border-bottom:1px solid #eee;border-top:1px solid #eee;"><input style="width:100%;height:80rpx;line-height:80rpx;padding-left:20rpx;" type="text" placeholder="输入物品种类查询" data-event-opts="{{[['input',[['__set_model',['','productType','$event',[]]],['selectType',['$event']]]]]}}" value="{{productType}}" bindinput="__e"/></view><view><block wx:for="{{sreachType}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['checkType',['$0'],[[['sreachType','',index]]]]]]]}}" class="type-box" bindtap="__e">{{''+item.name+''}}</view></block></view></view></uni-popup></view>