摘要:        
// 日期格式化 export function parseTime(time, pattern) { if (arguments.length 0 || !time) { return null } const format = pattern || '{y}-{m}-{d} {h}:{i}:{s    阅读全文
        
            posted @ 2024-06-27 14:45
小虾米吖~
阅读(752)
评论(0)
推荐(0)
        
            
        
        
摘要:        
stroage.js import constant from './constant' // 存储变量名 let storageKey = 'storage_data' // 存储节点变量名 let storageNodeKeys = [constant.avatar, constant.name    阅读全文
        
            posted @ 2024-06-27 14:44
小虾米吖~
阅读(73)
评论(0)
推荐(0)
        
            
        
        
摘要:        
request.js import store from '@/store' import config from '@/config' import { getToken, getImei } from '@/utils/auth' import errorCode from '@/utils/e    阅读全文
        
            posted @ 2024-06-27 14:40
小虾米吖~
阅读(208)
评论(0)
推荐(0)
        
            
        
        
摘要:        
utils/socket.js import config from '@/config' import store from '@/store' import {updateUrl} from '@/config' class socketIO { constructor() { this.soc    阅读全文
        
            posted @ 2024-06-27 14:38
小虾米吖~
阅读(111)
评论(0)
推荐(0)
        
            
        
        
摘要:        
// 查看文件 export function showfile(url){ uni.showLoading({ title:'加载中' }) uni.downloadFile({ url: url, success: function (res) { var filePath = res.temp    阅读全文
        
            posted @ 2024-06-27 14:32
小虾米吖~
阅读(113)
评论(0)
推荐(0)
        
            
        
        
摘要:        
1、https://ext.dcloud.net.cn/plugin?id=2636 原生支付宝扫码插件新建项目获取扫码插件配置信息// 扫二维码 export function scanCode(){ const mpaasScanModule = uni.requireNativePlugin(    阅读全文
        
            posted @ 2024-06-27 14:32
小虾米吖~
阅读(365)
评论(0)
推荐(0)
        
            
        
        
摘要:        
// 文件下载加查看 export function saveAndShowFile(typeName, val) { const imgFormat = /\.(jpg|jpeg|png|gif)$/; //图片格式匹配 const documentFormatRegex = /\.(doc|do    阅读全文
        
            posted @ 2024-06-27 14:31
小虾米吖~
阅读(345)
评论(0)
推荐(0)
        
            
        
        
摘要:        
<template> <view> <u--form labelWidth="100" labelPosition="left" :model="energyForm" :rules="rules" ref="energyForm"> <u-form-item :labelWidth='80' la    阅读全文
        
            posted @ 2024-06-27 14:27
小虾米吖~
阅读(139)
评论(0)
推荐(0)
        
            
        
        
摘要:        
<template> <view> <u-overlay :show="isShow" :close="false"> <view class="selectBox"> <view class="select"> <view class="btnBox"> <view class="flex" st    阅读全文
        
            posted @ 2024-06-27 14:16
小虾米吖~
阅读(374)
评论(0)
推荐(0)
        
            
        
        
摘要:        
<template> <div> <el-form label-position="left"> <title-tip title="能量隔离"></title-tip> <div v-if="energyListShow" class="tree-border"> <el-row :gutter=    阅读全文
        
            posted @ 2024-06-27 14:02
小虾米吖~
阅读(177)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                 
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号