摘要: 背景:jq项目使用photoSwiper实现图片缩放,切换,放大的图片在pc端可以右键保存,但是在移动端放大之后长按不能保存解决:options中添加isClickableElement属性 var options = { isClickableElement : function(el){ ret 阅读全文
posted @ 2021-12-31 16:36 一朵小红花~ 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 渐变色:<div :style="{background: `linear-gradient(0deg, #FFFFFF 0%, ${orderDetail.status_color} 100%)`}"></div> 背景图:<div :style="{backgroundImage:`url(${ 阅读全文
posted @ 2021-11-08 09:43 一朵小红花~ 阅读(920) 评论(0) 推荐(0) 编辑
摘要: 项目中使用: <vue-qr :text="generate_code_str" :size="200" :margin="10" :logoSrc="logoUrl" ></vue-qr> 用到的属性: text 是生成二维码的内容,比如一个网址 或者 代表一张券的code码等 size 二维码的 阅读全文
posted @ 2021-09-17 09:18 一朵小红花~ 阅读(1247) 评论(0) 推荐(0) 编辑
摘要: 1. input框 边框的在ios下颜色变淡问题 input:disabled{ border: 1px solid #017BBA; -webkit-opacity:1; opacity: 1; } 2. iphone7下 横屏之后字体变大 css中加入以下代码: @media screen an 阅读全文
posted @ 2020-03-05 17:11 一朵小红花~ 阅读(1671) 评论(0) 推荐(0) 编辑
摘要: 报错:invalid "instanceof" keyword value Promise 或者Error: Cannot find module 'webpack-cli/bin/config-yargs' webpack 和webpack-dev-server的版本不兼容 重新安装和webpac 阅读全文
posted @ 2020-02-19 15:41 一朵小红花~ 阅读(2427) 评论(0) 推荐(0) 编辑
摘要: 报错: Insufficient number of arguments or no entry found. Alternatively, run 'webpack(-cli) --help' for usage info. 或者一直提示 webpack not installed 1. 打开cm 阅读全文
posted @ 2020-02-19 14:45 一朵小红花~ 阅读(2739) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/8ab5f8a757fd 阅读全文
posted @ 2020-01-17 11:12 一朵小红花~ 阅读(96) 评论(0) 推荐(0) 编辑
摘要: git bash 平常提交代码流程: 1. 在文件根目录下鼠标右键点击空白处,选择git Base here 2. git status 查看哪些文件被修改,文件状态为 modified, 也就是被修改了,“Changes not stagged for commit”表示文件被修改但是提交前还没有 阅读全文
posted @ 2020-01-10 11:26 一朵小红花~ 阅读(3118) 评论(0) 推荐(0) 编辑
摘要: {{phone}} 复制到粘贴板 // 引入ClipboardJS, Toast/** 在https://clipboardjs.com/ 下载 clipboard.js */ import ClipboardJS from "@/commom/clipboard.js" import {Toast} from "mint-ui" exp... 阅读全文
posted @ 2019-10-09 10:54 一朵小红花~ 阅读(447) 评论(0) 推荐(0) 编辑
摘要: 后台数据返回图片的名字(brandPic),图片存储在assets/common/image中 阅读全文
posted @ 2019-09-27 15:18 一朵小红花~ 阅读(4413) 评论(0) 推荐(1) 编辑