效果图如下:4 q" \" N5 E5 S
! F# l( A* |# x9 y, m; ?: f" r3 w* ?, D( |5 N: h7 t
(注:以下修改是在ECSHOP官方默认模板基础上进行的),
& v. r: q F. j* `* B2 v打开 模板文件 /themes/default/goods.dwt 文件,
2 s3 \0 k# G0 t9 ^0 e/ C" |, w- G3 t* \1 i" g! m
找到- <!-- {if $affiliate.on} -->
. F! [7 \+ q5 V0 I ?2 v+ C7 z9 G - <a href="user.php?act=affiliate&goodsid={$goods.goods_id}"><img src='images/bnt_recommend.gif'></a>
& U' U" X4 Q& o7 @7 J; s2 H - <!-- {/if} -->' W7 S3 ^3 v3 H; z P. b. O( S
- </li>
复制代码
) P7 \6 Q. S: z1 i. M; p) K3 t) z j5 Y7 j3 f
在它下面增加以下代码即可- <li class="padd">
0 }+ N3 }# G* c/ _ - 分享到:( c8 u; e3 L/ L6 c' o9 w
- <a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(kaixin=window.open('http://www.kaixin001.com/~repaste/repaste.php?&rurl='+escape(d.location.href)+'&rtitle='+escape(d.title)+'&rcontent='+escape(d.title),'kaixin'));kaixin.focus();"><img src="http://www.ecshop120.com/images/toshare/ico_kaixin.gif" alt="转贴到开心网" border="0" height="16" width="16"></a>
; K% Q' C0 f$ _. n3 F4 u - <a href="javascript:void((function(s,d,e){if(/renren\.com/.test(d.location))return;var f='http://share.renren.com/share/buttonshare?link=',u=d.location,l=d.title,p=[e(u),'&title=',e(l)].join('');function%20a(){if(!window.open([f,p].join(''),'xnshare',['toolbar=0,status=0,resizable=1,width=626,height=436,left=',(s.width-626)/2,',top=',(s.height-436)/2].join('')))u.href=[f,p].join('');};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();})(screen,document,encodeURIComponent));" title="分享到人人"><img src="http://www.ecshop120.com/images/toshare/ico_renren.gif" title="分享到人人"/></a>
% R/ \' e- g; ] - <a href="javascript:window.open('http://v.t.sina.com.cn/share/share.php?title='+encodeURIComponent(document.title)+'&url='+encodeURIComponent(location.href)+'&source=bookmark','_blank','width=450,height=400');void(0)"><img src='http://www.ecshop120.com/images/toshare/ico_sina.gif' alt='分享到新浪微博' border='0'></a>" X2 r& U9 ^) A6 C7 K* L. `9 D. ^
- <a href="javascript:window.open('http://shuqian.qq.com/post?from=3&title='+encodeURIComponent(document.title)+'&uri='+encodeURIComponent(document.location.href)+'&jumpback=2&noui=1','favit','');void(0)"><img src="http://www.ecshop120.com/images/toshare/ico_qqshuqian.gif" alt="QQ书签" border="0" ></a> + F; W7 S, Y0 V' Y+ x: V ^
- <a href="javascript:window.open('http://cang.baidu.com/do/add?it='+encodeURIComponent(document.title.substring(0,76))+'&iu='+encodeURIComponent(location.href)+'&fr=ien#nw=1','_blank','scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes'); void 0" ><IMG alt=添加到百度搜藏 src="http://www.ecshop120.com/images/toshare/ico_soucang.gif" border=0></a>
5 m9 a! H/ ?( }% R3 }$ _8 g9 J - <a href="javascript:void(window.open('http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url='+encodeURIComponent(document.location.href)));" title="分享到QQ空间"><img src="http://qzonestyle.gtimg.cn/qzonestyle/qzone_app/app_share_v1/qz_logo.png" alt="" /></a>
$ s2 s$ y _0 g- s# [6 w& t1 [ - <a href="#" onclick="window.open('http://myweb.cn.yahoo.com/popadd.html?url='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title), 'Yahoo','scrollbars=yes,width=780,height=550,left=80,top=80,status=yes,resizable=yes');"><img src="http://www.ecshop120.com/images/toshare/ico_yahoo.gif" alt="雅虎收藏" border="0" height="16" width="16"></a>
( o, l1 P6 J( X9 i9 F) g, ^5 f. e - </li>
复制代码 |