From 0326804dd7bf985d1912abbab10dec84923acef6 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期五, 12 七月 2024 18:02:15 +0800 Subject: [PATCH] 1 --- src/pages/index/index.vue | 34 ++++++++++++++++++++++------------ 1 files changed, 22 insertions(+), 12 deletions(-) diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index e8d6e6d..4a6663a 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -3,13 +3,13 @@ <view class="repository relative"> <view class="flex Ttop flex-column" style="width: 100%"> <view class="flex" style="width: 100%"> - <view style="padding-left: 4rem"></view> + <view style="padding-left: 4rem"></view> <view class="flex flex-center flex-wrap" style="width: 100%; flex-direction: column" > - <view ></view> - <view ref="Rtop"> + <view></view> + <view ref="Rtop"> <text class="login"></text> <text style=" @@ -42,7 +42,7 @@ @confirm="toggleSearch" type="text" style=" - margin-left: 0.05rem; + margin-left: 0.16rem; color: #2c2c2c; flex: 1; background-color: #fff; @@ -55,11 +55,7 @@ <view class="search-logo" @click="toggleSearch" - style=" - background-color: #244a7b; - border-radius: 50%; - margin-top: -4rpx; - " + style="background-color: #244a7b; border-radius: 50%" ></view> </view> <el-dropdown @@ -121,7 +117,7 @@ >{{ item.name }}</span > <view - class="flex flex-content" + class="detailBtn flex flex-content" style=" width: 0.5rem; height: 0.5rem; @@ -221,7 +217,6 @@ }; }, onLoad() { - uni.getSystemInfo({ success: function (info) { // console.log('灞忓箷鐨勫搴︼細' + info.windowWidth); @@ -568,6 +563,14 @@ height: 80% !important; } + .Search ::v-deep .ffff { + opacity: 0.8; + } + + .Search ::v-deep .ffff:focus-within { + opacity: 1; + } + ::v-deep .searchBg { width: 0.35rem; height: 0.35rem; @@ -742,7 +745,14 @@ } } -::v-deep .cleanupBtn{ +::v-deep .cleanupBtn { right: 52px !important; } + +.secretary li .detailBtn { + transition: translate .3s; +} +.secretary li .detailBtn:hover { + translate: 0 -5px; +} </style> -- Gitblit v1.9.1