@@ -480,7 +480,7 @@ | |||||
onLoad(options) { | onLoad(options) { | ||||
this.customerId = options.customerId; | this.customerId = options.customerId; | ||||
this.addLookingCount(options.customerId) | |||||
this.$zaudio.autoPlay = true | this.$zaudio.autoPlay = true | ||||
//注意: 不同的回调方法, 相同的业务函数方法名, 不会相互影响; | //注意: 不同的回调方法, 相同的业务函数方法名, 不会相互影响; | ||||
this.$zaudio.on('stop', this.ACTION, () => { | this.$zaudio.on('stop', this.ACTION, () => { | ||||
@@ -333,6 +333,7 @@ | |||||
onLoad(option) { | onLoad(option) { | ||||
this.status = option.status; | this.status = option.status; | ||||
this.customerId = option.customerId; | this.customerId = option.customerId; | ||||
this.addLookingCount(option.customerId) | |||||
this.stateisshow = option.stateisshow; | this.stateisshow = option.stateisshow; | ||||
this.itemobj = uni.getStorageSync('searchobj'); | this.itemobj = uni.getStorageSync('searchobj'); | ||||
if (option.isMerge) this.isMerge = option.isMerge | if (option.isMerge) this.isMerge = option.isMerge | ||||
@@ -293,6 +293,7 @@ | |||||
this.itemobj = uni.getStorageSync('searchobj'); | this.itemobj = uni.getStorageSync('searchobj'); | ||||
this.stateisshow = options.stateisshow; | this.stateisshow = options.stateisshow; | ||||
this.addLookingCount(options.customerId) | |||||
this.$zaudio.autoPlay = true | this.$zaudio.autoPlay = true | ||||
//注意: 不同的回调方法, 相同的业务函数方法名, 不会相互影响; | //注意: 不同的回调方法, 相同的业务函数方法名, 不会相互影响; | ||||
@@ -784,7 +784,7 @@ | |||||
this.itemobj = uni.getStorageSync('searchobj'); | this.itemobj = uni.getStorageSync('searchobj'); | ||||
this.stateisshow = options.stateisshow; | this.stateisshow = options.stateisshow; | ||||
this.wordFraction = options.wordFraction == 'undefined' ? 0 : options.wordFraction; | this.wordFraction = options.wordFraction == 'undefined' ? 0 : options.wordFraction; | ||||
this.addLookingCount(options.customerId) | |||||
this.visitParams.id = options.customerId; | this.visitParams.id = options.customerId; | ||||
this.$zaudio.autoPlay = true | this.$zaudio.autoPlay = true | ||||
if (options.refresh) this.refresh = options.refresh | if (options.refresh) this.refresh = options.refresh | ||||