浏览代码

spi接口迁移bug修改

喻文俊 3 年之前
父节点
当前提交
0c7eddb245
共有 4 个文件被更改,包括 11 次插入8 次删除
  1. 3 3
      components/cm-module/cm-seller/user.vue
  2. 2 2
      pages/h5/article/path-live.vue
  3. 4 1
      pages/seller/club/list.vue
  4. 2 2
      services/config.env.js

+ 3 - 3
components/cm-module/cm-seller/user.vue

@@ -12,7 +12,7 @@
 							<text class="u-tips">协销人员</text>
 						</view>
 					</view>
-					<view class="header-icon" @click="TestZHIboFn()"><image :src="headpic == null? 'https://static.caimei365.com/app/img/icon/icon-seller@3x.png' : headpic" mode=""></image></view>
+					<view class="header-icon" @click="TestZHIboFn()"><image src="https://static.caimei365.com/app/img/icon/icon-seller@3x.png" mode=""></image></view>
 				</view>
 				<!-- 订单 -->
 				<view class="user-order">
@@ -218,8 +218,8 @@
 					this.userId = resolve.userId ? resolve.userId : 0
 					this.SellerService.GetSellerHome({userId:this.userId}).then(response =>{
 						let sellerData = response.data
-						this.name = sellerData.seller.linkMan1?sellerData.seller.linkMan1:'' 	//协销名称
-						this.headpic = sellerData.seller.logo //会所头像
+						this.name = sellerData.linkMan1 ?sellerData.linkMan1 : '' 	//协销名称
+						this.headpic = sellerData.logo //会所头像
 						this.skeletonShow = false
 					}).catch(error =>{
 						this.$util.msg(error.msg,2000)

+ 2 - 2
pages/h5/article/path-live.vue

@@ -18,10 +18,10 @@
 		methods:{
 			GetHomeLiveAdvertising(){
 				this.CommonService.GetHomeLiveAdvertising().then(response =>{
-					this.banner = response.data
+                    this.banner = response.data.liveImage
 					this.productImage.push(response.data)
 				}).catch(error =>{
-					this.$util.msg(error.msg,3000);
+					this.$util.msg(error.msg,3000)
 				})
 			},
 			previewImg (index) {//顶部商品图片预览

+ 4 - 1
pages/seller/club/list.vue

@@ -81,7 +81,7 @@
 					</view>
 					<!--加载loadding-->
 					<tui-loadmore :visible="loadding" :index="3" type="black"></tui-loadmore>
-					<tui-nomore :visible="!pullUpOn" :backgroundColor="'#ffffff'" :text="nomoreText"></tui-nomore>
+					<tui-nomore :visible="!pullUpOn" bgcolor="#f7f7f7" :text="nomoreText"></tui-nomore>
 				</scroll-view>
 			</view>
 		</view>
@@ -261,9 +261,11 @@ export default {
 					this.tabCurrentIndex = 0
 					this.userIdentity = 4
 					this.listStatus = 90
+                    this.pageNum = 1
 					this.initclubList()
 					break
 				case 1:
+                    this.pageNum = 1
 					this.userIdentity = 2
 					this.listStatus = 90
 					this.initclubList()
@@ -559,6 +561,7 @@ page,
 	bottom: 0px;
 	left: 0px;
 	right: 0px;
+    z-index: 99;
 	display: flex;
 	align-items: center;
 	justify-content: center;

+ 2 - 2
services/config.env.js

@@ -3,8 +3,8 @@ if(process.env.NODE_ENV === 'development'){
     // 开发环境
     // URL_CONFIG = 'http://192.168.2.67:18002'	 //智捷联调地址
     // URL_CONFIG = 'http://192.168.2.68:18002'	 //涛涛联调地址
-    URL_CONFIG = 'http://192.168.2.75:18002'	 //超超联调地址
-    // URL_CONFIG = 'https://core-b.caimei365.com'
+    // URL_CONFIG = 'http://192.168.2.75:18002'	 //超超联调地址
+    URL_CONFIG = 'https://core-b.caimei365.com'
     // URL_CONFIG = 'https://core.caimei365.com'
 }else{
     // 生产环境