上一页 1 2 3 4 5 6 ··· 73 下一页
摘要: element-ui代码 <template> <div style="width: 800px;"> <el-tabs v-model="activeName" type="card" @tab-click="handleClick"> <el-tab-pane label="用户管理" name 阅读全文
posted @ 2024-03-14 10:11 周文豪 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 一、splice入门 splice方法:通过删除(两个参数)或替换现有元素(三个参数)或者原地添加新的元素(三个参数)来修改数组,并以数组形式返回被修改的内容。此方法会改变原数组。 参数: index —— 必需。整数,规定添加/删除项目的位置,使用负数可从数组结尾处规定位置(从1开始)。 howm 阅读全文
posted @ 2024-03-13 11:11 周文豪 阅读(29) 评论(0) 推荐(0) 编辑
摘要: vue2设置默认时间 <el-date-picker v-model="value3" type="datetime" placeholder="选择日期时间" default-time="12:00:00"> </el-date-picker> vue3设置默认时间 <el-date-picker 阅读全文
posted @ 2024-03-08 10:39 周文豪 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 一、流程图的要求 确定流程的开始和结束:在画流程图时,首先要确定流程的起始点和终止点。通常,起始点用椭圆形表示,终止点用三角形表示。 按照流程顺序绘制:从起始点开始,按照流程的顺序,一步步地绘制出流程的各个环节。每个环节用矩形表示,并标注出该环节的名称或操作。 确定流程分支:在绘制流程图时,如果存在 阅读全文
posted @ 2024-01-30 14:25 周文豪 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 1、wxml <view > <scroll-view scroll-x="true" class="tab-h" scroll-left="{{scrollLeft}}"> <view wx:for="{{tabs}}" wx:for-index="index" wx:key="id" class 阅读全文
posted @ 2024-01-30 14:24 周文豪 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 一、传递参数的页面 wxml <view class="right"> <view class="status" style="color: {{item.color}}"> {{item.status}} </view> <view class="Dealstatus" style="backgr 阅读全文
posted @ 2024-01-30 14:22 周文豪 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 一、自定义弹框组件 1、组件定义 在components目录下创建dialog文件夹,然后选择文件夹,右键,点击"新建Component",就会创建四个文件。如下所示: wxml <!--components/dialog/index.wxml--> <view wx:if="{{isShow}}" 阅读全文
posted @ 2024-01-29 15:39 周文豪 阅读(124) 评论(0) 推荐(0) 编辑
摘要: wxml <view> <button bindtap='createQrcode' type="primary" style="width: 400rpx;margin-top: 400rpx;">生成二维码</button> <canvas id='qrcode' type="2d" style 阅读全文
posted @ 2024-01-29 10:53 周文豪 阅读(33) 评论(0) 推荐(0) 编辑
摘要: JS中的||符号: 1、运算规则: (1)、只要“||”前面为false,不管“||”后面是true还是false,都返回“||”后面的值。 (2)、只要“||”前面为true,不管“||”后面是true还是false,都返回“||”前面的值。 比如:var a= b || c 这相当于一个赋值语句 阅读全文
posted @ 2024-01-15 18:13 周文豪 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 1、安装lottie-web npm i lottie-web 2、使用在线json文件 <template> <div class="box"> <div id="lottie_box" style="width: 800px;height: 800px;margin-left: 1000px;b 阅读全文
posted @ 2023-12-28 17:57 周文豪 阅读(234) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 73 下一页