dever %!s(int64=6) %!d(string=hai) anos
pai
achega
e61339a0d9
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      h5/assets/mobile/article.html
  2. 1 1
      h5/assets/mobile/feature.html

+ 1 - 1
h5/assets/mobile/article.html

@@ -32,7 +32,7 @@
         <{loop($content):}>
         <{if($v['type'] == 1):}>
         <{if(isset($v['content'])):}>
-        <{$v['content']}>
+        <{str_replace(array('width', 'height'), array('widths', 'heights'), $v['content'])}>
         <{endif}>
 
         <{elseif($v['type'] == 2):}>

+ 1 - 1
h5/assets/mobile/feature.html

@@ -17,7 +17,7 @@
       <div class="rich-wrapper">
         <{loop($content):}>
         <{if($v['type'] == 1):}>
-        <{$v['content']}>
+        <{str_replace(array('width', 'height'), array('widths', 'heights'), $v['content'])}>
 
         <{elseif($v['type'] == 2):}>
           <!--视频-->