上一页 1 2 3 4 5 6 7 ··· 28 下一页
摘要: html <div class="container"> <ul class="pagination"> <li class="prev fleft" @click="prevPage()">上一页</li> <li :class="{'active':currentPage==item.val}" 阅读全文
posted @ 2020-11-16 10:42 简单就好zyx 阅读(234) 评论(0) 推荐(0)
摘要: coverScale() { const scaleWidth = window.innerWidth / 1920; const scaleHeight = window.innerHeight / 1080; const trueWidth = 1920* scaleWidth; const t 阅读全文
posted @ 2020-07-13 14:39 简单就好zyx 阅读(691) 评论(0) 推荐(0)
摘要: let year = new Date().getFullYear() ; var PrefixZero = (num, n)=> { return (Array(n).join(0) + num).slice(-n); }Array.apply(null, new Array(12)).map(( 阅读全文
posted @ 2019-12-20 16:17 简单就好zyx 阅读(304) 评论(0) 推荐(0)
摘要: let year = new Date().getFullYear() ; var PrefixZero = (num, n)=> { return (Array(n).join(0) + num).slice(-n); } //获取月份 let month = new Date().getMont 阅读全文
posted @ 2019-12-20 16:07 简单就好zyx 阅读(1970) 评论(0) 推荐(0)
摘要: get post get:params:data post:data 都可以用qs @Requestbody json(,;) raw @RequestParam qs(?&) x-www-form-urlencoded 阅读全文
posted @ 2019-12-18 15:31 简单就好zyx 阅读(918) 评论(0) 推荐(0)
摘要: $nextTick Data-Dom-之后回调 nextTick Data-回调-Dom 阅读全文
posted @ 2019-12-06 14:57 简单就好zyx 阅读(231) 评论(0) 推荐(0)
摘要: /官网例子 阅读全文
posted @ 2019-11-19 16:23 简单就好zyx 阅读(3423) 评论(0) 推荐(0)
摘要: 注:默认在父组件调用子组件时<SlotChild></SlotChild>中文字不会显示。但是在子组件加入<slot></slot>后,<SlotChild></SlotChild>中文字会显示了。 //slot组件<template> <div class="slots"> slot的用法 <Sl 阅读全文
posted @ 2019-11-14 08:46 简单就好zyx 阅读(369) 评论(0) 推荐(0)
摘要: eg: var temp=[{key:'0001',value:0},{key:'0001',value:0},{key:'0002',value:1}] temp.filter(item=>item.value!=0)或者temp.filter(({value})=>value!=0) 阅读全文
posted @ 2019-11-13 10:13 简单就好zyx 阅读(425) 评论(0) 推荐(0)
摘要: 1.{{title}}2.data中 //当前路由的title,这个title是在router/index.js里meta中自己定义的title: this.$router.history.current.meta.title, 3.watch: { //创建监听,当出现页面的跳转时,自动刷新面包屑 阅读全文
posted @ 2019-11-12 11:20 简单就好zyx 阅读(174) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 28 下一页