Browse Source

取消放大缩小

linwu 9 months ago
parent
commit
96f268aa95
2 changed files with 0 additions and 6 deletions
  1. 0 2
      app/mobile/controller/Jfm.php
  2. 0 4
      app/mobile/view/jfm/policy_detail.html

+ 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>