Browse Source

ticketId抽奖动画

DELL 3 years ago
parent
commit
25bfdeefbc
2 changed files with 1 additions and 4 deletions
  1. 1 3
      src/packagePrize/rolling/index.vue
  2. 0 1
      src/packagePrize/ticket/index.vue

+ 1 - 3
src/packagePrize/rolling/index.vue

@@ -152,6 +152,7 @@
 				this.isTry = Number(options.isTry)
 				this.orderId = options.orderId
 				this.ticketId = options.ticketId
+				this.getList()
 			}
 			// 创建动画实例
 			this.animation = uni.createAnimation()
@@ -161,9 +162,6 @@
 			this.statusHeight = res.top //胶囊距离顶部
 			// #endif
 			
-			if(this.boxId) {
-				this.getList()
-			}
 		},
 
 		onUnload() {

+ 0 - 1
src/packagePrize/ticket/index.vue

@@ -112,7 +112,6 @@
 			},
 
 			toChoice(item) {
-				console.log(item);
 				let type = item.type && JSON.parse(item.type).value
 				
 				if(type == 'offline') {