一、网页级别的配置 网页地址:https://taobao.fanli.com/h5/index/index_83110 (对应html文件:/taobao/Tpl/default/H5/Index/index_83110.html)
?
1. 查看控制台 js 文件:
2.??复制后去 taobao, static库查找:
?
?在 /taobao/Common/config_page.php 文件中,?找到该静态文件(css, js)在 static 库中的映射配置: taobao-h5-index-83110-css??taobao-h5-index-83110-js:
在 /static/static/groups/taobao.php 文件中,找到静态文件(css, js)的映射集合:?
?3. command + P, 在 static 库中查找引入的页面静态文件:taobao/css/taobao-home-v7.css.? ?taobao/js/taobao-home-v7.js
二、活动页级别的配置:
[code]:?
<?php
// 砸金蛋
$title = $gaea['page_set'][0]['data1'] ?: '砸金蛋';
$cssList = array(implode(",", array(
'//static2.51fanli.net/static/?f=webapp/css/base.css',
'common/libs/fmu/css/dialog.css',
'//static2.51fanli.net/huodong/Jd83790/css/index.css'))
);
?>
<include file="$header" remwidth="750" remswitch="1" />
<div id="J_poplayer">
......
</div>
<?php
$jsList = array(implode(",", array(
'//static2.51fanli.net/static/?f=webapp/js/base.js',
'common/js/fanli/trace/ubt.js',
'common/libs/fmu/js/core/fmu.js',
'common/libs/fmu/js/core/widget.js',
'common/libs/fmu/js/vendors/vue/vue.min.js',
'common/libs/fmu/js/extend/jquery.extend.js',
'webapp/js/common/hybridapi/nativefunction.js',
'huodong/Jd83790/js/index.js'
))
);
?>
<include file="$footer"/>
|