Browse Source

bug修改

twt 2 years ago
parent
commit
f8b1796a98
4 changed files with 14 additions and 13 deletions
  1. 10 9
      pages/partner/myQr.vue
  2. 1 1
      pages/referral/myConnections.vue
  3. 1 1
      pages/referral/rebateList.vue
  4. 2 2
      utils/request.js

+ 10 - 9
pages/partner/myQr.vue

@@ -8,7 +8,8 @@
 			<image src="../../static/timg/hl2.png" mode="" class="contTopImg"></image>
 		</view>
 		<view class="headImgBox">
-			<image :src="userInfo.headImg" mode="" class="headImg"></image>
+			<image :src="userInfo.headImg" mode="" class="headImg" v-if="userInfo.headImg"></image>
+			<image src="../../static/img/icon_me.png" mode="" class="headImg" v-else></image>
 		</view>
 		<view class="nickName">{{userInfo.nickName?userInfo.nickName:'微信昵称'}}</view>
 		<view class="ms">很不错的店铺 值得推荐!</view>
@@ -18,7 +19,7 @@
 			</view>
 			<view class="ewmRight">
 				<view class="ewmRight1">长按二维码立即关注</view>
-				<view class="ewmRight2">登记个人信息即可享受新人优惠</view>
+				
 			</view>
 		</view>
 	</view>
@@ -87,7 +88,7 @@
 }
 .cont{
 	width: 650rpx;
-	height: 660rpx;
+	height: 690rpx;
 	background: #FFFFFF;
 	border-radius: 20rpx;
 	border: 10rpx solid #FFCE11;
@@ -113,7 +114,7 @@
 	width: 103rpx;height: 103rpx;border-radius: 50%;
 }
 .headImgBox{
-	text-align: center;padding-top: 50rpx;
+	text-align: center;padding-top: 32rpx;
 }
 .nickName{
 	color: #999999;font-size: 26rpx;text-align: center;padding-top: 16rpx;
@@ -123,15 +124,15 @@
 }
 .wqmBox{
 	border-top:1px solid #EEEEEE;margin-top: 20rpx;
-	display: flex;
-	padding: 30rpx 0 0 30rpx;
+	text-align: center;
+	padding: 23rpx 0 0 0;
 }
 .ewmImg{
-	width: 200rpx;
-	height: 200rpx;
+	width: 220rpx;
+	height: 220rpx;
 }
 .ewmRight1{
-	color: #999999;font-size: 24rpx;padding-top: 50rpx;padding-left: 24rpx;
+	color: #999999;font-size: 24rpx;padding-top: 10rpx;
 }
 .ewmRight2{
 	color: #999999;font-size: 24rpx;padding-top: 16rpx;padding-left: 24rpx;

+ 1 - 1
pages/referral/myConnections.vue

@@ -16,7 +16,7 @@
  <view style="height: 100rpx;"></view>
  <view class="line" v-for="(item,index) in list">
 	 <view class="linetop">
-		 <view class="name">{{item.wxNickName}}</view>
+		 <view class="name">{{item.wxNickName?item.wxNickName:''}}</view>
 		 <view class="nickNameBox">
 			 <view class="nickName" v-if="tabindex==1">一级人脉</view>
 			 <view class="nickName" v-if="tabindex==2">二级人脉</view>

+ 1 - 1
pages/referral/rebateList.vue

@@ -16,7 +16,7 @@
 	<view style="height: 100rpx;"></view>
  <view class="line" v-for="(item,index) in list">
 	 <view class="linetop">
-		 <view class="name">{{item.WxNickName}}</view>
+		 <view class="name">{{item.WxNickName?item.wxNickName:''}}</view>
 		 <view class="amount">¥{{item.money}}</view>
 	 </view>
 	 <view class="lineCOnt">

+ 2 - 2
utils/request.js

@@ -11,9 +11,9 @@ console.log(extConfig)
 const baseUrl=extConfig.url+'/'
 //wx2c6f04c0dcd15984正式  wx33053a645546ec31
 //测试地址
-const webUrl = 'http://dms.32che.cn/'
+//const webUrl = 'http://dms.32che.cn/'
 //正式
-//const webUrl = 'http://webwx.66km.com/'
+const webUrl = 'http://webwx.66km.com/'
 const http = (url = '', date = {}, type = 'POST', header = {
 }) => {
     return new Promise((resolve, reject) => {