Administrator 5 年之前
父節點
當前提交
5d9312f0da
共有 1 個文件被更改,包括 13 次插入8 次删除
  1. 13 8
      components/cm-module/listTemplate/immediatelyList.vue

+ 13 - 8
components/cm-module/listTemplate/immediatelyList.vue

@@ -19,7 +19,7 @@
 						   @input="onShowClose" 
 						   @confirm="searchOpertor(tabIndex)"
 						   maxlength="20"/>
-				<text class="iconfont icon-shanchu1" v-if="isShowClose" @click="delInputText()"></text>
+				<text class="iconfont icon-shanchu1" v-if="isShowClose" @click="delInputText(tabIndex)"></text>
 			</view>
 			<view class="search-btn" :class="tabIndex">
 				<button class="search-btn" type="default" @click.stop="searchOpertor(tabIndex)" >搜索</button>
@@ -429,9 +429,14 @@
 					this.isShowClose = false
 				}
 			},
-			delInputText(){//清除输入框内容
-				this.searchInputVal = ''
-				this.isShowClose = false
+			delInputText(tabIndex){//清除输入框内容
+			this.searchInputVal = '';
+			this.isShowClose = false;
+			this.getcombinationProduct();
+			if(tabIndex==0){
+				this.isShowClose = false;
+				this.loadingNow = false;
+			}
 			}
 		}
 	}
@@ -576,7 +581,7 @@
 				font-size: $font-size-32;
 				color: #999999;
 				position: absolute;
-				width: 80rpx;
+				width: 120rpx;
 				height: 80rpx;
 				line-height: 80rpx;
 				top: 0;
@@ -749,12 +754,12 @@
 				margin-top: 5rpx;
 			}
 			.zuhe_list_price{
-				width: 470rpx;
+				width: 400rpx;
 				overflow: hidden;
 				margin-top: 10rpx;
 			}
 			.count{
-				margin-top: 10rpx;
+				margin-top: 50rpx;
 				float: right;
 				border: 1px solid #EEEEEE;
 				border-radius: 10rpx;
@@ -771,7 +776,7 @@
 						font-weight: bold;
 					}
 					.btn-input{
-						width: 48rpx;
+						width: 100rpx;
 						height: 48rpx;
 						line-height: 48rpx;
 						background: #F8F8F8;