摘要:
Set数据结构 *es6方法,Set本身是一个构造函数,它类似于数组,但是成员值都是唯一的。 const set = new Set([1,2,3,4,4]) console.log([...set] )// [1,2,3,4] console.log(Array.from(new Set([2,3 阅读全文
摘要:
1 <template> 2 <div class="bodyContainer"> 3 <div class="allContent" id="pageTop"> 4 <!-- 经纪人 --> 5 <div class="brokerBlock" v-show="isBroker && !load 阅读全文
摘要:
1 <template> 2 <div class="wrap"> 3 <!-- 搜索框 --> 4 <div class="searchInputArea"> 5 <div class="searchBarBox"> 6 <div class="inputWrap" > 7 <form onsub 阅读全文
摘要:
https://pug.bootcss.com/language/attributes.html 阅读全文
摘要:
1、封装为组件,方便调用<template lang="pug"> .scroll-lock-container(@touchstart="onTouchStart" @touchmove="onTouchMove") slot</template><script> export default { 阅读全文
摘要:
js部分:module.exports = { resize: function (file, callback, options) { //配置 options = Object.assign({ maxWidth: 1920, maxHeight: 1920 }, options || {}); 阅读全文
摘要:
参考网址:https://www.cnblogs.com/xiahj/p/8036419.html 阅读全文
摘要:
1、移动端处理列表滑动的时候,微信底下有自带的返回页面按钮,经常会被遮住,遇到屏幕长一点的,下面会短一大截,以下用此方法可以解决。.container{ position:relative; background:url(../img/chooseBg.jpg) no-repeat center c 阅读全文
摘要:
序列化:stringify()将JavaScript对象序列号为JSON字符串反序列化:parse()将JSON字符串解析为原生JavaScript值 序列化选项:JSON.stringify()除了可以序列化JavaScript对象外,还可以接收另外两个参数,这两个参数用于指定以不同的方式序列化J 阅读全文
摘要:
例子:ftl 列表:bannerViewUrls var arrayBanner=[<#list bannerViewUrls as list>"${list}"<#if list_index!=bannerViewUrls?size-1>,</#if></#list>], bannerSize=a 阅读全文