1 |
- System.register(["./ResizeObserver.es-legacy.42c87f31.js"],(function(e){"use strict";var t,n,r,i;return{setters:[function(e){t=e.g,n=e.bp,r=e.e,i=e.f}],execute:function(){var a=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e&&r({api:"back"});var t=i();if(t.isApp){var n=window.location.origin+location.pathname+"#/memberCenter";r({api:"openWebView",content:{url:n,orientation:1}})}else location.href=location.origin+location.pathname+"#/memberCenter"};e("h",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if("STUDENT"==t.platformType){if(!t.user.data.membershipDays&&t.user.data.purchaseMemberRecord)return n({title:"温馨提示",message:"您的团练宝暂未激活,请激活后使用"}).then((function(){a(e)})),!1;if(t.user.data.membershipDays<=0)return n({title:"温馨提示",message:"您暂未开通团练宝,请开通后使用"}).then((function(){a(e)})),!1}return!0}))}}}));
|