[调整]优化搜索页面,进入页面后自动调起键盘
This commit is contained in:
4
app.json
4
app.json
@@ -2,6 +2,7 @@
|
||||
"pages": [
|
||||
"pages/welcome/index",
|
||||
"pages/company/index",
|
||||
"pages/company/search/search",
|
||||
"pages/shortVideo/index",
|
||||
"pages/richText/richText",
|
||||
"pages/login/login",
|
||||
@@ -10,8 +11,7 @@
|
||||
"pages/home/index",
|
||||
"pages/mall/index",
|
||||
"pages/live/index",
|
||||
"pages/ticket/index",
|
||||
"pages/company/search/search"
|
||||
"pages/ticket/index"
|
||||
],
|
||||
"window": {
|
||||
"backgroundTextStyle": "light",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"navigationBarTitleText": "企业广场",
|
||||
"navigationBarBackgroundColor": "#f8f8f8"
|
||||
"navigationBarBackgroundColor": "#f8f8f8",
|
||||
"backgroundColorTop": "#f8f8f8"
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
<view class="search-header">
|
||||
<form class="search" bindsubmit="searchForm">
|
||||
<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>
|
||||
</form>
|
||||
</view>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"ignore": []
|
||||
},
|
||||
"setting": {
|
||||
"urlCheck": false,
|
||||
"urlCheck": true,
|
||||
"es6": true,
|
||||
"enhance": false,
|
||||
"postcss": true,
|
||||
|
||||
Reference in New Issue
Block a user