pages/login/login.vue
@@ -1,7 +1,7 @@ <template> <view class="head"> <view class="logo"> <image src="../../static/img/logo.png" mode="aspectFit"></image> </view> </view> <view class="content"> @@ -35,18 +35,18 @@ </script> <style lang="less"> .display-grid { display: grid; } .head { height: 200rpx; height: 500rpx; width: 100%; background-color: aquamarine; // background-color: aquamarine; display: grid; grid-template-columns: 1fr; justify-items: center; align-items: center; .logo { width: 10%; height: 90%; background-color: red; } } .content {