- 博客(16)
- 收藏
- 关注
原创 SuperMap iClient3D for WebGL 使用说明
最近由于公司需要用的superMap相关的技术,本人之前也从未接触过这方面的东西,也是从零开始,边做边学。下面简单对本次项目进行一个技术总结,希望对各位没有经验的人有所帮助。SuperMap iClient3D for WebGL 官方文档。
2023-09-04 10:53:26
1226
3
原创 腾讯云+CentOs+FinalShell 部署前端代码
需要通过防火墙开放对外端口。(2) 配置nginx.conf ,将/usr/local/nginx/conf/nginx.conf替换为以下内容。nginx.conf 配置文件中的站点目录设置为/wwwRoot/vue_admin即可。5、vim xxx.conf 编辑纯文本文件。i 进入编辑、ESC 退出编辑、:wq 保存并退出。进入iptables配置80端口,因为nginx默认是由80端口访问。2、mv 文件夹 指定文件夹位置 // 移动某个文件夹到指定位置。1、cd // 返回或进入某个文件夹。
2023-05-04 14:31:00
835
1
原创 git常用命令
1、git clone --- '路径' // 拉取远程代码2、git init --- 本地初始化3、git status --- 查看当前状态4、git add . 5、git commit -m --- 添加commit信息6、git push origin --- 分支名 推送本地代码到远程分支7、git branch --- 查看本地分支8、git branch -a --- 查看所有的分支9、git branch -r --- 查看远程所有分支10、git checkout
2022-04-29 16:29:06
245
原创 git推送代码到远程仓库
常规操作git initgit add README.mdgit commit -m "first commit"git branch -M maingit remote add origin 你的仓库地址git push -u origin main如果出现fatal: unable to access ‘×ב: OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054先执行git config http.sslVerify false在执行
2022-01-12 10:38:08
228
原创 vue-cli3 中使用rem布局
1. 装包postcss-px2rem及px2rem-loadernpm install postcss-px2rem px2rem-loader --save2. 在根目录src中新建utils目录下新建rem.js等比适配文件,内容如下// rem等比适配配置文件// 基准大小const baseSize = 16// 设置 rem 函数function setRem () { // 当前页面宽度相对于 1920宽的缩放比例,可根据自己需要修改。 const scale = do
2021-09-08 11:09:18
822
原创 vite+vue3+element-plus项目的创建以及路由,vuex,sass预编译器的使用方法
1.npm init @vitejs/app按照个人需求创建项目,创建完成之后执行以下npm install 。然后会出现下面这些项目结构目录2.安装依赖1. npm i @vitejs/plugin-vue 2. npm install vue-router@4.0 // 路由3. npm install vuex@4.0 // vuex4. npm install sass node-sass sass-loader style-loader --save // sass3.在s
2021-08-25 18:09:06
513
原创 使用uni.createVideoContext调用play()无效
如果实在自定义组件中使用videoContext 对象,第二个参数需传入组件实例this,以操作组件内 组件。如:uni.createVideoContext(myVideo, this).play()
2021-07-15 15:44:25
7975
2
原创 微信小程序隐藏scroll-view(u-tabs)的滚动条
/* #ifdef MP-WEIXIN */::-webkit-scrollbar { width: 0; height: 0; color: transparent}/* #endif */如果设置上面这个还是无效,则需要样式穿透/* #ifdef MP-WEIXIN */scroll-view ::v-deep ::-webkit-scrollbar { width: 0; height: 0; color: transparent}/* #endi
2021-07-08 16:46:09
1703
原创 git提交时,跳过不想提交的文件
1.在项目的根目录,右键选择 Git Bash 进入命令行;2.在命令行输入touch .gitignore3.输入过滤文件示例node_modules/ 表示过滤这个文件夹*.zip 过滤zip后缀文件demo.html 过滤该文件
2021-06-15 09:44:50
523
原创 宽信app 项目总结
md5 加密1.npm安装:npm install --save js-md52.在需要使用的项目文件中引入:import md5 from 'js-md5';3.使用md5('holle') vant下滑加载更多html<div class="detail"> <van-pull-refresh disabled v-model='isLoading'> <van-list v-model="loading"
2021-05-17 17:13:06
108
原创 grid快速布局
html<div class = 'grid'> <div class='_header'></div> <div class='_asider1'></div> <div class= '_content'></div> <div class='_asider2'></div> <div class='_footer'></div></div>c
2021-01-22 10:51:55
125
原创 js 上传文件进行base64转换,且只能上传csv文件
html<el-upload class="base" ref="upload" action="" accept=".csv" :before-upload="beforeFileUpload" :on-change="handleFileUploaderChange" :auto-upload="false" :show-file-list="false" > <el-button class="base"
2021-01-12 16:40:21
305
原创 Vue+ ElementUI中的el-form-item使用v-if导致的问题
Vue+ ElementUI中的el-form-item使用v-if导致的问题
2020-12-04 16:18:09
1273
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人