1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <template>
- <view class="login">
- <view class="img">
- <image src="../../static/logo.png" mode="aspectFill"></image>
- </view>
-
- <view class="mid">
- <!-- <view class="quan"></view> -->
- <radio value="r1" @click="radioCheck" :checked="isOK" />
- <view class="">
- 我已阅读并同意<text>《教育小程序服务条款》</text>和 <text>《 隐私协议》</text>新用户自动注册
- </view>
- </view>
-
- <button class="btn">一键登录</button>
- <view class="footer" @click="goto">
- <text>手机号登录/账号密码登录</text>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- isOK:false
- };
- },
- methods:{
- goto(){
- uni.navigateTo({
- url:"/pages/login_two/login_two"
- })
- },
- radioCheck(){
- this.isOK=!this.isOK
- }
- }
- }
- </script>
- <style lang="scss">
- .login{
- .img{
- // margin-top: 150rpx;
- // background-color: #ccc;
- padding: 150rpx 0;
- width: 750rpx;
- display: flex;
- justify-content: center;
- image{
- width: 200rpx;
- height: 200rpx;
- border-radius: 50%;
-
- }
- }
- .mid{
- display: flex;
- justify-content: flex-start;
- width: 750rpx;
- padding: 0rpx 20rpx;
- font-size: 13px;
- /deep/ .uni-radio-input{
- width: 15px;
- height: 15px;
- }
- text{
- color: #4a97f2;
- }
- }
-
- .btn{
- background-color: #0056a8;
- color: #ffffff;
- border-radius: 30px;
- margin: 30rpx 35rpx;
- // padding: 0rpx 10rpx;
- font-size: 16px;
- }
- .footer{
- display: flex;
- justify-content: center;
- font-size: 14px;
- margin: auto;
- color: #666666;
- }
- }
- </style>
|