淘宝客网站页面模版调用说明

发布时间:2020年09月30日 阅读:428 次

网站制作笔记,给自己看的,其它人请忽略!


网站模版调用备注说明:

zy.php 使用iframe,调用商家的页面

yz.php 使用iframe,调用用户的页面

根目录index1,保存的模版的图片和css,js文件

hao.js是页面微信号的设置文件存在根目录index1内

header1.php页头,调用yz.php,引用用户页面

header.php页头,调用zy.php,引用商家页面

index2.php,用户页面模版(在系统页面内选择该模版文件)

index3.php,商家页面模版(在系统页面内选择该模版文件)

index-fenlei.php,(分离目录模版调用了zy.php商家页面和footer-fenlei.php友情链接)

footer-fenlei.php,分类页尾(调用模块include文件夹的fenlei-youqing)

————————————————————————————————

模版文件夹的文件调用,前面的是文件夹的名字后面是文件的名字

zb模快调用方式:{module:fenlei-youqing}

zb模版调用方式:{template:yz}

内容调用:{$article.Content}

-----------------------------------------------------

iframe标签引用页面

<iframe scrolling="no" marginheight="0" marginwidth="0" frameborder="0" width="100%" height="29136"src="/quban-7"></iframe>


------------------------------------------------------


解决pc游览和手机游览页面图片,图片被拉伸情况

文件开头加<div style="max-width:750px;margin:0 auto">文件结尾加</div>

--------------------------------------------------------------



在手机上图片满屏代码

<img src="index_01.jpg" style="width:100%">

--------------------------------------------------------------


HTML插入页面引用方法:

<iframe scrolling="no" marginheight="0" marginwidth="0" frameborder="0" width="100%" height="29136"src="/quban-7"></iframe>


JS引用方法:

<object style="border:0px" type="text/x-scriptlet" data=“yz.html" width=100% height=100%></object>

或者

<script type="text/javascript" src=“yz.js"></script>


------------------------------------------------------


如果超链接点击不跳转,是因为链接在框架里面,需要在链接后面加入target="_top"

<td>

<a href="http://jimuaike.com/wap/#/order?openid=oLF6E0UKVqfi_t989MtS5eAd-mtY&channelId=1"target="_top"><img src="https://eqianzheng.oss-cn-beijing.aliyuncs.com/www/jinmuaike/lingqu/index_02.jpg" style="width:100%"></a>

</td>


------------------------------------------------------

视频插入:

<div style="width:800px;">[dplayer url="http://www.qubanle.cn/zb_users/upload/2019/04/201904191555651394572829.mp4" pic="xxx.png" /]</div>


[dplayer url="http://www.qubanle.cn/zb_users/upload/2019/04/201904191555651394572829.mp4" pic="http://xx/xxx.jpg" autoplay="true" danmu="false"/]


<video src="https://qubanle.oss-cn-beijing.aliyuncs.com/mp4/2.mp4" width="369" height="217" controls="controls">

Your browser does not support the video tag.

</video>


 <center>

<video src="https://qubanle.oss-cn-beijing.aliyuncs.com/mp4/2.mp4" width="369" height="217" controls="controls">

Your browser does not support the video tag.

</video>

</center>


{template:baidu_js_push}




https://blog.eqianzheng.com/
Tag:
相关文章
随机文章
  • ps一些快捷键收集
  • AMH面板端口常用命令
  • 预定机票比较好的三家公司
  • 亚马逊海外开店商品分类
  • 有赞教育学习笔记
  • 狗屁不通文章生成器
  • 改变二(开始)
  • mac电脑清理dns命令
  • 使用kodcloud可道云管理opewnrt共享文件夹
  • openwrt x86 完整备份方法
  • 发表评论: