首页以及所有展示商品同时显示市场价格(带删除线)/会员价格问题,请求高手帮助!!

2016-07-07 16:02 来源:www.chinab4c.com 作者:ecshop专家

本人网站:www.129cn.com
我的是ecshop2.73版本的,模版是:BigSale
现在想实现整个网站首页以及凡是所有展示商品同时显示市场价格(带删除线)/会员价格的功能,图解如下:
市场价格.jpg
现在请求高手帮助,如能解决问题,可以适当的付点辛苦费。谢谢!!!

回答:
自己先顶下!!!

这人简单。你个有钱的板来。。。CSS

自己先顶下!!!

以下是我的模版style.css 文件代码,现在就是想在市场价格中添加删除线,请求高手帮忙指点下,谢谢!!!


  1. /*
  2. Template Name: ECSHOP BigSale
  3. Template URI: http://www.ecshop.com/
  4. Description: The BigSale ECSHOP template.
  5. Version: 2.7.1
  6. Author: 失落的大地
  7. Author URI: http://www.ecshop.com/
  8. Logo filename: logo.gif
  9. Template Type: type_0
  10. */
  11. /* ====================公共样式==================== */
  12. body{
  13. background:#fff; font-size:12px; font-family:"宋体",Verdana, Arial; line-height:150%; margin:0; padding:0; color:#424242;
  14. }
  15. div{margin:0 auto; padding:0;}
  16. h1,h2,h3,h4,h5,h6,ul,li,dl,dt,dd,form,img,p{
  17. margin:0; padding:0; border:none; list-style-type:none;
  18. }
  19. h1,h2,h3,h4,h5,h6{
  20. font-size:12px;
  21. }
  22. .block{
  23. width:1000px; height:auto;
  24. }
  25. .fl{float:left;}
  26. .fr{float:right;}
  27. .tl{ text-align:left;}
  28. .tc{ text-align:center;}
  29. .tr{ text-align:right;}
  30. .dis{display:block;}
  31. .inline{display:inline;}
  32. .none{display:none;}
  33. .InputBorder{border:1px solid #ccc;}
  34. .tips{
  35. text-align:center;
  36. font-size:14px;
  37. font-weight:bold;
  38. padding:30px 0px;
  39. color:#ff6600;
  40. }
  41. .ads{
  42. margin-bottom:8px;
  43. }
  44. .ads img{
  45. display:block;
  46. margin-bottom:0px;
  47. }
  48. .clearfix:after{
  49. content:"."; display:block; height:0; clear:both;
  50. visibility:hidden;
  51. }
  52. *html .clearfix{
  53. height:1%;
  54. }
  55. *+html .clearfix{
  56. height:1%;
  57. }
  58. /*英文强制换行*/
  59. .word{word-break:break-all;}
  60. /*全站按钮部分及修饰图标*/
  61. acronym{
  62. display:inline-block;
  63. display:-moz-inline-stack;
  64. *display:inline;
  65. zoom:1;
  66. vertical-align:middle;
  67. overflow:hidden;
  68. }
  69. acronym.reg{
  70. background:url(images/bg.gif) no-repeat -346px 0px;
  71. width:4px;
  72. margin-right:5px;
  73. }
  74. acronym.icon{
  75. background:url(images/bg.gif) no-repeat -346px -61px;
  76. width:4px;
  77. height:7px;
  78. margin:0 5px 0 0;
  79. _margin:7px 5px 7px 0;
  80. }
  81. acronym.start{
  82. background:url(images/bg.gif) no-repeat -334px -306px;
  83. width:16px;
  84. height:16px;
  85. margin:0 5px 0 0;
  86. }
  87. acronym.delete{
  88. background:url(images/bg.gif) no-repeat -334px -340px;
  89. width:16px;
  90. height:16px;
  91. margin:0 5px 0 0;
  92. }
  93. acronym.continue{
  94. width:134px;
  95. height:36px;
  96. overflow:hidden;
  97. background:url(images/continue.gif) no-repeat 0 0;
  98. }
  99. acronym.checkout{
  100. width:128px;
  101. height:37px;
  102. overflow:hidden;
  103. background:url(images/checkout.gif) no-repeat 0 0;
  104. }
  105. acronym.addToCart{
  106. background:url(images/bg.gif) no-repeat 0 -232px;
  107. width:40px;
  108. height:19px;
  109. text-indent:-9999px;
  110. margin:5px 3px;
  111. cursor:pointer;
  112. }
  113. acronym.addToCart_goods{
  114. background:url(images/bg.gif) no-repeat -31px -296px;
  115. width:144px;
  116. height:53px;
  117. text-indent:-9999px;
  118. margin:5px 0;
  119. cursor:pointer;
  120. }
  121. acronym.collect{
  122. background:url(images/bg.gif) no-repeat -44px -232px;
  123. width:41px;
  124. height:19px;
  125. text-indent:-9999px;
  126. margin:5px 3px;
  127. cursor:pointer;
  128. }
  129. acronym.Compare{
  130. background:url(images/bg.gif) no-repeat -89px -232px;
  131. width:36px;
  132. height:19px;
  133. text-indent:-9999px;
  134. margin:5px 3px;
  135. cursor:pointer;
  136. }
  137. acronym.bestTit,acronym.grouptit{
  138. height:24px;
  139. *height:25px;
  140. _height:24px;
  141. padding:7px 30px 0 30px;
  142. padding-right:70px\9;
  143. *padding:5px 70px 0 30px;
  144. _padding:6px 70px 0 30px;
  145. font-size:14px;
  146. font-weight:bold;
  147. color:#fff;
  148. background:url(images/best_bg_4.gif) no-repeat top right;
  149. }
  150. acronym.grouptit{
  151. background:url(images/best_bg_5.gif) no-repeat top right;
  152. *height:27px;
  153. _height:26px;
  154. }
  155. .bnt_number2,.bnt_number4,.bnt_number6,.bnt_number8,.bnt_number10{
  156. border:none;
  157. text-align:center;
  158. font-weight:bold;
  159. font-size:14px;
  160. color:#fff;
  161. height:24px;
  162. }
  163. .bnt_number2{
  164. width:64px;
  165. background:url(images/bg.gif) no-repeat -198px -199px;
  166. }
  167. .bnt_number4{
  168. width:84px;
  169. background:url(images/bg.gif) no-repeat 0 -168px;
  170. }
  171. .bnt_number6{
  172. width:112px;
  173. background:url(images/bg.gif) no-repeat -91px -168px;
  174. }
  175. .bnt_number8{
  176. width:141px;
  177. background:url(images/bg.gif) no-repeat -208px -168px;
  178. }
  179. .bnt_number10{
  180. width:190px;
  181. background:url(images/bg.gif) no-repeat 0 -200px;
  182. }
  183. .go{
  184. width:49px;
  185. height:21px;
  186. border:none;
  187. background:url(images/text_bg.gif) no-repeat 0-48px;
  188. }
  189. .bnt_join{
  190. cursor:pointer;
  191. width:102px;
  192. height:43px;
  193. border:none;
  194. background:url(images/bg.gif) no-repeat -33px -357px;
  195. }
  196. .bnt_login{
  197. cursor:pointer;
  198. width:102px;
  199. height:43px;
  200. border:none;
  201. background:url(images/bg.gif) no-repeat -140px -357px;
  202. }

  203. /*字体及颜色*/
  204. .f1{color:#ff6c02;}
  205. .f14b{font-size:14px; font-weight:bold;}
  206. .username{color:#a80416;}
  207. .price{color:#ff6c02; font-weight:bold; font-size:14px;}
  208. a:link {color: #424242; text-decoration:none;}
  209. a:visited {color: #424242;text-decoration:none;}
  210. a:hover {color: #ff0000; text-decoration:none;}
  211. a:active {color: #424242; text-decoration:none;}
  212. .a{color:#ff0000;}
  213. .b{color:#0000ff;}

  214. /* ====================通用模块==================== */
  215. .module{
  216. border:1px solid #e2e2e2;
  217. margin-bottom:8px;
  218. }
  219. .module .modTitle{
  220. padding:0 10px;
  221. height:26px;
  222. line-height:26px;
  223. background:url(images/title_bg.gif) no-repeat 0 0;
  224. font-size:14px;
  225. font-weight:bold;
  226. color:#414141;

  227. }
  228. .module .modTitle p{
  229. background:url(images/bg.gif) no-repeat 0 -111px;
  230. padding-left:22px;
  231. float:left;
  232. }
  233. .module .modTitle .more{
  234. display:block;
  235. float:right;
  236. height:19px;
  237. width:55px;
  238. margin-top:3px;
  239. text-indent:-56px;
  240. overflow:hidden;
  241. background:url(images/bg.gif) no-repeat -295px -143px;
  242. }

  243. .module_1{
  244. border:2px solid #b60134;
  245. border-top:none;
  246. margin-bottom:8px;
  247. }
  248. .module_1 .modTitle{
  249. position:relative;
  250. height:31px;
  251. line-height:31px;
  252. font-weight:bold;
  253. font-size:14px;
  254. color:#fff;
  255. padding-left:28px;
  256. background:url(images/title_bg_1.gif) repeat-x 0 0;
  257. }
  258. .module_1 .modTitle .L{
  259. display:block;
  260. width:24px;
  261. height:31px;
  262. background:url(images/bg.gif) no-repeat -58px 0;
  263. overflow:hidden;
  264. position:absolute; left:-2px; top:0px;
  265. }
  266. .module_1 .modTitle .R{
  267. display:block;
  268. width:10px;
  269. height:31px;
  270. background:url(images/bg.gif) no-repeat -83px 0;
  271. overflow:hidden;
  272. position:absolute; right:-2px; top:0px;
  273. }
  274. .module_2{
  275. border:2px solid #b2c4d0;
  276. border-top:none;
  277. margin-bottom:8px;
  278. }
  279. .module_2 .modTitle{
  280. position:relative;
  281. height:31px;
  282. line-height:31px;
  283. font-weight:bold;
  284. font-size:14px;
  285. color:#c72e28;
  286. padding-left:28px;
  287. background:url(images/title_bg_2.gif) repeat-x 0 0;
  288. }
  289. .module_2 .modTitle a{
  290. color:#c72e28;
  291. }
  292. .module_2 .modTitle .L{
  293. display:block;
  294. width:25px;
  295. height:31px;
  296. background:url(images/bg.gif) no-repeat -96px 0;
  297. overflow:hidden;
  298. position:absolute; left:-2px; top:0px;
  299. }
  300. .module_2 .modTitle .R{
  301. display:block;
  302. width:8px;
  303. height:31px;
  304. background:url(images/bg.gif) no-repeat -122px 0;
  305. overflow:hidden;
  306. position:absolute; right:-2px; top:0px;
  307. }
  308. .module_2 .modTitle .more,.module_4_1 .modTitle .more{
  309. display:block;
  310. float:right;
  311. height:19px;
  312. width:55px;
  313. margin:7px 10px 0 0;
  314. text-indent:-56px;
  315. overflow:hidden;
  316. background:url(images/bg.gif) no-repeat -234px -143px;
  317. }

  318. .modContent{
  319. padding:10px;
  320. }
  321. .module_3{
  322. position:relative;
  323. background:url(images/best_bg_2.gif) repeat-x left bottom;
  324. min-height:260px;
  325. _height:260px;
  326. }
  327. .module_3 span{
  328. width:5px;
  329. height:5px;
  330. display:block;
  331. overflow:hidden;
  332. }
  333. .module_3 span.l{
  334. background:url(images/bg.gif) no-repeat -132px 0;
  335. position:absolute; left:0px; bottom:0px;
  336. }
  337. .module_3 span.r{
  338. background:url(images/bg.gif) no-repeat -138px 0;
  339. position:absolute; right:0px; bottom:0px;
  340. }
  341. .module_3L{
  342. background:url(images/best_bg_1.gif) no-repeat 0 0;
  343. margin-bottom:8px;
  344. }
  345. .module_3R{
  346. background:url(images/best_bg_3.gif) no-repeat right top;
  347. }
  348. .module_3 .modTitle{
  349. height:31px;
  350. background:url(images/best_bg.gif) no-repeat top right;
  351. }
  352. .module_3 .modTitle .L{
  353. background:url(images/best_bg.gif) no-repeat 0 -35px;
  354. }

  355. .module_4{
  356. border:1px solid #b2c4d0;
  357. border-top:none;
  358. margin-bottom:8px;
  359. }
  360. .module_4_1{
  361. border:4px solid #f4f8fb;
  362. border-top:none;
  363. }
  364. .module_4_1 .modTitle{
  365. position:relative;
  366. height:31px;
  367. background:url(images/mod4_bg.gif) repeat-x 0 0;
  368. }
  369. .module_4_1 .modTitle span{
  370. display:block;
  371. height:31px;
  372. width:9px;
  373. overflow:hidden;
  374. background:url(images/bg.gif) no-repeat -146px 0;
  375. position:absolute; top:0; right:-5px;
  376. }
  377. .module_4_1 .modTitle .L{
  378. height:31px;
  379. background:url(images/best_bg.gif) 0 -69px;
  380. position:relative; left:-5px;
  381. }
  382. .module_4_1 .modTitle .more{
  383. _margin:7px 6px 0 0;
  384. }
  385. /*单个商品外围框架(此方法在火狐和ie8下面会产生3px边距)*/
  386. .goodsbox{
  387. width:170px;
  388. min-height:1px;
  389. display: -moz-inline-stack;
  390. display: inline-block;
  391. text-align:center;
  392. vertical-align: top;
  393. zoom:1;
  394. *display:inline;
  395. _height:1px;
  396. }
  397. .goodsbox .imgbox{
  398. width:170px;
  399. margin:0 0 5px 0;
  400. overflow:hidden;
  401. }
  402. /* ====================页面布局==================== */
  403. #pageLeft{
  404. width:250px;
  405. margin-right:8px;
  406. }
  407. #pageRight{
  408. width:742px;
  409. }
  410. #userLeft{
  411. width:200px;
  412. margin-right:8px;
  413. }
  414. #userRight{
  415. width:792px;
  416. }
  417. #articleLeft{
  418. width:742px;
  419. margin:0 8px 8px 0;
  420. }
  421. #articleRight{
  422. width:250px;
  423. margin-bottom:8px;
  424. }
复制代码


  1. /* ====================header==================== */
  2. #topNav{
  3. width:1000px;
  4. height:27px;
  5. background:url(images/topNav_bg.gif) repeat-x 0 0;
  6. position:relative;
  7. }
  8. #topNav span{
  9. height:27px;
  10. width:5px;
  11. display:block;
  12. overflow:hidden;
  13. }
  14. #topNav span.L{
  15. position:absolute; left:0px; top:0px;
  16. background:url(images/bg.gif) no-repeat 0 0;
  17. }
  18. #topNav span.R{
  19. position:absolute; right:0px; top:0px;
  20. background:url(images/bg.gif) no-repeat -6px 0;
  21. }
  22. #topNav .tel{
  23. color:#000;
  24. line-height:27px;
  25. width:196px;
  26. background:url(images/800.gif) no-repeat center right;
  27. margin-left:20px;
  28. }
  29. #topNav .nav{
  30. line-height:27px;
  31. margin-right:20px;
  32. }
  33. #searchBox{
  34. background:url(images/search_bg.gif) no-repeat center top;
  35. position:relative;
  36. height:94px;
  37. }
  38. #searchBox .logo{
  39. float:left;
  40. width:300px;
  41. height:94px;/*logo最大为300x94*/
  42. line-height:94px;
  43. text-align:center;
  44. overflow:hidden;
  45. }
  46. #searchBox .logo img{
  47. *margin-top: expression(( 94 - this.height ) / 2);
  48. text-align:center;
  49. vertical-align:middle;
  50. }
  51. #searchBox .searchForm{
  52. width:680px;
  53. padding-left:20px;
  54. height:94px;
  55. position:absolute; right:0px; top:0px;
  56. }
  57. #searchBox .searchForm form{
  58. background:url(images/search_bg_1.gif) no-repeat 0 0;
  59. width:576px;
  60. height:39px;
  61. margin-top:25px;
  62. }
  63. #searchBox .searchForm form #keyword{
  64. border:none;
  65. width:360px;
  66. height:23px;
  67. margin:8px 0 0 10px;
  68. position:relative; top:-8px;
  69. *position:relative; *top:-4px;
  70. background:none;
  71. }
  72. #searchBox .searchForm form .bnt_scarch{
  73. position:relative; left:-2px; top:4px;
  74. }
  75. #searchBox .searchForm form .advanced_search{
  76. position:relative;left:10px; top:-6px;
  77. font-size:14px;
  78. }
  79. #pageNav{
  80. background:url(images/nav_bg.gif) repeat-x 0 0;
  81. height:75px;
  82. position:relative;
  83. }
  84. #pageNav span{
  85. display:block;
  86. width:9px;
  87. height:75px;
  88. overflow:hidden;
  89. }
  90. #pageNav span.L{
  91. position:absolute; left:0px; top:0px;
  92. background:url(images/bg.gif) no-repeat -14px 0px;
  93. }
  94. #pageNav span.R{
  95. position:absolute; right:0px; top:0px;
  96. background:url(images/bg.gif) no-repeat -24px 0px;
  97. }
  98. #pageNav ul{
  99. margin:0 20px;
  100. height:38px;
  101. }
  102. #pageNav li{
  103. float:left;
  104. height:27px;
  105. padding:11px 20px 0 20px;
  106. background:url(images/nav_bg_2.gif) no-repeat right top;
  107. font-size:14px;
  108. font-weight:bold;
  109. color:#fff;
  110. }
  111. #pageNav li a{
  112. color:#fff;
  113. }
  114. #pageNav li.cur{
  115. background:url(images/nav_bg_1.gif) repeat-x 0 0;
  116. position:relative;
  117. }
  118. #pageNav li.cur span{
  119. display:block;
  120. widht:8px;
  121. height:34px;
  122. overflow:hidden;
  123. }
  124. #pageNav li.cur span.L{
  125. position:absolute; left:-1px; top:0px;
  126. background:url(images/bg.gif) no-repeat -35px 0;
  127. }
  128. #pageNav li.cur span.R{
  129. position:absolute; right:0px; _right:-1px; top:0px;
  130. background:url(images/bg.gif) no-repeat -43px 0;
  131. }

  132. .searchkeywords{
  133. clear:both;
  134. margin:8px 20px 0 20px;
  135. }
  136. .searchkeywords .keyslist{
  137. background:url(images/bg.gif) no-repeat -326px -35px;
  138. padding-left:35px;
  139. line-height:20px;
  140. color:#ffba70;
  141. }
  142. .searchkeywords .keyslist a{
  143. color:#ffba70;
  144. }
  145. .searchkeywords #ECS_CARTINFO{
  146. position:relative; top:-2px;
  147. height:23px;
  148. line-height:23px;
  149. padding:0 5px 0 34px;
  150. background:url(images/bg.gif) no-repeat 0 -77px;
  151. }
  152. .searchkeywords #ECS_CARTINFO a{
  153. color:#000; text-decoration:underline;
  154. }
  155. .searchkeywords #ECS_CARTINFO a:hover{
  156. color:#ff0000;
  157. text-decoration:none;
  158. }
  159. .searchkeywords #ECS_CARTINFO span{
  160. display:block;
  161. height:23px;
  162. width:3px;
  163. overflow:hidden;
  164. position:absolute; right:0px; _right:-1px; top:0px;
  165. background:url(images/bg.gif) no-repeat -347px -77px;
  166. }
  167. /* ====================flash==================== */
  168. .flash{
  169. border:1px solid #e2e2e2;
  170. margin:0 8px 8px 0;
  171. width:530px;
  172. height:265px;
  173. }
  174. .flash img{
  175. display:block;
  176. }
  177. .shop_notice{
  178. width:200px;
  179. height:265px;
  180. margin-bottom:8px;
  181. border:1px solid #b7cad9;
  182. background:url(images/notice_bg.gif) repeat-x 0 0;
  183. overflow:hidden;
  184. }
  185. .shop_notice .content{
  186. background:url(images/notice_bg_1.gif) no-repeat center top;
  187. padding:75px 10px 10px 10px;
  188. }

  189. /* ====================library==================== */
  190. .ur_here{
  191. height:30px;
  192. line-height:30px;
  193. width:960px;
  194. padding:0 20px;
  195. margin-bottom:8px;
  196. background:url(images/us_here.gif) no-repeat 0 0;
  197. }
  198. .ur_here a{
  199. text-decoration:underline;
  200. }
  201. .brands{
  202. height:57px;
  203. width:998px;
  204. background:url(images/brands_bg.gif) repeat-x 0 0;
  205. border:1px solid #e2e2e2;
  206. margin:8px auto;
  207. }
  208. .brands .brandsList{
  209. background:url(images/brands_bg_1.gif) no-repeat 0 0;
  210. padding:8px 0 0 83px;
  211. height:49px;
  212. }
  213. .brands .brandsList img{
  214. width:78px;
  215. height:38px;
  216. border:1px solid #e2e2e2;
  217. margin:0 4px;
  218. }
  219. .brands .brandsMore{
  220. width:68px;
  221. height:57px;
  222. display:block;
  223. text-indent:-70px;
  224. overflow:hidden;
  225. background:url(images/brands_bg_1.gif) no-repeat 0 -63px;
  226. }
  227. .brandsLogo{
  228. width:200px;
  229. padding-top:20px;
  230. text-align:center;
  231. }
  232. .brand_desc{
  233. width:500px;
  234. margin-left:10px;
  235. }
  236. .all_brand .goodsbox{
  237. width:185px;
  238. overflow:hidden;
  239. border:1px solid #efefef;
  240. margin:0 1px 10px 1px;
  241. *margin:0 3px 10px 3px;
  242. }
  243. .all_brand .goodsbox .imgbox{
  244. width:185px;
  245. text-align:center;
  246. margin:8px 0;
  247. }
  248. .all_brand .goodsbox h4{
  249. background:#eae9e9;
  250. padding:3px 10px;
  251. font-weight:100;
  252. border:1px solid #fff;
  253. }
  254. .all_brand .goodsbox p{
  255. text-indent:20px;
  256. text-align:left;
  257. padding:5px;
  258. }
  259. .promotion_goods{
  260. padding:11px 10px;
  261. padding-bottom:7px\9;
  262. *padding:10px;
  263. _padding:8px 10px 7px 10px;
  264. }
  265. .promotion_goods .goodsbox{
  266. width:70px;
  267. }
  268. .promotion_goods .goodsbox .imgbox{
  269. width:70px;
  270. }
  271. .promotion_goods .goodsbox .imgbox img{
  272. width:60px;
  273. height:60px;
  274. }
  275. .categories{
  276. border-bottom:1px solid #e2e2e2;
  277. margin-bottom:8px;
  278. padding-bottom:8px;
  279. }
  280. .categories acronym{
  281. position:relative;top:-2px;
  282. *position:relative;top:-1px;
  283. }
  284. .categoriesTit{
  285. background:url(images/text_bg.gif) no-repeat 0 0;
  286. text-indent:-140px;
  287. overflow:hidden;
  288. }
  289. #top10 li{
  290. cursor:pointer;
  291. }
  292. #top10 li .first{
  293. border-bottom:1px solid #e2e2e2;
  294. padding-bottom:5px;
  295. margin-bottom:8px;
  296. }
  297. #top10 li .last{
  298. border-bottom:1px solid #e2e2e2;
  299. padding-bottom:5px;
  300. margin-bottom:8px;
  301. display:none;
  302. }
  303. #top10 li.cur .first{
  304. display:none;
  305. }
  306. #top10 li.cur .last{
  307. display:block;
  308. }
  309. #top10 li .last .left img{
  310. width:65px;
  311. height:65px;
  312. border:1px solid #828080;
  313. margin-right:8px;
  314. }
  315. #ECS_ORDER_QUERY form{
  316. display:inline;
  317. }
  318. /*分类下的,品牌下的商品*/
  319. #CatGoods .goodsbox,#BrandGoods .goodsbox,.releate_goods .goodsbox{
  320. border:1px solid #efefef;
  321. margin:0 1px 10px 1px;
  322. *margin:0 3px 10px 3px;
  323. }
  324. /*精品,新品,热卖*/
  325. .recommendTit{
  326. float:right;
  327. margin:5px 20px 0 0;
  328. _margin:5px 10px 0 0;
  329. }
  330. .recommendTit h2{
  331. float:left;
  332. position:relative;
  333. height:26px;
  334. line-height:26px;
  335. padding:0 15px;
  336. margin-left:-2px;
  337. background:url(images/bg.gif) no-repeat 0 -261px;
  338. }
  339. .recommendTit h2 span{
  340. width:3px;
  341. height:26px;
  342. overflow:hidden;
  343. position:absolute; right:0px; _right:-1px; top:0px;
  344. background:url(images/bg.gif) no-repeat -347px -261px;
  345. }
  346. .recommendTit .h2bg{
  347. background:url(images/h2bg.gif) no-repeat center right;
  348. color:#666769;
  349. }
  350. .recommendTit .h2bg a{
  351. color:#666769;
  352. }
  353. .recommendTit .h2bg span{
  354. display:none;
  355. }
  356. .recommendTit .more{
  357. display:block;
  358. float:left;
  359. height:19px;
  360. width:55px;
  361. margin:3px 0 0 15px;
  362. text-indent:-56px;
  363. overflow:hidden;
  364. background:url(images/bg.gif) no-repeat -295px -143px;
  365. }
  366. .recommendContent{
  367. padding:20px 15px 0 15px;
  368. }
  369. .groupContent{
  370. padding:20px 10px 10px 13px;
  371. *padding:20px 10px 10px 10px;
  372. }
  373. .recommendContent .goodsbox,.groupContent .goodsbox,.grid .goodsbox,.floatTable .goodsbox{
  374. border:1px solid #efefef;
  375. margin:0 0 10px 0;
  376. *margin:0 3px 10px 3px;
  377. }

  378. .help{
  379. padding:10px 10px 0 10px;
  380. *padding:10px 10px 0 40x;
  381. }
  382. .help .goodsbox{
  383. width:186px;
  384. margin-bottom:15px;
  385. text-align:left;
  386. border-right:1px dashed #ebe8e8;
  387. }
  388. .help .goodsbox .helpTit{
  389. width:136px;
  390. height:19px;
  391. padding-left:20px;
  392. background:url(images/help_bg.gif) no-repeat 0 0;
  393. font-weight:bold;
  394. font-size:14px;
  395. color:#fff;
  396. margin-bottom:8px;
  397. }
  398. .help .goodsbox .helpList{
  399. padding-left:20px;
  400. }
  401. /* ======友情链接 ====== */
  402. .links{
  403. width:978px;
  404. padding:10px;
  405. border:1px solid #e2e2e2;
  406. margin-bottom:8px;
  407. }
  408. .links img{
  409. width:88px;
  410. height:33px;
  411. margin:3px 2px;
  412. }

  413. /* ====================goods.dwt==================== */
  414. .goodsName{
  415. border-bottom:2px solid #d9d9d9;
  416. margin:10px 0;
  417. padding-bottom:10px;
  418. font-weight:bold;
  419. font-size:16px;
  420. position:relative;
  421. }
  422. .goodsName .prev{
  423. position:absolute; right:10px; top:6px;
  424. }

  425. .goodImg{
  426. width:329px;
  427. position:relative;
  428. }
  429. .goodImg .imgInfo{
  430. border:1px solid #ccc;
  431. height:300px;
  432. width:300px;
  433. line-height:300px;
  434. text-align:center;
  435. margin:0px;
  436. overflow:hidden;
  437. }
  438. .goodImg .imgInfo img{
  439. *margin-top: expression(( 300 - this.height ) / 2);
  440. text-align:center;
  441. vertical-align:middle;
  442. }
  443. .goodImg .collect{
  444. width:27px;
  445. height:128px;
  446. background:url(images/bg.gif) no-repeat 0 -296px;
  447. overflow:hidden;
  448. cursor:pointer;
  449. text-indent:-330px;
  450. position:absolute; top:0px; right:0px; _right:-1px;
  451. }
  452. .goodImg .picture{
  453. background:#f7f5f5;
  454. margin-top:10px;
  455. text-align:left;
  456. padding-left:10px;
  457. }
  458. .goodImg .picture img{
  459. width:46px;
  460. height:46px;
  461. cursor:pointer;
  462. margin:0 3px;
  463. }
  464. .goodImg .picture img.onbg{
  465. background:url(images/bg_pic.gif) no-repeat 0 0;
  466. padding:8px 2px 2px 2px;
  467. }
  468. .goodImg .picture img.autobg{
  469. background:url(images/bg_pic_1.gif) no-repeat 0 0;
  470. padding:8px 2px 2px 2px;
  471. }
复制代码

  1. .goodTextInfo{
  2. width:380px;
  3. padding-left:10px;
  4. font-size:14px;
  5. line-height:24px;
  6. color:#424242;
  7. }
  8. .Goodpromotion{
  9. background:#f6f6f6;
  10. border:1px solid #e8e8e8;
  11. padding:8px;
  12. margin:5px 0;
  13. }
  14. /*tag*/
  15. .goodsTagTit{
  16. border-bottom:2px solid #cb4124;
  17. padding:0 20px;
  18. margin-top:20px;
  19. }
  20. .goodsTagTit h2{
  21. height:28px;
  22. line-height:30px;
  23. position:relative; top:2px; _top:4px;
  24. float:left;
  25. padding:0 15px;
  26. margin:0 3px;
  27. border-top:2px solid #cb4124;
  28. background:#fff;
  29. }
  30. .goodsTagTit h2 span,.goodsTagTit .h2bg span{
  31. display:block;
  32. height:30px;
  33. width:6px;
  34. overflow:hidden;
  35. }
  36. .goodsTagTit h2 span.L{
  37. background:url(images/bg.gif) no-repeat -158px 0;
  38. position:absolute; left:0px; top:-2px;
  39. }
  40. .goodsTagTit h2 span.R{
  41. background:url(images/bg.gif) no-repeat -165px 0;
  42. position:absolute; right:0px; top:-2px;
  43. }
  44. .goodsTagTit .h2bg span.L{
  45. background:url(images/bg.gif) no-repeat -174px 0;
  46. position:absolute; left:0px; top:0px;
  47. }
  48. .goodsTagTit .h2bg span.R{
  49. background:url(images/bg.gif) no-repeat -181px 0;
  50. position:absolute; right:0px; top:0px;
  51. }
  52. .goodsTagTit .h2bg{
  53. height:30px;
  54. border:none;
  55. background:url(images/goodTag_bg.gif) repeat-x 0 0;
  56. }
  57. #com_v{
  58. padding:10px 0 30px 0;
  59. }
  60. .goodsTitle{
  61. line-height:28px;
  62. font-weight:bold;
  63. font-size:14px;
  64. padding:0 20px;
  65. background:url(images/title_bg_3.gif) repeat-x 0 0;
  66. }
  67. /*属性相关的商品*/
  68. .attribute ul{
  69. border-bottom:1px dashed #e8e8e8;
  70. margin-bottom:6px;
  71. }
  72. .attribute li{
  73. float:left;
  74. *padding-bottom:5px;
  75. }
  76. .attribute li.goodsimg{
  77. margin-right:8px;
  78. }
  79. .attribute li.goodsimg img{
  80. width:45px;
  81. height:45px;
  82. border:1px solid #ccc;
  83. }
  84. #clear_history{
  85. border:none;
  86. text-align:right;
  87. }
  88. #clear_history a{
  89. cursor:pointer;
  90. }
  91. /*评论*/
  92. .commentsTit{
  93. border-top:1px dashed #e1ebfa;
  94. border-bottom:1px dashed #e1ebfa;
  95. background:#f8fbff;
  96. height:28px;
  97. line-height:28px;
  98. padding:0 15px;
  99. margin:10px 0;
  100. position:relative;
  101. }
  102. .commentsTit span{
  103. position:absolute; right:10px;
  104. color:#9c9a9f;
  105. }
  106. .commentsTit img{
  107. position:relative;top:3px;
  108. }
  109. .commentsContent{
  110. text-indent:20px;
  111. }
  112. .re_content{
  113. text-indent:0px;
  114. background:#f7f9f4;
  115. border:1px solid #eef9df;
  116. padding:10px;
  117. margin:10px 0;
  118. }
  119. .captcha{
  120. padding-left:12px;
  121. }
  122. .captcha input{
  123. position:relative; left:5px;
  124. }
  125. .captcha img{
  126. position:relative; top:5px;
  127. }

  128. /* ====================category.dwt==================== */
  129. .modContent .screeBox{
  130. padding:5px 0;
  131. border-bottom:1px dashed #ebeaea;
  132. }
  133. .modContent .screeBox span{
  134. padding:3px 5px;
  135. background:#8e021d;
  136. color:#fff;
  137. }
  138. .sort{
  139. font-size:12px;
  140. font-weight:100;
  141. line-height:28px;
  142. vertical-align:middle;
  143. margin-top:3px;
  144. margin-top:1px\9;
  145. }
  146. .sort select{
  147. _margin-top:3px;
  148. }
  149. .cateGoodList ul{
  150. border-bottom:1px solid #efeeee;
  151. margin-bottom:8px;
  152. }
  153. .cateGoodList li{
  154. float:left;
  155. padding:5px 0;
  156. }
  157. .cateGoodList li.thumb{
  158. margin-right:10px;
  159. }
  160. .cateGoodList li.thumb img{
  161. width:60px;
  162. height:60px;
  163. border:1px solid #ccc;
  164. }
  165. .cateGoodList li.goodsText{
  166. width:300px;
  167. margin-right:20px;
  168. }
  169. .cateGoodList li.action{
  170. float:right;
  171. }
  172. /*pages*/
  173. .pagebar{padding:12px 0; text-align:right;}
  174. .pagebar form{margin:10px auto; text-align:right;}
  175. .pagebar .page_now{color:#fff; font-weight:bold; padding:4px 6px; background:#4398ce}
  176. .pagebar a{border:1px solid #ccc; padding:3px 5px;}

  177. /* ====================团购,拍卖,夺宝奇兵==================== */
  178. .group_buy_list{
  179. border-bottom:1px solid #ccc;
  180. margin-bottom:10px;
  181. padding-bottom:10px;
  182. }
  183. .group_buy_list .groupImg{
  184. border:1px solid #efeeee;
  185. padding:20px;
  186. margin-right:20px;
  187. }

  188. /* ====================文章系列==================== */
  189. .articleTit{
  190. text-align:center;
  191. font-family:"黑体";
  192. font-size:20px;
  193. color:#414141;
  194. font-weight:normal;
  195. border-bottom-color:#b60136;
  196. margin-bottom:0px;
  197. }
  198. .articleBox{
  199. border:1px solid #ccc;
  200. border-top:none;
  201. padding:20px;
  202. margin-bottom:8px;
  203. }
  204. .author{
  205. position:relative;
  206. margin-bottom:15px;
  207. }
  208. .author .articleSize{
  209. position:absolute; top:0px; right:10px;
  210. }
  211. .articlePrev{
  212. margin-top:20px;
  213. padding:10px;
  214. border-top:1px dashed #d9d9d9;
  215. }
  216. .articleRelated{
  217. padding-left:12px;
  218. }
  219. .articleRelated .goodsbox{
  220. width:220px;
  221. border:1px solid #efefef;
  222. margin-bottom:8px;
  223. }
  224. .articleSearch{
  225. float:right;
  226. margin:3px 10px 0 0;
  227. }

  228. /* ====================购物流程==================== */
  229. .steps1,.steps2,.steps3{
  230. width:1000px;
  231. height:38px;
  232. margin-bottom:10px;
  233. overflow:hidden;
  234. text-indent:-999999px;
  235. }
  236. .steps1{
  237. background:url(images/steps.gif) no-repeat 0 0;
  238. }
  239. .steps2{
  240. background:url(images/steps.gif) no-repeat 0 -40px;
  241. }
  242. .steps3{
  243. background:url(images/steps.gif) no-repeat 0 -81px;
  244. }
  245. .floatTable{
  246. margin-bottom:10px;
  247. }
  248. .orderSuccess{
  249. padding:20px;
  250. margin-bottom:10px;
  251. border:2px solid #b60037;
  252. }
  253. .orderSuccess .order_sn{
  254. font-family:"黑体";
  255. font-weight:normal;
  256. font-size:18px;
  257. margin:8px 0;
  258. }
  259. .orderSuccess .shipping_name{
  260. line-height:24px;
  261. padding-left:30px;
  262. }
  263. .orderSuccess p{
  264. margin-top:20px;
  265. text-align:center;
  266. }
  267. .orderSuccess p a{
  268. text-decoration:underline;
  269. color:#295ad0;
  270. }
  271. .step_login{
  272. border:1px solid #ccc;
  273. width:478px;
  274. height:300px;
  275. padding:5px;
  276. margin-bottom:8px;
  277. }
  278. .user_login{
  279. width:978px;
  280. border:1px solid #ccc;
  281. margin-bottom:8px;
  282. padding:10px;
  283. background:#fbfbfb;
  284. }
  285. .step_login h4,.user_login h4{
  286. background:#d53a3e;
  287. line-height:28px;
  288. padding:0 10px;
  289. margin-bottom:15px;
  290. text-align:left;
  291. color:#fff;
  292. border-bottom:3px solid #e4e4e4;
  293. }
  294. .step_login h4.h4bg{
  295. background:#5c5c5c;
  296. }
  297. /* ====================用户中心==================== */
  298. .userMenu ul{
  299. margin-left:20px;
  300. }
  301. .userMenu li{
  302. background:url(images/bg.gif) no-repeat -346px 0px;
  303. line-height:24px;
  304. padding-left:10px;
  305. font-size:14px;
  306. }
  307. .userMenu li a.curs{
  308. font-weight:bold;
  309. }

  310. .us_contentBox{
  311. border:1px solid #d8d8d8;
  312. border-top:2px solid #cc4124;
  313. padding:10px;
  314. margin-bottom:8px;
  315. }
  316. .us_contentBox h6{
  317. height:25px;
  318. line-height:25px;
  319. background:url(images/bg.gif) no-repeat -249px -372px;
  320. background-color:#efefef;
  321. padding:0 20px;
  322. margin-bottom:10px;
  323. }
  324. .us_notice{
  325. border:1px solid #d2e2f2;
  326. background:#f8fbff;
  327. padding:10px;
  328. text-indent:20px;
  329. margin:10px 0;
  330. }
  331. .default{
  332. padding:20px;
  333. line-height:24px;
  334. min-height:345px;
  335. _height:345px;
  336. }
  337. .close{
  338. border:2px solid #fe8802; float:left; background:#fffae7; margin-top:8px; padding:20px 8px 10px 10px; width:265px; position:relative;
  339. display:none;
  340. }
  341. .close a{
  342. text-decoration:underline;
  343. }
  344. .close a:hover{
  345. text-decoration:none;
  346. }
  347. .close span{
  348. display:block; width:14px; height:14px; overflow:hidden; background:url(images/close.gif) no-repeat 0 0;
  349. position:absolute; top:3px; right:5px; cursor:pointer;
  350. }
  351. /* ======商品比较浮动块 ====== */
  352. #compareBox {
  353. width:128px;
  354. background:url(images/compareBg.gif) no-repeat top center;
  355. background-color:#edf8ff;
  356. padding:35px 0 8px 0;
  357. border: 1px solid #c5e4ff;
  358. position: absolute;
  359. right:1px;
  360. top:200px;
  361. }

  362. #compareBox input {
  363. width:52px; height:13px;
  364. border:none;
  365. background:url(images/compareSub.gif) no-repeat;
  366. }

  367. #compareList {
  368. margin:0px 0px 8px 0px;
  369. padding:0px;
  370. width:120px;
  371. background:#FFFFFF;
  372. border:1px solid #d6ecff;
  373. }

  374. #compareList li {
  375. color: #333;
  376. text-align:left;
  377. background: #fff;
  378. padding: 3px 5px;
  379. margin: 3px 0;
  380. }

  381. #compareList li img {
  382. float:right;
  383. padding-top:4px;
  384. }

  385. /*购物车提示点击更新按钮式样2.6.2版本添加*/
  386. .messageli {
  387. list-style-type:none;
  388. padding:5px;
  389. color:red;
  390. }
  391. .messagediv {
  392. font-size:12px;
  393. position:absolute;
  394. border:1px solid #FFD700;
  395. text-align:center;
  396. padding:5px;
  397. background-color:#FFFACD;
  398. filter:alpha(opacity=50);
  399. -moz-opacity:0.7;
  400. opacity: 0.7;
  401. }

  402. /* 积分兑换样式修改 */
  403. .point li{
  404. float:left;
  405. width:300px;
  406. }
复制代码

这个不是只要写了市场价和会员价就能显示不用改的吗

我也是。看模板的阅读权限,权限是30的话,正式会员下载不了,积分要达到180以上才可以。。。

同关注!!

努力发帖。。。赚取积分~~,管理员别封我,我也不容易!

积分达到180分,阅读权限倒30,会员等级升级到高级会员才能下载,努力赚积分中....

其实我也在等人解决

直接在市场价哪里加个中间横线就解决。。。

求详细方法

贴那么长代码。。。