Jelajahi Sumber

适配背景图尺寸

xiaohaizhao 1 tahun lalu
induk
melakukan
9f9b175fa3
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      pages/login/login.vue

+ 1 - 1
pages/login/login.vue

@@ -1,6 +1,6 @@
 <template>
 <template>
 	<view class="container"
 	<view class="container"
-		style="background-image: url('https://bng37527.obs.cn-east-2.myhuaweicloud.com:443/202309011693533537074B49316492.gif');height:100vh;">
+		style="background-image: url('https://bng37527.obs.cn-east-2.myhuaweicloud.com:443/202309011693533537074B49316492.gif');height:100vh; background-size: cover;">
 		<view :style="{ height: height }" />
 		<view :style="{ height: height }" />
 		<view class="logo">
 		<view class="logo">
 			<u--image src="/static/img/LOGO-c1524a7d.svg" width="39.200vw" height="12.533vw" mode="scaleToFill">
 			<u--image src="/static/img/LOGO-c1524a7d.svg" width="39.200vw" height="12.533vw" mode="scaleToFill">