1234567891011121314151617181920212223242526272829303132333435363738 |
- <!--pages/account/index.wxml-->
- <view class="sg-container">
- <view class="sg-index-bg sg-pad">
- <view class="sg-flex sg-align-center">
- <image class="sg-avatar sg-margin-right" src="{{ userInfo.avatar }}" mode="widthFix"></image>
- <view class="sg-white">
- <view class="sg-font-lg">{{ userInfo ? userInfo.name : '请登录' }}</view>
- <view class="sg-font-small" bindtap="navigate" data-url="{{userInfo ? '/pages/user/index' : '/pages/login/index'}}">{{ userInfo ? '修改用户信息' : '点击按钮进行登录操作' }}</view>
- </view>
- </view>
- <view wx:if="{{!userInfo}}" class="sg-pad-sm sg-font-small sg-margin-tb sg-white sg-deep-blue-bg sg-flex sg-align-center sg-space-between" bindtap="navigate" data-url="/pages/login/index">
- <text>你还未登录,暂时不能查看项目相关数据</text>
- <van-icon name="arrow" class="sg-icon"></van-icon>
- </view>
- </view>
- <view class="sg-white-bg">
- <view class="sg-flex sg-align-center sg-space-between sg-pad sg-bottom-border" bindtap="navigate" data-url="/pages/bind/index">
- <view>绑定微信</view>
- <van-icon class="sg-icon" name="arrow"></van-icon>
- </view>
- <view class="sg-flex sg-align-center sg-space-between sg-pad sg-bottom-border" bindtap="navigate" data-url="/pages/password/index">
- <view>修改密码</view>
- <van-icon class="sg-icon" name="arrow"></van-icon>
- </view>
- <view class="sg-flex sg-align-center sg-space-between sg-pad sg-bottom-border" bindtap="navigate" data-url="/pages/feedback/index">
- <view>用户反馈</view>
- <van-icon class="sg-icon" name="arrow"></van-icon>
- </view>
- <view class="sg-flex sg-align-center sg-space-between sg-pad sg-bottom-border" bindtap="navigate" data-url="/pages/about/index">
- <view>关于我们</view>
- <van-icon class="sg-icon" name="arrow"></van-icon>
- </view>
- <view class="sg-flex sg-align-center sg-space-between sg-pad sg-bottom-border" bindtap="logout">
- <view>退出登录</view>
- <van-icon class="sg-icon" name="arrow"></van-icon>
- </view>
- </view>
- </view>
|