会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
剑气纵横六百里,一剑寒光耀九洲。
博主擅长javaScript、vue、react、react-native、css、uni-app、node.js、html、android、ios、c#、.net Core、.net Framework 、SQL等单词的拼写,能熟练运用Ctrl+C 、Ctrl+V。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
16
17
18
19
20
21
22
23
24
···
44
下一页
2023年6月20日
react-native 调用系统原生分享
摘要: 调用手机系统原生分享如下图 使用: react-native-sharereact-native-share官网
阅读全文
posted @ 2023-06-20 14:17 龙卷风吹毁停车场
阅读(56)
评论(0)
推荐(0)
2023年5月15日
vuex 使用 vuex-persistedstate 数据持久化
摘要: 1、安装 npm i vuex-persistedstate yarn add vuex-persistedstate 2、在store.js中引入 import createPersistedState from "vuex-persistedstate" 举例: import Vue from
阅读全文
posted @ 2023-05-15 11:26 龙卷风吹毁停车场
阅读(211)
评论(0)
推荐(0)
2023年5月5日
input 限制只能输入数字类型
摘要: <input type="text" v-model="amount" oninput="value=value.replace(/[^0-9.]/g,'')" placeholder="enter amount">
阅读全文
posted @ 2023-05-05 14:21 龙卷风吹毁停车场
阅读(22)
评论(0)
推荐(0)
2023年4月27日
连接metamask,并签名
摘要: 在assets下新建metamask.js import { ethers } from "ethers"; //版本号为 "ethers": "^4.0.47", import { buildLoginNonce } from '@/api/register' //请求接口后台返回随机验证码 /*
阅读全文
posted @ 2023-04-27 11:57 龙卷风吹毁停车场
阅读(282)
评论(0)
推荐(0)
web3技术、切换metamask网络、查询metamask余额、计算gas手续费、metamask发起交易,判断连接网络是否正确等.........
摘要: 在assets下新建web3.js文件 import { Message } from 'element-ui'; import { ethers } from "ethers"; //版本号为 "ethers": "^4.0.47", import Tabi from './Tabi.json';
阅读全文
posted @ 2023-04-27 11:13 龙卷风吹毁停车场
阅读(1117)
评论(0)
推荐(0)
vue将svg封装为组件使用
摘要: 在components中新建文件 iconSvg新建index.vue <template> <svg aria-hidden="true" class="svg-icon" v-bind="$attrs" @click="svgChong"> <use :xlink:href="icon" />
阅读全文
posted @ 2023-04-27 11:08 龙卷风吹毁停车场
阅读(278)
评论(0)
推荐(0)
vue实现倒计时
摘要: 在assets下新建tool.js文件 function countDownFun(time) { time--; let nowTime = new Date().getTime(); // 获取当前时间 if (time >= nowTime) { var secondTime = 0 //秒
阅读全文
posted @ 2023-04-27 10:30 龙卷风吹毁停车场
阅读(490)
评论(0)
推荐(0)
2023年4月14日
vue 使用 vue-seamless-scroll 实现LED屏滚动效果
摘要: yarn add vue-seamless-scroll <div class="index-roll"> <vue-seamless-scroll :data="partnerList" :class-option="optionLeft"> <ul> <li v-for="(item, inde
阅读全文
posted @ 2023-04-14 13:45 龙卷风吹毁停车场
阅读(266)
评论(0)
推荐(0)
2023年4月10日
vue 加减乘除精度问题处理
摘要: 安装 bignumber.js yarn add bignumber.js 新建bignumber.js文件 import { BigNumber } from 'bignumber.js' 加 export const plus = (a, b) => { const newPlus = new
阅读全文
posted @ 2023-04-10 09:12 龙卷风吹毁停车场
阅读(225)
评论(0)
推荐(0)
2023年3月30日
element ui Table 自定义头部样式
摘要: <el-table-column> <template slot="header"> <div class="Staked row-center"> <img src="../image/caret-down.png" alt=""> <span>Date & Time Staked</span>
阅读全文
posted @ 2023-03-30 11:12 龙卷风吹毁停车场
阅读(92)
评论(0)
推荐(0)
上一页
1
···
16
17
18
19
20
21
22
23
24
···
44
下一页
公告