- 博客(4)
- 收藏
- 关注
原创 h5跳转小程序,跳转App
使用微信开放标签1.先引入使用开放标签所要使用的jsjweixin-1.6.0.jsweixinsdk.js2.调用接口获取签名等一系列所需要的东西axios .get(url, { params: { shareUrl: window.location.href, }, }) .then((res) => { console.log(res) if (res.status == 200
2021-08-24 11:44:41
129
原创 h5 页面展示从后台接受的富文本信息(图片预览)
h5 页面展示从后台接受的富文本信息(图片预览) vant1.下载安装Vantnpm install vant --save2.main.js引入import {ImagePreview} from 'vant';Vue.use(ImagePreview);3.代码<div class="detailMsg" v-html="str" @click="previewImage($event)"></div>data(){ return { imgU
2021-08-12 16:52:39
832
转载 uniapp 页面展示从后台接受的富文本信息(图片预览)
uniapp 页面展示从后台接受的富文本信息(图片预览)一、下载富文本parse下载地址:https://ext.dcloud.net.cn/plugin?id=183点击下载ZIP的然后解压导入到uni-app项目中二、文件夹放到项目中三、然后在组件最后倒入注册一下就可以使用了在这里插入代码片import uParse from '@/node_modules/u-parse/u-parse.vue'components: { uParse},<view class=""
2021-08-12 16:29:24
1040
原创 文件导出后端返回的二进制流文件
文件导出后端返回的二进制流文件exportFile(id,name){ let that=this axios({ url: 'url?plane_name='+that.$route.query.name+'&model_names='+name, method: "GET", responseType: "arraybuffer" }).then(res => { if(res.statu
2021-08-10 11:25:04
216
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人