index.wxml 3.59 KB
<!--packageEquity/pages/index/index.wxml-->
<wxs src="../../../utils/permission.wxs" module="perm" />
<view class="layout_box">
	<scroll-view scroll-y
	             style="height: 100%"
	             bindscroll="onScroll"
	             bindscrolltolower="onBottomRefresh">
		<view class="tips">
			<view class="tips-text text-hide">
				你好, <text>{{ loginRoleLabel[loginRole] || "" }}{{ userInfo.name || "" }}</text>
			</view>
		</view>
		<view class="{{ !waitInputCount ? 'constent_no_tips_box' : '' }} content_box">
			<statistics-swiper staticData="{{ staticData }}"
			                   itemDataList="{{ itemDataList }}"
			                   current="{{ current }}"
			                   isStaff="{{ isStaff }}"
			                   serviceCenterUnreadNum="{{ serviceCenterUnreadNum }}"
			                   bind:change="onSwiperChange"
			                   bind:servicecenter="handleNavigateServiceCenter" />
			<todo-panel isWait="{{ isWait }}"
			            todoList="{{ todoList }}"
			            stodoList="{{ stodoList }}"
			            missingRecordTodoList="{{ missingRecordTodoList }}"
			            ispopUp="{{ ispopUp }}"
			            todos="{{ todos }}"
			            IMG_URL="{{ IMG_URL }}"
			            bind:goto="onTodoGoto"
			            bind:close="onTodoClose"
			            bind:packup="onTodoPackup"
			            bind:missing="gotoMissingReception" />
			<view class="menu_box">
				<block wx:for="{{ menuList }}" wx:key="id">
					<view class="menu_item"
					      bindtap="navGo"
					      data-item="{{ item }}">
						<view class="icon">
							<image src="{{ IMG_URL }}crowdFunding/{{ item.icon }}.png" mode="widthFix" />
						</view>
						<view class="text">{{ item.menuText }}</view>
						<view class="hot_icon" wx:if="{{ item.tipsNum }}">{{ item.tipsNum }}</view>
						<view class="bubble_icon" wx:if="{{ item.noRead }}"></view>
					</view>
				</block>
			</view>
		</view>
		<view class="receive-list-host" wx:if="{{ showReceive }}">
		<reception-timeline
		                    listData="{{ listData }}"
		                    loaded="{{ loaded }}"
		                    nothing="{{ nothing }}"
		                    showScreen="{{ showScreen }}"
		                    isScrollTop="{{ isScrollTop }}"
		                    searchForm="{{ searchForm }}"
		                    userInfo="{{ userInfo }}"
		                    showEmployeeName="{{ showEmployeeName }}"
		                    isShowDefeatBtn="{{ isShowDefeatBtn }}"
		                    recordTabList="{{ recordTabList }}"
		                    IMG_URL="{{ IMG_URL }}"
		                    bind:filter="showScreenPop"
		                    bind:tab="recordTabClick"
		                    bind:detail="goReceptionDetail"
		                    bind:more="goPage" />
		</view>
	</scroll-view>
</view>
<task-dialog wx:if="{{ showTaskDialog }}"
             showDialog="{{ showTaskDialog }}"
             taskInfo="{{ taskInfo }}"></task-dialog>
<order-prompt-popup wx:if="{{ showPromptDialog }}"
                    show="{{ showPromptDialog }}"
                    bindconfirm="promptHandleConfirm"
                    bindcancel="promptCancel"
                    popupSlotStyle="height: calc(100% - var(--fontSize160));"
                    height="var(--fontSize540);"
                    includesChildHeight="var(--fontSize1020);"
                    dj-qr-only-mode="{{ orderPromptDjQrOnlyMode }}"></order-prompt-popup>
<report-template-popup show="{{ showReportPopup }}"
                       templateList="{{ reportTemplateList }}"
                       bind:cancel="onReportPopupCancel"
                       bind:select="onReportPopupSelect" />