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
9.6 KiB
1 lines
9.6 KiB
<view class="data-v-9cb82a4a"><view data-event-opts="{{[['touchmove',[['moveHandle',['$event']]]]]}}" class="{{['product-window','data-v-9cb82a4a',(attr.cartAttr===true?'on':'')+' '+(iSbnt?'join':'')+' '+(iScart?'joinCart':'')]}}" catchtouchmove="__e"><view class="textpic acea-row data-v-9cb82a4a"><view data-event-opts="{{[['tap',[['showImg']]]]}}" class="pictrue data-v-9cb82a4a" bindtap="__e"><image src="{{attr.productSelect.image}}" class="data-v-9cb82a4a"></image><block wx:if="{{fangda}}"><view class="icon flex-center data-v-9cb82a4a"><view class="iconfont icon-ic_enlarge data-v-9cb82a4a"></view></view></block></view><view class="pl-24 pt-24 flex-col data-v-9cb82a4a"><block wx:if="{{attr.productSelect.integral}}"><view class="flex-y-center data-v-9cb82a4a"><image class="w-32 h-32 data-v-9cb82a4a" src="../../static/img/mall05.png"></image><text class="lh-40rpx font-num fs-40 SemiBold pl-8 data-v-9cb82a4a">{{attr.productSelect.integral}}</text><text class="fs-28 lh-40rpx px-8 text--w111-666 data-v-9cb82a4a">+</text><base-money vue-id="35468162-1" money="{{attr.productSelect.price}}" symbolSize="28" integerSize="40" decimalSize="28" color="var(--view-theme)" weight="{{true}}" class="data-v-9cb82a4a" bind:__l="__l"></base-money></view></block><block wx:else><base-money vue-id="35468162-2" money="{{attr.productSelect.price}}" symbolSize="32" integerSize="48" decimalSize="32" incolor="var(--primary-theme-con)" weight="{{true}}" class="data-v-9cb82a4a" bind:__l="__l"></base-money></block><block wx:if="{{type==0}}"><view class="inline-block h-48 lh-48rpx text-center rd-24rpx bg-color fs-24 text--w111-fff px-20 mt-16 data-v-9cb82a4a">预估到手<text class="fs-28 fw-600 pl-8 data-v-9cb82a4a">{{"¥"+attr.productSelect.delivery_price}}</text></view></block><view class="mt-12 fs-24 text-#999 data-v-9cb82a4a">{{"库存:"+attr.productSelect.stock}}</view></view><view data-event-opts="{{[['tap',[['closeAttr',['$event']]]]]}}" class="close w-36 h-36 bg--w111-eee rd-36px acea-row row-center-wrapper data-v-9cb82a4a" bindtap="__e"><text class="iconfont icon-ic_close fs-24 data-v-9cb82a4a"></text></view></view><view class="rollTop data-v-9cb82a4a"><scroll-view style="{{('max-height: '+windowHeight+'rpx')}}" scroll-y="true" class="data-v-9cb82a4a"><view class="productWinList data-v-9cb82a4a"><block wx:for="{{attr.productAttr}}" wx:for-item="item" wx:for-index="indexw" wx:key="indexw"><view class="item data-v-9cb82a4a"><view class="title data-v-9cb82a4a">{{item.attr_name}}</view><view class="listn acea-row row-middle data-v-9cb82a4a"><block wx:for="{{item.attr_value}}" wx:for-item="itemn" wx:for-index="indexn" wx:key="indexn"><view data-event-opts="{{[['tap',[['tapAttr',[indexw,indexn]]]]]}}" class="{{['itemn','data-v-9cb82a4a',item.index===itemn.attr?'on':'']}}" bindtap="__e">{{''+itemn.attr+''}}</view></block></view></view></block><block wx:if="{{isDelivery}}"><view class="item data-v-9cb82a4a"><view class="title data-v-9cb82a4a">配送方式</view><view class="listn acea-row row-middle data-v-9cb82a4a"><block wx:if="{{$root.g0}}"><view data-event-opts="{{[['tap',[['getstoreInfo',['1']]]]]}}" class="{{['itemn','data-v-9cb82a4a',flag==1?'on':isStoreBuy?'on2':'']}}" bindtap="__e">商城配送</view></block><block wx:if="{{selfPickup}}"><view data-event-opts="{{[['tap',[['getstoreInfo',['2']]]]]}}" class="{{['itemn','data-v-9cb82a4a',flag==2?'on':'']}}" bindtap="__e">门店自提</view></block><block wx:if="{{$root.g1}}"><view data-event-opts="{{[['tap',[['getstoreInfo',['3']]]]]}}" class="{{['itemn','data-v-9cb82a4a',flag==3?'on':'']}}" bindtap="__e">门店配送</view></block></view></view></block><block wx:if="{{flag==1&&isDelivery}}"><view data-event-opts="{{[['tap',[['openAddress',['$event']]]]]}}" class="address on1 data-v-9cb82a4a" bindtap="__e"><view class="acea-row row-middle data-v-9cb82a4a"><view class="max-w-596 line1 data-v-9cb82a4a">{{addressInfo}}</view><view class="iconfont icon-ic_rightarrow ml-8 fs-28 data-v-9cb82a4a"></view></view><view class="info data-v-9cb82a4a">{{nameInfo}}</view></view></block><block wx:if="{{flag==3&&isDelivery}}"><view data-event-opts="{{[['tap',[['openStore',['$event']]]]]}}" class="{{['address','data-v-9cb82a4a',deliveryType]}}" bindtap="__e"><view class="acea-row row-middle data-v-9cb82a4a"><view class="max-w-596 line1 data-v-9cb82a4a">{{deliveryName}}</view><block wx:if="{{attr.isType!=1}}"><view class="iconfont icon-ic_rightarrow ml-8 fs-28 data-v-9cb82a4a"></view></block></view><view class="info data-v-9cb82a4a"><text class="iconfont icon-ic_location51 fs-24 mr-10 data-v-9cb82a4a"></text>{{deliveryAddress}}<text class="ml-16 data-v-9cb82a4a">{{distance}}</text></view></view></block><block wx:if="{{flag==2&&isDelivery}}"><view data-event-opts="{{[['tap',[['openStore',['$event']]]]]}}" class="{{['address','data-v-9cb82a4a',$root.g2?'on3':'on1']}}" bindtap="__e"><view class="acea-row row-middle data-v-9cb82a4a"><view class="max-w-596 line1 data-v-9cb82a4a">{{deliveryName}}</view><block wx:if="{{attr.isType!=1}}"><view class="iconfont icon-ic_rightarrow ml-8 fs-28 data-v-9cb82a4a"></view></block></view><view class="info data-v-9cb82a4a"><text class="iconfont icon-ic_location51 fs-24 mr-10 data-v-9cb82a4a"></text>{{deliveryAddress}}<text class="ml-16 data-v-9cb82a4a">{{distance}}</text></view></view></block></view></scroll-view><block wx:if="{{type!='setMeal'&&type!='points'}}"><view class="cart acea-row row-between-wrapper data-v-9cb82a4a"><view class="title data-v-9cb82a4a">数量</view><view class="carnum acea-row row-left data-v-9cb82a4a"><block wx:if="{{attr.productSelect.cart_num<=1}}"><view class="{{['item','reduce','acea-row','row-center-wrapper','data-v-9cb82a4a',attr.productSelect.cart_num<=1?'on':'']}}"><text class="iconfont icon-ic_Reduce data-v-9cb82a4a"></text></view></block><block wx:else><view data-event-opts="{{[['tap',[['CartNumDes',['$event']]]]]}}" class="{{['item','reduce','acea-row','row-center-wrapper','data-v-9cb82a4a',attr.productSelect.cart_num<=1?'on':'']}}" bindtap="__e"><text class="iconfont icon-ic_Reduce data-v-9cb82a4a"></text></view></block><view class="item num acea-row row-middle data-v-9cb82a4a"><input type="number" data-name="productSelect.cart_num" always-embed="{{true}}" adjust-position="{{true}}" cursor-spacing="30" data-event-opts="{{[['input',[['__set_model',['$0','cart_num','$event',[]],['attr.productSelect']],['bindCode',['$0'],['attr.productSelect.cart_num']]]]]}}" value="{{attr.productSelect.cart_num}}" bindinput="__e" class="data-v-9cb82a4a"/></view><view data-event-opts="{{[['tap',[['CartNumAdd',['$event']]]]]}}" class="{{['item','plus','acea-row','row-center-wrapper','data-v-9cb82a4a',attr.productSelect.cart_num>=attr.productSelect.stock?'on':'']}}" bindtap="__e"><text class="iconfont icon-ic_increase data-v-9cb82a4a"></text></view></view></view></block></view><block wx:if="{{isExtends}}"><view class="data-v-9cb82a4a"><block wx:if="{{attr.productSelect.stock<=0}}"><view class="joinBnt bg-gray data-v-9cb82a4a">已售罄</view></block><block wx:else><view data-event-opts="{{[['tap',[['cartConfirm',['$event']]]]]}}" class="joinBnt bg-color data-v-9cb82a4a" bindtap="__e">确定</view></block></view></block><block wx:if="{{iSbnt&&attr.productSelect.stock>0&&attr.productSelect.quota>0}}"><view data-event-opts="{{[['tap',[['goCat',['$event']]]]]}}" class="joinBnt bg-color data-v-9cb82a4a" bindtap="__e">我要参团</view></block><block wx:else><block wx:if="{{iSbnt&&attr.productSelect.quota<=0||iSbnt&&attr.productSelect.product_stock<=0}}"><view class="joinBnt on data-v-9cb82a4a">已售罄</view></block></block><block wx:if="{{iScart&&attr.productSelect.stock}}"><view data-event-opts="{{[['tap',[['goCat',['$event']]]]]}}" class="joinBnt bg-color data-v-9cb82a4a" bindtap="__e">确定</view></block><block wx:else><block wx:if="{{iScart&&!attr.productSelect.stock}}"><view class="joinBnt on data-v-9cb82a4a">已售罄</view></block></block></view><view class="mask data-v-9cb82a4a" hidden="{{attr.cartAttr===false}}" data-event-opts="{{[['touchmove',[['moveHandle',['$event']]]],['tap',[['closeAttr',['$event']]]]]}}" catchtouchmove="__e" bindtap="__e"></view><view class="{{['product-window','data-v-9cb82a4a',isStore?'store':'']}}"><view class="storeTitle data-v-9cb82a4a">选择门店<text data-event-opts="{{[['tap',[['closeStore',['$event']]]]]}}" class="iconfont icon-guanbi5 data-v-9cb82a4a" bindtap="__e"></text></view><view class="storeList data-v-9cb82a4a"><block wx:for="{{storeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tapStore',[index,'$0'],[[['storeList','',index]]]]]]]}}" class="{{['item','data-v-9cb82a4a',active==index?'on':'']}}" bindtap="__e"><view class="name line1 data-v-9cb82a4a">{{item.name}}</view><view class="address acea-row row-middle data-v-9cb82a4a"><view class="iconfont icon-ic_location51 data-v-9cb82a4a"></view><view class="info data-v-9cb82a4a">{{item.address+item.detailed_address}}</view></view><view class="time acea-row row-middle data-v-9cb82a4a"><view class="iconfont icon-icon_clock data-v-9cb82a4a"></view><view class="data-v-9cb82a4a">{{"营业时间:"+item.day_time}}</view></view><block wx:if="{{active==index}}"><view class="iconfont icon-xuanzhong6 data-v-9cb82a4a"></view></block></view></block></view></view><view class="mask on data-v-9cb82a4a" hidden="{{isStore===false}}" data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['closeStore',['$event']]]]]}}" bindtouchmove="__e" bindtap="__e"></view><address-window vue-id="35468162-3" pagesUrl="{{pagesUrl}}" fromType="{{1}}" address="{{address}}" data-ref="addressWindow" data-event-opts="{{[['^changeClose',[['changeClose']]],['^OnChangeAddress',[['OnChangeAddress']]]]}}" bind:changeClose="__e" bind:OnChangeAddress="__e" class="data-v-9cb82a4a vue-ref" bind:__l="__l"></address-window></view> |