From 8cac2c51eae3647e5198286cd87e71d7f7046243 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期四, 09 二月 2023 11:03:53 +0800 Subject: [PATCH] # --- pages/login/login.vue | 62 +++++++++++++++++++++---------- 1 files changed, 42 insertions(+), 20 deletions(-) diff --git a/pages/login/login.vue b/pages/login/login.vue index 66228b6..8dd945e 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -1,30 +1,38 @@ <template> - <view class="head"> - <view class="logo"> - <image src="../../static/img/logo.png" mode="aspectFit"></image> + <view class="main"> + <view class="head"> + <view class="logo"> + <image src="../../static/img/logo.png" mode="aspectFit"></image> + </view> </view> - </view> - <view class="content"> - <view class="input"> - <view class=""> + <view class="content"> + <view class="input"> + <view class=""> + + </view> + <view class=""> + <input type="text"> + </view> </view> - <view class=""> - <input type="text"> + + <view class="input"> + <view class=""> + + </view> + <view class=""> + <input type="text"> + </view> + </view> </view> - - <view class="input"> - <view class=""> - - </view> - <view class=""> - <input type="text"> + <view class="submit"> + <view class="" style="width: 400rpx;"> + <button type="primary" size="default">鐧诲綍</button> </view> </view> - </view> </template> @@ -38,10 +46,16 @@ .display-grid { display: grid; } - .head { - height: 500rpx; + .main { + height: 100%; width: 100%; - // background-color: aquamarine; + display: grid; + grid-template-columns: 1fr; + justify-items: center; + } + .head { + min-height: 400rpx; + width: 100%; display: grid; grid-template-columns: 1fr; justify-items: center; @@ -68,4 +82,12 @@ align-items: center; } } + .submit { + position: fixed; + width: 100%; + bottom: 100rpx; + display: grid; + grid-template-columns: 1fr; + justify-items: center; + } </style> \ No newline at end of file -- Gitblit v1.9.1