12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <view class="new-index" style="height: {{pagHeight-50}}px;">
- <!-- <view class="noLogin" wx:if="{{a}}">
- <van-image class="logo" width="128" round height="128" src="https://img.yzcdn.cn/vant/cat.jpeg" fit="cover" />
- <view class="unLogin">
- <text class="student">学院未绑定班级</text>
- <text class="index-phone">请你联系学管:13333333333</text>
- </view>
- </view> -->
- <view class="onLogin">
- <view class="title">
- <swiper>
- <swiper-item>
- <van-image fit="center" width="114rpx" height="104rpx" src="/images/logo.png" />
- </swiper-item>
- </swiper>
- </view>
- <view class="StudentAttr">
- <view class="item" data-index="0" catchtap="submitBtn">
- <van-icon data-index="0" size="80rpx" name="orders-o" color="#1989fa" />
- <text data-index="0">提交作业</text>
- </view>
- <view class="item" data-index="1" catchtap="submitBtn">
- <van-icon data-index="1" size="80rpx" name="edit" color="#1989fa" />
- <text data-index="1">已点评</text>
- </view>
- </view>
- <view class="authorize" wx:if="{{showAuthorize}}">
- <!-- 取消授权 -->
- <!-- <van-icon name="cross" bindtap="clickClose" /> -->
- <text>授权头像昵称,可获得更多服务</text>
- <!-- 去授权 触发登录弹窗 -->
- <van-button plain hairline round color="#333" bindtap="toAuthorize">去授权</van-button>
- </view>
- <van-toast id="van-toast" />
- <!-- 在页面内添加对应的节点 -->
- <van-notify id="van-notify" />
- <van-overlay show="{{ show }}" bind:click="onClickHide">
- <view class="login-form">
- <view class="form-body" catchtap>
- <view class="header" wx:if="{{showLogin}}">
- <text>登</text>
- <text>录</text>
- <van-icon name="close" size="18" bindtap="onClickHide" />
- </view>
- <view class="header" wx:else>
- <text>注</text>
- <text>册</text>
- <van-icon name="close" size="18" bindtap="onClickHide" />
- </view>
- <view class="form">
- <!-- <van-field label="用户名:" value="{{ userName }}" bind:blur="userBlur" placeholder="请输入用户名" border="{{ true }}" bind:change="onChangeUser" error-message="{{userErr}}" focus="true" required /> -->
- <van-field label="手机号" value="{{ phone }}" bind:blur="phoneBlur" error-message="{{phoneErr}}" placeholder="请输入手机号" border="{{ true }}" bind:change="onChangePhone" maxlength='{{11}}' required />
- <!-- <van-field label="登录密码:" error-message="{{pwdErr}}" value="{{ pwd }}" bind:blur="pwdBlur" placeholder="请输入密码" border="{{ true }}" bind:change="onChangePwd" required />
- <van-field label="确认密码:" error-message="{{onPwdErr}}" value="{{onPwd}}" bind:blur="onPwdBlur" placeholder="请确认密码" border="{{ true }}" bind:change="onChangeonPwd" required /> -->
- <van-button type="warning" wx:if="{{showLogin}}" block bindtap="goSign">登录</van-button>
- <van-button type="warning" bindtap="goLogin" wx:else block>注册</van-button>
- </view>
- <text class="text" type="text" wx:if="{{showLogin}}" bindtap="clickShowLogin">暂无账号,去注册</text>
- <text class="text" type="text" wx:else bindtap="clickShowLogin">已有帐号,去登录</text>
- </view>
- </view>
- </van-overlay>
- </view>
- </view>
|