Files
2026-03-25 15:53:37 +08:00

1 line
2.8 KiB
Plaintext

<view class="container" style="{{'--theme-color:'+(themeColor)+';'}}"><title-bar vue-id="3bcc5acb-1" title="{{pageTitle}}" bind:__l="__l"></title-bar><view class="container-main" style="{{'min-height:'+('calc(100vh - '+titleBarHeight+'px)')+';'}}"><block wx:if="{{loadEnd}}"><view class="main-menu flex" style="{{'top:'+(titleBarHeight+'px')+';'}}"><block wx:for="{{menuList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['changeMenu',['$0','$1'],[[['menuList','id',item.id,'id']],[['menuList','id',item.id,'name']]]]]]]}}" class="menu-item flex-item flex justify-content-center" bindtap="__e"><view class="{{['text',(selectMenu==item.id)?'active':'']}}">{{item.name}}</view></view></block></view></block><block wx:if="{{loadEnd}}"><view class="main-box"><block wx:if="{{selectMenu==1}}"><view class="box-content"><mp-html vue-id="3bcc5acb-2" content="{{associationInfo.course}}" bind:__l="__l"></mp-html></view></block><block wx:else><block wx:if="{{selectMenu==2}}"><view class="box-content"><mp-html vue-id="3bcc5acb-3" content="{{associationInfo.honor}}" bind:__l="__l"></mp-html></view></block><block wx:else><block wx:if="{{selectMenu==3}}"><view class="box-content"><mp-html vue-id="3bcc5acb-4" content="{{associationInfo.rules}}" bind:__l="__l"></mp-html></view></block><block wx:else><block wx:if="{{selectMenu==4}}"><view class="box-contact"><view data-event-opts="{{[['tap',[['onContact',[1]]]]]}}" class="contact-item" bindtap="__e"><view class="item-info"><view class="info-title">{{organize+"电话"}}</view><view class="info-subtitle">{{associationInfo.contacts+" "+associationInfo.phone}}</view></view><view class="item-icon"><image src="/static/contact/phone.png" mode="aspectFit"></image></view></view><view data-event-opts="{{[['tap',[['onContact',[2]]]]]}}" class="contact-item" bindtap="__e"><view class="item-info"><view class="info-title">{{organize+"地址"}}</view><view class="info-subtitle">{{associationInfo.address}}</view></view><view class="item-icon"><image src="/static/contact/location.png" mode="aspectFit"></image></view></view><view data-event-opts="{{[['tap',[['onContact',[3]]]]]}}" class="contact-item" bindtap="__e"><view class="item-info"><view class="info-title">{{organize+"邮箱"}}</view><view class="info-subtitle">{{associationInfo.mailbox}}</view></view><view class="item-icon"><image src="/static/contact/email.png" mode="aspectFit"></image></view></view><image class="contact-official" src="{{associationInfo.wananchi_qr_code}}" mode="widthFix" show-menu-by-longpress="{{true}}" data-event-opts="{{[['tap',[['onContact',[4]]]]]}}" bindtap="__e"></image></view></block></block></block></block><view class="safe-padding" style="{{(selectMenu!=4?'background: #ffffff;':'')}}"></view></view></block></view><tab-bar vue-id="3bcc5acb-5" bind:__l="__l"></tab-bar></view>