Parcourir la source

style: 替换首页两张背景图的png格式为jpg格式

统一调整了两个页面文件里的背景图片格式,优化资源加载效率
408249787@qq.com il y a 2 semaines
Parent
commit
aed3588bd4
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      pages/index/home copy.uvue
  2. 1 1
      pages/index/home.uvue

+ 1 - 1
pages/index/home copy.uvue

@@ -7,7 +7,7 @@ function handlePage(url) {
 </script>
 <template>
 	<cl-page>
-		<img src="https://oss.xiaoxiongcode.com/static/home/11.png" alt="" class="w-full h-full object-cover" />
+		<img src="https://oss.xiaoxiongcode.com/static/home/11.jpg" alt="" class="w-full h-full object-cover" />
 		<view class="content">
 			<view class="relative w-[25vw] " @tap="handlePage('/pages/catalog/index')">
 				<img src="https://oss.xiaoxiongcode.com/static/home/13.png" alt="" class="w-full object-cover" />

+ 1 - 1
pages/index/home.uvue

@@ -52,7 +52,7 @@ const userInfo = computed(() => user.info.value?.userInfo)
 </script>
 <template>
 	<cl-page>
-		<img src="https://oss.xiaoxiongcode.com/static/home/11.png" alt="" class="w-full h-full object-cover" />
+		<img src="https://oss.xiaoxiongcode.com/static/home/11.jpg" alt="" class="w-full h-full object-cover" />
 		<view class="menus ">
 			<view v-for="item in menuList" :key="item.code"
 				class="flex flex-col items-center p-1 px-4 justify-center gap-1 active:scale-[.9] transition-all duration-300"