Design Lab |【代码】如何添加工商网监电子标识(红盾代码)至网站?
工商红盾代码为工商部门下发,需添加至网站的代码,验证网站的真实性。此教程将提供代码快速部署方法。
1、确认代码来源
需要自行前往当地电子商务市场监管服务网站进行获取,这里不做单独的解释。
正规的工商红盾代码,网站URL的域名应为官方出处,举个例子某地方工商局提供代码原代码红色应为:
<iframe src="http://wljg.gdgs.gov.cn/lz.ashx?vie=41BEF320E537FBF5DEC5E2FB9F4D7274C26803927FAFFA9xxxxxxxCB64A3C045A1300ED" allowtransparency="true" scrolling="no" style="overflow:hidden;" frameborder="0">
2、打开Design Lab可视化设计器
登陆【爱用建站】,点击【智能网站】-【Design Lab】,进入可视化设计器。
3、部署【嵌入页面】组件
(1)选择【高级】组件拖动【嵌入页面】组件至空白区域
(2)右键选中组件,设置为【浮动模块】,如需移动到底部,选择【移动到底部】。
(3)选择【编辑模块】,把工商红盾申请平台上获取的红盾代码种链接填写至【页面链接】,再确定保存,点击预览即可查看效果。您可自由调整红盾的位置以及大小,确保最佳的视觉体验。
Tips:链接为代码的红色部分
<iframe src="http://wljg.gdgs.gov.cn/lz.ashx?vie=41BEF320E537FBF5DEC5E2FB9F4D7274C26803927FAFFA9xxxxxxxCB64A3C045A1300ED" allowtransparency="true" scrolling="no" style="overflow:hidden;" frameborder="0">
{"weixin":{"label":"微信","name":"weixin","selected":true,"value":true,"sortid":"1","shareid":"weixin","sharetitle":"分享到微信","event":"shareToWeiXin","lang":"shareWeb_WeiXin"},"copy":{"label":"复制网址","name":"copy","selected":true,"value":true,"sortid":"2","shareid":"copy","sharetitle":"复制网址","event":"copy_url","lang":"shareWeb_Copy"},"qq":{"label":"QQ好友","name":"qq","selected":true,"value":false,"sortid":"1","shareid":"qq","sharetitle":"分享到QQ","event":"shareToQQ","lang":"shareWeb_QQ"},"sina_weibo":{"label":"新浪微博","name":"sina_weibo","selected":true,"value":true,"sortid":"4","shareid":"sina_weibo","sharetitle":"分享到新浪微博","event":"shareToSinaWB","lang":"shareWeb_SinaWeiBo"},"qq_zone":{"label":"QQ空间","name":"qq_zone","selected":true,"value":true,"sortid":"5","shareid":"qq_zone","sharetitle":"分享到QQ空间","event":"shareToQzone","lang":"shareWeb_QQZone"},"renren":{"label":"人人网","name":"renren","selected":true,"value":true,"sortid":"7","shareid":"renren","sharetitle":"分享到人人网","event":"shareToRenren","lang":"shareWeb_RenRen"},"douban":{"label":"豆瓣网","name":"douban","selected":true,"value":true,"sortid":"8","shareid":"douban","sharetitle":"分享到豆瓣网","event":"shareToDouban","lang":"shareWeb_DouBan"},"baidu_tieba":{"label":"百度贴吧","name":"baidu_tieba","selected":true,"value":true,"sortid":"10","shareid":"baidu_tieba","sharetitle":"分享到百度贴吧","event":"shareToTieba","lang":"shareWeb_TieBa"},"Facebook":{"label":"Facebook","name":"Facebook","selected":true,"value":true,"sortid":"11","shareid":"Facebook","sharetitle":"分享到FaceBook","event":"shareToFacebook","lang":"shareWeb_Facebook"},"Twitter":{"label":"Twitter","name":"Twitter","selected":true,"value":true,"sortid":"12","shareid":"Twitter","sharetitle":"分享到Twitter","event":"shareToTwitter","lang":"shareWeb_Twitter"},"LinkedIn":{"label":"LinkedIn","name":"LinkedIn","selected":true,"value":true,"sortid":"13","shareid":"LinkedIn","sharetitle":"分享到linkedIn","event":"shareToLinkedin","lang":"shareWeb_Linkedin"},"whatsapp":{"label":"whatsapp","name":"whatsapp","selected":true,"value":true,"sortid":"15","shareid":"whatsapp","sharetitle":"分享到whatsapp","event":"shareToWhatsapp","lang":"shareWeb_whatsapp"},"line":{"label":"line","name":"line","selected":true,"value":true,"sortid":"15","shareid":"line","sharetitle":"分享到line","event":"shareToLine","lang":"shareWeb_line"},"qq_weibo":{"label":"腾讯微博","name":"qq_weibo","selected":true,"value":true,"sortid":"3","shareid":"qq_weibo","sharetitle":"分享到腾讯微博","event":"shareToQQwb","lang":"shareWeb_QQWeiBo"},"peopleBlog":{"label":"人民微博","name":"propleBlog","selected":true,"value":true,"sortid":"14","shareid":"propleBlog","sharetitle":"分享到人民微博","event":"shareToPeopleBlog","lang":"shareWeb_peopleBlog"}}