会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
bshit
博客园
首页
新随笔
联系
订阅
管理
2023年8月21日
树状选择组件
摘要: 1、创建组件 <template> <!-- 遮罩层 --> <div class="mask" v-if="show"> <!-- picker--> <div class="content" :style="'height:' + height"> <div class="header"> <d
阅读全文
posted @ 2023-08-21 11:38 红烧鼻屎
阅读(49)
评论(0)
推荐(0)
2023年8月2日
JS 富文本编码、解码
摘要: <rich-text :selectable="true" :nodes="decodedText"></rich-text> const encodedText = '<img src="https://zhxkj-1309150347.cos.ap-guangzhou.myqcloud.com/
阅读全文
posted @ 2023-08-02 15:26 红烧鼻屎
阅读(148)
评论(0)
推荐(0)
2023年6月19日
uniapp封装接口
摘要: 1.创建一个config文件夹,在里面创建app.js let httpApi = '' //接口公共部分 module.exports = {//要传的 请求头 token 等 HTTP_REQUEST_URL:httpApi, HEADER:{ Headers, Authorization:'t
阅读全文
posted @ 2023-06-19 12:02 红烧鼻屎
阅读(239)
评论(0)
推荐(0)
2023年6月8日
在uniapp中使用混入
摘要: 混入 (mixins): 是一种分发 Vue 组件中可复用功能的非常灵活的方式。混入对象可以包含任意组件选项。当组件使用混入对象时,所有混入对象的选项将被混入该组件本身的选项。 1.创建Mixins 在src目录中创建一个mixins文件,文件夹里面创建一个js文件import,前面我们说了mixi
阅读全文
posted @ 2023-06-08 10:10 红烧鼻屎
阅读(1836)
评论(0)
推荐(0)
2023年6月2日
原生js掉接口
摘要: 1.get请求 var inputpath = document.getElementById("inputpath").value; //获取输入框的值作为参数 // 创建一个ajax对象 const xhr = new XMLHttpRequest(); xhr.open("get", urls
阅读全文
posted @ 2023-06-02 11:05 红烧鼻屎
阅读(124)
评论(0)
推荐(0)
公告