摘要:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
摘要:
hightligth(text) { const hightligthStr = `<span style="color: #3B99FC">${this.searchTxt}</span>` const reg = new RegExp(this.searchTxt, 'gi') return t 阅读全文
摘要:
group(array, subGroupLength) { let index = 0; let newArray = []; while(index < array.length) { newArray.push(array.slice(index, index += subGroupLengt 阅读全文
摘要:
获取图片宽高 imgBindload(e){ let windowWidth = wx.getSystemInfoSync().windowWidth this.setData({ blockHeight: windowWidth*e.detail.height / e.detail.width } 阅读全文
摘要:
{ "code": "0", "message": "SUCCESS", "data": [ { "code": 1, "parentCode": 0, "value": "IPO上市", "status": 0, "comment": "IPO上市", "showOrder": 1 }, { "c 阅读全文
摘要:
首先定义一个云函数目录 const path = require('path') const CopyWebpackPlugin = require('copy-webpack-plugin') module.exports = { // 配置路径别名 configureWebpack: { dev 阅读全文
摘要:
this.feedback // 值 this.feedback.replace(/[^\x00-\xff]/g,"**").length 阅读全文
摘要:
axios({ method: 'get', url: '/api/group/export', params: data, headers: { Authentication: localStorage.getItem('token'), Accept: 'application/json' }, 阅读全文
摘要:
<!-- 组件 custom-component.wxml --> <view class='flex commonHead top' style='color:{{navbarBg.topColor == "#ffffff"?"#000000":"#ffffff"}};background-color:{{navbarBg.topColor}};height:{{commonHeadHeight 阅读全文
摘要:
heartCheck: { reconnectCount: 5, timeout: 50000, timeoutObj: null, serverTimeoutObj: null, reset: () => { ... 阅读全文