home.wxml
4.77 KB
<view class="page data-v-92bb8f34"><custom-navbar vue-id="1da55560-1" title="绿纤协同平台" show-background="{{false}}" titleColor="#1f2937" backgroundColor="#fff" data-event-opts="{{[['^heightChange',[['handleNavbarHeightChange']]]]}}" bind:heightChange="__e" class="data-v-92bb8f34" bind:__l="__l"></custom-navbar><view class="warpbox data-v-92bb8f34" style="{{'top:'+(contentTopMargin)+';'}}"><view class="setting-btn-container data-v-92bb8f34"><block wx:if="{{!isSettingMode}}"><view data-event-opts="{{[['tap',[['openSettingMode',['$event']]]]]}}" class="setting-btn data-v-92bb8f34" bindtap="__e"><u-icon vue-id="1da55560-2" name="setting" size="20" color="#fff" class="data-v-92bb8f34" bind:__l="__l"></u-icon></view></block><block wx:if="{{isSettingMode}}"><view class="setting-action-btns data-v-92bb8f34"><view data-event-opts="{{[['tap',[['cancelSetting',['$event']]]]]}}" class="setting-action-btn-small cancel-btn data-v-92bb8f34" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['confirmSetting',['$event']]]]]}}" class="setting-action-btn-small confirm-btn data-v-92bb8f34" bindtap="__e">确定</view></view></block></view><block wx:if="{{$root.g0}}"><view class="warpboxss common-func-area data-v-92bb8f34"><view class="warpboxs-small-title data-v-92bb8f34"><view class="data-v-92bb8f34"><text class="warpboxs-small-title-line data-v-92bb8f34"></text>常用功能</view></view><block wx:if="{{!isSettingMode}}"><view class="common-func-row data-v-92bb8f34"><block wx:for="{{commonFunctions}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goToPage',['$0'],[[['commonFunctions','',index,'url']]]]]]]}}" class="common-func-btn data-v-92bb8f34" bindtap="__e"><view class="{{['common-func-icon','data-v-92bb8f34',item.iconClass]}}"><image src="{{item.icon}}" mode="heightFix" class="data-v-92bb8f34"></image></view><view class="common-func-text data-v-92bb8f34">{{item.text}}</view></view></block></view></block><block wx:if="{{isSettingMode}}"><view class="common-func-row data-v-92bb8f34"><block wx:for="{{tempCommonFunctions}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toggleCommonFunction',['$0'],[[['tempCommonFunctions','',index]]]]]]]}}" class="common-func-btn setting-mode-btn data-v-92bb8f34" bindtap="__e"><view class="{{['common-func-icon','data-v-92bb8f34',item.iconClass]}}"><image src="{{item.icon}}" mode="heightFix" class="data-v-92bb8f34"></image><view class="action-badge remove-badge data-v-92bb8f34">-</view></view><view class="common-func-text data-v-92bb8f34">{{item.text}}</view></view></block></view></block></view></block><block wx:for="{{$root.l1}}" wx:for-item="section" wx:for-index="sectionIndex" wx:key="sectionIndex"><view class="warpboxss data-v-92bb8f34" style="{{(section.$orig.fullName==='业务操作'?'box-shadow:none;':'')}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({section:section.$orig})}}" class="warpboxs-small-title data-v-92bb8f34" style="{{(section.m0?'padding-bottom: 30rpx;':'')}}" bindtap="__e"><view class="data-v-92bb8f34"><text class="warpboxs-small-title-line data-v-92bb8f34"></text>{{section.$orig.fullName}}</view><view class="warpboxs-small-title-img data-v-92bb8f34"><u-icon style="{{(section.m1?'transform: rotate(0deg);':'transform: rotate(-180deg);')}}" vue-id="{{'1da55560-3-'+sectionIndex}}" name="arrow-down" size="20" color="#666" class="data-v-92bb8f34" bind:__l="__l"></u-icon></view></view><view hidden="{{!(section.m2)}}" class="data-v-92bb8f34"><view class="{{['data-v-92bb8f34',section.$orig.fullName==='会员管理'?'mgmt-row':section.$orig.fullName==='记录查询'?'bottom-row':'fun_box_fir']}}"><block wx:for="{{section.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" data-event-params="{{({item:item.$orig})}}" class="{{['data-v-92bb8f34',section.$orig.fullName==='会员管理'?'mgmt-btn':section.$orig.fullName==='记录查询'?'bottom-btn':'fun_fir_1 fun_fir_border']}}" bindtap="__e"><view class="{{['data-v-92bb8f34',section.$orig.fullName==='会员管理'?'mgmt-icon':section.$orig.fullName==='记录查询'?'bottom-icon':'icon',item.$orig.iconClass]}}"><block wx:if="{{item.$orig.icon}}"><image src="{{item.$orig.icon}}" mode="heightFix" class="data-v-92bb8f34"></image></block><block wx:if="{{item.m3}}"><view class="action-badge add-badge data-v-92bb8f34">+</view></block></view><view class="{{['data-v-92bb8f34',section.$orig.fullName==='会员管理'?'mgmt-text':section.$orig.fullName==='记录查询'?'bottom-text':'']}}">{{item.$orig.fullName}}</view></view></block></view></view></view></block><view style="height:140rpx;" class="data-v-92bb8f34"></view><custom-tab-bar vue-id="1da55560-4" class="data-v-92bb8f34" bind:__l="__l"></custom-tab-bar></view></view>