瀏覽代碼

Merge branch 'master' of http://git.huoxingkandiqiu.com:3000/scms/wonderful

dever 6 年之前
父節點
當前提交
a135551f55
共有 4 個文件被更改,包括 4 次插入4 次删除
  1. 1 1
      h5/assets/mobile/article.html
  2. 1 1
      h5/assets/mobile/feature.html
  3. 1 1
      main/assets/mobile/content.html
  4. 1 1
      main/src/View.php

+ 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):}>
           <!--视频-->

+ 1 - 1
main/assets/mobile/content.html

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

+ 1 - 1
main/src/View.php

@@ -76,7 +76,7 @@ class View extends Core
         }
         */
 
-        if ($this->source_type == 'ios') {
+        if ($this->source_type == 'ioss') {
             $source = Dever::db('source/info')->one(1);
             $this->data['info']['share_link'] = $source['code'];
         } else {