摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2023-02-03 17:15 Brian_白 阅读(459) 评论(0) 推荐(0) 编辑
摘要: hightligth(text) { const hightligthStr = `<span style="color: #3B99FC">${this.searchTxt}</span>` const reg = new RegExp(this.searchTxt, 'gi') return t 阅读全文
posted @ 2022-05-30 16:16 Brian_白 阅读(7) 评论(0) 推荐(0) 编辑
摘要: group(array, subGroupLength) { let index = 0; let newArray = []; while(index < array.length) { newArray.push(array.slice(index, index += subGroupLengt 阅读全文
posted @ 2022-05-25 14:25 Brian_白 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 获取图片宽高 imgBindload(e){ let windowWidth = wx.getSystemInfoSync().windowWidth this.setData({ blockHeight: windowWidth*e.detail.height / e.detail.width } 阅读全文
posted @ 2021-11-04 09:56 Brian_白 阅读(188) 评论(0) 推荐(0) 编辑
摘要: { "code": "0", "message": "SUCCESS", "data": [ { "code": 1, "parentCode": 0, "value": "IPO上市", "status": 0, "comment": "IPO上市", "showOrder": 1 }, { "c 阅读全文
posted @ 2021-08-24 17:14 Brian_白 阅读(706) 评论(0) 推荐(1) 编辑
摘要: 首先定义一个云函数目录 const path = require('path') const CopyWebpackPlugin = require('copy-webpack-plugin') module.exports = { // 配置路径别名 configureWebpack: { dev 阅读全文
posted @ 2021-08-14 15:54 Brian_白 阅读(579) 评论(0) 推荐(0) 编辑
摘要: this.feedback // 值 this.feedback.replace(/[^\x00-\xff]/g,"**").length 阅读全文
posted @ 2021-07-09 09:27 Brian_白 阅读(83) 评论(0) 推荐(0) 编辑
摘要: axios({ method: 'get', url: '/api/group/export', params: data, headers: { Authentication: localStorage.getItem('token'), Accept: 'application/json' }, 阅读全文
posted @ 2020-02-20 12:06 Brian_白 阅读(4207) 评论(0) 推荐(0) 编辑
摘要: <!-- 组件 custom-component.wxml --> <view class='flex commonHead top' style='color:{{navbarBg.topColor == "#ffffff"?"#000000":"#ffffff"}};background-color:{{navbarBg.topColor}};height:{{commonHeadHeight 阅读全文
posted @ 2019-11-18 09:04 Brian_白 阅读(248) 评论(0) 推荐(0) 编辑
摘要: heartCheck: { reconnectCount: 5, timeout: 50000, timeoutObj: null, serverTimeoutObj: null, reset: () => { ... 阅读全文
posted @ 2019-08-06 11:44 Brian_白 阅读(305) 评论(0) 推荐(0) 编辑