personal.wxml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <view class="bj">
  2. <image src="../../images/person_bj.jpg" style="width:750rpx;height:350rpx"></image>
  3. <view class="top">
  4. <image class="img" src="{{avatarUrl}}"></image>
  5. <!-- <image class="img avatar" src='{{userInfo.avatarUrl}}'></image> -->
  6. <view class="nick">
  7. <view wx:if="{{nick}}">{{nick}}</view>
  8. <button wx:else open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo" id="login_btn">
  9. [点击登陆账户]
  10. </button>
  11. </view>
  12. </view>
  13. <view class="middle">
  14. <view wx:for="{{tabArr}}" wx:key="index" class="block" data-index='{{index}}' data-src="{{item.url}}" bindtap="goTab">
  15. <image src="{{item.img}}" style="width:91rpx;height:92rpx;margin-left:30rpx"></image>
  16. <view style="color:#6f7582;font-size:30rpx;margin-left:30rpx">{{item.name}}</view>
  17. </view>
  18. </view>
  19. </view>
  20. <view class="tabbar">
  21. <view class="tab1" bindtap="goIndex">
  22. <image src="../../images/unactive_bar1.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
  23. <view>首页</view>
  24. </view>
  25. <view class="tab1">
  26. <image src="../../images/unactive_bar2.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
  27. <button type="primary" id="red" session-from="nickName={{userInfo.nickName}}|avatarUrl={{userInfo.avatarUrl}}|foreignid={{userInfo.foreignid}}|referrerTitle={{ysf.title}}|ysf.config= {{ysf.config}}"
  28. open-type="contact"
  29. >客服</button>
  30. </view>
  31. <view class="tab1" bindtap="goInfo" bindtap="goInfo">
  32. <image src="../../images/unactive_bar4.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
  33. <view>注册</view>
  34. </view>
  35. <view class="tab1" bindtap="goMy">
  36. <image src="../../images/active_bar3.png" style="width:40rpx;height:40rpx;padding-top:10rpx"></image>
  37. <view style="color:#a342ff">我的</view>
  38. </view>
  39. </view>