xiaoe_mp_npm 1.0.30-beta → 1.0.30-beta01

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -752,6 +752,28 @@ Component({
752
752
  }
753
753
  },
754
754
  handleContact(e) {
755
+ let { aliveInfo, sensorReportParams, goodsInfo, isFullScreen, aliveSubId } = this.properties
756
+ sensorLog.sensors.track('click_butt', {
757
+ page_id: 'e_alive#mini#first#alive_room',
758
+ page_name: '直播间页面',
759
+ l_program: '鹅直播',
760
+ page_path: '鹅直播#小程序#首页#直播间页面',
761
+ page_button: "列表去查看",
762
+ client: "小程序",
763
+ goods_id: goodsInfo.id,
764
+ app_id: aliveInfo.app_id,
765
+ c_user_id: aliveInfo.user_id,
766
+ union_id: wx.getStorageSync('userInfo').universal_union_id,
767
+ current_role: sensorReportParams.current_role,
768
+ resource_id: aliveInfo.alive_id,
769
+ alive_sub_id: aliveSubId,
770
+ $url_path: `alive/${aliveInfo.alive_id}`,
771
+ type: sensorReportParams.type,
772
+ cmm1: sensorReportParams.alive_type,
773
+ cmm2: sensorReportParams.version_type,
774
+ comm2: sensorReportParams.pay_type,
775
+ cmm3: isFullScreen ? '全屏' : '非全屏'
776
+ })
755
777
  console.log("点击了去查看")
756
778
  },
757
779
  formatUrl(goodsInfo) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xiaoe_mp_npm",
3
- "version": "1.0.30-beta",
3
+ "version": "1.0.30-beta01",
4
4
  "description": "",
5
5
  "main": "miniprogram_dist/index.js",
6
6
  "scripts": {
@@ -75,4 +75,4 @@
75
75
  "miniprogram-computed": "4.2.1",
76
76
  "mp-plugins-info-collection": "1.1.2"
77
77
  }
78
- }
78
+ }
@@ -752,6 +752,28 @@ Component({
752
752
  }
753
753
  },
754
754
  handleContact(e) {
755
+ let { aliveInfo, sensorReportParams, goodsInfo, isFullScreen, aliveSubId } = this.properties
756
+ sensorLog.sensors.track('click_butt', {
757
+ page_id: 'e_alive#mini#first#alive_room',
758
+ page_name: '直播间页面',
759
+ l_program: '鹅直播',
760
+ page_path: '鹅直播#小程序#首页#直播间页面',
761
+ page_button: "列表去查看",
762
+ client: "小程序",
763
+ goods_id: goodsInfo.id,
764
+ app_id: aliveInfo.app_id,
765
+ c_user_id: aliveInfo.user_id,
766
+ union_id: wx.getStorageSync('userInfo').universal_union_id,
767
+ current_role: sensorReportParams.current_role,
768
+ resource_id: aliveInfo.alive_id,
769
+ alive_sub_id: aliveSubId,
770
+ $url_path: `alive/${aliveInfo.alive_id}`,
771
+ type: sensorReportParams.type,
772
+ cmm1: sensorReportParams.alive_type,
773
+ cmm2: sensorReportParams.version_type,
774
+ comm2: sensorReportParams.pay_type,
775
+ cmm3: isFullScreen ? '全屏' : '非全屏'
776
+ })
755
777
  console.log("点击了去查看")
756
778
  },
757
779
  formatUrl(goodsInfo) {