Просмотр исходного кода

Merge remote-tracking branch 'origin/2025鹅状元数学' into 2025鹅状元数学

tanxue 1 месяц назад
Родитель
Сommit
d4b4511cf3
3 измененных файлов с 8 добавлено и 21 удалено
  1. 3 19
      pages/chanpinMy/duihuanma.vue
  2. 1 0
      pages/chanpinXuanze/index.vue
  3. 4 2
      pages/chanpinneirong/chanpin1.vue

+ 3 - 19
pages/chanpinMy/duihuanma.vue

@@ -70,30 +70,14 @@
 			if (res.data.icon) {
 			if (res.data.icon) {
 				myInfoData.icon = res.data.icon;
 				myInfoData.icon = res.data.icon;
 			} else {
 			} else {
-				getUserImg(res.data.growthType)
+				getUserImg()
 			}
 			}
 		})
 		})
 	}
 	}
 
 
 	// 获取用户头像
 	// 获取用户头像
-	function getUserImg(data) {
-		switch (data) {
-			case 0:
-				myInfoData.icon = 'static/images/my/head-img0.png'
-				break;
-			case 1:
-				myInfoData.icon = 'static/images/my/head-img1.png'
-				break;
-			case 2:
-				myInfoData.icon = 'static/images/my/head-img2.png'
-				break;
-			case 3:
-				myInfoData.icon = 'static/images/my/head-img3.png'
-				break;
-			default:
-				myInfoData.icon = 'static/images/my/head-unlogin-img.png'
-				break;
-		}
+	function getUserImg() {
+    myInfoData.icon = 'static/images/my/head-img1.png'
 	}
 	}
 
 
 
 

+ 1 - 0
pages/chanpinXuanze/index.vue

@@ -133,5 +133,6 @@
 
 
 	onLoad(() => {
 	onLoad(() => {
 		uni.hideTabBar()
 		uni.hideTabBar()
+    getShuxueList()
 	})
 	})
 </script>
 </script>

+ 4 - 2
pages/chanpinneirong/chanpin1.vue

@@ -53,7 +53,7 @@
 							<view>{{ jieItem.jieName }}</view>
 							<view>{{ jieItem.jieName }}</view>
 							<view>{{ jieItem.jieIntro }}</view>
 							<view>{{ jieItem.jieIntro }}</view>
 						</view>
 						</view>
-						<view v-if="jieItem.lock" class="xx-item-lock-btn"></view>
+						<view v-if="jieItem.lock" class="xx-item-lock-btn"></view>
 						<view v-else class="xx-item-btn"></view>
 						<view v-else class="xx-item-btn"></view>
 					</ezyActiveVue>
 					</ezyActiveVue>
 				</view>
 				</view>
@@ -110,7 +110,7 @@
 				chanpinId: '',
 				chanpinId: '',
 				dengjiId: '',
 				dengjiId: '',
 				curProcess: '',
 				curProcess: '',
-				existData: true,
+				existData: false,
 				isShow: false,
 				isShow: false,
 
 
 				stickyHeight: 0, // 吸顶栏高度(px)
 				stickyHeight: 0, // 吸顶栏高度(px)
@@ -188,6 +188,8 @@
 					// this.$nextTick(() => {
 					// this.$nextTick(() => {
 					// 	this.updateTitlePositions();
 					// 	this.updateTitlePositions();
 					// });
 					// });
+				}else{
+					 this.existData = false;
 				}
 				}
 			},
 			},