|
|
@@ -234,8 +234,21 @@
|
|
|
<span id="coachmask03"><em></em></span>
|
|
|
</div>
|
|
|
</aside>
|
|
|
+
|
|
|
+ <aside class="adApp" id="adHide" style="display:none;">
|
|
|
+ <div class="adWrap">
|
|
|
+ <div class="cont">
|
|
|
+ <button data-role="appLink" tabindex="0"><img src="/images/mo/goApp.png" onclick="uifn_goApp();"></button>
|
|
|
+ <button class="viewWeb" data-role="adClose" tabindex="0"><a href="javascript:uifn_cls();">웹으로 볼게요</a></button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </aside>
|
|
|
<script th:inline="javascript">
|
|
|
/*<![CDATA[*/
|
|
|
+ function uifn_cls(){
|
|
|
+ $("#adHide").hide();
|
|
|
+ }
|
|
|
+
|
|
|
function menu() {
|
|
|
$("#menuFull").addClass('on');
|
|
|
return false;
|
|
|
@@ -559,8 +572,33 @@
|
|
|
}
|
|
|
});
|
|
|
|
|
|
+ // 공유하기 기능 추가
|
|
|
+ shareUrl = gagajf.getCookie('st24ck_share_url');
|
|
|
+ gagajf.setCookie('st24ck_share_url', '', 1);
|
|
|
+ if (!gagajf.isNull(shareUrl) && _frontGb === 'M') {
|
|
|
+ $("#adHide").show();
|
|
|
+ }
|
|
|
});
|
|
|
|
|
|
+ var shareUrl;
|
|
|
+ var uifn_goApp = function(){
|
|
|
+ var aosUrl = 'intent://style24://share?targetUrl=';
|
|
|
+ var iosUrl = 'style24://share?targetUrl=';
|
|
|
+ if (_osType === 'A') {
|
|
|
+ setTimeout(function () {
|
|
|
+ cfnGoToPage(_PAGE_MAIN);
|
|
|
+ }, 1500);
|
|
|
+ aosUrl += shareUrl + '#Intent;package=com.istyle24.commerce;scheme=style24;end';
|
|
|
+ location.href = aosUrl;
|
|
|
+ } else if (_osType === 'I') {
|
|
|
+ iosUrl += shareUrl;
|
|
|
+ setTimeout(function () {
|
|
|
+ window.open('https://apps.apple.com/kr/app/id627774402?mt=8');
|
|
|
+ }, 1500);
|
|
|
+ location.href = iosUrl;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
// 앱 최초기동시 -> 접근권한 안내
|
|
|
var agreeMarketingPush = function () {
|
|
|
$('#accHide').show();
|