摘要: const [animateUp, setAnimateUp] = useState<any>(false) const [timer, setTimer] = useState<any>(null) const scrollAnimate = () => { setAnimateUp(true) 阅读全文
posted @ 2024-08-21 12:23 zjxgdq 阅读(11) 评论(0) 推荐(0) 编辑
摘要: summary={() => ( <Table.Summary fixed={'bottom'}> <Table.Summary.Row> <Table.Summary.Cell index={0} colSpan={2}> 合计 </Table.Summary.Cell> <Table.Summa 阅读全文
posted @ 2024-08-01 11:29 zjxgdq 阅读(2) 评论(0) 推荐(0) 编辑
摘要: onLoad(()=>{ uni.showShareMenu({ withShareTicket: true, menus: ['shareAppMessage', 'shareTimeline'] }); }) 阅读全文
posted @ 2024-07-25 15:51 zjxgdq 阅读(3) 评论(0) 推荐(0) 编辑
摘要: <template> <view class="tabnav"> <scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="refreshTrigged.freshbol" @refresherrefres 阅读全文
posted @ 2024-07-11 10:45 zjxgdq 阅读(6) 评论(0) 推荐(0) 编辑
摘要: <button class="login-mmx" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" @getphonenumber="getPhoneNumber" @c"loginlick=">手机号快捷登录</butt 阅读全文
posted @ 2024-07-09 16:02 zjxgdq 阅读(5) 评论(0) 推荐(0) 编辑
摘要: <template> <view class="container" @tap="togglePicker(0)"> <!--内容--> <view class="scroll" :style="{ height: startData.scrollHeight }"> <scroll-view :s 阅读全文
posted @ 2024-07-09 10:15 zjxgdq 阅读(16) 评论(0) 推荐(0) 编辑
摘要: .container { height: 100vh; overflow: hidden; } /* #ifdef H5 */ .container { height: calc(100vh - 88upx); } /* #endif */ .status_bar, .container, .hea 阅读全文
posted @ 2024-07-02 16:37 zjxgdq 阅读(5) 评论(0) 推荐(0) 编辑
摘要: <RangePicker onChange={(e: any) => { console.log('formatString', e); const duration = moment.duration(e[1].diff(e[0])); const days = duration.asDays() 阅读全文
posted @ 2024-05-30 16:10 zjxgdq 阅读(14) 评论(0) 推荐(0) 编辑
摘要: import React, { useEffect, useRef, useState } from 'react' import './indexgun.less' export default function GunttCharts(props: any) { const { dataSour 阅读全文
posted @ 2024-05-10 15:13 zjxgdq 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 防抖 import React, { useState, useEffect } from 'react'; const DebounceExample = () => { const [inputValue, setInputValue] = useState(''); useEffect(() 阅读全文
posted @ 2024-04-01 15:43 zjxgdq 阅读(40) 评论(0) 推荐(0) 编辑