diff --git a/src/components/articleList/index2.vue b/src/components/articleList/index2.vue new file mode 100644 index 0000000..ad042da --- /dev/null +++ b/src/components/articleList/index2.vue @@ -0,0 +1,320 @@ + + + + + diff --git a/src/pages/realtimeInfo/index.vue b/src/pages/realtimeInfo/index.vue index c9c4be5..008bf80 100644 --- a/src/pages/realtimeInfo/index.vue +++ b/src/pages/realtimeInfo/index.vue @@ -79,21 +79,21 @@ - - - - - - - - - - - 搜索资讯 + + + + + + + + + + + 搜索资讯 + - @@ -468,7 +468,7 @@ onMounted(async () => { // top: 10px; // left: 0; // z-index: 9999; - background: url("https://cankao.obs.cn-east-3.myhuaweicloud.com/mini/newmini/top_bg.png"); + // background: url("https://cankao.obs.cn-east-3.myhuaweicloud.com/mini/newmini/top_bg.png"); } .logo_text { @@ -482,9 +482,12 @@ onMounted(async () => { padding: 0rpx 30rpx; background-color: #fff; border-radius: 100rpx; - width: 80vw; - height: 68rpx; + // width: 90vw; + height: 63rpx; margin-left: 20rpx; + border: 1px solid #e7e7e7; + margin-top: 5rpx; + // box-shadow: 0 0 10rpx rgba(97, 97, 97, 0.1); } .sreach_icon { diff --git a/src/pages/sreachReq/index.vue b/src/pages/sreachReq/index.vue index c5ed0f4..5175721 100644 --- a/src/pages/sreachReq/index.vue +++ b/src/pages/sreachReq/index.vue @@ -20,7 +20,9 @@ - + + + @@ -68,7 +70,7 @@ import { ref, watch } from "vue"; import { Session } from "@/utils/storage"; import { onShow, onLoad } from "@dcloudio/uni-app"; -import List from "@/components/articleList/index.vue"; +import List from "@/components/articleList/index2.vue"; import { searchNews, unlockColumn } from "@/api"; import { extractText, formatTimestamp } from "@/utils/util"; import LoginPopup from "@/components/loginPopup/index.vue"; @@ -246,7 +248,7 @@ onShow(() => { display: flex; align-items: center; // height: 60rpx; - gap: 20rpx; + // gap: 20rpx; box-sizing: border-box; padding: 12rpx 0; position: sticky; @@ -262,6 +264,7 @@ onShow(() => { border-radius: 20rpx; padding: 0 20rpx; border-radius: 100rpx; + margin-left: 10rpx; } :deep(.u-input) { @@ -306,7 +309,11 @@ onShow(() => { color: #828b92; } } - +.back_icon { + width: 50rpx; + height: 50rpx; + margin-left: 10rpx; +} .custom-bav-bar { width: 100%; height: 88rpx; @@ -316,11 +323,6 @@ onShow(() => { justify-content: center; position: relative; - .back_icon { - width: 40rpx; - height: 40rpx; - } - .logo_icon { width: 168rpx; height: 40rpx; @@ -351,5 +353,6 @@ onShow(() => { line-height: 45rpx; text-align: right; font-style: normal; + margin-left: 50rpx; }