| 1 |
- <view class="{{['data-v-4d843153',themeName]}}"><u-popup bind:input="__e" vue-id="85e595fc-1" mode="bottom" border-radius="14" closeable="{{true}}" safe-area-inset-bottom="{{true}}" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" class="data-v-4d843153" bind:__l="__l" vue-slots="{{['default']}}"><view class="header data-v-4d843153"><u-image vue-id="{{('85e595fc-2')+','+('85e595fc-1')}}" width="180" height="180" mode="aspectFill" border-radius="10" src="{{goodsOptionsSpec.image||defaultInfo.image}}" data-event-opts="{{[['^click',[['previewGoodsImage']]]]}}" bind:click="__e" class="data-v-4d843153" bind:__l="__l"></u-image><view class="header-content u-skeleton-rect data-v-4d843153"><block wx:if="{{isBargain}}"><view class="data-v-4d843153"><view class="data-v-4d843153">最低可砍至<price class="header-content-price data-v-4d843153" vue-id="{{('85e595fc-3')+','+('85e595fc-1')}}" content="{{goodsOptionsSpec.floor_price||defaultInfo.bargain_price}}" main-size="36rpx" minor-size="28rpx" color="{{themeColor}}" bind:__l="__l"></price></view><view class="muted sm data-v-4d843153">原价<price class="header-content-price data-v-4d843153" vue-id="{{('85e595fc-4')+','+('85e595fc-1')}}" content="{{goodsOptionsSpec[priceKey]||defaultInfo.price}}" main-size="28rpx" minor-size="28rpx" color="#999" bind:__l="__l"></price></view></view></block><block wx:else><view class="flex data-v-4d843153"><price class="header-content-price data-v-4d843153" vue-id="{{('85e595fc-5')+','+('85e595fc-1')}}" content="{{goodsOptionsSpec[priceKey]||defaultInfo.price}}" main-size="46rpx" minor-size="32rpx" color="{{themeColor}}" bind:__l="__l"></price><block wx:if="{{isNoMarking&&goodsOptionsSpec.member_price&&isLogin}}"><view class="vip-price flex m-b-20 m-l-10 data-v-4d843153"><view class="price-name xxs data-v-4d843153">会员价</view><view style="padding:0 10rpx;" class="data-v-4d843153"><price vue-id="{{('85e595fc-6')+','+('85e595fc-1')}}" content="{{goodsOptionsSpec.member_price}}" weight="{{500}}" color="#7B3200" class="data-v-4d843153" bind:__l="__l"></price></view></view></block></view></block><block wx:if="{{stock_show}}"><view class="header-content-label data-v-4d843153">库存:<block wx:if="{{goodsOptionsSpec.stock==0}}"><text class="data-v-4d843153">缺货</text></block><block wx:else><text class="data-v-4d843153">{{(goodsOptionsSpec.stock||defaultInfo.stock)+"\n "+(defaultInfo.unit||'')}}</text></block></view></block></view></view><view class="main data-v-4d843153"><scroll-view class="scroll-spec data-v-4d843153" scroll-y="true"><block wx:for="{{$root.l1}}" wx:for-item="specItem" wx:for-index="specIndex" wx:key="specIndex"><view class="spec data-v-4d843153"><view class="spec-title data-v-4d843153">{{specItem.$orig.name}}</view><view class="spec-content data-v-4d843153"><block wx:for="{{specItem.l0}}" wx:for-item="optionItem" wx:for-index="optionIndex" wx:key="optionIndex"><view data-event-opts="{{[['tap',[['changeSpecOption',[specIndex,'$0'],[[['specList','',specIndex],['spec_list','',optionIndex,'id']]]]]]]}}" class="{{['data-v-4d843153','spec-item',[(specCheckedList[specIndex].id==optionItem.$orig.id)?'spec-item--active':'']]}}" bindtap="__e">{{''+optionItem.$orig.value+''}}<block wx:if="{{optionItem.m0}}"><text class="spec-text data-v-4d843153" style="color:#999999;">缺货</text></block></view></block></view></view></block></scroll-view><view class="total data-v-4d843153"><view class="total-label data-v-4d843153">数量<block wx:if="{{defaultInfo.limit_type===2}}"><label class="muted xs p-l-10 _span data-v-4d843153">{{'每人限购'+defaultInfo.limit_value+"件"}}</label></block><block wx:if="{{defaultInfo.limit_type===3}}"><label class="muted xs p-l-10 _span data-v-4d843153">{{'每笔订单限购'+defaultInfo.limit_value+"件"}}</label></block></view><u-number-box bind:input="__e" vue-id="{{('85e595fc-7')+','+('85e595fc-1')}}" min="{{1}}" max="{{addGoodsMax}}" value="{{goodsTotal}}" data-event-opts="{{[['^input',[['__set_model',['','goodsTotal','$event',[]]]]]]}}" class="data-v-4d843153" bind:__l="__l"></u-number-box></view></view><view class="operation data-v-4d843153"><block wx:if="{{goodsOptionsSpec.stock==0}}"><view class="operation-button disabled data-v-4d843153">缺货</view></block><block wx:else><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['onButtonHandle',['$0'],[[['buttons','',index,'event']]]]]]]}}" hidden="{{!(reCheck!=1)}}" class="operation-button data-v-4d843153" style="{{item.s0}}" bindtap="__e">{{''+item.$orig.text+''}}</view></block><block wx:if="{{reCheck==1}}"><view data-event-opts="{{[['tap',[['handlereCheck',['$event']]]]]}}" class="operation-button data-v-4d843153" style="{{'border:'+('solid 1px '+this.themeColor)+';'}}" bindtap="__e">确认修改</view></block></block></view></u-popup><u-modal vue-id="85e595fc-8" value="{{showModal}}" show-confirm-button="{{false}}" show-title="{{false}}" mask-close-able="{{false}}" class="data-v-4d843153" bind:__l="__l" vue-slots="{{['default']}}"><view class="modal data-v-4d843153"><view class="modal-text-title data-v-4d843153">很抱歉,购买失败</view><view class="modal-text-content m-t-40 m-b-40 data-v-4d843153">商品不能购买</view><button class="br60 modal-btn data-v-4d843153" size="md" hover-class="none" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e">我知道了</button></view></u-modal></view>
|