上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页
  2022年12月21日
摘要: <a-date-picker v-model="yearValue" mode="year" format="YYYY" value-format="YYYY" style="width: 100px" :open="yearShowOne" :allow-clear="false" :disabl 阅读全文
posted @ 2022-12-21 15:11 稳住别慌 阅读(298) 评论(0) 推荐(0) 编辑
  2022年12月1日
摘要: .percent { background: linear-gradient(135deg, #abdcff 0%, #0396ff 100%); -webkit-background-clip: text; color: transparent; } 阅读全文
posted @ 2022-12-01 14:18 稳住别慌 阅读(153) 评论(0) 推荐(0) 编辑
  2022年11月29日
摘要: 1. 外部传参 <ranking-card :stroke-color-bg="'rgba(255,113,51,0.1)'" /> 2. 内部props接收色值参数 props: { strokeColorBg: { type: String, default: '' } }, 3. 在元素身上接 阅读全文
posted @ 2022-11-29 16:38 稳住别慌 阅读(307) 评论(0) 推荐(0) 编辑
  2022年11月28日
摘要: label不支持html 其他的把span拼接上就行 自定义tooltip tooltip: { trigger: 'item', formatter: function(params) { return params.marker + '人员质量(外包) <br/>' + params.name 阅读全文
posted @ 2022-11-28 11:27 稳住别慌 阅读(174) 评论(0) 推荐(0) 编辑
  2022年10月31日
摘要: // 表单校验 checkBasicForm() { return new Promise((resolve) => this.$refs.basicForm.validate((valid, object) => { if (valid) { // 校验通过 resolve(this.format 阅读全文
posted @ 2022-10-31 18:10 稳住别慌 阅读(84) 评论(0) 推荐(0) 编辑
  2022年9月24日
摘要: <a-popover placement="left" :get-popup-container=" triggerNode => { return triggerNode.parentNode }" > </a-popover> <style scoped lang="less"></style> 阅读全文
posted @ 2022-09-24 23:18 稳住别慌 阅读(218) 评论(0) 推荐(0) 编辑
  2022年9月14日
摘要: /** * 获取上一个月 * * @date 格式为yyyy-mm-dd的日期,如:2014-01-25 */ function getPreMonth(date: string) { const arr = date.split('-'); const year = arr[0]; //获取当前日 阅读全文
posted @ 2022-09-14 14:59 稳住别慌 阅读(50) 评论(0) 推荐(0) 编辑
  2022年8月2日
摘要: let _this = null 阅读全文
posted @ 2022-08-02 18:07 稳住别慌 阅读(107) 评论(0) 推荐(0) 编辑
  2022年7月27日
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style> .border-wrapper { position: relative; margin: 100px auto; width: 200px; h 阅读全文
posted @ 2022-07-27 18:25 稳住别慌 阅读(59) 评论(0) 推荐(0) 编辑
  2022年7月25日
摘要: let dayTime = new Date() let lw = new Date(dayTime - 1000 * 60 * 60 * 24 * 30) this.range[1] = dayTime.getFullYear() + '-0' + (dayTime.getMonth() + 1) 阅读全文
posted @ 2022-07-25 09:51 稳住别慌 阅读(178) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页