Commit f4518a72 by chenwq

提交

1 parent 4309ef43
...@@ -74,8 +74,6 @@ Page({ ...@@ -74,8 +74,6 @@ Page({
activityActive: idx, activityActive: idx,
// productStatus:0未申请;1申请中;2已开通;3:已结束 // productStatus:0未申请;1申请中;2已开通;3:已结束
isShowData: [2, 3].includes(+this.data.activityList[idx].productStatus) isShowData: [2, 3].includes(+this.data.activityList[idx].productStatus)
// 删----
// isShowData: true
}) })
if ([2, 3].includes(this.data.sceneActive)) { if ([2, 3].includes(this.data.sceneActive)) {
this.getCustomerDetail(false, false) this.getCustomerDetail(false, false)
...@@ -291,8 +289,6 @@ Page({ ...@@ -291,8 +289,6 @@ Page({
getActivityRevenue(isFirst = false) { getActivityRevenue(isFirst = false) {
wx.showLoading() wx.showLoading()
var params = this.dealSearchStatus() var params = this.dealSearchStatus()
// 删----
// outputApi.getActivityRevenue({ merchantId: 44211227, ...params }).then(res => {
outputApi.getActivityRevenue({ merchantId: this.data.merchantInfo.merchantId, ...params }).then(res => { outputApi.getActivityRevenue({ merchantId: this.data.merchantInfo.merchantId, ...params }).then(res => {
// console.log(this.data.sceneActivityObj, '++++++') // console.log(this.data.sceneActivityObj, '++++++')
var actList = this.data.sceneActivityObj['scene' + (isFirst ? 4 : this.data.sceneActive)] var actList = this.data.sceneActivityObj['scene' + (isFirst ? 4 : this.data.sceneActive)]
...@@ -386,6 +382,10 @@ Page({ ...@@ -386,6 +382,10 @@ Page({
}) })
}, },
beforeRouteLeave(to, from) {
console.log('跳走---', to)
},
// 分享母链 // 分享母链
async handleBtnShare(e) { async handleBtnShare(e) {
const idx = this.data.activityList[this.data.activityActive].outputData.shareBtnIdx const idx = this.data.activityList[this.data.activityActive].outputData.shareBtnIdx
......
<!-- pages/tab/output/components/client/client.wxml --> <!-- pages/tab/output/components/client/client.wxml -->
<wxs src="../../index.wxs" module="filter" />
<scroll-view class="client" scroll-y="{{true}}" refresher-enabled="{{true}}" refresher-triggered="{{triggered}}" bindscrolltolower="onReachBottom" bindrefresherrefresh="onBindRefresh" lower-threshold='50' scroll-top="{{scrollTop}}"> <scroll-view class="client" scroll-y="{{true}}" refresher-enabled="{{true}}" refresher-triggered="{{triggered}}" bindscrolltolower="onReachBottom" bindrefresherrefresh="onBindRefresh" lower-threshold='50' scroll-top="{{scrollTop}}">
<!-- <view class="test">1234567890</view> --> <!-- <view class="test">1234567890</view> -->
<view class="client-box"> <view class="client-box">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!