=========================================人才网

<!--app底部浮动广告-->
<style>
footer {
padding-bottom: 80px;
}

.go-to-top {
bottom: 86px;
}

.lotteryBox {
width: 100%;
height: 72px;
margin: 0 auto;
color: #fff;
font-family: "Microsoft YaHei", SimHei;
z-index: 99999;
position: fixed;
bottom: 0;
}

.lotteryBox .lotteryContent {
width: 100%;
height: 72px;
position: relative;
}

.lotteryBox .bg {
width: 100%;
height: 72px;
background: #000;
filter: alpha(Opacity=60);
-moz-opacity: 0.6;
opacity: 0.6;
position: absolute;
top: 0;
left: 0;
}

.lotteryBox #lottery {
width: 100%;
height: 72px;
position: absolute;
top: 0;
left: 0;
}

.lotteryBox #lottery .lotteryHref {
display: block;
width: 70%;
height: 72px;
position: absolute;
top: 0;
left: 29%;
}

.lotteryBox #lottery .imgfl {
float: left;
width: 50px;
height: 50px;
margin: 10px 10px 0 0;
background: url(//image.gxrc.com/gxrcsite/global/gxrc_appLogo.png) no-repeat;
background-size: 50px 50px;
}

.lotteryBox .text {
float: left;
width: 40%;
color: #fff;
padding: 5px 0 0;
}

.lotteryBox .p1 {
font-size: 16px;
color: #ff9;
padding-top: 8px;
}

.lotteryBox .p2 {
font-size: 14px;
line-height: 18px;
}

.lotteryBox #lotteryClose {
float: left;
display: block;
width: 18px;
height: 18px;
line-height: 16px;
font-size: 20px;
color: #999;
background: none;
border: 1px solid #999;
font-weight: normal;
text-align: center;
font-family: "Microsoft YaHei", "宋体";
border-radius: 100%;
overflow: hidden;
margin: 25px 6px 0;
}

.lotteryBox #lotteryClose:hover {
text-decoration: none;
color: #737373;
background: #ababab;
}

.lotteryBox .download {
float: right;
width: 26%;
height: 72px;
line-height: 72px;
font-size: 18px;
color: #fff;
background: #f60;
text-align: center;
}
</style>
<div id="lotteryBox" class="lotteryBox">
<div class="lotteryContent">
<div class="bg"></div>
<div id="lottery">
<a href="javascript:;" class="lotteryHref" onclick="do_open()"></a>
<a href="javascript:;" id="lotteryClose">×</a>
<div class="imgfl"></div>
<div class="text">
<p class="p1">好工作"一手掌握"</p>
<p class="p2">广西人才网客户端</p>
</div>
<div class="download">
立即下载
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(function () {
var $lotteryBox = $("#lotteryBox");
var $lottery = $("#lottery");

$("#lotteryClose").click(function () {
$lotteryBox.hide();
});
});
function do_open() {
var e = ""
, d = navigator.userAgent
, c = (d.match(/(iPad).*OS\s([\d_]+)/)) ? true : false;
isIphone = (!c && d.match(/(iPhone\sOS)\s([\d_]+)/)) ? true : false;
if (c) {
window.location = "Gxrcw://com.gxrc.GXRCW";
setTimeout(function () {
window.location = 'http://app.gxrc.com/appdown?id=3';
},
1000);
return false;
} else {
if (isIphone) {
window.location = "Gxrcw://com.gxrc.GXRCW";
setTimeout(function () {
window.location = 'http://app.gxrc.com/appdown?id=3';
},
1000);
return false;
} else {
window.location = "gxrcw://com.gxrc.GXRCW";
setTimeout(function () {
window.location = "http://app.gxrc.com/appdown?id=3";
},
3000);
return false;
}
}
return e
}
</script>
<!--app底部浮动广告-->

==========================================智联

function do_open() {

var e = ""
, d = navigator.userAgent
, c = (d.match(/(iPad).*OS\s([\d_]+)/)) ? true : false;
isIphone = (!c && d.match(/(iPhone\sOS)\s([\d_]+)/)) ? true : false;
if (c) {
window.location = "/searchjob/Openapp?type=101";
setTimeout(function () {
window.location = 'http://itunes.apple.com/cn/app/id488033535';
},
1000);
return false;
} else {
if (isIphone) {
window.location = "zpm://IMMessage/";
setTimeout(function () {
window.location = 'http://itunes.apple.com/cn/app/id488033535';
},
1000);
return false;
} else {
window.location = "zpm://MainTabInterview?action=6";
setTimeout(function () {
window.location = "http://images.zhaopin.com/2012/other/mobile/zhaopin_mzhan.apk";
//window.location = "http://m.zhaopin.com/Views/Account/android.html"
},
3000);
return false;
}
}
return e
}

打开app应用的更多相关文章

  1. Android应用安全开发之浅谈网页打开APP

    一.网页打开APP简介 Android有一个特性,可以通过点击网页内的某个链接打开APP,或者在其他APP中通过点击某个链接打开另外一个APP(AppLink),一些用户量比较大的APP,已经通过发布 ...

  2. 微信扫描打开APP下载链接提示代码优化

    上一次我发了一篇文章叫“微信打开网址添加在浏览器中打开提示”,里面我发出来了三个代码,分别是纯JS.js+html.jQuery+HTML代码.今天来一个简化版带可以关闭的按钮操作.使用的是纯JS+H ...

  3. 微信扫描打开APP下载链接提示代码优化(转)

    上一次我发了一篇文章叫“微信打开网址添加在浏览器中打开提示”,里面我发出来了三个代码,分别是纯JS.js+html.jQuery+HTML代码.今天来一个简化版带可以关闭的按钮操作.使用的是纯JS+H ...

  4. 使用扫描二维码打开app

    应该不少人遇到过这种需求,扫描二维码打开app如果用户没有这个app则提示它跳转. 用网页直接来调用app是不打可能的,必须原生那边先做一些配置. 首先,安卓和苹果的调用方法是不同的. 所以我们需要先 ...

  5. 实现微信浏览器内打开App Store链接(已被和谐,失效了)

    微信浏览器是不支持打开App Store 页面的,不知道微信为什么这么做.比如你页面写 <a href=”http://itunes.apple.com/us/app/id399608199″& ...

  6. 通过超链接打开App应用

    URL schemes, 通过超链接打开App应用 var mobileAppInstall = (function () { var ua = navigator.userAgent, loadIf ...

  7. h5分享页面打开APP

    项目中 直播app分享出来的直播h5页面 点击进入按钮:已下载app 就进入app,未下载跳转到下载页面 判断是安卓还是ios var u = navigator.userAgent; var isA ...

  8. Android按下home键后重新打开app进入主activity的问题

    问题阐述: 当我们写一款App的时候,势必会有这种情况:用户已经进行了多级的操作,现返回栈中已存在多个activity,那么这个时候我们想回到最初的activity难道要一层层的返回吗,对用户来说 无 ...

  9. 手机浏览网页或打开App时莫名弹出支付宝领红包界面的原因及应对措施

    自从支付宝推出扫码领红包活动后,这种模式独特的赏金机制,短时间内吸引了大量的关注,但是随之也产生了很多的问题,比由于如在赏金的驱动下,微信群里铺天盖地的红包口令,朋友圈里各式各样的领红包二维码图片, ...

  10. Android 网页打开app(或者打开指定页面)并且接收参数

    网页打开app 现实描述场景: 1.短信通知中通知内容,比如信息中一个咨询详情,流程步骤,信息中的地址打开的是一个网页,网页打开就指定app或者app中的指定页面 html代码 <html> ...

随机推荐

  1. 在Vue中加入国际化(i18n)中英文功能

    1.npm安装方法 npm install vue-i18n --save 2.在src资源文件下创建文件夹i18n,i18n下面创建index.js文件,引入VueI18n和导入语言包(按开发需求可 ...

  2. Mongo mongoexport/mongoimport介绍

    一.Mongoexport导出数据 1,导出json数据 mongoexport -d db -c collection -o save-file.dat 2,导出CSV数据 mongoexport ...

  3. 081_使用 awk 编写的 wc 程序

    #!/bin/bash#自定义变量 chars 变量存储字符个数,自定义变量 words 变量存储单词个数#awk 内置变量 NR 存储行数#length()为 awk 内置函数,用来统计每行的字符数 ...

  4. python 列表 【基本使用功能】

    #!/usr/bin/python # -*- coding: UTF-8 -*- # by Mercury_Lc list1 = list # 开个新的列表的方法 list2 = [] list1 ...

  5. 二分算法题目训练(三)——Anton and Making Potions详解

    codeforces734C——Anton and Making Potions详解 Anton and Making Potions 题目描述(google翻译) 安东正在玩一个非常有趣的电脑游戏, ...

  6. Hadoop mapreduce过程分析

    原理图: 中间结果的排序与溢出(spill)流程图 map分析: (1).输入分片(input split):在进行mapreduce之前,mapreduce首先会对输入文件进行输入分片(input ...

  7. HbuilderX

    HBuilderX入门教程 HX是轻量编辑器和强大IDE的完美结合体.敏捷的性能,清爽的界面,强大的功能和于一身. 本文档面向入门用户,建议初学者仔细研读. 介绍 执着于更快一步的理念,hx的左侧项目 ...

  8. Python 自学笔记(六)

    PK小游戏 1.要有玩家敌人:那就是需要定义两个角色的属性变量 2.相互攻击:需要两个角色都有血量和攻击的变量(也就是四个变量) 3.攻击减少血量:比如玩家血量=敌人攻击力-玩家当前血量 4.最终胜负 ...

  9. 艺赛旗RPA谷歌浏览器拾取

    rpa通过chrome拾取,操作步骤如下 方法一: 1>安装谷歌访问助手 直接下载:谷歌访问助手 官方下载地址:https://github.com/haotian-wang/google-ac ...

  10. iOS 的url中含有中文解决方法

    [NSURLURLWithString:urlString]生成URL对象时,iOS客户端不能正确进行网络请求,网上找到的URLEncode方法又不能完全解决问题. 方法1: NSString* en ...