/** * Created by liuchuanyang on 2016/11/24. */ var $ = require('yoho-jquery'); document.domain = 'yohobuy.com'; $(function() { var type = $('#type').val(); var result = $('#bindResult').val(); var message = $('#bindResultMessage').val(); window.opener && window.opener.bindTip && window.opener.bindTip(result, type, message); window.close(); });