04 2023 档案
摘要:方法: const imgSrcQueue: Array<HTMLImageElement> = []; export function preloadImageList(names) { return new Promise((resolve) => { let n = 0, img, imgs
阅读全文
摘要:封装一个可以使用onAppear的<VIew/>组件: import React, { PureComponent } from 'react'; class View extends PureComponent { constructor(props) { super(props); this.t
阅读全文
摘要:适用范围:支付宝,淘宝小程序 效果: 组件目录结构: 详情: index.axml <!-- [{"value":["3","5"],"style":"","isTime":true},{"value":"秒","style":""}] --> <view class="countdown-main
阅读全文