摘要: 币圈量化夹子机器人使用步骤 第 1 步 - 在谷歌浏览器 中设置 MetaMask小狐狸 钱包获取MetaMask小狐狸钱包地址:https://metamask.io/ 第 2 步 - 将币安智能链网络添加到 MetaMask将BSC智能链添加到小狐狸钱包: 第 3 步 - 打开Remix部署智能 阅读全文
posted @ 2023-10-24 13:15 bscman 阅读(704) 评论(0) 推荐(0)
摘要: 1.歌词处理 未处理之前为文本格式: 处理后: const getWord = async (id) => { let res = await getSongWordAPI(id) const { lrc } = res.data store.state.playStatus.word = lrc. 阅读全文
posted @ 2022-04-10 00:33 bscman 阅读(828) 评论(0) 推荐(0)
摘要: 1. npm install vue-amap --save 2. 再main.js中 import VueAMap from 'vue-amap'; Vue.use(VueAMap); // 初始化vue-amap VueAMap.initAMapApiLoader({ // 高德的key key 阅读全文
posted @ 2021-09-02 11:20 bscman 阅读(2543) 评论(0) 推荐(0)
摘要: 默认将屏幕划分10等份,也可以根据需求划分。 这里将其10改成24,改为24份。 (设计稿/24)px=1rem, 这里设计稿大小为1536px,则1rem=64px。 通过px to rem(cssrem)将其跟元素大小设置为64 css样式会自动将px 转换为 rem 阅读全文
posted @ 2021-05-31 22:11 bscman 阅读(188) 评论(0) 推荐(0)
摘要: 类似锚点定位到页面的指定元素。 scroll-into-view作为scroll-view组件的属性,其值为要定位到某个元素的id,注意不能以数字开头。 例如: <view wx:for="{{menulist}}" wx:key="this" wx:for-item="value" > <view 阅读全文
posted @ 2021-05-23 23:45 bscman 阅读(653) 评论(0) 推荐(0)
摘要: 1. vue如何将数据渲染到页面? 通过v-for指令将data数据渲染到页面 2.v-text和 v-html的区别 v-text:不可以解析html标签,v-html可以解析html标签 3. 如何自定义按键修饰符 通过Vue.config.keyCodes.按键=按键对应的keyCodes码 阅读全文
posted @ 2021-04-29 10:18 bscman 阅读(52) 评论(0) 推荐(0)
摘要: <template> <canvas id="canvas" :width="canvas_clientWidth" :height="canvas_clientHeight" @click="refresh" ref="canvas" ></canvas> </template> <script> 阅读全文
posted @ 2021-04-29 00:16 bscman 阅读(149) 评论(0) 推荐(0)