摘要: //数组中,去除空白的内容 如let a=['1',' ','3','4']方法 a.filter(i=>i)得到a=['1','3','4'] //遮罩层 <div class="mask" @tap="hideView"></div> <!-- 弹框 --> <div class="termBo 阅读全文
posted @ 2025-08-23 13:40 泫然 阅读(6) 评论(0) 推荐(0)
摘要: #铺垫 1.选择一个部署的工具,并且连接会话 2.选择先把jdk放在home目录下,然后解压,解压的命令是#tar -zvxf 压缩包名称 3.配置java环境变量,(此处省略) 4.再选择tomcat放到home目录下,解压 5.进入tomcat的bin目录,启动tomcat ./startup. 阅读全文
posted @ 2023-07-14 11:09 泫然 阅读(487) 评论(0) 推荐(0)
摘要: 1.请求后端的数据流 image-tools.js的代码自行到网上下载,放到utils文件夹里 //映入image-tools插件import { base64ToPath } from '@/utils/image-tools.js'//省略部分代码.....//请求数据流方法lookBg() { 阅读全文
posted @ 2023-07-14 11:05 泫然 阅读(655) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2023-04-20 10:34 泫然 阅读(50) 评论(0) 推荐(0)
摘要: 购物车 27 January 27, 2022 today is a nice day!! 今天是个好日子!! The best life is use of willing attitude ,a happy-go-lucky life. 最好的生活是用心甘情愿的态度,过随遇而安的生活。 北欧轻奢 阅读全文
posted @ 2022-05-31 10:19 泫然 阅读(10) 评论(0) 推荐(0)
摘要: /***表格***/<el-table :data="tableData" border style="width: 100%" :header-cell-class-name="headerClass" > </el-table-column> <el-table-column label="检验 阅读全文
posted @ 2022-04-19 09:21 泫然 阅读(219) 评论(0) 推荐(0)
摘要: 上传图片到云存储。 uni.chooseImage({ count:1, success:res=>{ this.src=res.tempFilePaths[0] console.log(res.tempFilePaths[0]) uniCloud.uploadFile({ filePath:res 阅读全文
posted @ 2021-10-23 19:29 泫然 阅读(548) 评论(0) 推荐(0)
摘要: 想获取位置并赋值给变量 uni.getLocation({ type: 'wgs84', success: (res)=> { console.log('当前位置的经度:' + res.longitude); console.log('当前位置的纬度:' + res.latitude); this. 阅读全文
posted @ 2021-10-19 23:22 泫然 阅读(992) 评论(1) 推荐(0)
摘要: 注意:命令行都要使用管理员模式运行 1、创建一个名为hello的工程,创建时可以选择下载依赖,或者之后下载 vue init webpack hello 2、安装依赖,需安装vue-router、element-ui、sass-loder、node-sass四个插件 #cd进入工程目录 cd hel 阅读全文
posted @ 2021-08-03 15:26 泫然 阅读(65) 评论(0) 推荐(0)