Authored by xuqi

Merge branch 'release/1.0' of http://git.yoho.cn/fe/yoho-blk into release/1.0

@@ -29,19 +29,17 @@ @@ -29,19 +29,17 @@
29 {{# content}} 29 {{# content}}
30 {{# singleImage}} 30 {{# singleImage}}
31 {{# data}} 31 {{# data}}
32 - <span class="article-pictwo"> 32 +
33 <img src="{{image src 930 660 1}}"> 33 <img src="{{image src 930 660 1}}">
34 - </span> 34 +
35 {{/ data}} 35 {{/ data}}
36 {{/ singleImage}} 36 {{/ singleImage}}
37 {{# smallPic}} 37 {{# smallPic}}
38 - <span class="article-pictwo">  
39 - {{!-- <div class="img-center"> --}}  
40 - {{# data}}  
41 - <img src="{{image src 460 660 1}}">  
42 - {{/ data}}  
43 - {{!-- </div> --}} 38 + {{# data}}
  39 + <span class="article-pictwo">
  40 + <img src="{{image src 460 660 1}}">
44 </span> 41 </span>
  42 + {{/ data}}
45 {{/ smallPic}} 43 {{/ smallPic}}
46 {{# text}} 44 {{# text}}
47 <div class="article-text block"> 45 <div class="article-text block">
@@ -18,7 +18,7 @@ var $commentList = $commentArea.find('.comments-wrap'), @@ -18,7 +18,7 @@ var $commentList = $commentArea.find('.comments-wrap'),
18 $wordCountTip = $('#word-count-tip'), 18 $wordCountTip = $('#word-count-tip'),
19 _alert = dialog.Alert, 19 _alert = dialog.Alert,
20 tag = $('#tags').find('li').length, 20 tag = $('#tags').find('li').length,
21 - leng = $('.goods').find('.good-info').length / 4, 21 + leng = Math.ceil($('.goods').find('.good-info').length / 4),
22 pag = 0, 22 pag = 0,
23 pre = $('.chapter-left').find('a'), 23 pre = $('.chapter-left').find('a'),
24 next = $('.chapter-right').find('a'); 24 next = $('.chapter-right').find('a');
@@ -20,6 +20,8 @@ @@ -20,6 +20,8 @@
20 .article-info { 20 .article-info {
21 width: 580px; 21 width: 580px;
22 margin: 10px auto; 22 margin: 10px auto;
  23 + clear: both;
  24 + margin-bottom: 20px;
23 } 25 }
24 26
25 .article-author { 27 .article-author {
@@ -75,14 +77,19 @@ @@ -75,14 +77,19 @@
75 margin-right: 30px; 77 margin-right: 30px;
76 } 78 }
77 } 79 }
78 -  
79 - .article-pic { 80 + .article-main {
  81 + text-align: center;
  82 + margin: 0 auto;
80 83
81 img { 84 img {
82 max-width: 930px; 85 max-width: 930px;
  86 + display: inherit;
  87 + margin: auto;
83 } 88 }
84 } 89 }
85 90
  91 +
  92 +
86 .article-pictwo { 93 .article-pictwo {
87 max-width: 930px; 94 max-width: 930px;
88 margin: 0 auto; 95 margin: 0 auto;
@@ -91,10 +98,8 @@ @@ -91,10 +98,8 @@
91 98
92 img { 99 img {
93 display: inline-block; 100 display: inline-block;
94 -  
95 max-width: 460px; 101 max-width: 460px;
96 - margin-right: 2px;  
97 - 102 + margin-right: 2px;
98 } 103 }
99 } 104 }
100 105
@@ -126,7 +126,8 @@ @@ -126,7 +126,8 @@
126 } 126 }
127 127
128 &.edit-dialog { 128 &.edit-dialog {
129 - min-width: 660px; 129 + min-width: 750px;
  130 + min-height: 470px;
130 background-color: #fff; 131 background-color: #fff;
131 132
132 * { 133 * {
@@ -136,6 +137,10 @@ @@ -136,6 +137,10 @@
136 .form { 137 .form {
137 margin: $bigSpace 0 $space; 138 margin: $bigSpace 0 $space;
138 } 139 }
  140 +
  141 + .btns {
  142 + padding-top: 40px;
  143 + }
139 } 144 }
140 145
141 .cascading-address { 146 .cascading-address {