摘要:
首先使用Hbuilder导入插件 然后引用import lPainter from '@/uni_modules/lime-painter/components/lime-painter/' base自定义画板内容 阅读全文
摘要:
去除边框.user-share-btn::after { border: none; } 阅读全文
摘要:
菜单出现 wx.hideTabBar 菜单消失 wx.showTabBar 阅读全文
摘要:
当 display: flex 配合 justify-content: center 使用时可以让view水平居中 而配合 align-items: center 用时可以 { align-items: center; /** 垂直居中*/ display: flex; justify-conten 阅读全文
摘要:
display: -webkit-box; overflow: hidden; text-overflow: ellipsis; word-wrap: break-word; white-space: normal !important; -webkit-line-clamp: 2; -webkit 阅读全文
摘要:
// 赋值 var obj2 = obj1; obj2 .name = 'aa'; 这种情况同同时会改变obj1的值; // Object.assign 是浅拷贝 var obj2 = Object.assign({}, obj1); obj2 .name = 'aa'; 这种情况不会改变obj1的 阅读全文
摘要:
let staytimeGap = new Date(closedtime).getTime() - new Date(createtime).getTime(); let stayHour = Math.floor(staytimeGap / (3600 * 1000)); let leave1 阅读全文
摘要:
<a-select mode="multiple" placeholder="请选择报考项目" :options="contractProjects" optionFilterProp="title" v-model="form.projectid"> </a-select> 用v-model做了绑 阅读全文
摘要:
var firstDate = new Date(); var startTime = firstDate.getFullYear()+"-"+((firstDate.getMonth()+1)<10?"0":"")+(firstDate.getMonth()+1)+"-"+"01"; var da 阅读全文