Browse Source

feat: 输入提示调整

zhangyuhan 4 years ago
parent
commit
3e8eba0b66

+ 1 - 1
src/jfw/modules/app/src/web/staticres/jyapp/css/searchindex.css

@@ -3626,7 +3626,7 @@ body{
 }
 }
 .p13 .home .top .home_search .home_search_left span {
 .p13 .home .top .home_search .home_search_left span {
     color: #C0C4CC;
     color: #C0C4CC;
-    font-size: 16px;
+    font-size: 14px;
 }
 }
 .p13 .home_search.fixed-top .jy_sprite_main.sprite_home_search {
 .p13 .home_search.fixed-top .jy_sprite_main.sprite_home_search {
     width: 0.4rem;
     width: 0.4rem;

+ 2 - 2
src/jfw/modules/app/src/web/templates/weixin/search/mainSearch.html

@@ -129,7 +129,7 @@
         <div class="home_search fixed-top">
         <div class="home_search fixed-top">
             <div class="home_search_left inp-search">
             <div class="home_search_left inp-search">
                 <div class="jy_sprite_main sprite_home_search icon_search"></div>
                 <div class="jy_sprite_main sprite_home_search icon_search"></div>
-                <span>示例:税务局 软件</span>
+                <span>多个关键词用空格隔开,如:税务局 软件</span>
             </div>
             </div>
         </div>
         </div>
     </div>
     </div>
@@ -150,7 +150,7 @@
                     <div class="home_search_left inp-search">
                     <div class="home_search_left inp-search">
                         <div class="jy_sprite_main sprite_home_search icon_search"></div>
                         <div class="jy_sprite_main sprite_home_search icon_search"></div>
                         <!--	                    <img class="icon_search" src="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/images/search/home_search.png?v={{Msg "seo" "version"}}" alt="">-->
                         <!--	                    <img class="icon_search" src="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/images/search/home_search.png?v={{Msg "seo" "version"}}" alt="">-->
-                        <span>示例:税务局 软件</span>
+                        <span>多个关键词用空格隔开,如:税务局 软件</span>
                     </div>
                     </div>
                 </div>
                 </div>
                 <div class="home_banner">
                 <div class="home_banner">

+ 2 - 2
src/jfw/modules/app/src/web/templates/weixin/search/tabSearch.html

@@ -577,7 +577,7 @@
     </div>
     </div>
     <form data-name="input-clear-box" class="search-header-box" action="javascript:return true">
     <form data-name="input-clear-box" class="search-header-box" action="javascript:return true">
         <span class="j-icon base-icon icon-search"></span>
         <span class="j-icon base-icon icon-search"></span>
-        <input id="search-header-input" name="super_searchinput" type="search" placeholder="税务局软件">
+        <input id="search-header-input" name="super_searchinput" type="search" placeholder="多个关键词用空格隔开,如:税务局 软件">
         <div class="padding-icon">
         <div class="padding-icon">
             <span class="j-icon base-icon icon-delete-gray"></span>
             <span class="j-icon base-icon icon-delete-gray"></span>
         </div>
         </div>
@@ -1667,7 +1667,7 @@
         $(".tabs-nav div").on('click', function () {
         $(".tabs-nav div").on('click', function () {
             $(this).addClass('active').siblings().removeClass('active')
             $(this).addClass('active').siblings().removeClass('active')
             var nowIndex = $(this).index()
             var nowIndex = $(this).index()
-            var tipArr = ['税务局软件', '企业名称', '采购单位名称']
+            var tipArr = ['多个关键词用空格隔开,如:税务局 软件', '企业名称', '采购单位名称']
             $("#search-header-input").attr('placeholder', tipArr[nowIndex])
             $("#search-header-input").attr('placeholder', tipArr[nowIndex])
             $(".tabs-content > .tabs-content-page").eq(nowIndex).addClass('active').siblings().removeClass('active')
             $(".tabs-content > .tabs-content-page").eq(nowIndex).addClass('active').siblings().removeClass('active')
             if (nowIndex !== 0) {
             if (nowIndex !== 0) {

+ 1 - 1
src/web/staticres/css/wxsearch.css

@@ -2690,7 +2690,7 @@ body{
 }
 }
 .p13 .home .top .home_search .home_search_left span {
 .p13 .home .top .home_search .home_search_left span {
     color: #C0C4CC;
     color: #C0C4CC;
-    font-size: 16px;
+    font-size: 14px;
 }
 }
 .p13 .home_search.fixed-top .jy_sprite_main.sprite_home_search {
 .p13 .home_search.fixed-top .jy_sprite_main.sprite_home_search {
     width: 0.4rem;
     width: 0.4rem;

+ 3 - 3
src/web/templates/weixin/search/mainSearch.html

@@ -357,7 +357,7 @@
   }
   }
 		.p13 .home .top .home_search .home_search_left span {
 		.p13 .home .top .home_search .home_search_left span {
 			line-height: 1.2;
 			line-height: 1.2;
-			font-size: 15px;
+			font-size: 14px;
 			background-color: transparent;
 			background-color: transparent;
 		}
 		}
 	</style>
 	</style>
@@ -491,7 +491,7 @@
             <div class="home_search">
             <div class="home_search">
                 <div class="home_search_left inp-search">
                 <div class="home_search_left inp-search">
                     <img class="icon_search" src="/images/search.png" alt="">
                     <img class="icon_search" src="/images/search.png" alt="">
-                    <span>示例:税务局 软件</span>
+                    <span>多个关键词用空格隔开,如:税务局 软件</span>
                 </div>
                 </div>
 <!--                <div class="home_search_right">-->
 <!--                <div class="home_search_right">-->
 <!--                    <img class="icon_question" src="/images/search/home_question.png" alt="">-->
 <!--                    <img class="icon_question" src="/images/search/home_question.png" alt="">-->
@@ -615,7 +615,7 @@
 		<!--搜索-->
 		<!--搜索-->
 		<div class="search-tontrol">
 		<div class="search-tontrol">
 			<div>
 			<div>
-				<input class="inp-search" type="text" name="" value="" maxlength="50" placeholder="示例:税务局 软件" readonly/>
+				<input class="inp-search" type="text" name="" value="" maxlength="50" placeholder="多个关键词用空格隔开,如:税务局 软件" readonly/>
 			</div>
 			</div>
 			<!--点击关闭-->
 			<!--点击关闭-->
 			<span id="seaClose" class="close"></span>
 			<span id="seaClose" class="close"></span>

+ 2 - 2
src/web/templates/weixin/search/tabSearch.html

@@ -585,7 +585,7 @@
     </div>
     </div>
     <form data-name="input-clear-box" class="search-header-box" action="javascript:return true">
     <form data-name="input-clear-box" class="search-header-box" action="javascript:return true">
         <span class="j-icon base-icon icon-search"></span>
         <span class="j-icon base-icon icon-search"></span>
-        <input id="search-header-input" name="super_searchinput" type="search" placeholder="税务局软件">
+        <input id="search-header-input" name="super_searchinput" type="search" placeholder="多个关键词用空格隔开,如:税务局 软件">
         <div class="padding-icon">
         <div class="padding-icon">
             <span class="j-icon base-icon icon-delete-gray"></span>
             <span class="j-icon base-icon icon-delete-gray"></span>
         </div>
         </div>
@@ -1676,7 +1676,7 @@
         $(".tabs-nav div").on('click', function () {
         $(".tabs-nav div").on('click', function () {
             $(this).addClass('active').siblings().removeClass('active')
             $(this).addClass('active').siblings().removeClass('active')
             var nowIndex = $(this).index()
             var nowIndex = $(this).index()
-            var tipArr = ['税务局软件', '企业名称', '采购单位名称']
+            var tipArr = ['多个关键词用空格隔开,如:税务局 软件', '企业名称', '采购单位名称']
             $("#search-header-input").attr('placeholder', tipArr[nowIndex])
             $("#search-header-input").attr('placeholder', tipArr[nowIndex])
             $(".tabs-content > .tabs-content-page").eq(nowIndex).addClass('active').siblings().removeClass('active')
             $(".tabs-content > .tabs-content-page").eq(nowIndex).addClass('active').siblings().removeClass('active')
             if (nowIndex !== 0) {
             if (nowIndex !== 0) {

+ 1 - 1
src/web/templates/weixin/wxsearch.html

@@ -547,7 +547,7 @@ body{
 <div id="searchDiv" style="display:none;">
 <div id="searchDiv" style="display:none;">
 	<form class="searchform" id="searchform" method="post" action="/swordfish/searchlist" target="listf">
 	<form class="searchform" id="searchform" method="post" action="/swordfish/searchlist" target="listf">
 	<div class="wxhead">
 	<div class="wxhead">
-	<input class="form-control searchname" id="searchname" name="searchname" maxlength ="50" value="{{if .T.shname}}{{.T.shname}}{{end}}" placeholder="示例:税务局 软件"/>
+	<input class="form-control searchname" id="searchname" name="searchname" maxlength ="50" value="{{if .T.shname}}{{.T.shname}}{{end}}" placeholder="多个关键词用空格隔开,如:税务局 软件"/>
 			<input type="hidden" name="searchvalue" value="{{.T.searchvalue}}">
 			<input type="hidden" name="searchvalue" value="{{.T.searchvalue}}">
 			<input type="hidden" name="toptype" value="">
 			<input type="hidden" name="toptype" value="">
 			<!--{{.T.toptype}}{{.T.subtype}}{{.T.scope}}-->
 			<!--{{.T.toptype}}{{.T.subtype}}{{.T.scope}}-->

+ 1 - 1
src/web/templates/weixin/wxsearchlist.html

@@ -657,7 +657,7 @@ body{
 <div style="background-color:#fff;" id="mainDiv">
 <div style="background-color:#fff;" id="mainDiv">
 <div class="wxhead">
 <div class="wxhead">
 <form class="searchform" id="searchform" method="post" action="/swordfish/searchlist"  onsubmit="CSubmit()" >
 <form class="searchform" id="searchform" method="post" action="/swordfish/searchlist"  onsubmit="CSubmit()" >
-		<input class="form-control searchname slistbkc" name="searchname" maxlength ="50" value="{{if .T.keywords}}{{.T.keywords}}{{end}}" placeholder="示例:税务局 软件" readonly="readonly"/>
+		<input class="form-control searchname slistbkc" name="searchname" maxlength ="50" value="{{if .T.keywords}}{{.T.keywords}}{{end}}" placeholder="多个关键词用空格隔开,如:税务局 软件" readonly="readonly"/>
 		<input type="hidden" name="searchvalue" value="{{.T.searchvalue}}">
 		<input type="hidden" name="searchvalue" value="{{.T.searchvalue}}">
 		<input type="hidden" name="toptype" value="{{.T.toptype}}">
 		<input type="hidden" name="toptype" value="{{.T.toptype}}">
 		<input type="hidden" name="subtype" value="{{.T.subtype}}">
 		<input type="hidden" name="subtype" value="{{.T.subtype}}">