|
@@ -14,7 +14,6 @@ var subNode = new Vue({
|
|
|
resultview: '/front/vipsubscribe/toVIPViewPage',
|
|
|
pushsetting: '/front/setting/push_detail?header=超级订阅推送设置&type=super_subscribe',
|
|
|
freepush: '/front/setting/push_detail?header=订阅&type=free_subscribe',
|
|
|
- pushLink: ''
|
|
|
},
|
|
|
initData: {},
|
|
|
userAreaNum: 1, // 用户修改地区剩余次数
|
|
@@ -35,12 +34,6 @@ var subNode = new Vue({
|
|
|
})
|
|
|
},
|
|
|
methods: {
|
|
|
- getPushLink: function () {
|
|
|
- if (this.vSwitch === 'f') {
|
|
|
- return this.linkObj.freepush
|
|
|
- }
|
|
|
- return this.linkObj.pushsetting
|
|
|
- },
|
|
|
superOrderTemplateMounted () {
|
|
|
$('#pushResultPreview').attr('data-cl-event', 'c_wx_preview_buttonclick')
|
|
|
},
|
|
@@ -86,14 +79,13 @@ var subNode = new Vue({
|
|
|
success: function(res) {
|
|
|
if (res.data.vt !== 'v' ) {
|
|
|
_this.vSwitch = 'f'
|
|
|
- _this.linkObj.pushLink = _this.getPushLink()
|
|
|
+ _this.linkObj.pushsetting = _this.linkObj.freepush
|
|
|
document.title = '订阅管理-免费订阅'
|
|
|
$('.update_renew').hide()
|
|
|
$('.super-title').text('订阅管理-免费订阅');
|
|
|
$('.super-title').css('background', 'none')
|
|
|
} else {
|
|
|
_this.vSwitch = 'v'
|
|
|
- _this.linkObj.pushLink = _this.getPushLink()
|
|
|
document.title = '订阅管理-超级订阅'
|
|
|
$('.update_renew').show()
|
|
|
$('.super-title').show();
|