You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<!--pages/user/user.wxml-->
|
|
|
|
<view class="main">
|
|
|
|
<!-- 顶部背景 -->
|
|
|
|
<view class="nav_image">
|
|
|
|
<image src="/images/img_wdbg@3x.png" style="height: 512rpx;"></image>
|
|
|
|
</view>
|
|
|
|
<!-- 用户头像余额 -->
|
|
|
|
<view class="owner">
|
|
|
|
<view class="user">
|
|
|
|
<image class="user_image" bindtap="userlogin" src="{{user_avatar}}"></image>
|
|
|
|
<!-- <button bindtap="getUserProfile" open-type="getUserInfo">注册</button> -->
|
|
|
|
<view class="user_name">
|
|
|
|
<view class="user_name2">{{user_name}}
|
|
|
|
<button class="fresh" bindtap="fresh">点击刷新组织架构</button>
|
|
|
|
</view>
|
|
|
|
<view class="user_tip">{{userInfo.departmentName}}-{{userInfo.userid}}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="balance" data-url="/pages/user/subpage/integral/integral" bindtap="to">
|
|
|
|
<!-- <view class="balance"> -->
|
|
|
|
<view class="b_image">
|
|
|
|
<image src="/images/img_jf@3x.png" style="width: 100%;height: 100%;"></image>
|
|
|
|
</view>
|
|
|
|
{{balance}}
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 我的资料 -->
|
|
|
|
<view class="user_data">
|
|
|
|
<view class="data_title">我的资料</view>
|
|
|
|
<view style="display: flex;justify-content: space-around;align-items: center;">
|
|
|
|
<view class="data_card" wx:for="{{user_data}}" wx:key="index" data-url="{{item.url}}" bindtap="to">
|
|
|
|
<image src="{{item.img}}" style="width: 96rpx;height: 96rpx;"></image>
|
|
|
|
{{item.name}}
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 其他功能 -->
|
|
|
|
<view class="uni_skill">
|
|
|
|
<view class="skill_title">其他功能</view>
|
|
|
|
<!-- bind:lintap="to({{item.url}})" -->
|
|
|
|
<l-list wx:for="{{skills}}" wx:key="index" title="{{item.name}}" image="{{item.image}}" data-url="{{item.url}}" bindtap="to" />
|
|
|
|
</view>
|
|
|
|
<!-- 获取手机号 -->
|
|
|
|
<view class="phone" wx:if="{{phone}}">
|
|
|
|
初次注册我们需要获取您的手机号
|
|
|
|
<view class="buts">
|
|
|
|
<button class="but" catchtap="colse">否</button>
|
|
|
|
<button class="but" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">是</button>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|