<view class="padding"><view class="padding bg radius"><view style="color:red;" class="_div">此处修改的规格不会改变已生成的商品，如想更改商品信息请去商品列表更新商品</view><view><view class="text-df text-bold">规格标题</view><view><u-input bind:input="__e" vue-id="78344974-1" placeholder="请输入规格标题" value="{{shopName}}" data-event-opts="{{[['^input',[['__set_model',['','shopName','$event',[]]]]]]}}" bind:__l="__l"></u-input></view></view></view><block wx:for="{{shopList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="bg margin-tb padding-sm radius"><view><view style="display:flex;width:100%;"><view class="text-df text-bold" style="width:70%;">规格</view><block wx:if="{{index!=0}}"><view data-event-opts="{{[['tap',[['delteItem',[index]]]]]}}" class="text-df text-bold" style="width:30%;text-align:right;" bindtap="__e">删除</view></block></view><view><u-input bind:input="__e" vue-id="{{'78344974-2-'+index}}" placeholder="请填写" value="{{item.value}}" data-event-opts="{{[['^input',[['__set_model',['$0','value','$event',[]],[[['shopList','',index]]]]]]]}}" bind:__l="__l"></u-input></view></view><view><view class="text-df text-bold">规格值</view></view><view class="flex align-center flex-wrap margin-bottom-sm"><block wx:for="{{item.detail}}" wx:for-item="item1" wx:for-index="index1" wx:key="index1"><view data-event-opts="{{[['tap',[['bindqie',[index1,'$0',index],[[['shopList','',index],['detail','',index1]]]]]]]}}" class="{{['btn','flex','align-center','margin-top',listIndex1==index1&&listIndex==index?'active':'']}}" bindtap="__e"><view>{{item1}}</view><view data-event-opts="{{[['tap',[['bindupdata',[index1,'$0',index],[[['shopList','',index],['detail','',index1]]]]]]]}}" class="margin-left-sm" catchtap="__e">x</view></view></block><view data-event-opts="{{[['tap',[['addtype',[1,'$0',index],['item1']]]]]}}" class="btns margin-top" bindtap="__e">+添加</view></view></view></block><u-button class="margin-top addguiges" vue-id="78344974-3" custom-style="{{customStyle}}" shape="square" hair-line="{{false}}" data-event-opts="{{[['^click',[['addguige']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">添加规格</u-button><view class="margin-top"><u-button class="addguige" vue-id="78344974-4" custom-style="{{customStyle}}" shape="square" hair-line="{{false}}" data-event-opts="{{[['^click',[['submit']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">确认</u-button></view><u-popup bind:input="__e" vue-id="78344974-5" mode="center" border-radius="14" width="500rpx" height="300rpx" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view><view class="padding"><view>添加规格类型</view><view><u-input bind:input="__e" vue-id="{{('78344974-6')+','+('78344974-5')}}" placeholder="请填写" clearable="false" value="{{typeName}}" data-event-opts="{{[['^input',[['__set_model',['','typeName','$event',[]]]]]]}}" bind:__l="__l"></u-input></view></view><view data-event-opts="{{[['tap',[['bindclose',['$0'],['aa']]]]]}}" class="addguiges" bindtap="__e">确定</view></view></u-popup></view>