Commit f8340a59 by libai

测试

parent 420f8e64
new-peach
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<file url="PROJECT" charset="UTF-8" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Update" />
<OptionsSetting value="true" id="Status" />
<OptionsSetting value="true" id="Edit" />
<OptionsSetting value="true" id="添加" />
<OptionsSetting value="true" id="移除" />
<OptionsSetting value="true" id="签出" />
<OptionsSetting value="true" id="更新" />
<OptionsSetting value="true" id="状态" />
<OptionsSetting value="true" id="编辑" />
<ConfirmationsSetting value="0" id="添加" />
<ConfirmationsSetting value="0" id="移除" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/new-peach.iml" filepath="$PROJECT_DIR$/.idea/new-peach.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectTasksOptions">
<TaskOptions isEnabled="true">
<option name="arguments" value="--no-color $FileName$" />
<option name="checkSyntaxErrors" value="true" />
<option name="description" value="Compiles .less files into .css files" />
<option name="exitCodeBehavior" value="ERROR" />
<option name="fileExtension" value="less" />
<option name="immediateSync" value="true" />
<option name="name" value="Less" />
<option name="output" value="$FileNameWithoutExtension$.css" />
<option name="outputFilters">
<array>
<FilterInfo>
<option name="description" value="lessc error format" />
<option name="name" value="lessc" />
<option name="regExp" value="$MESSAGE$$FILE_PATH$?:$LINE$:$COLUMN$" />
</FilterInfo>
</array>
</option>
<option name="outputFromStdout" value="true" />
<option name="program" value="$USER_HOME$/AppData/Roaming/npm/lessc.cmd" />
<option name="scopeName" value="项目文件" />
<option name="trackOnlyRoot" value="false" />
<option name="workingDir" value="$FileDir$" />
<envs />
</TaskOptions>
</component>
</project>
\ No newline at end of file
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<title>水蜜桃直播</title> <title>水蜜桃直播</title>
</head> </head>
<body> <body>
<div class="ios-bg"> <div class="ios-bg">
<div class="logo"> <div class="logo">
<img src="images/logo.png" alt=""> <img src="images/logo.png" alt="">
</div> </div>
...@@ -41,8 +41,8 @@ ...@@ -41,8 +41,8 @@
<p>*請將你的手機版本更新至IOS10以上,獲得更好的</p> <p>*請將你的手機版本更新至IOS10以上,獲得更好的</p>
<p>水蜜桃直播體驗</p> <p>水蜜桃直播體驗</p>
</div> </div>
</div> </div>
<div class="an-bg"> <div class="an-bg">
<div class="logo"> <div class="logo">
<img src="images/logo.png" alt=""> <img src="images/logo.png" alt="">
</div> </div>
...@@ -54,22 +54,38 @@ ...@@ -54,22 +54,38 @@
<p>*請將您的手機版本更新安卓5.0以上,獲得更好的</p> <p>*請將您的手機版本更新安卓5.0以上,獲得更好的</p>
<p>水蜜桃直播體驗</p> <p>水蜜桃直播體驗</p>
</div> </div>
</div> </div>
<div class="tips"><img class="weiphone" src=images/Safari2.png?v='20181106'></div> <div class="tips"><img class="weiphone" src=images/Safari2.png?v='20181106'></div>
</body> </body>
<script src="lib/jquery-3.1.1.min.js"></script> <script src="lib/jquery-3.1.1.min.js"></script>
<script src='layer-v3.1.0/layer/layer.js'></script> <script src='layer-v3.1.0/layer/layer.js'></script>
<script> <script>
var bbb = location.href;
var data = url_get_params(bbb)
sessionStorage.uid = data.uid; //u
function url_get_params(url_path) {
var url = url_path;
var theRequest = new Object();
if (url.indexOf("?") != -1) {
var str = url.substr(url.indexOf("?") + 1);
strs = str.split("&");
for (var i = 0; i < strs.length; i++) {
theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
}
}
return theRequest;
}
var ua = navigator.userAgent.toLowerCase(); var ua = navigator.userAgent.toLowerCase();
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串 var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (/android/.test(ua)) { if (/android/.test(ua)) {
$(".an-bg").show() $(".an-bg").show()
if(ua.match(/MicroMessenger/i) == 'micromessenger'){ if (ua.match(/MicroMessenger/i) == 'micromessenger') {
var data = OpenInstall.parseUrlParams(); var data = OpenInstall.parseUrlParams();
new OpenInstall({ new OpenInstall({
appKey: "b0yjle", appKey: "b0yjle",
preferWakeup: true, preferWakeup: true,
mask:function(){ mask: function () {
return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>' return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>'
}, },
onready: function () { onready: function () {
...@@ -87,30 +103,32 @@ ...@@ -87,30 +103,32 @@
} }
} else if (/iphone|ipad|ipod/.test(ua)) { } else if (/iphone|ipad|ipod/.test(ua)) {
$(".ios-bg").show() $(".ios-bg").show()
if(ua.match(/MicroMessenger/i) == 'micromessenger'){ if (ua.match(/MicroMessenger/i) == 'micromessenger') {
}else if(userAgent.indexOf("Line") > -1){ } else if (userAgent.indexOf("Line") > -1) {
}else{ } else {
if (userAgent.indexOf("Safari") > -1) { if (userAgent.indexOf("Safari") > -1) {
if (userAgent.indexOf("Chrome") > -1){ if (userAgent.indexOf("Chrome") > -1) {
$(".tips").fadeIn(500) $(".tips").fadeIn(500)
}else{ } else {
} }
}else{ } else {
$(".tips").fadeIn(500) $(".tips").fadeIn(500)
} }
} }
}else{ } else {
$('.an-bg').show() $('.an-bg').show()
} }
$(".ios-down img").on("click", function () { $(".ios-down img").on("click", function () {
layer.msg("開始下載") layer.msg("開始下載")
window.location.href='itms-services://?action=download-manifest&url=https://app.ixiulive.com/mitaozhibo-resigned.plist'; window.location.href = 'mitaolive:/mtwebopenlive?roomid='+sessionStorage.uid
window.location.href = 'itms-services://?action=download-manifest&url=https://app.ixiulive.com/mitaozhibo-resigned.plist';
}) })
$(".step2 img").on("click", function () { $(".step2 img").on("click", function () {
layer.msg("開始下載") layer.msg("開始下載")
window.location.href='itms-services://?action=download-manifest&url=https://app.ixiulive.com/mitaozhibo-resigned.plist'; window.location.href = 'mitaolive:/mtwebopenlive?roomid='+sessionStorage.uid
window.location.href = 'itms-services://?action=download-manifest&url=https://app.ixiulive.com/mitaozhibo-resigned.plist';
}) })
$(".an-content img").on("click", function () { $(".an-content img").on("click", function () {
$(".tips").fadeIn(500) $(".tips").fadeIn(500)
...@@ -118,7 +136,7 @@ ...@@ -118,7 +136,7 @@
new OpenInstall({ new OpenInstall({
appKey: "b0yjle", appKey: "b0yjle",
preferWakeup: true, preferWakeup: true,
mask:function(){ mask: function () {
return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>' return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>'
}, },
onready: function () { onready: function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment