Quellcode durchsuchen

接口改到正式版,首页产品新增empty判断

gcz vor 1 Jahr
Ursprung
Commit
552095fa53
2 geänderte Dateien mit 8 neuen und 7 gelöschten Zeilen
  1. 7 7
      common/config.js
  2. 1 0
      pages/index/index.vue

+ 7 - 7
common/config.js

@@ -12,15 +12,15 @@
 // }
 
 //64
-let baseUrl='https://xusfoodapi.hw.hongweisoft.com/appapi/app';
-let upFileUrl='http://fileupload.hw.hongweisoft.com/upload/single/minio';
-// let staticUrl='http://res.hw.hongweisoft.com/xushuo/';
-let staticUrl='https://xusapi.gzxsjt.cn/miniores/imgs/app';
+// let baseUrl='https://xusfoodapi.hw.hongweisoft.com/appapi/app';
+// let upFileUrl='http://fileupload.hw.hongweisoft.com/upload/single/minio';
+// // let staticUrl='http://res.hw.hongweisoft.com/xushuo/';
+// let staticUrl='https://xusapi.gzxsjt.cn/miniores/imgs/app';
 
 //正式
-// let baseUrl='https://xusapi.gzxsjt.cn/appapi/app';
-// let upFileUrl='https://xusapi.gzxsjt.cn/thirdapi/upload/single/minio';
-// let staticUrl='https://xusapi.gzxsjt.cn/miniores/imgs/app';
+let baseUrl='https://xusapi.gzxsjt.cn/appapi/app';
+let upFileUrl='https://xusapi.gzxsjt.cn/thirdapi/upload/single/minio';
+let staticUrl='https://xusapi.gzxsjt.cn/miniores/imgs/app';
 
 const commonConfig = {
 	wxAppid: '', // 测试wxAppid

+ 1 - 0
pages/index/index.vue

@@ -98,6 +98,7 @@
 						</view>
 					</view>
 				</view>
+				<u-empty mode="list" text="暂无产品" v-if="hotGoods.length<1"></u-empty>
 				
 			</view>
 		</view>