摘要: 小程序数字类型加小数点两位 <input type="digit" placeholder="请输入自定义金额" bindblur='price_no_focus' bindfocus="price_focus" value="{{price}}" bindinput="handleInput"/> 阅读全文
posted @ 2024-07-05 15:19 LALAYU 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1.git reflog 2.git reset --hard 971d9b97 阅读全文
posted @ 2023-12-11 14:20 LALAYU 阅读(2) 评论(0) 推荐(0) 编辑
摘要: <el-table-column label=""> <el-table-column prop="column" :render-header="renderHeader" width="160"> <template slot-scope="scope"> <span>{{ scope.row. 阅读全文
posted @ 2023-08-14 18:17 LALAYU 阅读(1220) 评论(0) 推荐(0) 编辑
摘要: CSS object-fit 属性 标签定义及使用说明 object-fit 属性指定元素的内容应该如何去适应指定容器的高度与宽度。 object-fit 一般用于 img 和 video 标签,一般可以对这些元素进行保留原始比例的剪切、缩放或者直接进行拉伸等。 您可以通过使用 object-pos 阅读全文
posted @ 2023-08-14 18:14 LALAYU 阅读(75) 评论(0) 推荐(0) 编辑
摘要: <el-table v-loading="fourthloading" :data="tableData4" style="width: 100%" height="390" @sort-change="sortChange" ref="fourthtable"> //@sort-change <e 阅读全文
posted @ 2023-08-14 18:14 LALAYU 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 1:使用场景: 当选中表格中某几条数据(图中演示的为两行选中一行)进行导出为excel(如图二) 2:安装依赖: npm install --save xlsx file-saver npm install -D script-loader 3:引入依赖文件: 在src文件夹中创建名为excel的文 阅读全文
posted @ 2023-07-06 14:44 LALAYU 阅读(48) 评论(0) 推荐(0) 编辑
摘要: <view wx:for="{{projectList}}" wx:key="index" class="list" bindtap="detail" data-id="{{item.project_id}}"> <view class="flow_status_name_list" wx:for= 阅读全文
posted @ 2023-07-05 20:14 LALAYU 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 小程序 · image标签:图片宽度100%,高度自适应 image { width: 100%; } <image mode='widthFix'></image> 阅读全文
posted @ 2023-07-05 17:24 LALAYU 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 每个Number的toFixed()方法可把 Number 四舍五入为指定小数位数的数字。四舍五入顾名思义,4及以下舍去,5及以上加1。 四舍 1 2 3 4 1.31.toFixed(1) // 1.3 1.32.toFixed(1) // 1.3 1.33.toFixed(1) // 1.3 1 阅读全文
posted @ 2023-06-09 17:17 LALAYU 阅读(112) 评论(0) 推荐(0) 编辑
摘要: select 多选回显的时候input高度没撑开 内容超出 setTimeout(function () { if (document.querySelector('.el-cascader__tags')) { document.querySelector('#el-cascader .el-in 阅读全文
posted @ 2023-06-07 17:48 LALAYU 阅读(228) 评论(0) 推荐(0) 编辑