zhengjinyi 1 年間 前
コミット
51c968ef93
3 ファイル変更3 行追加12 行削除
  1. 0 1
      pages/search/mixins/searchMixins.js
  2. 1 9
      pages/search/search.vue
  3. 2 2
      services/config.env.js

+ 0 - 1
pages/search/mixins/searchMixins.js

@@ -56,7 +56,6 @@ const searchMixins = {
                     text: content
                 })
             }
-            console.log('res',res)
             return res
         },
         myReplace(content) {

+ 1 - 9
pages/search/search.vue

@@ -202,7 +202,7 @@
 						<view class="list-details-title clearfix">
 							<text class="mclap-tag" v-if="pros.beautyActFlag == 1">美博会</text>
 							<view class="mclap" :class="pros.beautyActFlag == 1 ? 'indent' : ''">
-								<text v-for="(item, itemIndex) in pros.name" 
+								<text v-for="(item, itemIndex) in handeleCeptText(isInterceptHtmlFn(pros.name),listQuery.keyword)" 
 									  :key="itemIndex" 
 									  :style="{ color : item.type === 1 ? '#ff5b00' : '#333333' }">
 									{{ item.text }}
@@ -764,13 +764,6 @@ export default {
 						this.listData = [...dataList]
 						this.getProductPrice()
 					}
-					this.listData = this.listData.map(pros => {
-						console.log('111111111',pros.name)
-						pros.name = this.handeleCeptText(this.isInterceptHtmlFn(pros.name),this.listQuery.keyword)
-						console.log('222222222',pros.name)
-						return pros
-					})
-					console.log('listData',this.listData)
 					// 防上拉暴滑
 					this.pullFlag = false
 					setTimeout(() => {
@@ -1075,7 +1068,6 @@ export default {
 			}
 		},
 		topBubble() {
-			console.log('1111111111')
 			//显隐搜索项
 			this.showBubblePopup = !this.showBubblePopup
 		}

+ 2 - 2
services/config.env.js

@@ -5,8 +5,8 @@ if(process.env.NODE_ENV === 'development'){
     // URL_CONFIG = 'http://192.168.2.68:18002'	 //涛涛联调地址
     // URL_CONFIG = 'http://192.168.2.102:18002' //志国联调地址
     // URL_CONFIG = 'http://192.168.2.103:18002'    //陈凯联调地址
-    URL_CONFIG = 'https://core-b.caimei365.com'
-    // URL_CONFIG = 'https://core.caimei365.com'    
+    // URL_CONFIG = 'https://core-b.caimei365.com'
+    URL_CONFIG = 'https://core.caimei365.com'    
 }else{
     // 生产环境
     // URL_CONFIG = 'https://core-b.caimei365.com'