08 2021 档案
摘要://这里只写获取1个参数的,多个的自己写逻辑 function geturl(){ var query = window.location.href; var r = '' var vars = query.split("?"); var pair = vars[1].split("="); r =
阅读全文
摘要:实例: <select id="getListPage" resultMap="BaseResultMap"> select ru.id,ru.name,ru.code,ru.time,ru.ironmak_id, ru.typefrom t_plan_iron ru <where> <if tes
阅读全文
摘要:参考文章:Element Ui使用技巧——Form表单的校验规则rules详细说明 Form 组件提供了表单验证的功能,只需要通过 rules 属性传入约定的验证规则,并将 Form-Item的 prop 属性设置为需校验的字段名即可。校验规则参见 async-validator 文档中提及的用法有
阅读全文
摘要:<el-table-column type="index" align="center" width="90" label="编号"> </el-table-column>
阅读全文
摘要:<el-table-column align="center" prop="temp" width="120" label="测试"></el-table-column>
阅读全文
摘要:效果:每发布一条信息,滚动条自动滚动到最新消息位置 代码: html: <div class="maquee" id="maquee"> <ul> <li class="messageitem" v-for="item in socketForm.msgData "> 内容………………………… </
阅读全文
摘要:1、使用矩形工具 画一个矩形,或者其他形状, 2、打开图片到图层 3、按住Alt 见,并点击 图层与矩形的中间 , 植入图片,后面怎么变换图片都不会超过矩形范围了呢!!!!!!
阅读全文
摘要:1、命令执行 npm install vue-json-excel 2、ts 引用 import JsonExcel from "vue-json-excel"; @Component({ name: 'tc-actual-production', template: require('./prod
阅读全文
摘要:效果: 1. html el-table 添加 :cell-style="TableCellStyle" 2. ts 代码 //设置表格背景颜色 TableCellStyle(row: any, column: any, rowIndex: any, columnIndex: any) { if (
阅读全文
摘要:效果: 应用:合并单元格,合并表格前10列中相同内容的行. 网上的答案好多好多,但不一定合适自己的需求........参考太多,但还是不成功,那就自己写逻辑吧!!!!! 一. html 代码 添加 " :span-method="objectSpanMethod" " html: <el-table
阅读全文
摘要:window.onresize = function(){ alert(232); }
阅读全文
摘要:demo预览地址 https://www.jq22.com/yanshi22256 demo下载地址 https://www.jq22.com/jquery-info22256 没有弄成 gif ,没有找到免费录制屏幕成gif格式的 html <div class="stars"></div> cs
阅读全文
摘要:html <div class="point"></div> css .point,.point::before,.point::after { position: absolute;/*必须设置*/ margin-top: -22px; margin-left: 5px; width: 30px;
阅读全文