[调整]优化搜索页面,进入页面后自动调起键盘
This commit is contained in:
4
app.json
4
app.json
@@ -2,6 +2,7 @@
|
|||||||
"pages": [
|
"pages": [
|
||||||
"pages/welcome/index",
|
"pages/welcome/index",
|
||||||
"pages/company/index",
|
"pages/company/index",
|
||||||
|
"pages/company/search/search",
|
||||||
"pages/shortVideo/index",
|
"pages/shortVideo/index",
|
||||||
"pages/richText/richText",
|
"pages/richText/richText",
|
||||||
"pages/login/login",
|
"pages/login/login",
|
||||||
@@ -10,8 +11,7 @@
|
|||||||
"pages/home/index",
|
"pages/home/index",
|
||||||
"pages/mall/index",
|
"pages/mall/index",
|
||||||
"pages/live/index",
|
"pages/live/index",
|
||||||
"pages/ticket/index",
|
"pages/ticket/index"
|
||||||
"pages/company/search/search"
|
|
||||||
],
|
],
|
||||||
"window": {
|
"window": {
|
||||||
"backgroundTextStyle": "light",
|
"backgroundTextStyle": "light",
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"usingComponents": {},
|
"usingComponents": {},
|
||||||
"navigationBarTitleText": "企业广场",
|
"navigationBarTitleText": "企业广场",
|
||||||
"navigationBarBackgroundColor": "#f8f8f8"
|
"navigationBarBackgroundColor": "#f8f8f8",
|
||||||
|
"backgroundColorTop": "#f8f8f8"
|
||||||
}
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
<view class="search-header">
|
<view class="search-header">
|
||||||
<form class="search" bindsubmit="searchForm">
|
<form class="search" bindsubmit="searchForm">
|
||||||
<image class="search-icon" src="/static/icons/search_icon.png" mode="widthFix"></image>
|
<image class="search-icon" src="/static/icons/search_icon.png" mode="widthFix"></image>
|
||||||
<input class="search-input" type="text" name="search" placeholder="输入关键字搜索"></input>
|
<input class="search-input" adjust-position="false" focus type="text" name="search" placeholder="输入关键字搜索"></input>
|
||||||
<button class="search-btn" form-type="submit" size="mini">搜索</button>
|
<button class="search-btn" form-type="submit" size="mini">搜索</button>
|
||||||
</form>
|
</form>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"ignore": []
|
"ignore": []
|
||||||
},
|
},
|
||||||
"setting": {
|
"setting": {
|
||||||
"urlCheck": false,
|
"urlCheck": true,
|
||||||
"es6": true,
|
"es6": true,
|
||||||
"enhance": false,
|
"enhance": false,
|
||||||
"postcss": true,
|
"postcss": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user