Browse Source

商铺商户:调整搜索重置按钮大小

skym1024 1 year ago
parent
commit
a865851495
2 changed files with 14 additions and 4 deletions
  1. 7 2
      pages/merchant/index.vue
  2. 7 2
      pages/shop/index.vue

+ 7 - 2
pages/merchant/index.vue

@@ -22,12 +22,12 @@
 					</uni-col>
 					<uni-col :span="4">
 						<view class="demo-uni-col">
-							<button class="searchBtn" type="default" size="mini" @click="handleSearch">搜索</button>
+							<button class="searchBtn" type="default" @click="handleSearch">搜索</button>
 						</view>						
 					</uni-col>
 					<uni-col :span="4">
 						<view class="demo-uni-col">
-							<button class="searchBtn" type="default" size="mini" @click="handleReset">重置</button>
+							<button class="searchBtn" type="default" @click="handleReset">重置</button>
 						</view>						
 					</uni-col>					
 				</uni-row>				
@@ -204,6 +204,11 @@
 		border: none;
 		color: #fff !important;
 		border-radius: 12px;
+		padding-left: 2px;
+		padding-right: 2px;
+		margin-left: 2px;
+		margin-right: 2px;
+		font-size: 13px;
 	}
 	.list {
 		display: block;

+ 7 - 2
pages/shop/index.vue

@@ -25,12 +25,12 @@
 					</uni-col>
 					<uni-col :span="4">
 						<view class="demo-uni-col">
-							<button class="searchBtn" type="default" size="mini" @click="handleSearch">搜索</button>
+							<button class="searchBtn" type="default" @click="handleSearch">搜索</button>
 						</view>						
 					</uni-col>
 					<uni-col :span="4">
 						<view class="demo-uni-col">
-							<button class="searchBtn" type="default" size="mini" @click="handleReset">重置</button>
+							<button class="searchBtn" type="default" @click="handleReset">重置</button>
 						</view>						
 					</uni-col>							
 				</uni-row>
@@ -270,6 +270,11 @@
 		border: none;
 		color: #fff !important;
 		border-radius: 12px;
+		padding-left: 2px;
+		padding-right: 2px;
+		margin-left: 2px;
+		margin-right: 2px;
+		font-size: 13px;
 	}
 	.list {
 		display: block;