Przeglądaj źródła

取消放大缩小

linwu 9 miesięcy temu
rodzic
commit
96f268aa95

+ 0 - 2
app/mobile/controller/Jfm.php

@@ -73,8 +73,6 @@ class Jfm extends MobileBaseController
         $info->volume++;
         $info->save();
 
-        $info->content = str_replace('<img','<img @click="showImage($event)"',$info->content);
-
         return view('', [
             'info' => $info,
         ]);

+ 0 - 4
app/mobile/view/jfm/policy_detail.html

@@ -56,10 +56,6 @@
             history.back();
         };
 
-        base.showImage = (e) => {
-            vant.showImagePreview([e.target.src]);
-        };
-
         return base;
     }
 </script>