java-mall-app/unpackage/dist/build/mp-weixin/pages/index/index.wxml
2025-12-12 17:04:03 +08:00

1 line
9.5 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<block wx:if="{{loadPageFlag}}"><view class="uni-tab-bar" style="{{'background:'+(BgConfig.BackgroundObj.type==1?BgConfig.BackgroundObj.bgColor:'url('+BgConfig.BackgroundObj.path+') no-repeat '+BgConfig.BackgroundObj.pathColor)+';'}}"><block wx:if="{{true}}"><status-bar vue-id="8dd740cc-1" backgroundColor="{{PageNav.window.navigationBarBackgroundColor}}" bind:__l="__l"></status-bar></block><download-app vue-id="8dd740cc-2" color="{{PageNav.window.navigationBarTextStyle}}" backgroundColor="{{PageNav.window.navigationBarBackgroundColor}}" bind:__l="__l"></download-app><view data-event-opts="{{[['tap',[['handerSkipuSelectShippingAddress',['$event']]]]]}}" class="location-block" style="{{'background:'+(PageNav.window.navigationBarBackgroundColor)+';'}}" bindtap="__e"><text class="iconfontAili icon-dingwei"></text><text class="address-block">{{address}}</text><text class="iconfontAili icon-right"></text></view><uni-nav-bar style="{{('background-color: '+PageNav.window.navigationBarBackgroundColor)}}" vue-id="8dd740cc-3" leftFlag="{{!!Config.SUBSITE_ENABLE||!!Config.CHAIN_ENABLE||!!Config.LANG_ENABLE}}" left-width="{{leftWidth}}" rightFlag="{{rightFlag}}" statusBar="{{false}}" fixed="{{true}}" border="{{false}}" color="{{PageNav.window.navigationBarTextStyle}}" backgroundColor="{{PageNav.window.navigationBarBackgroundColor}}" background-color="{{PageNav.window.navigationBarBackgroundColor}}" rightWidth="{{rightWidth}}" bind:__l="__l" vue-slots="{{['default','left','right']}}"><view slot="left"><view data-event-opts="{{[['tap',[['handerSkipu',['$event']]]]]}}" class="supermarket-block" bindtap="__e"><uni-icons vue-id="{{('8dd740cc-4')+','+('8dd740cc-3')}}" type="location" color="{{PageNav.window.navigationBarTextStyle}}" size="18" bind:__l="__l"></uni-icons><view class="supermarket-name">超市入口</view></view></view><view class="input-view"><uni-icons style="line-height:60rpx;" vue-id="{{('8dd740cc-5')+','+('8dd740cc-3')}}" type="search" size="22" color="#666666" bind:__l="__l"></uni-icons><view data-event-opts="{{[['tap',[['onSearch',['$event']]]]]}}" class="input" bindtap="__e">搜索你想要的</view></view><view slot="right"><block wx:if="{{rightFlag}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" style="padding-right:14rpx;line-height:80rpx;height:80rpx;opacity:1;position:relative;" catchtap="__e"><uni-icons style="{{('padding-bottom:2px;color:'+PageNav.window.navigationBarTextStyle)}}" vue-id="{{('8dd740cc-6')+','+('8dd740cc-3')}}" type="chat" color="{{PageNav.window.navigationBarTextStyle}}" size="24" bind:__l="__l"></uni-icons><block wx:if="{{newMsgNum>0}}"><view class="msg-num">{{newMsgNum}}</view></block></view></block></view></uni-nav-bar><view class="tab_box" style="{{('background: '+PageNav.window.navigationBarBackgroundColor+';border: 0;padding-left:20rpx;padding-right:20rpx;')}}"><block wx:if="{{$root.g0>1}}"><scroll-view class="uni-swiper-tab" style="{{('background: '+PageNav.window.navigationBarBackgroundColor+';border: 0;width:660rpx;')}}" id="tab_tab-bar" scroll-x="{{true}}" scroll-left="{{scrollLeft}}"><block wx:for="{{tabBars}}" wx:for-item="tab" wx:for-index="index" wx:key="id"><view class="{{['swiper-tab-list',tabIndex==index?'active':'']}}" id="{{'tab_'+tab.id}}" data-current="{{index}}" data-event-opts="{{[['tap',[['tapTab',['$event']]]]]}}" bindtap="__e"><view class="pt20 text" style="{{('color:'+PageNav.window.navigationBarTextStyle)}}">{{tab.category_alias||tab.category_name||" "}}</view><view class="bg-main" style="{{(tabIndex==index?'':'')}}"></view></view></block></scroll-view></block><block wx:if="{{$root.g1>1}}"><view data-event-opts="{{[['tap',[['goToCate']]]]}}" class="swiper-tab-rigth-box" style="{{('color:'+PageNav.window.navigationBarTextStyle)}}" bindtap="__e"><view class="{{['swiper-tab-icon iconfont zc zc-chanpinnormal']}}"><block wx:if="{{false}}"><text>{{$root.m0}}</text></block></view></view></block></view><swiper class="swiper-box" current="{{tabIndex}}" duration="{{300}}" data-event-opts="{{[['change',[['changeTab',['$event']]]]]}}" bindchange="__e"><block wx:for="{{$root.l0}}" wx:for-item="tab" wx:for-index="index1" wx:key="index1"><swiper-item><scroll-view class="list" scroll-y="{{true}}" scroll-top="{{scrollTop}}" scroll-with-animation="true" data-event-opts="{{[['scroll',[['onScroll',['$event']]]],['scrolltolower',[['scrolltolower',['pageIndex-'+index1]]]]]}}" bindscroll="__e" bindscrolltolower="__e"><diy vue-id="{{'8dd740cc-7-'+index1}}" BgConfig="{{tab.$orig.BgConfig}}" PageContent="{{tab.$orig.PageContent}}" pageId="{{tab.$orig.pageId}}" PageNav="{{tab.$orig.PageNav}}" loadPageFlag="{{tab.$orig.loadPageFlag}}" StoreInfo="{{chatInfo}}" hideDiy="{{hideDiy}}" uniId="{{'pageIndex-'+index1}}" bind:__l="__l"></diy><block wx:if="{{!tab.$orig.loadPageFlag}}"><view class="uni-tab-bar-loading">{{''+tab.m1+''}}</view></block></scroll-view></swiper-item></block></swiper><block wx:if="{{false}}"><coupon class="vue-ref" vue-id="8dd740cc-8" user_is_new="{{userInfo.user_is_new||false}}" CouponAmount="{{100}}" mskType="{{1}}" data-ref="coupon" bind:__l="__l"></coupon></block><block wx:if="{{bannerShow}}"><view class="uni-banner" style="background:#ffffff;height:800rpx;"><view data-event-opts="{{[['tap',[['closeBanner',['$event']]]]]}}" style="justify-content:flex-end;" bindtap="__e"><view style="justify-content:flex-end;text-align:right;padding:20rpx;"><text class="uni-icon uni-icon-close"></text></view></view><view><scroll-view style="height:550rpx;" scroll-y="true"><view class="uni-padding-wrap" style="width:96%;margin-right:40rpx;"><view class="uni-title">{{$root.m2}}</view><view><radio-group data-event-opts="{{[['change',[['onLangChange',['$event']]]]]}}" class="lang" bindchange="__e"><block wx:for="{{Lang.data.items}}" wx:for-item="lang" wx:for-index="idx" wx:key="idx"><label class="lang-list"><view class="option"><view class="img"><image src="{{lang.img}}" mode="widthFix"></image></view><text class="txt">{{lang.label}}</text></view><radio value="{{lang.lang}}" checked="{{lang.lang==Lang.lang}}"></radio></label></block></radio-group></view></view><block wx:if="{{false}}"><block><view class="uni-title uni-common-mt uni-common-pl">{{$root.m3}}</view><view class="uni-list"><radio-group data-event-opts="{{[['change',[['onCurrencyChange',['$event']]]]]}}" bindchange="__e"><label class="uni-list-cel uni-list-cell-pd"><view><block wx:if="{{current_currency==100971}}"><radio value="100971" checked="true"></radio></block><block wx:else><radio value="100971"></radio></block></view><image style="width:60rpx;height:40rpx;" src="/static/images/national/AED.png"></image><view>{{$root.m4}}</view></label><label class="uni-list-cel uni-list-cell-pd"><view><block wx:if="{{current_currency==100966}}"><radio value="100966" checked="true"></radio></block><block wx:else><radio value="100966"></radio></block></view><image style="width:60rpx;height:40rpx;" src="/static/images/national/SAR.png"></image><view>{{$root.m5}}</view></label><label class="uni-list-cel uni-list-cell-pd"><view><block wx:if="{{current_currency==100973}}"><radio value="100973" checked="true"></radio></block><block wx:else><radio value="100973"></radio></block></view><image style="width:60rpx;height:40rpx;" src="/static/images/national/BHD.png"></image><view>{{$root.m6}}</view></label><label class="uni-list-cel uni-list-cell-pd"><view><block wx:if="{{current_currency==100968}}"><radio value="100968" checked="true"></radio></block><block wx:else><radio value="100968"></radio></block></view><image style="width:60rpx;height:40rpx;" src="/static/images/national/OMR.png"></image><view>{{$root.m7}}</view></label><label class="uni-list-cel uni-list-cell-pd"><view><block wx:if="{{current_currency==100965}}"><radio value="100965" checked="true"></radio></block><block wx:else><radio value="100965"></radio></block></view><image style="width:60rpx;height:40rpx;" src="/static/images/national/KWD.png"></image><view>{{$root.m8}}</view></label><label class="uni-list-cel uni-list-cell-pd"><view><block wx:if="{{current_currency==100964}}"><radio value="100964" checked="true"></radio></block><block wx:else><radio value="100964"></radio></block></view><image style="width:60rpx;height:40rpx;" src="/static/images/national/IQD.png"></image><view>{{$root.m9}}</view></label></radio-group></view></block></block></scroll-view><view style="padding:50rpx 0;padding-bottom:68rpx;"><button class="mini-btn" style="background:#f6644d;margin:0 80rpx;" type="warn" data-event-opts="{{[['tap',[['onConfirmLang',['$event']]]]]}}" bindtap="__e">{{''+$root.m10+''}}</button></view></view></view></block><block wx:if="{{bannerShow}}"><view class="uni-mask"></view></block><block wx:if="{{showPopFlag}}"><view data-event-opts="{{[['tap',[['onPopClose',['$event']]]]]}}" class="{{['msk']}}" bindtap="__e"><view class="msk_box"><image style="width:100%;" src="{{index_pop_wap_img}}" mode="widthFix" data-event-opts="{{[['tap',[['onPopClick',['$event']]]]]}}" bindtap="__e"></image><view class="msk_box_info" style="right:16%;top:40%;"></view><view data-event-opts="{{[['tap',[['onPopClose',['$event']]]]]}}" class="btn_cancel" bindtap="__e">✕</view></view></view></block><view class="u-top"><movable-area class="movableArea"><movable-view class="movableView" direction="all" x="{{initX}}" y="{{initY}}" data-event-opts="{{[['touchmove',[['doNothing',['$event']]]]]}}" catchtouchmove="__e"><image class="{{[isQuickNav?'quicknav':'hide']}}" src="https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/nav/black/nav_gotop.png" data-event-opts="{{[['tap',[['returnTop',['$event']]]]]}}" bindtap="__e"></image></movable-view></movable-area></view></view></block>