189 lines
11 KiB
Plaintext
189 lines
11 KiB
Plaintext
<view class="center-top">
|
|
<view class="user-btn">
|
|
<view class="user-info">
|
|
<image src="{{userIcon}}"></image>
|
|
<view class="user-name">
|
|
<view class="name">{{userName}}</view>
|
|
<view class="user-community">{{curCommunityName}}</view>
|
|
</view>
|
|
</view>
|
|
<view bindtap="checkGrid" class="btn">网格员认证>></view>
|
|
</view>
|
|
</view>
|
|
<view class="case">
|
|
<view class="case-title no-padding">
|
|
<view class="title">我的事件</view>
|
|
<view bindtap="checkMoreCase" class="more">查看更多<image mode="heightFix" src="{{sourceUrl}}arrow-right-d.png"></image>
|
|
</view>
|
|
</view>
|
|
<view class="case-count">
|
|
<view bindtap="checkCaseStatus" class="case-count-box" data-status="0">
|
|
<image src="{{sourceUrl}}case-icon1.png"></image>
|
|
<view class="case-count-name">待受理</view>
|
|
</view>
|
|
<view bindtap="checkCaseStatus" class="case-count-box" data-status="1">
|
|
<image src="{{sourceUrl}}case-icon2.png"></image>
|
|
<view class="case-count-name">已受理</view>
|
|
</view>
|
|
<view bindtap="checkCaseStatus" class="case-count-box" data-status="2">
|
|
<image src="{{sourceUrl}}case-icon3.png"></image>
|
|
<view class="case-count-name">已完结</view>
|
|
</view>
|
|
<view bindtap="checkCaseStatus" class="case-count-box" data-status="3">
|
|
<image src="{{sourceUrl}}case-icon3.png"></image>
|
|
<view class="case-count-name">我的收藏</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="contact" wx:if="{{gridList.length>0}}">
|
|
<view class="case-title">
|
|
<view class="title">快速反馈</view>
|
|
<view bindtap="checkGridMore" class="more">查看更多<image mode="heightFix" src="{{sourceUrl}}arrow-right-d.png"></image>
|
|
</view>
|
|
</view>
|
|
<view class="contact-container">
|
|
<view bindtap="contactGrid" class="contact-box" data-item="{{item}}" wx:for="{{gridList}}" wx:key="index">
|
|
<image src="{{sourceUrl}}avatar-default.png" wx:if="{{!item.photo}}"></image>
|
|
<image src="{{serviceUrl+baseImgUrl+item.photo}}" wx:else></image>
|
|
<view class="contact-name">{{item.userUserName}}</view>
|
|
<view class="contact-type">网格员</view>
|
|
<view class="contact-btn">立即联系</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="help">
|
|
<view class="case-title help-title">
|
|
<view class="title">邻里互助</view>
|
|
</view>
|
|
<view class="help-type">
|
|
<view class="type-name">交友</view>
|
|
<view class="type-count">{{friendCount}}</view>
|
|
</view>
|
|
<view class="help-type">
|
|
<view class="type-name">求助</view>
|
|
<view class="type-count">{{helpCount}}</view>
|
|
</view>
|
|
<view class="help-type">
|
|
<view class="type-name">其他</view>
|
|
<view class="type-count">{{otherCount}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="help">
|
|
<view class="case-title help-title">
|
|
<view class="title">快速拨号</view>
|
|
</view>
|
|
<view bindtap="callPhone" class="help-type" data-item="{{12333}}">
|
|
<view class="type-name">人力资源社会保障热线</view>
|
|
<view class="type-count">12333</view>
|
|
</view>
|
|
<view bindtap="callPhone" class="help-type" data-item="{{12329}}">
|
|
<view class="type-name">住房公积金</view>
|
|
<view class="type-count">12329</view>
|
|
</view>
|
|
<view bindtap="callPhone" class="help-type" data-item="{{12345}}">
|
|
<view class="type-name">市民服务热线</view>
|
|
<view class="type-count">12345</view>
|
|
</view>
|
|
<view bindtap="callPhone" class="help-type" data-item="{{12320}}">
|
|
<view class="type-name">市长热线</view>
|
|
<view class="type-count">12320</view>
|
|
</view>
|
|
</view>
|
|
<view class="authentication" wx:if="{{showAuthentication}}">
|
|
<view class="authentication-container">
|
|
<view class="authentication-img">
|
|
<image mode="widthFix" src="{{sourceUrl}}rz-img.png"></image>
|
|
<image bindtap="closeAuthentication" class="close" src="{{sourceUrl}}close-rz.png"></image>
|
|
</view>
|
|
<view class="authentication-box">
|
|
<input value="{{userNameText}}" placeholder="请输入用户名" type="text" bindinput="authPhone"></input>
|
|
<input value="{{userPassword}}" placeholder="请输入密码" type="password" bindinput="authPwd"></input>
|
|
<view bindtap="doAuthentication" class="authentication-btn">立即认证</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="flex flex-direction" style="padding: 10rpx;margin-top: 10rpx;">
|
|
<view class="scroll-content">
|
|
<view wx:if="{{menuList.length>0}}">
|
|
<view class="group-box" wx:if="{{group.configColumnGroupStatus=='1'}}" wx:for="{{menuList}}" wx:for-item="group" wx:key="index">
|
|
<view class="ver-box" wx:if="{{group.configColumnGroupDirection=='1'}}">
|
|
<view class="ver-box-title"> {{group.configColumnGroupName}} </view>
|
|
<scroll-view>
|
|
<view class="ver-box-list">
|
|
<view bindtap="choosePage" class="ver-box-items" data-item="{{item}}" data-path="{{item.configColumnTargetUrl}}" data-type="{{item.configColumnTargetMode}}" wx:if="{{item.configColumnStatus=='1'}}" wx:for="{{group.configColumnList}}" wx:for-index="idx" wx:key="idx">
|
|
<image mode="scaleToFill" src="{{imgUrl+item.configColumnPhoto}}"></image>
|
|
<text class="text-cut text-df text-black">{{item.configColumnName}}</text>
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
</view>
|
|
<view bindtap="goColumnList" class="item-box" data-item="{{group}}" wx:elif="{{group.configColumnGroupDirection=='2'}}">
|
|
<image class="cu-avatar radius lg" mode="scaleToFill" src="{{imgUrl+group.configColumnGroupPhoto}}" wx:if="{{group.configColumnGroupPhoto.length>0}}"></image>
|
|
<view class="item-content">
|
|
<text class="text-cut text-black text-bold">{{group.configColumnGroupName}}</text>
|
|
<text class="text-cut text-gray">{{group.configColumnGroupRemark}}</text>
|
|
</view>
|
|
<text class="cuIcon-right"></text>
|
|
</view>
|
|
<view wx:elif="{{group.configColumnGroupDirection=='3'}}">
|
|
<view class="hint-title">
|
|
<image mode="scaleToFill" src="/images/title-bg.png"></image>
|
|
<text>{{group.configColumnGroupName}}</text>
|
|
</view>
|
|
<view class="flex align-center justify-center" style="width:100%;" wx:if="{{group.configColumnGroupStyle=='ec3605f5-3409-4554-ae85-efac8a75fc0d'}}">
|
|
<swiper autoplay="{{true}}" indicatorDots="{{true}}" style="width:90%;margin-top:20rpx;height:{{Height}};">
|
|
<swiper-item style="width:100%;" wx:for="{{group.configColumnList}}" wx:for-index="pIndex" wx:for-item="photo" wx:key="pIndex">
|
|
<image bindload="imgHeight" bindtap="toFunction" mode="widthFix" src="{{imgUrl+photo.configColumnPhoto}}" style="width:100%;border-radius:20rpx;" wx:if="{{isBindPhone}}"></image>
|
|
<button bindgetphonenumber="getPhoneNumber" openType="getPhoneNumber" style="padding: 0rpx;margin:0rpx;width: 100%;" wx:else>
|
|
<image bindload="imgHeight" mode="widthFix" src="{{imgUrl+photo.configColumnPhoto}}" style="width:100%;border-radius:20rpx;"></image>
|
|
</button>
|
|
</swiper-item>
|
|
</swiper>
|
|
</view>
|
|
<view class="flex flex-direction align-center justify-center" style="width:100%;" wx:else>
|
|
<block wx:for="{{group.configColumnList}}" wx:for-index="pIndex" wx:for-item="photo" wx:key="pIndex">
|
|
<image bindtap="toFunction" mode="widthFix" src="{{imgUrl+photo.configColumnPhoto}}" style="width:90%;border-radius:20rpx;margin-top:5rpx;" wx:if="{{isBindPhone}}"></image>
|
|
<button bindgetphonenumber="getPhoneNumber" openType="getPhoneNumber" style="padding: 0rpx;margin:0rpx;width: 100%;" wx:else>
|
|
<image mode="widthFix" src="{{imgUrl+photo.configColumnPhoto}}" style="width:90%;border-radius:20rpx;margin-top:5rpx;"></image>
|
|
</button>
|
|
</block>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<van-action-sheet bind:close="onHide" show="{{isShowCardBag}}" style="padding-bottom:180rpx;" title="请选择">
|
|
<view class="flex flex-direction align-center">
|
|
<scroll-view scrollY style="height:500rpx;max-height:500rpx;align-items:center;">
|
|
<view bindtap="changeCard" class="cu-list menu-avatar solid" data-item="{{item}}" data-type="1" style="margin: 15rpx;" wx:for="{{userGridList}}" wx:key="index">
|
|
<view class="cu-item bg-red-red" style="width:100%;height:160rpx;border-radius:10rpx;">
|
|
<view class="cu-avatar radius xl round bg-gradual-red-3" style="left:15rpx;">
|
|
<view class="other-name">网格员</view>
|
|
</view>
|
|
<view class="content" style="width:100%;left: 160rpx;">
|
|
<view class="text-depblack">
|
|
<text class="text-cut text-white">{{item.areaName}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view bindtap="changeCard" class="cu-list menu-avatar solid" data-item="{{item}}" data-type="2" style="margin: 15rpx;" wx:for="{{userOrgList}}" wx:key="index">
|
|
<view class="cu-item bg-red-red" style="width:100%;height:160rpx;border-radius:10rpx;">
|
|
<view class="cu-avatar radius xl round bg-gradual-red-3" style="left:15rpx;">
|
|
<view class="other-name">生活服务</view>
|
|
</view>
|
|
<view class="content" style="width:100%;left: 160rpx;">
|
|
<view class="text-depblack">
|
|
<text class="text-cut text-white">{{item.unitName}}</text>
|
|
</view>
|
|
<view class="text-gray text-sm flex">
|
|
<text class="text-cut text-white">地址:{{item.communityName}}-{{item.streetName}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
</view>
|
|
</van-action-sheet>
|