上一页 1 2 3 4 5 6 ··· 23 下一页
摘要: <template> <view class="container" @tap="togglePicker(0)"> <!--内容--> <view class="scroll" :style="{ height: startData.scrollHeight }"> <scroll-view :s 阅读全文
posted @ 2024-07-09 10:15 zjxgdq 阅读(36) 评论(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 阅读(10) 评论(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 阅读(19) 评论(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 阅读(149) 评论(0) 推荐(0)
摘要: 防抖 import React, { useState, useEffect } from 'react'; const DebounceExample = () => { const [inputValue, setInputValue] = useState(''); useEffect(() 阅读全文
posted @ 2024-04-01 15:43 zjxgdq 阅读(56) 评论(0) 推荐(0)
摘要: import { Upload, Button, message, Progress } from 'antd'; import { UploadOutlined } from '@ant-design/icons'; import { useRef, useState } from 'react' 阅读全文
posted @ 2024-03-30 16:23 zjxgdq 阅读(13) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>PC端实现移动端滑 阅读全文
posted @ 2024-03-28 12:06 zjxgdq 阅读(14) 评论(0) 推荐(0)
摘要: .grid-container { margin: auto; display: grid; grid-gap: 1px; border: 1px solid #5e5e5b; width: 400px; height: 190px; background-color: #5e5e5b; } .gr 阅读全文
posted @ 2024-03-09 10:45 zjxgdq 阅读(35) 评论(0) 推荐(0)
摘要: import React, { useRef } from 'react'; import html2canvas from 'html2canvas'; const DownloadImage = () => { const elementRef = useRef(null); const han 阅读全文
posted @ 2024-03-09 10:34 zjxgdq 阅读(22) 评论(0) 推荐(0)
摘要: https://www.npmjs.com/settings/grabzjx/packages 注意 vue2/3引入方式不一样 组件名字name:"用驼峰" env_d declare module "grab-ui-test" import { GrabButtonTest } from 'gr 阅读全文
posted @ 2024-02-22 17:11 zjxgdq 阅读(15) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 23 下一页