fs-alipay-ad-component 0.1.5 → 0.1.7
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.
- package/README.md +2 -0
- package/es/config/index.js +1 -1
- package/es/index/index.js +1 -1
- package/package.json +1 -1
- package/CHANGELOG.md +0 -32
package/README.md
CHANGED
|
@@ -35,6 +35,7 @@ npm install fs-alipay-ad-component --save
|
|
|
35
35
|
ref="fsAd"
|
|
36
36
|
flowMasterId="xxx"
|
|
37
37
|
openId="xxx"
|
|
38
|
+
merchantNo="xxx"
|
|
38
39
|
onAdInfoReady="handleOpenAd"
|
|
39
40
|
/>
|
|
40
41
|
```
|
|
@@ -73,6 +74,7 @@ Page({
|
|
|
73
74
|
| 变量 | 类型 | 必填 | 说明 |
|
|
74
75
|
|:----|:----:|:----:|:----|
|
|
75
76
|
| openId | String | 是 | 用户 openId |
|
|
77
|
+
| merchantNo | String | 否 | 流量主侧商户号,默认为空字符串 |
|
|
76
78
|
| flowMasterId | String | 是 | 流量位标识, 运营提供的字段 |
|
|
77
79
|
|
|
78
80
|
### 四.事件
|
package/es/config/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(s){for(var t,e=1,o=arguments.length;e<o;e++)for(var _ in t=arguments[e])Object.prototype.hasOwnProperty.call(t,_)&&(s[_]=t[_]);return s},__assign.apply(this,arguments)};function getEnv(){var s="prod",t="0.1.
|
|
1
|
+
"use strict";var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(s){for(var t,e=1,o=arguments.length;e<o;e++)for(var _ in t=arguments[e])Object.prototype.hasOwnProperty.call(t,_)&&(s[_]=t[_]);return s},__assign.apply(this,arguments)};function getEnv(){var s="prod",t="0.1.7",e="fs-alipay-ad-component-".concat(s);return __assign(__assign({},{test:{ALI_LOG_PROJECT_NAME:"fshows-ecs-pro",ALI_LOG_SEEDS_STORE:"web-ad-consumer-log",REQUEST_URL:"http://advertising-test.adcomeon.com/api"},beta:{XCXVERSION:t,ALI_LOG_PROJECT_NAME:"fshows-ecs-pro",ALI_LOG_SEEDS_STORE:"web-ad-consumer-log",REQUEST_URL:"https://advertising-beta.adcomeon.com/api"},prod:{ALI_LOG_PROJECT_NAME:"fshows-ecs-pro",ALI_LOG_SEEDS_STORE:"web-ad-consumer-log",REQUEST_URL:"https://advertising.adcomeon.com/api"}}[s]),{XCXVERSION:t,APP_ID:e,ENVIRONMENT_TYPE:s})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.MOCK_URL=exports.OSS_URL=void 0,exports.OSS_URL="https://fs-ad-web-resources.oss-cn-hangzhou.aliyuncs.com/mina",exports.MOCK_URL="http://127.0.0.1:4523/mock/1080865/",exports.default=getEnv;
|
package/es/index/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var _a,__assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var a,n=1,e=arguments.length;n<e;n++)for(var o in a=arguments[n])Object.prototype.hasOwnProperty.call(a,o)&&(t[o]=a[o]);return t},__assign.apply(this,arguments)},__importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0});var constant_1=require("../utils/constant"),utils_1=require("../utils/utils"),aliApi_1=require("../utils/aliApi"),slsTracker_1=__importDefault(require("../utils/slsTracker")),api_1=require("../api/generator/api"),CUSTOM_PAY_SUCCESS_BG={color:1,bgImage:2,horizontal:3},PAY_BUTTON_CLASS_NAME=((_a={})[CUSTOM_PAY_SUCCESS_BG.color]="no-bg-modal",_a[CUSTOM_PAY_SUCCESS_BG.bgImage]="has-bg-modal",_a[CUSTOM_PAY_SUCCESS_BG.horizontal]="horizontal-modal",_a);Component({data:{PAY_BUTTON_CLASS_NAME:PAY_BUTTON_CLASS_NAME,AD_TYPE_ID:constant_1.AD_TYPE_ID,innerOrderId:"",showAdDom:!1,adInfo:{},adPreconditionInfo:constant_1.DEFAULT_PRE_INFO,showPayed:!1,showConfirm:!1,customPaySuccess:{show:!1,btnText:"确定",btnBgColor:"",btnTextColor:"",titleText:"",hasCancel:!1,btnHot:!0,originalWindow:!1}},props:{orderId:"",openId:"",flowMasterId:"",clientSession:"",fubeiUser:{},minaVersion:"",isMulti:!1,triggerShow:!1,onAdInfoReady:function(){}},didMount:function(){var t=this.props,a=t.openId,n=t.flowMasterId;a&&n?(this.initData(),slsTracker_1.default.trackerEvent("支付宝广告组件加载",constant_1.TRACKER.attached),this.getAdData()):(0,aliApi_1.aliShowToast)("缺少必传参数")},didUpdate:function(t){this.props.triggerShow&&this.props.triggerShow!==t.triggerShow&&this.showAd()},methods:{initData:function(){var t=this.props,a=t.openId,n=t.flowMasterId,e=t.orderId,o=t.clientSession,i=t.minaVersion;this.setData({innerOrderId:e||(0,utils_1.getRandomString)()}),my._AgentData={flowMasterId:n,openId:a,minaVersion:i,orderId:this.data.innerOrderId,clientSession:o||(0,utils_1.getRandomString)()}},getPaySuccessConfig:function(t){return{btnText:t.btnText||"确定",btnTextColor:t.btnTextColor||"#fff",titleText:t.titleText||"您即将进入新的页面查看优惠",payText:t.payText||"支付成功",payTextColor:t.payTextColor||"#333",payTextFontSize:t.payTextFontSize||"18",titleTextColor:t.titleTextColor||"#999",titleTextFontSize:t.titleTextFontSize||"18",btnTextFontSize:t.btnTextFontSize||"18",cancelText:t.cancelText,cancelTextColor:t.cancelTextColor||"#ccc",cancelTextFontSize:t.cancelTextFontSize||"10",modalHeight:t.modalHeight||"200",modalWidth:t.modalWidth||"260",cancelMinWidth:t.cancelMinWidth||"20",cancelFontWeight:t.cancelFontWeight||"600",cancelAllowClick:t.cancelAllowClick||"auto",modalBgColor:t.modalBgColor||"rgba(0,0,0,.5)",modalYPosition:t.modalYPosition||"0",btnHot:t.btnHot,payModalBgColor:t.payModalBgColor||"#fff",modalTips:t.modalTips,modalTipsColor:t.modalTipsColor||"#fff",modalTipsFontSize:t.modalTipsFontSize||"10",modalTipsBgColor:t.modalTipsBgColor||"#d9d9d9",showCloseIcon:t.showCloseIcon,bgScheme:t.bgScheme,hasCancel:t.hasCancel,btnBgColor:t.btnBgColor||"#f04144"}},getAdData:function(){var t=this;this.getAdPrecondition().then(function(){t.getAdInfo()}).catch(function(){t.getAdInfo()})},getAdPrecondition:function(){var t=this,a={};return a.orderId=this.data.innerOrderId,this.props.fubeiUser.merchantId&&(a.merchantId=this.props.fubeiUser.merchantId),this.props.fubeiUser.storeId&&(a.storeId=this.props.fubeiUser.storeId),api_1.DefaultApiFetch.adClientGetAdPreconditionPost(a).then(function(a){t.setData({adPreconditionInfo:a})})},getAdInfo:function(){var t=this,a=this.data,n=a.adPreconditionInfo,e=n.agent,o=n.area,i=n.industry,s=n.mobile,r=a.innerOrderId,c=this.props,d=c.flowMasterId,l=c.openId;return api_1.DefaultApiFetch.adClientGetAdInfoPost({openId:l,flowMasterId:d,agent:e,area:o,industry:i,mobile:s,orderId:r,mediaId:constant_1.MEDIA_ID.alipayMina}).then(function(a){if(a){var n=a.isShowDialog;t.setData({adInfo:a,showConfirm:n===constant_1.SHOW_DIALOG.show}),t.props.onAdInfoReady(),slsTracker_1.default.trackerEvent("支付宝广告获取成功",constant_1.TRACKER.getSuccess),t.props.isMulti&&t.showAd()}})},showAd:function(){this.setData({showAdDom:!0,showPayed:this.data.showConfirm,customPaySuccess:__assign({},this.getPaySuccessConfig(this.data.adInfo.creativeList[0]))}),this.data.showConfirm||this.handleShowAd(),this.handleExposureDataReport()},openAd:function(){this.handleShowAd()},handleShowAd:function(){this.setData({showPayed:!1});var t=this.data.adInfo.typeId;t===constant_1.AD_TYPE_ID.minaAd&&this.callAlipay(),t===constant_1.AD_TYPE_ID.H5Link&&this.navigateToH5(),this.data.showConfirm&&this.handleExposureDataReport(constant_1.ACTION_TYPE.click)},navigateToH5:function(){var t=this,a=this.data.adInfo.creativeList[0].url,n=encodeURIComponent("alipays://platformapi/startapp?appId=20000067&url=".concat(encodeURIComponent(a)));my.ap.navigateToAlipayPage({path:encodeURIComponent("https://render.alipay.com/p/s/i/?scheme=".concat(n)),success:function(){slsTracker_1.default.trackerEvent("支付宝H5直跳广告-跳转H5成功",constant_1.TRACKER[constant_1.AD_TYPE_ID.H5Link].linkH5Success),t.handleExposureDataReport(constant_1.ACTION_TYPE.realExposure)},fail:function(t){slsTracker_1.default.trackerEvent("支付宝H5直跳广告-跳转H5失败",constant_1.TRACKER[constant_1.AD_TYPE_ID.H5Link].linkH5Failed)}})},callAlipay:function(){var t=this,a=this.data.adInfo.creativeList[0],n=a.appid,e=a.pagePath,o=a.queryObj,i=a.appletJumpType;i===constant_1.MINA_JUMP_TYPE.openEmbeddedMiniProgram?(0,aliApi_1.aliOpenEmbeddedMiniProgram)({appId:n,path:e,query:o&&JSON.parse(o),appletJumpType:i}).then(function(){t.handleExposureDataReport(constant_1.ACTION_TYPE.realExposure),slsTracker_1.default.trackerEvent("支付宝半屏小程序广告-跳转小程序成功",constant_1.TRACKER[constant_1.AD_TYPE_ID.minaAd].linkMiniprogramSuccess)}).catch(function(){slsTracker_1.default.trackerEvent("支付宝半屏小程序广告-跳转小程序失败",constant_1.TRACKER[constant_1.AD_TYPE_ID.minaAd].linkMiniprogramFailed)}):(0,aliApi_1.aliNavigateToMiniProgram)({appId:n,path:e,query:o&&JSON.parse(o)}).then(function(){t.handleExposureDataReport(constant_1.ACTION_TYPE.realExposure),slsTracker_1.default.trackerEvent("支付宝小程序广告-跳转小程序成功",constant_1.TRACKER[constant_1.AD_TYPE_ID.minaAd].linkMiniprogramSuccess)}).catch(function(){slsTracker_1.default.trackerEvent("支付宝小程序广告-跳转小程序失败",constant_1.TRACKER[constant_1.AD_TYPE_ID.minaAd].linkMiniprogramFailed)})},handleExposureDataReport:function(t){void 0===t&&(t=constant_1.ACTION_TYPE.exposure);var a=this.data.adInfo,n=this.props.openId,e=this.data.adPreconditionInfo,o=e.agent,i=e.area,s=e.industry,r=e.mobile;api_1.DefaultApiFetch.adClientDataReportPost({openId:n,actionType:t,baseData:a,areaData:i,mobileData:r,agentData:o,industryData:s}).then(function(){t===constant_1.ACTION_TYPE.exposure&&slsTracker_1.default.trackerEvent("支付宝广告曝光",constant_1.TRACKER.exposure)})},onClickModal:function(){this.data.customPaySuccess.btnHot&&this.handleCustomPaySuccessConfirm()},handleCustomPaySuccessConfirm:function(){console.log("handleCustomPaySuccessConfirm",this.data.adInfo);var t=this.data.adInfo.creativeList[0],a=t.btnBgColor,n=t.colorPlanType,e=this.data.adInfo.typeId;slsTracker_1.default.trackerEvent("".concat(constant_1.AD_TYPE_ID_DEC[e],"-支付成功弹窗确定按钮点击"),constant_1.TRACKER[e].alipay_modal_click),slsTracker_1.default.trackerEvent("".concat(constant_1.AD_TYPE_ID_DEC[e],"-支付成功弹窗确定按钮点击-").concat(a),"alipay_ad_minaAd_modal_click_".concat(a)),slsTracker_1.default.trackerEvent("支付成功-广告计划类型-".concat(n),"alipay_ad_minaAd_modal_click_".concat(n)),this.handleShowAd()},handleCustomPaySuccessCancel:function(){var t=this.data.adInfo.typeId,a=this.data.adInfo.creativeList[0],n=a.btnBgColor,e=a.colorPlanType;slsTracker_1.default.trackerEvent("".concat(constant_1.AD_TYPE_ID_DEC[t],"-支付成功弹窗取消按钮点击"),constant_1.TRACKER[t].alipay_modal_cancel),slsTracker_1.default.trackerEvent("".concat(constant_1.AD_TYPE_ID_DEC[t],"-支付成功弹窗取消按钮点击-").concat(n),"alipay_ad_minaAd_modal_cancel_".concat(n)),slsTracker_1.default.trackerEvent("支付成功广告计划类型-".concat(e),"alipay_ad_minaAd_modal_cancel_".concat(e)),this.setData({showPayed:!1})}}});
|
|
1
|
+
"use strict";var _a,__assign=this&&this.__assign||function(){return __assign=Object.assign||function(t){for(var a,n=1,e=arguments.length;n<e;n++)for(var o in a=arguments[n])Object.prototype.hasOwnProperty.call(a,o)&&(t[o]=a[o]);return t},__assign.apply(this,arguments)},__importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0});var constant_1=require("../utils/constant"),utils_1=require("../utils/utils"),aliApi_1=require("../utils/aliApi"),slsTracker_1=__importDefault(require("../utils/slsTracker")),api_1=require("../api/generator/api"),CUSTOM_PAY_SUCCESS_BG={color:1,bgImage:2,horizontal:3},PAY_BUTTON_CLASS_NAME=((_a={})[CUSTOM_PAY_SUCCESS_BG.color]="no-bg-modal",_a[CUSTOM_PAY_SUCCESS_BG.bgImage]="has-bg-modal",_a[CUSTOM_PAY_SUCCESS_BG.horizontal]="horizontal-modal",_a);Component({data:{PAY_BUTTON_CLASS_NAME:PAY_BUTTON_CLASS_NAME,AD_TYPE_ID:constant_1.AD_TYPE_ID,innerOrderId:"",showAdDom:!1,adInfo:{},adPreconditionInfo:constant_1.DEFAULT_PRE_INFO,showPayed:!1,showConfirm:!1,customPaySuccess:{show:!1,btnText:"确定",btnBgColor:"",btnTextColor:"",titleText:"",hasCancel:!1,btnHot:!0,originalWindow:!1}},props:{orderId:"",openId:"",merchantNo:"",flowMasterId:"",clientSession:"",fubeiUser:{},minaVersion:"",isMulti:!1,triggerShow:!1,onAdInfoReady:function(){}},didMount:function(){var t=this.props,a=t.openId,n=t.flowMasterId;a&&n?(this.initData(),slsTracker_1.default.trackerEvent("支付宝广告组件加载",constant_1.TRACKER.attached),this.getAdData()):(0,aliApi_1.aliShowToast)("缺少必传参数")},didUpdate:function(t){this.props.triggerShow&&this.props.triggerShow!==t.triggerShow&&this.showAd()},methods:{initData:function(){var t=this.props,a=t.openId,n=t.flowMasterId,e=t.orderId,o=t.clientSession,i=t.minaVersion;this.setData({innerOrderId:e||(0,utils_1.getRandomString)()}),my._AgentData={flowMasterId:n,openId:a,minaVersion:i,orderId:this.data.innerOrderId,clientSession:o||(0,utils_1.getRandomString)()}},getPaySuccessConfig:function(t){return{btnText:t.btnText||"确定",btnTextColor:t.btnTextColor||"#fff",titleText:t.titleText||"您即将进入新的页面查看优惠",payText:t.payText||"支付成功",payTextColor:t.payTextColor||"#333",payTextFontSize:t.payTextFontSize||"18",titleTextColor:t.titleTextColor||"#999",titleTextFontSize:t.titleTextFontSize||"18",btnTextFontSize:t.btnTextFontSize||"18",cancelText:t.cancelText,cancelTextColor:t.cancelTextColor||"#ccc",cancelTextFontSize:t.cancelTextFontSize||"10",modalHeight:t.modalHeight||"200",modalWidth:t.modalWidth||"260",cancelMinWidth:t.cancelMinWidth||"20",cancelFontWeight:t.cancelFontWeight||"600",cancelAllowClick:t.cancelAllowClick||"auto",modalBgColor:t.modalBgColor||"rgba(0,0,0,.5)",modalYPosition:t.modalYPosition||"0",btnHot:t.btnHot,payModalBgColor:t.payModalBgColor||"#fff",modalTips:t.modalTips,modalTipsColor:t.modalTipsColor||"#fff",modalTipsFontSize:t.modalTipsFontSize||"10",modalTipsBgColor:t.modalTipsBgColor||"#d9d9d9",showCloseIcon:t.showCloseIcon,bgScheme:t.bgScheme,hasCancel:t.hasCancel,btnBgColor:t.btnBgColor||"#f04144"}},getAdData:function(){var t=this;this.getAdPrecondition().then(function(){t.getAdInfo()}).catch(function(){t.getAdInfo()})},getAdPrecondition:function(){var t=this,a={};return a.orderId=this.data.innerOrderId,this.props.fubeiUser.merchantId&&(a.merchantId=this.props.fubeiUser.merchantId),this.props.fubeiUser.storeId&&(a.storeId=this.props.fubeiUser.storeId),api_1.DefaultApiFetch.adClientGetAdPreconditionPost(a).then(function(a){t.setData({adPreconditionInfo:a})})},getAdInfo:function(){var t=this,a=this.data,n=a.adPreconditionInfo,e=n.agent,o=n.area,i=n.industry,s=n.mobile,r=a.innerOrderId,c=this.props,d=c.flowMasterId,l=c.openId,_=c.merchantNo;return api_1.DefaultApiFetch.adClientGetAdInfoPost({openId:l,flowMasterId:d,merchantNo:_,agent:e,area:o,industry:i,mobile:s,orderId:r,mediaId:constant_1.MEDIA_ID.alipayMina}).then(function(a){if(a){var n=a.isShowDialog;t.setData({adInfo:a,showConfirm:n===constant_1.SHOW_DIALOG.show}),t.props.onAdInfoReady(),slsTracker_1.default.trackerEvent("支付宝广告获取成功",constant_1.TRACKER.getSuccess),t.props.isMulti&&t.showAd()}})},showAd:function(){this.setData({showAdDom:!0,showPayed:this.data.showConfirm,customPaySuccess:__assign({},this.getPaySuccessConfig(this.data.adInfo.creativeList[0]))}),this.data.showConfirm||this.handleShowAd(),this.handleExposureDataReport()},openAd:function(){this.handleShowAd()},handleShowAd:function(){this.setData({showPayed:!1});var t=this.data.adInfo.typeId;t===constant_1.AD_TYPE_ID.minaAd&&this.callAlipay(),t===constant_1.AD_TYPE_ID.H5Link&&this.navigateToH5(),this.data.showConfirm&&this.handleExposureDataReport(constant_1.ACTION_TYPE.click)},navigateToH5:function(){var t=this,a=this.data.adInfo.creativeList[0].url,n=encodeURIComponent("alipays://platformapi/startapp?appId=20000067&url=".concat(encodeURIComponent(a)));my.ap.navigateToAlipayPage({path:encodeURIComponent("https://render.alipay.com/p/s/i/?scheme=".concat(n)),success:function(){slsTracker_1.default.trackerEvent("支付宝H5直跳广告-跳转H5成功",constant_1.TRACKER[constant_1.AD_TYPE_ID.H5Link].linkH5Success),t.handleExposureDataReport(constant_1.ACTION_TYPE.realExposure)},fail:function(t){slsTracker_1.default.trackerEvent("支付宝H5直跳广告-跳转H5失败",constant_1.TRACKER[constant_1.AD_TYPE_ID.H5Link].linkH5Failed)}})},callAlipay:function(){var t=this,a=this.data.adInfo.creativeList[0],n=a.appid,e=a.pagePath,o=a.queryObj,i=a.appletJumpType;i===constant_1.MINA_JUMP_TYPE.openEmbeddedMiniProgram?(0,aliApi_1.aliOpenEmbeddedMiniProgram)({appId:n,path:e,query:o&&JSON.parse(o),appletJumpType:i}).then(function(){t.handleExposureDataReport(constant_1.ACTION_TYPE.realExposure),slsTracker_1.default.trackerEvent("支付宝半屏小程序广告-跳转小程序成功",constant_1.TRACKER[constant_1.AD_TYPE_ID.minaAd].linkMiniprogramSuccess)}).catch(function(){slsTracker_1.default.trackerEvent("支付宝半屏小程序广告-跳转小程序失败",constant_1.TRACKER[constant_1.AD_TYPE_ID.minaAd].linkMiniprogramFailed)}):(0,aliApi_1.aliNavigateToMiniProgram)({appId:n,path:e,query:o&&JSON.parse(o)}).then(function(){t.handleExposureDataReport(constant_1.ACTION_TYPE.realExposure),slsTracker_1.default.trackerEvent("支付宝小程序广告-跳转小程序成功",constant_1.TRACKER[constant_1.AD_TYPE_ID.minaAd].linkMiniprogramSuccess)}).catch(function(){slsTracker_1.default.trackerEvent("支付宝小程序广告-跳转小程序失败",constant_1.TRACKER[constant_1.AD_TYPE_ID.minaAd].linkMiniprogramFailed)})},handleExposureDataReport:function(t){void 0===t&&(t=constant_1.ACTION_TYPE.exposure);var a=this.data.adInfo,n=this.props.openId,e=this.data.adPreconditionInfo,o=e.agent,i=e.area,s=e.industry,r=e.mobile;api_1.DefaultApiFetch.adClientDataReportPost({openId:n,actionType:t,baseData:a,areaData:i,mobileData:r,agentData:o,industryData:s}).then(function(){t===constant_1.ACTION_TYPE.exposure&&slsTracker_1.default.trackerEvent("支付宝广告曝光",constant_1.TRACKER.exposure)})},onClickModal:function(){this.data.customPaySuccess.btnHot&&this.handleCustomPaySuccessConfirm()},handleCustomPaySuccessConfirm:function(){console.log("handleCustomPaySuccessConfirm",this.data.adInfo);var t=this.data.adInfo.creativeList[0],a=t.btnBgColor,n=t.colorPlanType,e=this.data.adInfo.typeId;slsTracker_1.default.trackerEvent("".concat(constant_1.AD_TYPE_ID_DEC[e],"-支付成功弹窗确定按钮点击"),constant_1.TRACKER[e].alipay_modal_click),slsTracker_1.default.trackerEvent("".concat(constant_1.AD_TYPE_ID_DEC[e],"-支付成功弹窗确定按钮点击-").concat(a),"alipay_ad_minaAd_modal_click_".concat(a)),slsTracker_1.default.trackerEvent("支付成功-广告计划类型-".concat(n),"alipay_ad_minaAd_modal_click_".concat(n)),this.handleShowAd()},handleCustomPaySuccessCancel:function(){var t=this.data.adInfo.typeId,a=this.data.adInfo.creativeList[0],n=a.btnBgColor,e=a.colorPlanType;slsTracker_1.default.trackerEvent("".concat(constant_1.AD_TYPE_ID_DEC[t],"-支付成功弹窗取消按钮点击"),constant_1.TRACKER[t].alipay_modal_cancel),slsTracker_1.default.trackerEvent("".concat(constant_1.AD_TYPE_ID_DEC[t],"-支付成功弹窗取消按钮点击-").concat(n),"alipay_ad_minaAd_modal_cancel_".concat(n)),slsTracker_1.default.trackerEvent("支付成功广告计划类型-".concat(e),"alipay_ad_minaAd_modal_cancel_".concat(e)),this.setData({showPayed:!1})}}});
|
package/package.json
CHANGED
package/CHANGELOG.md
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
## 0.1.2
|
|
2
|
-
* **Feature**:
|
|
3
|
-
* 是否展示弹窗改为广告计划中配置
|
|
4
|
-
|
|
5
|
-
## 0.1.1
|
|
6
|
-
* **Feature**:
|
|
7
|
-
* 修复空标签问题
|
|
8
|
-
|
|
9
|
-
## 0.1.0
|
|
10
|
-
* **Feature**:
|
|
11
|
-
* 新增跳转半屏小程序
|
|
12
|
-
|
|
13
|
-
## 0.0.9
|
|
14
|
-
* **Feature**:
|
|
15
|
-
* 新增埋点
|
|
16
|
-
|
|
17
|
-
## 0.0.8
|
|
18
|
-
* **Feature**:
|
|
19
|
-
* 新增参数showConfirm,传true的话展示支付成功弹窗
|
|
20
|
-
|
|
21
|
-
## 0.0.5
|
|
22
|
-
* **Feature**:
|
|
23
|
-
* 真实曝光优化
|
|
24
|
-
## 0.0.4
|
|
25
|
-
* **Feature**:
|
|
26
|
-
* 日志优化
|
|
27
|
-
## 0.0.3
|
|
28
|
-
* **Feature**:
|
|
29
|
-
* 支持支付宝小程序跳转H5广告
|
|
30
|
-
## 0.0.1
|
|
31
|
-
* **Feature**:
|
|
32
|
-
* 初版本
|