人人商城

detail.html 4.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {template 'header'}
  2. <div id="activity-detail">
  3. <style type="text/css">
  4. @charset "utf-8";
  5. html{background:#FFF;color:#000;}
  6. body, div, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td{margin:0;padding:0;}
  7. table{border-collapse:collapse;border-spacing:0;}
  8. fieldset, img{border:0;}
  9. address, caption, cite, code, dfn, th, var{font-style:normal;font-weight:normal;}
  10. ol, ul{list-style:none;}
  11. caption, th{text-align:left;}
  12. h1, h2, h3, h4, h5, h6{font-size:100%;font-weight:normal;}
  13. q:before, q:after{content:'';}
  14. abbr, acronym{border:0;font-variant:normal;}
  15. sup{vertical-align:text-top;}
  16. sub{vertical-align:text-bottom;}
  17. input, textarea, select{font-family:inherit;font-size:inherit;font-weight:inherit;}
  18. input, textarea, select{font-size:100%;}
  19. legend{color:#000;}
  20. html{background-color:#f8f7f5;}
  21. body{background:#f8f7f5;color:#222;font-family:Helvetica, STHeiti STXihei, Microsoft JhengHei, Microsoft YaHei, Tohoma, Arial;height:100%;position:relative;}
  22. body > .tips{display:none;left:50%;padding:20px;position:fixed;text-align:center;top:50%;width:200px;z-index:100;}
  23. .page{padding:15px;}
  24. .page .page-error, .page .page-loading{line-height:30px;position:relative;text-align:center;}
  25. #activity-detail .page-bizinfo{border-bottom:2px solid #EEE;}
  26. #activity-detail .page-bizinfo .header{padding: 15px 15px 10px; border-bottom:1px solid #CCC;}
  27. #activity-detail .page-bizinfo .header #activity-name{color:#000;font-size:20px;font-weight:bold;word-break:normal;word-wrap:break-word;}
  28. #activity-detail .page-bizinfo .header #post-date{color:#8c8c8c;font-size:11px;margin:0;}
  29. #activity-detail .page-content{padding:15px;}
  30. #activity-detail .page-content .media{margin-bottom:18px;}
  31. #activity-detail .page-content .media img{width:100%;}
  32. #activity-detail .page-content .text{color:#3e3e3e;font-size:1.5;line-height:1.5;width: 100%;overflow: hidden;zoom:1;}
  33. #activity-detail .page-content .text p{min-height:1.5em;min-height: 1.5em;word-wrap: break-word;word-break:break-all;}
  34. #activity-list .header{font-size:20px;}
  35. #activity-list .page-list{border:1px solid #ccc;border-radius:5px;margin:18px 0;overflow:hidden;}
  36. #activity-list .page-list .line.btn{border-radius:0;margin:0;text-align:left;}
  37. #activity-list .page-list .line.btn .checkbox{height:25px;line-height:25px;padding-left:35px;position:relative;}
  38. #activity-list .page-list .line.btn .checkbox .icons{background-color:#ccc;left:0;position:absolute;top:0;}
  39. #activity-list .page-list .line.btn.off .icons{background-image:none;}
  40. #activity-list #save.btn{background-image:linear-gradient(#22dd22, #009900);background-image:-moz-linear-gradient(#22dd22, #009900);background-image:-ms-linear-gradient(#22dd22, #009900);background-image:-o-linear-gradient(#22dd22, #009900);background-image:-webkit-gradient(linear, left top, left bottom, from(#22dd22), to(#009900));background-image:-webkit-linear-gradient(#22dd22, #009900);}
  41. .vm{vertical-align:middle;}
  42. .tc{text-align:center;}
  43. .db{display:block;}
  44. .dib{display:inline-block;}
  45. .b{font-weight:700;}
  46. .clr{clear:both;}
  47. .text img{max-width:100%;}
  48. .page-url{padding-top:18px;}
  49. .page-url-link{color:#607FA6;font-size:14px;text-decoration:none;text-shadow:0 1px #ffffff;-webkit-text-shadow:0 1px #ffffff;-moz-text-shadow:0 1px #ffffff;}
  50. #footer{text-align:center; background-color:#DADADA; border-top:1px solid #B9B9B9;}
  51. #footer .copyright{border-top: 1px solid #CACACA;color: #7B7B7B;height: 35px;line-height: 35px;font-size: 12px;}
  52. #footer .copyright a{display: block;width: 100%;height: 100%;}
  53. #mbutton{padding:15px 10px 15px 10px; overflow:hidden; border-bottom:1px #DDD solid;}
  54. #mbutton > span{float:right; display:inline-block; background:#58a3ff; border:1px #63a0eb solid; color:#FFF; height:30px; line-height:30px; padding:0 10px; margin-left:10px;}
  55. #mcover{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.7);display:none;z-index:20000;}
  56. #mcover img{position:fixed;right: 18px;top:5px;width:260px;height:180px;z-index:20001;}
  57. </style>
  58. <div class="page-bizinfo">
  59. <div class="header">
  60. <h1 id="activity-name">{$row['title']}</h1>
  61. <span id="post-date">
  62. <span>{php echo date('Y-m-d', $row['createtime'])}</span>
  63. <span>{$row['author']}</span>
  64. <a href="{$subscribeurl}">
  65. {if empty($_W['account']['name'])}
  66. -
  67. {else}
  68. {$_W['account']['name']}
  69. {/if}
  70. </a>
  71. </span>
  72. </div>
  73. </div>
  74. <div class="page-content">
  75. {if $row['incontent'] != 0}
  76. <div class="media">
  77. <img onerror="this.parentNode.removeChild(this)" src="{php echo tomedia($row['thumb']);}">
  78. </div>
  79. {/if}
  80. <div class="text">
  81. {$row['content']}
  82. </div>
  83. </div>
  84. </div>
  85. {php $_share = array('content' => $row['description'], 'title' => $row['title'], 'imgUrl' => tomedia($row['thumb']));}
  86. {template 'footer'}