随笔分类 -  前端

摘要:html如下,新建一个 txt, 复制进去,改名为html 即可 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <input id="a" /><b 阅读全文
posted @ 2024-03-19 21:55 得好好活 阅读(52) 评论(0) 推荐(0) 编辑
摘要:1.页面 <view> <!-- <view class="top_tip">开始开发舒尔特训练</view> --> <view>{{msg}}</view> <view style="margin-top: 10rpx;font-size: 80rpx;">{{useTime}} 秒</view 阅读全文
posted @ 2022-05-19 22:18 得好好活 阅读(136) 评论(0) 推荐(0) 编辑
摘要:小程序的屏幕宽固定为 750rpx (即750个物理像素) 让小程序内容在同一行 <view class="line"> <view wx:for="{{item}}" > <button class="abc" style="width: 125rpx;" size="mini" type="pr 阅读全文
posted @ 2022-05-19 11:55 得好好活 阅读(81) 评论(0) 推荐(0) 编辑
摘要:1. 查看版本 npm -v 阅读全文
posted @ 2022-05-12 18:07 得好好活 阅读(11) 评论(0) 推荐(0) 编辑
摘要:什么是yarn? 简单地说yarn 相当于springboot 项目中的maven,会自动管理包的依赖。 1.安装 npm install -g yarn 2. 配置 yarn config set registry https://registry.npm.taobao.org 3. 使用 # 在 阅读全文
posted @ 2022-05-09 11:01 得好好活 阅读(3737) 评论(0) 推荐(0) 编辑
摘要:查看代码 <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale 阅读全文
posted @ 2022-05-05 18:50 得好好活 阅读(75) 评论(0) 推荐(0) 编辑
摘要:利用console格式化字符串 # 在console 输入 a = {"a":"a","b":56363,"c":"6666"}; copy(a); 此时你的粘贴板已经有格式化后的字符串了,直接crtl + v 即可粘贴; 阅读全文
posted @ 2022-03-08 00:44 得好好活 阅读(49) 评论(0) 推荐(0) 编辑
摘要:代码 this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(() => { $.ajax({ url:base_url+ 阅读全文
posted @ 2022-02-13 18:06 得好好活 阅读(86) 评论(0) 推荐(0) 编辑
摘要:间距操作 // 外边距示例 <el-input v-model="input" placeholder="请输入内容" style="margin-top: 20px;margin-left: 60px; width:200px;"></el-input> // 外边距 margin-top:100 阅读全文
posted @ 2022-01-26 16:17 得好好活 阅读(30) 评论(0) 推荐(0) 编辑
摘要:模板 查看代码 <template> <div class="hello"> <h1>{{ msg }}</h1> <h2>Essential Links</h2> <el-row> <el-button>默认按钮</el-button> <el-button type="primary" @cli 阅读全文
posted @ 2022-01-25 11:06 得好好活 阅读(64) 评论(0) 推荐(0) 编辑
摘要:VUE 官网: https://cn.vuejs.org/index.html element-ui 官网: https://element.eleme.cn/#/zh-CN/component/installation 1、在文件里执行CMD命令 // 安装vue-cli npm install 阅读全文
posted @ 2022-01-21 12:52 得好好活 阅读(244) 评论(0) 推荐(0) 编辑
摘要:elemetn-ui 官网: https://element.eleme.cn/#/zh-CN/component/installation html代码 查看代码 <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <met 阅读全文
posted @ 2022-01-16 15:48 得好好活 阅读(571) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示