Commit d99a3fa7 authored by 章建武's avatar 章建武

dep

parent fa3f1313
......@@ -3,10 +3,10 @@ return array(
'DEFAULT_FILTER' => 'addslashes',
'IS_DEBUG_VER' => true,
'URL_CASE_INSENSITIVE' =>false,
'DOMAIN' => 'http://mallapp.guoguodz.com/',
'DOMAIN' => 'http://www.test_h5.net/',
'WEI_DOMAIN' => 'https://vote.guoguodz.com/',
'APP_NAME' => '时尚天河',
// 服务号授权ID和secret
'APPID' => 'wx6e539bffabd650fd',
'APP_SECRET' => '54f57c5d48319eeda2a37cbcefaf9644',
'APPID' => 'wx6a1bc838049dc014',
'APP_SECRET' => 'c18bb371c2f31461efffeb6ef94b5291',
);
<html lang="en">
<head>
<meta charset="utf-8" />
<title>...</title>
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,shrink-to-fit=no">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<meta name="msapplication-tap-highlight" content="no">
<link rel="stylesheet" type="text/css" href="__CSS__/swiper-3.3.1.min.css">
<link rel="stylesheet" type="text/css" href="__CSS__/animate.css">
<link rel="stylesheet" type="text/css" href="__CSS__/skin.css">
<script type="text/javascript">
var phoneScale = parseInt(window.screen.width)/640;
document.write('<meta name="viewport" content="width=640, minimum-scale = '+ phoneScale +', maximum-scale = '+ phoneScale +'">');
</script>
<style>
.logo{
/*position:absolute;*/
/*width:550px;*/
/*height:620px;*/
/*left:45px;*/
/*top:0;*/
/*overflow:hidden;*/
/*!*background-color: #c0c0c0;*!*/
/*display: flex;*/
/*justify-content: center;*/
/*align-items: center;*/
}
</style>
</head>
<body style="background: white">
<div style="background: white" class="loading-wrapper">
<div class="logo">
<img src='{$url}'>
</div>
</div>
<script type="text/javascript" src="__JS__/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="http://res2.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
<script type="text/javascript">
var type = 1, pimg = '', mo=1, mtxt=2, user="{$wx_name}", gun=false,sign_pic = '{$signature}';
var on = '__IMGAGES__/music_on.jpg';
var off = '__IMGAGES__/music_off.jpg';
wx.config({
debug: false,
appId: '{$appId}',
timestamp: '{$timestamp}',
nonceStr: '{$nonceStr}',
signature: '{$signature}',
jsApiList: [
'onMenuShareTimeline',
'onMenuShareAppMessage',
'chooseImage',
'downloadImage',
'uploadImage',
'getLocalImgData'
]
});
wx.ready(function () {
wx.onMenuShareTimeline({
title: '时尚匠心 榜样力量', // 分享标题
desc: '2019中国创业者大会 在时代创变的前夜,等你!', // 分享描述
link: '{$link}', // 分享链接
imgUrl: 'http://mallapp.guoguodz.com/h5_pic/appwww/Assets/Admin/images/s_logo.png', // 分享图标
success: function () {
},
cancel: function () {
}
});
wx.onMenuShareAppMessage({
title: '时尚匠心 榜样力量', // 分享标题
desc: '2019中国创业者大会 在时代创变的前夜,等你!', // 分享描述
link: '{$link}', // 分享链接
imgUrl: 'http://mallapp.guoguodz.com/h5_pic/appwww/Assets/Admin/images/s_logo.png', // 分享图标
success: function () {
},
cancel: function () {
}
});
});
wx.checkJsApi({
jsApiList: [
'chooseImage',
'downloadImage',
'uploadImage'
],success:function(){
console.log("wx.checkJsApi success");
},fail: function(res){
console.log("wx.checkJsApi error");
console.log(res);
}
});
</script>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
......@@ -82,7 +82,7 @@ img{display:block;width:100%;}/* pointer-events: none; */
.wenzi2{position:absolute; width:640px; height:auto; left:0px; top:550px;}
.p6-2{position:absolute; width:640px; height:auto; left:0px; top:80px;}
.p6-3{
.logo{
position:absolute;
width:349px;
height:620px;
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -31,7 +31,7 @@ define('SITE_PATH', PROJECT_PATH."www/");
define('APP_PATH', PROJECT_PATH. 'Application/');
// 定义资源路径
define('STATIC_COMEON_ASSETS','h5_pic/appwww/Assets/Admin');
define('STATIC_COMEON_ASSETS','Assets/Admin');
//定义缓存存放路径
define("RUNTIME_PATH", PROJECT_PATH . "runtime/");
......
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 to comment