From c299f99d637eb8f30b7571979bf710c3bcd74ee8 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期四, 12 十二月 2024 13:46:10 +0800 Subject: [PATCH] # --- App.vue | 51 +++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 47 insertions(+), 4 deletions(-) diff --git a/App.vue b/App.vue index 804e1e1..36d8ab0 100644 --- a/App.vue +++ b/App.vue @@ -1,6 +1,9 @@ <script> import Vue from 'vue' export default { + globalData: { + baseHttp:'', + }, onLaunch: function() { Vue.prototype.ColorList = [{ title: '瀚g孩', @@ -339,9 +342,8 @@ .content-input input { display: inline-block; float: left; - height: 100%; + height: 80rpx; width: 90%; - /* background-color: #007AFF; */ text-indent: 20rpx; font-size: 32rpx; letter-spacing: 3rpx; @@ -393,7 +395,7 @@ display: inline-block; float: right; height: 80rpx; - width: 70%; + width: 94%; margin: 10rpx 3% 10rpx 0 ; } .square-none { @@ -401,6 +403,7 @@ height: 100rpx; } .square-1 { + position: relative; background-color: #ffffff; box-shadow: 0px 0px 5px #d9d9d9; width: 94%; @@ -419,7 +422,7 @@ /* background-color: #000000; */ display: inline-block; height: 100rpx; - width: 8em; + width: 250rpx; line-height: 110rpx; font-size: 40rpx; font-weight: 700; @@ -449,4 +452,44 @@ border-radius: 20rpx; margin: 20rpx auto 20rpx auto; } + .searchBox { + position: absolute; + width: 94%; + height: 80%; + top: 0; + left: 0; + bottom: 0; + right: 0; + margin: auto; + background-color: #F9F9F9; + border-radius: 20rpx; + } + .searchIcon { + display: inline-block; + float: left; + width: 10%; + height: 100%; + text-align: center; + line-height: 80rpx; + } + + .searchArea { + display: inline-block; + float: left; + width: 80%; + height: 100%; + } + .searchArea input { + height: 100%; + font-size: 14px; + color: #5f5f5f; + } + .closeIcon { + display: inline-block; + float: left; + width: 10%; + height: 100%; + text-align: center; + line-height: 80rpx; + } </style> -- Gitblit v1.9.1