首页以及所有展示商品同时显示市场价格(带删除线)/会员价格问题,请求高手帮助!!
2016-07-07 16:02 来源:www.chinab4c.com 作者:ecshop专家
本人网站:www.129cn.com
我的是ecshop2.73版本的,模版是:BigSale
现在想实现整个网站首页以及凡是所有展示商品同时显示市场价格(带删除线)/会员价格的功能,图解如下:
现在请求高手帮助,如能解决问题,可以适当的付点辛苦费。谢谢!!!
|
回答:
以下是我的模版style.css 文件代码,现在就是想在市场价格中添加删除线,请求高手帮忙指点下,谢谢!!!
-
- /*
- Template Name: ECSHOP BigSale
- Template URI: http://www.ecshop.com/
- Description: The BigSale ECSHOP template.
- Version: 2.7.1
- Author: 失落的大地
- Author URI: http://www.ecshop.com/
- Logo filename: logo.gif
- Template Type: type_0
- */
- /* ====================公共样式==================== */
- body{
- background:#fff; font-size:12px; font-family:"宋体",Verdana, Arial; line-height:150%; margin:0; padding:0; color:#424242;
- }
- div{margin:0 auto; padding:0;}
- h1,h2,h3,h4,h5,h6,ul,li,dl,dt,dd,form,img,p{
- margin:0; padding:0; border:none; list-style-type:none;
- }
- h1,h2,h3,h4,h5,h6{
- font-size:12px;
- }
- .block{
- width:1000px; height:auto;
- }
- .fl{float:left;}
- .fr{float:right;}
- .tl{ text-align:left;}
- .tc{ text-align:center;}
- .tr{ text-align:right;}
- .dis{display:block;}
- .inline{display:inline;}
- .none{display:none;}
- .InputBorder{border:1px solid #ccc;}
- .tips{
- text-align:center;
- font-size:14px;
- font-weight:bold;
- padding:30px 0px;
- color:#ff6600;
- }
- .ads{
- margin-bottom:8px;
- }
- .ads img{
- display:block;
- margin-bottom:0px;
- }
- .clearfix:after{
- content:"."; display:block; height:0; clear:both;
- visibility:hidden;
- }
- *html .clearfix{
- height:1%;
- }
- *+html .clearfix{
- height:1%;
- }
- /*英文强制换行*/
- .word{word-break:break-all;}
- /*全站按钮部分及修饰图标*/
- acronym{
- display:inline-block;
- display:-moz-inline-stack;
- *display:inline;
- zoom:1;
- vertical-align:middle;
- overflow:hidden;
- }
- acronym.reg{
- background:url(images/bg.gif) no-repeat -346px 0px;
- width:4px;
- margin-right:5px;
- }
- acronym.icon{
- background:url(images/bg.gif) no-repeat -346px -61px;
- width:4px;
- height:7px;
- margin:0 5px 0 0;
- _margin:7px 5px 7px 0;
- }
- acronym.start{
- background:url(images/bg.gif) no-repeat -334px -306px;
- width:16px;
- height:16px;
- margin:0 5px 0 0;
- }
- acronym.delete{
- background:url(images/bg.gif) no-repeat -334px -340px;
- width:16px;
- height:16px;
- margin:0 5px 0 0;
- }
- acronym.continue{
- width:134px;
- height:36px;
- overflow:hidden;
- background:url(images/continue.gif) no-repeat 0 0;
- }
- acronym.checkout{
- width:128px;
- height:37px;
- overflow:hidden;
- background:url(images/checkout.gif) no-repeat 0 0;
- }
- acronym.addToCart{
- background:url(images/bg.gif) no-repeat 0 -232px;
- width:40px;
- height:19px;
- text-indent:-9999px;
- margin:5px 3px;
- cursor:pointer;
- }
- acronym.addToCart_goods{
- background:url(images/bg.gif) no-repeat -31px -296px;
- width:144px;
- height:53px;
- text-indent:-9999px;
- margin:5px 0;
- cursor:pointer;
- }
- acronym.collect{
- background:url(images/bg.gif) no-repeat -44px -232px;
- width:41px;
- height:19px;
- text-indent:-9999px;
- margin:5px 3px;
- cursor:pointer;
- }
- acronym.Compare{
- background:url(images/bg.gif) no-repeat -89px -232px;
- width:36px;
- height:19px;
- text-indent:-9999px;
- margin:5px 3px;
- cursor:pointer;
- }
- acronym.bestTit,acronym.grouptit{
- height:24px;
- *height:25px;
- _height:24px;
- padding:7px 30px 0 30px;
- padding-right:70px\9;
- *padding:5px 70px 0 30px;
- _padding:6px 70px 0 30px;
- font-size:14px;
- font-weight:bold;
- color:#fff;
- background:url(images/best_bg_4.gif) no-repeat top right;
- }
- acronym.grouptit{
- background:url(images/best_bg_5.gif) no-repeat top right;
- *height:27px;
- _height:26px;
- }
- .bnt_number2,.bnt_number4,.bnt_number6,.bnt_number8,.bnt_number10{
- border:none;
- text-align:center;
- font-weight:bold;
- font-size:14px;
- color:#fff;
- height:24px;
- }
- .bnt_number2{
- width:64px;
- background:url(images/bg.gif) no-repeat -198px -199px;
- }
- .bnt_number4{
- width:84px;
- background:url(images/bg.gif) no-repeat 0 -168px;
- }
- .bnt_number6{
- width:112px;
- background:url(images/bg.gif) no-repeat -91px -168px;
- }
- .bnt_number8{
- width:141px;
- background:url(images/bg.gif) no-repeat -208px -168px;
- }
- .bnt_number10{
- width:190px;
- background:url(images/bg.gif) no-repeat 0 -200px;
- }
- .go{
- width:49px;
- height:21px;
- border:none;
- background:url(images/text_bg.gif) no-repeat 0-48px;
- }
- .bnt_join{
- cursor:pointer;
- width:102px;
- height:43px;
- border:none;
- background:url(images/bg.gif) no-repeat -33px -357px;
- }
- .bnt_login{
- cursor:pointer;
- width:102px;
- height:43px;
- border:none;
- background:url(images/bg.gif) no-repeat -140px -357px;
- }
-
- /*字体及颜色*/
- .f1{color:#ff6c02;}
- .f14b{font-size:14px; font-weight:bold;}
- .username{color:#a80416;}
- .price{color:#ff6c02; font-weight:bold; font-size:14px;}
- a:link {color: #424242; text-decoration:none;}
- a:visited {color: #424242;text-decoration:none;}
- a:hover {color: #ff0000; text-decoration:none;}
- a:active {color: #424242; text-decoration:none;}
- .a{color:#ff0000;}
- .b{color:#0000ff;}
- /* ====================通用模块==================== */
- .module{
- border:1px solid #e2e2e2;
- margin-bottom:8px;
- }
- .module .modTitle{
- padding:0 10px;
- height:26px;
- line-height:26px;
- background:url(images/title_bg.gif) no-repeat 0 0;
- font-size:14px;
- font-weight:bold;
- color:#414141;
-
- }
- .module .modTitle p{
- background:url(images/bg.gif) no-repeat 0 -111px;
- padding-left:22px;
- float:left;
- }
- .module .modTitle .more{
- display:block;
- float:right;
- height:19px;
- width:55px;
- margin-top:3px;
- text-indent:-56px;
- overflow:hidden;
- background:url(images/bg.gif) no-repeat -295px -143px;
- }
-
- .module_1{
- border:2px solid #b60134;
- border-top:none;
- margin-bottom:8px;
- }
- .module_1 .modTitle{
- position:relative;
- height:31px;
- line-height:31px;
- font-weight:bold;
- font-size:14px;
- color:#fff;
- padding-left:28px;
- background:url(images/title_bg_1.gif) repeat-x 0 0;
- }
- .module_1 .modTitle .L{
- display:block;
- width:24px;
- height:31px;
- background:url(images/bg.gif) no-repeat -58px 0;
- overflow:hidden;
- position:absolute; left:-2px; top:0px;
- }
- .module_1 .modTitle .R{
- display:block;
- width:10px;
- height:31px;
- background:url(images/bg.gif) no-repeat -83px 0;
- overflow:hidden;
- position:absolute; right:-2px; top:0px;
- }
- .module_2{
- border:2px solid #b2c4d0;
- border-top:none;
- margin-bottom:8px;
- }
- .module_2 .modTitle{
- position:relative;
- height:31px;
- line-height:31px;
- font-weight:bold;
- font-size:14px;
- color:#c72e28;
- padding-left:28px;
- background:url(images/title_bg_2.gif) repeat-x 0 0;
- }
- .module_2 .modTitle a{
- color:#c72e28;
- }
- .module_2 .modTitle .L{
- display:block;
- width:25px;
- height:31px;
- background:url(images/bg.gif) no-repeat -96px 0;
- overflow:hidden;
- position:absolute; left:-2px; top:0px;
- }
- .module_2 .modTitle .R{
- display:block;
- width:8px;
- height:31px;
- background:url(images/bg.gif) no-repeat -122px 0;
- overflow:hidden;
- position:absolute; right:-2px; top:0px;
- }
- .module_2 .modTitle .more,.module_4_1 .modTitle .more{
- display:block;
- float:right;
- height:19px;
- width:55px;
- margin:7px 10px 0 0;
- text-indent:-56px;
- overflow:hidden;
- background:url(images/bg.gif) no-repeat -234px -143px;
- }
-
- .modContent{
- padding:10px;
- }
- .module_3{
- position:relative;
- background:url(images/best_bg_2.gif) repeat-x left bottom;
- min-height:260px;
- _height:260px;
- }
- .module_3 span{
- width:5px;
- height:5px;
- display:block;
- overflow:hidden;
- }
- .module_3 span.l{
- background:url(images/bg.gif) no-repeat -132px 0;
- position:absolute; left:0px; bottom:0px;
- }
- .module_3 span.r{
- background:url(images/bg.gif) no-repeat -138px 0;
- position:absolute; right:0px; bottom:0px;
- }
- .module_3L{
- background:url(images/best_bg_1.gif) no-repeat 0 0;
- margin-bottom:8px;
- }
- .module_3R{
- background:url(images/best_bg_3.gif) no-repeat right top;
- }
- .module_3 .modTitle{
- height:31px;
- background:url(images/best_bg.gif) no-repeat top right;
- }
- .module_3 .modTitle .L{
- background:url(images/best_bg.gif) no-repeat 0 -35px;
- }
- .module_4{
- border:1px solid #b2c4d0;
- border-top:none;
- margin-bottom:8px;
- }
- .module_4_1{
- border:4px solid #f4f8fb;
- border-top:none;
- }
- .module_4_1 .modTitle{
- position:relative;
- height:31px;
- background:url(images/mod4_bg.gif) repeat-x 0 0;
- }
- .module_4_1 .modTitle span{
- display:block;
- height:31px;
- width:9px;
- overflow:hidden;
- background:url(images/bg.gif) no-repeat -146px 0;
- position:absolute; top:0; right:-5px;
- }
- .module_4_1 .modTitle .L{
- height:31px;
- background:url(images/best_bg.gif) 0 -69px;
- position:relative; left:-5px;
- }
- .module_4_1 .modTitle .more{
- _margin:7px 6px 0 0;
- }
- /*单个商品外围框架(此方法在火狐和ie8下面会产生3px边距)*/
- .goodsbox{
- width:170px;
- min-height:1px;
- display: -moz-inline-stack;
- display: inline-block;
- text-align:center;
- vertical-align: top;
- zoom:1;
- *display:inline;
- _height:1px;
- }
- .goodsbox .imgbox{
- width:170px;
- margin:0 0 5px 0;
- overflow:hidden;
- }
- /* ====================页面布局==================== */
- #pageLeft{
- width:250px;
- margin-right:8px;
- }
- #pageRight{
- width:742px;
- }
- #userLeft{
- width:200px;
- margin-right:8px;
- }
- #userRight{
- width:792px;
- }
- #articleLeft{
- width:742px;
- margin:0 8px 8px 0;
- }
- #articleRight{
- width:250px;
- margin-bottom:8px;
- }
复制代码 |
我也是。看模板的阅读权限,权限是30的话,正式会员下载不了,积分要达到180以上才可以。。。 |
努力发帖。。。赚取积分~~,管理员别封我,我也不容易!
积分达到180分,阅读权限倒30,会员等级升级到高级会员才能下载,努力赚积分中.... |