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
4.7 KiB

<view class="u-wrap data-v-f0c8ed1e"><view class="card-list data-v-f0c8ed1e"><view class="_ul data-v-f0c8ed1e"><block wx:for="{{attrList}}" wx:for-item="items" wx:for-index="__i0__" wx:key="id"><view class="_li data-v-f0c8ed1e"><view class="title-fur data-v-f0c8ed1e"><view class="name data-v-f0c8ed1e">{{items.attributeName}}</view><view class="rightBox data-v-f0c8ed1e"><u-icon vue-id="{{'6bd625b5-1-'+__i0__}}" size="20" name="plus" color="#5fd9ee" data-event-opts="{{[['^tap',[['inputDialogToggle',['attrValAdd','$0'],[[['attrList','id',items.id,'id']]]]]]]}}" bind:tap="__e" class="data-v-f0c8ed1e" bind:__l="__l"></u-icon></view></view><view class="content-fur data-v-f0c8ed1e"><block wx:for="{{items.attributeValue}}" wx:for-item="item" wx:for-index="__i1__" wx:key="id"><view data-event-opts="{{[['tap',[['delItem',['$0','attrNameDel'],[[['attrList','id',items.id],['attributeValue','id',item.id]]]]]]]}}" class="content-low data-v-f0c8ed1e" bindtap="__e">{{item.value}}</view></block></view></view></block></view></view><u-modal vue-id="6bd625b5-2" show="{{show}}" title="删除" content="是否确认删除此分类?" showCancelButton="true" data-event-opts="{{[['^cancel',[['e0']]],['^confirm',[['delItemModal']]]]}}" bind:cancel="__e" bind:confirm="__e" class="data-v-f0c8ed1e" bind:__l="__l"></u-modal><uni-popup vue-id="6bd625b5-3" type="dialog" data-ref="inputDialog" class="data-v-f0c8ed1e vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="type-popup data-v-f0c8ed1e" style="width:100%;margin-bottom:0;border-radius:10px;height:450rpx;"><view style="height:120rpx;font-size:36rpx;font-weight:bold;line-height:120rpx;text-align:center;" class="data-v-f0c8ed1e"> 新增规格 </view><view style="height:80rpx;font-size:28rpx;line-height:80rpx;text-align:center;" class="data-v-f0c8ed1e"> 请在下方输入框中输入新规格 </view><view style="width:90%;margin:40rpx auto 0;" class="data-v-f0c8ed1e"><uni-easyinput vue-id="{{('6bd625b5-4')+','+('6bd625b5-3')}}" type="text" placeholder="请输入规格值" value="{{categoryText}}" data-event-opts="{{[['^blur',[['handleBlur']]],['^input',[['__set_model',['','categoryText','$event',[]]]]]]}}" bind:blur="__e" bind:input="__e" class="data-v-f0c8ed1e" bind:__l="__l"></uni-easyinput></view><view style="width:100%;height:90rpx;line-height:90rpx;text-align:center;border-radius:0;background:linear-gradient(90deg, #60F3FF, #088FEB);color:#fff;display:flex;position:absolute;bottom:0;" class="data-v-f0c8ed1e"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" style="width:50%;" bindtap="__e" class="data-v-f0c8ed1e">取消</view><view data-event-opts="{{[['tap',[['dialogInputConfirm',['$event']]]]]}}" style="width:50%;background:linear-gradient(90deg, #FF9797, #FFC1E0);" bindtap="__e" class="data-v-f0c8ed1e">确认</view></view></view></uni-popup><uni-popup vue-id="6bd625b5-5" background-color="#fff" data-ref="carPopup" class="data-v-f0c8ed1e vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-content data-v-f0c8ed1e" style="height:auto !important;"><view style="font-size:36rpx;font-weight:bold;text-align:center;" class="data-v-f0c8ed1e">提示</view><block wx:if="{{goodsList!=''}}"><view style="width:100%;font-weight:bold;text-align:center;font-size:28rpx;margin:20rpx 0;" class="data-v-f0c8ed1e">{{''+goodsList[0].productName+'商品有以下库存,确认继续删除吗?'}}</view></block><view class="tui-order-item boxbg data-v-f0c8ed1e"><view style="display:flex;border-bottom:1px solid #eee;height:50rpx;line-height:50rpx;" class="data-v-f0c8ed1e"><view style="width:70%;text-align:center;border-right:1px solid #eee;" class="data-v-f0c8ed1e">商品规格</view><view style="width:29%;text-align:center;" class="data-v-f0c8ed1e">数量</view></view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="shop-box data-v-f0c8ed1e" style="position:relative;"><view style="height:50rpx;line-height:50rpx;" class="data-v-f0c8ed1e"><view style="width:70%;text-align:center;border-right:1px solid #eee;float:left;height:50rpx;overflow:hidden;" class="data-v-f0c8ed1e">{{''+item.f0+''}}</view><view style="width:29%;text-align:center;float:left;" class="data-v-f0c8ed1e">{{''+item.$orig.stockCount+''}}</view></view></view></block></view><view class="popup-bottom data-v-f0c8ed1e"><view class="popup-bottom-left data-v-f0c8ed1e"><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="bottom-btn data-v-f0c8ed1e" style="background:linear-gradient(90deg, #FF9797, #FFC1E0);" bindtap="__e">再想想</view></view><view class="popup-bottom-right data-v-f0c8ed1e"><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" class="bottom-btn data-v-f0c8ed1e" bindtap="__e">确认删除</view></view></view></view></uni-popup></view>