feige
2025-06-03 49f6412aefc2fc62d519d94131fc003a9e1dda93
ruoyi-ui/src/views/qrcode/pdfShow.vue
@@ -16,7 +16,12 @@
           <el-link :href="'/register'" class="psf" type="success">注册             </el-link>
                <el-link :href="'/login'" type="success">登录</el-link>
        </div> -->
   <el-dialog
       :visible.sync="msk" >
         <p class="op65">点击右上角按钮,然后在弹出的菜单中,点击在浏览器中打开,即可下载视频</p>
   </el-dialog>
  </div>
</template>
@@ -34,6 +39,7 @@
        fileLs:[],
        pdfSrc: '',
          numPages: undefined,
        msk: false,
    }
  },
  mounted() {
@@ -84,10 +90,11 @@
     handleDownload(url) {
      if (this.is_weixin()) {
         //alert(123)
         window.location='www.bendudu.com'
         this.msk = true
         //window.location.href = "www.bendudu.com"
         }
         else{
            this.msk = false;
         var formData = {'path':url.replace(process.env.VUE_APP_BASE_TRUE_API,"")};
         let lens = formData.path.split(".")
         let suffix = lens[lens.length-1] 
@@ -120,4 +127,17 @@
    .psf{
      margin-right: 20px;
    }
   .block {
     width: 100%;
     height: 400px;
     background-color: gray;
     background-size: 100% 100%;
   }
   .blocks {
     width: 100%;
     height: 400px;
     background-color: gray;
     background-size: 100% 100%;
   }
</style>