|
@@ -273,6 +273,9 @@ $(function() {
|
|
|
var _this = this
|
|
|
$('.experience-button').on('click', function() {
|
|
|
var source = $(this).attr('data-source')
|
|
|
+ if (!loginflag) {
|
|
|
+ return $('.login-register-button').trigger('click')
|
|
|
+ }
|
|
|
if (_this.checkHasPower()) {
|
|
|
_this.redirectToPage()
|
|
|
} else {
|
|
@@ -280,6 +283,9 @@ $(function() {
|
|
|
}
|
|
|
})
|
|
|
$('.phone-submit-button').on('click', function() {
|
|
|
+ if (!loginflag) {
|
|
|
+ return $('.login-register-button').trigger('click')
|
|
|
+ }
|
|
|
var source = _this.data.bottomBannerModule.source
|
|
|
var phone = $('.phone-submit-input').val()
|
|
|
simpleLeaveSource.noLoginLeaveInfo(source, phone + '', {
|