mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-27 14:10:35 +00:00
34 lines
1.3 KiB
HTML
34 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
{include file="public/head" /}
|
|
<title>{block name="title"}{/block}</title>
|
|
{include file="public/style" /}
|
|
{block name="head_top"}{/block}
|
|
<script type="text/javascript" src="{__PLUG_PATH}wxApi.js"></script>
|
|
<script>
|
|
$jssdk = function(){return <?=\service\WechatService::jsSdk()?>;}
|
|
window.wechat_share_title="<?=\service\SystemConfigService::get('wechat_share_title')?>";
|
|
window.wechat_share_synopsis="<?=\service\SystemConfigService::get('wechat_share_synopsis')?>";
|
|
window.wechat_share_img="<?=\service\SystemConfigService::get('wechat_share_img')?>";
|
|
mapleWx($jssdk(), function () {
|
|
this.onMenuShareAll({
|
|
title: wechat_share_title || $('title').text(),
|
|
desc: wechat_share_synopsis || $('title').text(),
|
|
imgUrl: location.origin +wechat_share_img,
|
|
link:location.href,
|
|
});
|
|
});
|
|
</script>
|
|
{include file="public/requirejs" /}
|
|
{block name="head"}{/block}
|
|
<script type="text/javascript" src="{__WAP_PATH}crmeb/js/common.js"></script>
|
|
</head>
|
|
<body>
|
|
{block name="content"}{/block}
|
|
{block name="foot"}{/block}
|
|
{include file="public/foot" /}
|
|
{include file="public/right_nav" /}
|
|
</body>
|
|
</html>
|