diff --git a/src/pages/minihome/index.vue b/src/pages/minihome/index.vue index f397f53..5421dad 100644 --- a/src/pages/minihome/index.vue +++ b/src/pages/minihome/index.vue @@ -1,11 +1,7 @@ @@ -103,8 +104,8 @@ import Domestic from "@/components/domesticMini.vue"; const list1 = reactive([ "https://cankao.obs.cn-east-3.myhuaweicloud.com/mini/newmini/banner1.png", - "https://cankao.obs.cn-east-3.myhuaweicloud.com/mini/newmini/banner1.png", - "https://cankao.obs.cn-east-3.myhuaweicloud.com/mini/newmini/banner1.png", + // "https://cankao.obs.cn-east-3.myhuaweicloud.com/mini/newmini/banner1.png", + // "https://cankao.obs.cn-east-3.myhuaweicloud.com/mini/newmini/banner1.png", ]); const newsList = ref([]); @@ -160,10 +161,7 @@ onPageScroll((val) => { }); onShow(() => { - if ( - uni.getStorageSync("homeTabIndex") == 1 || - uni.getStorageSync("homeTabIndex") == 2 - ) { + if (uni.getStorageSync("homeTabIndex") == 1 || uni.getStorageSync("homeTabIndex") == 2) { tabChange(uni.getStorageSync("homeTabIndex")); } else { tabChange(0); @@ -195,7 +193,6 @@ onMounted(async () => { .r_sreach { display: flex; align-items: center; - padding: 0 30rpx; } .logo_text { @@ -207,11 +204,11 @@ onMounted(async () => { display: flex; align-items: center; padding: 0rpx 30rpx; - background-color: #fff; border-radius: 100rpx; - width: 47vw; - height: 68rpx; + width: 27vw; + height: 58rpx; margin-left: 20rpx; + background-color: #f6f6f6; } .sreach_icon { @@ -222,7 +219,6 @@ onMounted(async () => { image { width: 35rpx; height: 35rpx; - margin-top: 5rpx; } } @@ -236,4 +232,24 @@ onMounted(async () => { font-style: normal; } } + +.r_tab { + display: flex; + align-items: center; + height: 80rpx; + padding: 0 30rpx; + background-color: white; + justify-content: space-between; + padding-top: 20rpx; + + .tab_item { + font-family: PingFangSC, PingFang SC; + font-weight: bold; + font-size: 28rpx; + color: #000; + line-height: 33rpx; + text-align: left; + font-style: normal; + } +}