Authored by 刘传洋

comment

No preview for this file type
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3 <svg xmlns="http://www.w3.org/2000/svg"> 3 <svg xmlns="http://www.w3.org/2000/svg">
4 <metadata> 4 <metadata>
5 -Created by FontForge 20120731 at Wed Oct 19 11:59:28 2016 5 +Created by FontForge 20120731 at Thu Oct 27 21:00:01 2016
6 By admin 6 By admin
7 </metadata> 7 </metadata>
8 <defs> 8 <defs>
@@ -19,7 +19,7 @@ Created by FontForge 20120731 at Wed Oct 19 11:59:28 2016 @@ -19,7 +19,7 @@ Created by FontForge 20120731 at Wed Oct 19 11:59:28 2016
19 bbox="-0.75 -212 1160 896.75" 19 bbox="-0.75 -212 1160 896.75"
20 underline-thickness="50" 20 underline-thickness="50"
21 underline-position="-100" 21 underline-position="-100"
22 - unicode-range="U+0078-E637" 22 + unicode-range="U+0078-E63A"
23 /> 23 />
24 <missing-glyph horiz-adv-x="374" 24 <missing-glyph horiz-adv-x="374"
25 d="M34 0v682h272v-682h-272zM68 34h204v614h-204v-614z" /> 25 d="M34 0v682h272v-682h-272zM68 34h204v614h-204v-614z" />
@@ -182,5 +182,14 @@ t117 -34.5t80 -90.5h228q27 56 80 90.5t117.5 34.5t117.5 -34.5t79 -90.5h46v765h-76 @@ -182,5 +182,14 @@ t117 -34.5t80 -90.5h228q27 56 80 90.5t117.5 34.5t117.5 -34.5t79 -90.5h46v765h-76
182 <glyph glyph-name="uniE637" unicode="&#xe637;" 182 <glyph glyph-name="uniE637" unicode="&#xe637;"
183 d="M1020 810q0 34 -24 58t-59 24h-851q-34 0 -58.5 -24t-24.5 -58v-852q0 -34 24.5 -58t58.5 -24h851q35 0 59 24t24 58v852zM815 464l-304 -304q-16 -16 -38.5 -16t-38.5 16l-191 191q-17 16 -17 39t16.5 39t39 16t38.5 -16l153 -152l264 264q16 16 39 16t39 -16t16 -38.5 183 d="M1020 810q0 34 -24 58t-59 24h-851q-34 0 -58.5 -24t-24.5 -58v-852q0 -34 24.5 -58t58.5 -24h851q35 0 59 24t24 58v852zM815 464l-304 -304q-16 -16 -38.5 -16t-38.5 16l-191 191q-17 16 -17 39t16.5 39t39 16t38.5 -16l153 -152l264 264q16 16 39 16t39 -16t16 -38.5
184 t-16 -38.5z" /> 184 t-16 -38.5z" />
  185 + <glyph glyph-name="uniE638" unicode="&#xe638;"
  186 +d="M512 -64q-185 0 -316.5 131.5t-131.5 316.5t131.5 316.5t316.5 131.5t316.5 -131.5t131.5 -316.5t-131.5 -316.5t-316.5 -131.5zM512 768q-104 0 -192.5 -51.5t-140 -140t-51.5 -192.5t51.5 -192.5t140 -140t192.5 -51.5t192.5 51.5t140 140t51.5 192.5t-51.5 192.5
  187 +t-140 140t-192.5 51.5zM727 502.5q-9 9.5 -22.5 9.5t-22.5 -9l-234 -236l-103 106q-9 9 -22.5 9.5t-23 -9t-9.5 -22.5t9 -23l126 -129h1v-1q1 -1 7 -4q0 -1 1 -1.5t2 -1.5q6 -2 12 -2t12 2q1 1 2 1.5t2 1.5q5 3 7 4v1l256 259q10 9 9.5 22t-9.5 22.5z" />
  188 + <glyph glyph-name="uniE639" unicode="&#xe639;"
  189 +d="M242 332q-9 -64 11.5 -125t66.5 -107q80 -80 193 -80t193 79.5t79.5 192.5t-80.5 193q-75 76 -181.5 80.5t-187.5 -63.5l19 58q2 6 -0.5 11.5t-7.5 6.5l-5 2q-13 3 -17 -10l-31 -96v-1l-2 -6q-2 -6 1 -10.5t8 -6.5l7 -1h1l101 -23q13 -3 17 10l1 5q1 5 -2.5 10t-9.5 6
  190 +l-59 13v1q70 60 163 57t158 -69q69 -69 69.5 -166.5t-68 -166t-166.5 -68.5t-167 69q-39 40 -57 92t-10 108q1 7 -3.5 13.5t-12.5 7.5t-14 -3.5t-7 -12.5zM328 477v0v0zM328 477z" />
  191 + <glyph glyph-name="uniE63A" unicode="&#xe63a;"
  192 +d="M783 332q-2 8 -8 12.5t-13.5 3.5t-12.5 -7.5t-4 -13.5q8 -56 -9.5 -108t-57.5 -92q-69 -69 -166.5 -69t-166 68.5t-68.5 166t69 166.5q66 66 159 69t162 -57l1 -1l-60 -13q-5 -1 -9 -6t-2 -10l1 -5q3 -13 17 -10l101 23l7 1q5 2 8 6.5t2 10.5l-2 6l-1 1l-30 96
  193 +q-4 13 -18 10l-4 -2q-6 -1 -8 -6.5t-1 -11.5l19 -58q-81 68 -187 63.5t-182 -80.5q-80 -80 -80 -193t79.5 -192.5t193 -79.5t193.5 80q46 46 66.5 107t11.5 125zM696 477v0v0zM696 477z" />
185 </font> 194 </font>
186 </defs></svg> 195 </defs></svg>
No preview for this file type
No preview for this file type
@@ -48,6 +48,12 @@ ImgPreview.prototype = new Dialog({ @@ -48,6 +48,12 @@ ImgPreview.prototype = new Dialog({
48 inherit: true 48 inherit: true
49 }); 49 });
50 50
  51 +ImgPreview.prototype.close = function() {
  52 + this.$mask && this.$mask.addClass('hide');
  53 + this.$el.addClass('hide');
  54 +};
  55 +
  56 +
51 ImgPreview.prototype.preview = function(url) { 57 ImgPreview.prototype.preview = function(url) {
52 58
53 if (url) { 59 if (url) {
1 -.img-preview{ 1 +.img-preview-dialog{
  2 + padding:10px;
  3 + padding-top:0;
  4 + border:none;
2 5
  6 + .toolbar{
  7 + padding: 10px;
  8 + font-size: 13px;
  9 +
  10 + .preview-route-left, preview-route-right {
  11 + display: inline-block;
  12 + margin-left: 10px;
  13 + margin-right: 10px;
  14 + }
  15 + }
3 } 16 }
@@ -388,3 +388,6 @@ @@ -388,3 +388,6 @@
388 padding-bottom: 0; 388 padding-bottom: 0;
389 } 389 }
390 } 390 }
  391 +
  392 +
  393 +@import "../common/img-preview";