12345678910111213141516171819202122232425262728293031323334353637383940 |
- <view class="my">
- <view class="my-header">
- <van-cell-group>
- <van-cell title="{{userInfo.phoneNumber}}" center value="{{userInfo.reserve!=='student'?'查看个人信息':'查看个人信息'}}" is-link link-type="navigateTo" url="{{userInfo.reserve==='teacher'?'/teacher/pages/teacherUserDetail/teacherUserDetail?':'/student/pages/userDetail/userDetail'}}">
- <van-icon slot="icon" name="user-o" size="20" />
- <van-icon slot="right-icon" name="arrow" />
- </van-cell>
- </van-cell-group>
- </view>
- <view class="my-body" wx:if="{{userInfo.reserve!=='student'}}">
- <text>名师简介</text>
- <view class="teacher-detail">
- <!-- <van-image width="55" height="55" fit="contain" src="https://img.yzcdn.cn/vant/cat.jpeg" /> -->
- <van-icon color="#999" slot="icon" name="user-o" size="30" />
- <text>教师名称:{{userInfo.name}}</text>
- <text>授课科目:{{userInfo.subject}}</text>
- <text>任职学校:{{userInfo.jobSchool}}</text>
- </view>
- </view>
- <view class="attr-cell">
- <van-cell-group>
- <van-cell title="练习学管" is-link catchtap="showCustomer" />
- <van-cell title="协议与政策" is-link bindtap="showCustomer" />
- </van-cell-group>
- </view>
- <view class="my-closeLogin" bindtap="closeSign">
- 退出登录
- </view>
- <!-- <van-button bindtap="upload">上传图片</van-button> -->
- </view>
- <!-- <van-dialog use-slot show="{{ activeCustomer }}" bind:close="onClose" showConfirmButton="{{false}}">
- <view class="dialog-content">
- <van-icon name="user-o" size="30" />
- <text>客服电话:123456789</text>
- <van-button bindtap="onPhone" custom-class="btn-phone" plain type="info">联系我们</van-button>
- <van-icon name="close" size="20" class="close" catchtap="showCustomer" />
- </view>
- </van-dialog> -->
- <van-dialog id="van-dialog" />
|