wangguoyu 4 mēneši atpakaļ
vecāks
revīzija
3d388db443
1 mainītis faili ar 12 papildinājumiem un 13 dzēšanām
  1. 12 13
      pages/study/lookShipin.vue

+ 12 - 13
pages/study/lookShipin.vue

@@ -104,18 +104,6 @@
 				this.init(options)
 			}
 		},
-		productTipFun() {
-			switch (Number(cacheManager.get('auth').cardId)) {
-				case 1:
-					return 'static/images/study/shuxue/study-wrap-bj.png'
-					break;
-				case 2:
-					return 'static/images/study/yingyu/test-item-active.png'
-					break;
-				default:
-					break;
-			}
-		}
 		onHide() {
 			console.log('onHideonHideonHideonHide');
 			this.hideFlag = 'hide'
@@ -125,7 +113,18 @@
 			this.hideFlag = 'hide'
 		},
 		methods: {
-
+			productTipFun() {
+				switch (Number(cacheManager.get('auth').cardId)) {
+					case 1:
+						return 'static/images/study/shuxue/study-wrap-bj.png'
+						break;
+					case 2:
+						return 'static/images/study/yingyu/test-item-active.png'
+						break;
+					default:
+						break;
+				}
+			},
 			init(options) {
 				this.jieId = options.jieId
 				if (!(cacheManager.get('zhangInfo') && options.jieId)) {