|
@@ -288,19 +288,13 @@ var favorite = new Vue({
|
|
|
params['source'] = _this.urlSource || ''
|
|
|
}
|
|
|
console.info('params', params)
|
|
|
- if (window.leaveSourceVue && window.leaveSourceVue.PCLeaveDialog && window.leaveSourceVue.PCLeaveDialog.props) {
|
|
|
- window.leaveSourceVue.PCLeaveDialog.props.type = '2';
|
|
|
- }
|
|
|
-
|
|
|
- if (window.leaveSourceVue && window.leaveSourceVue.PCContentCard && window.leaveSourceVue.PCContentCard.data &&
|
|
|
- window.leaveSourceVue.PCContentCard.data.confirmPhoneDialog && window.leaveSourceVue.PCContentCard.data.confirmPhoneDialog.props) {
|
|
|
- window.leaveSourceVue.PCContentCard.data.confirmPhoneDialog.props.type = '2';
|
|
|
- }
|
|
|
window.leaveSourceVue.doLeave({
|
|
|
source: _this.urlSource || 'pc_ServiceList_experience',
|
|
|
clueText: '新用户留资',
|
|
|
platform: 'pc',
|
|
|
props: {
|
|
|
+ type: '2',
|
|
|
+ setClass: 'newUserSale',
|
|
|
onPopupVisibleChange: function (visible) {
|
|
|
if (!visible) {
|
|
|
$.ajax({
|
|
@@ -321,7 +315,7 @@ var favorite = new Vue({
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
- }
|
|
|
+ },
|
|
|
}
|
|
|
})
|
|
|
},
|