| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- <template>
- <view style="position: relative;">
- <view class="bg"></view>
- <view class="bg1"></view>
- <view class="content">
- <view class="top">
- <view class="logo">
- <image src="@/static/icon/logo.png" mode=""></image>
- </view>
- </view>
-
- <view style="width: 76%;margin-top: 30rpx;">
- <u-form :model="form">
- <u-form-item :rightIconStyle="{color: '#888', fontSize: '32rpx'}" label-position="top" label="账号" prop="phone" label-width="150">
- <view style="border-bottom: 1rpx solid #DDDDDD;">
- <u-input :border="false" placeholder="请输入账号" v-model="form.account" type="number"></u-input>
- </view>
- </u-form-item>
- <u-form-item label-position="top" label="密码" prop="code" label-width="150">
- <view style="border-bottom: 1rpx solid #DDDDDD;">
- <u-input :border="false" placeholder="请输入登录密码" type="password" v-model="form.password"></u-input>
- </view>
- </u-form-item>
- </u-form>
- <view @click="$jump('/pages/login/login')" class="text-right margin-top-10 text-sm">
- <text>手机号快捷登录</text>
- </view>
- </view>
-
- <view style="width: 86%;margin-top: 80rpx;">
- <view @click="login" class="btn cu-btn round" style="width:100%;height: 90rpx;font-size: 36rpx;">
- 立即登录
- </view>
- <view class="flex justify-between margin-top-30 padding-20 text-sm">
- <text @click="$jump('/pages/login/forget')">忘记密码</text>
- <text @click="$jump('/pages/login/register')">注册账号</text>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- customStyle:{
- 'backgroundColor':'#d18c42',
- 'color':'#ffffff'
- },
- form:{
- account:'',
- password:''
- }
- }
- },
- methods: {
- login(){
- uni.reLaunch({
- url:"/pages/index/index"
- })
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- $color:#d18c42;
-
- page{
- background-color: #FFFFFF;
- }
-
- .btn{
- background-color: $color;
- color:#FFFFFF;
- }
-
- .bg{
- z-index: 99;
- height: 440rpx;
- width: 440rpx;
- position: absolute;
- right: -240rpx;
- top: -240rpx;
- background-color: #d18c42;
- border-radius: 50%;
- box-shadow: 0rpx 0rpx 50rpx #c5803b;
- }
-
- .bg1{
- height: 500rpx;
- width: 500rpx;
- position: absolute;
- right: -240rpx;
- top: -240rpx;
- background-color: #d18c42;
- border-radius: 50%;
- box-shadow: #c6813b;
- }
-
- .content{
- height: 84vh;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
-
- .top{
- display: flex;
- .logo{
- background-color: $color;
- width: 160rpx;
- height: 160rpx;
- border-radius: 40rpx;
- display: flex;
- justify-content: center;
- align-items: center;
-
- image{
- width: 100rpx;
- height: 100rpx;
- }
- }
-
- .title{
- margin-right: 20rpx;
- display: flex;
- flex-direction: column;
- text-align: left;
-
- text:first-child{
- font-size: 46rpx;
- color: #000;
- margin-bottom: 20rpx;
- }
-
- text:last-child{
- font-size: 28rpx;
- color: #7f7f7f;
- }
- }
-
-
- }
- }
- </style>
|