摘要: 水平居中: 1.text-aligin:center 如果仅使用 text-aligin:center 是无法达到水平居中的效果的,为什么? text-aligin:center 需要在行内块元素上使用的,而盒子是块级元素,所以,需要将盒子转换为行内块元素 text-aligin:center 才能 阅读全文
posted @ 2023-06-27 16:25 妞妞猪 阅读(69) 评论(1) 推荐(1)
摘要: gridview点击事件: private void dataGridViewX2_CellClick(object sender, DataGridViewCellEventArgs e) { string ID = dataGridViewX2.Rows[e.RowIndex].Cells["i 阅读全文
posted @ 2023-06-27 15:32 妞妞猪 阅读(402) 评论(0) 推荐(0)
摘要: 1.安装依赖 npm i qrcodejs2 --save 2.template中 <template> <div> <el-input v-model="QRCodeInfo" placeholder="请输入二维码内容"></el-input> <el-button type="primary" 阅读全文
posted @ 2023-06-27 15:19 妞妞猪 阅读(516) 评论(0) 推荐(0)
摘要: 有时候我们需要外部链接进行展示而且想要这个外部链接的页面不是打开新窗口而是嵌入在项目布局中,就需要用到iframe控件了, iframe控件不需要安装依赖包,可以直接使用 1.在template中写 <template> <div> <iframe :src="linkUrl" frameborde 阅读全文
posted @ 2023-06-27 15:02 妞妞猪 阅读(841) 评论(0) 推荐(1)
摘要: 1.引入依赖 npm install echarts --save 2.在template中写 <template> <div> <el-card> <div id="mychart" :style="{height:height,width:width}"></div> </el-card> </ 阅读全文
posted @ 2023-06-27 14:57 妞妞猪 阅读(248) 评论(0) 推荐(0)
摘要: 首先,需要去高德地图进行注册一个 https://lbs.amap.com/?ref=https://console.amap.com/dev/index ,得到一个key 然后 安装依赖 npm install vue-amap —save 在main.js中加入 import VueAMap f 阅读全文
posted @ 2023-06-27 13:35 妞妞猪 阅读(1299) 评论(0) 推荐(0)