会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
YJUI
未来的你一定会感谢现在努力的你
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
13
下一页
2020年3月13日
vue的数据更新视图不同步的处理用Vue.$set()
摘要: // vue的数据更新视图不同步的处理用Vue.$set() // 通过Vue.set方法设置data属性vm.$set(最终值,数组索引,数组值) ==Vue.$set(arr,index,val) vm.$set(self.newSelectArr,self.currIndex,self.cur
阅读全文
posted @ 2020-03-13 15:04 YJUI
阅读(1311)
评论(0)
推荐(0)
2020年3月12日
git 合并dev分支到 master分支 (merge)
摘要: ## 查看分支列表 $ git branch -a ## 切换到本地dev分支 $ git checkout dev ## 更新本地dev 分支 $ git pull ## 切换到master 分支 $ git checkout master ## 更新 本地master 分支 $ git pull
阅读全文
posted @ 2020-03-12 14:47 YJUI
阅读(5589)
评论(0)
推荐(0)
2020年3月4日
CSS:linear-gradient()背景颜色渐变
摘要: css语法 background: linear-gradient(direction,color-stop1,color-stop2,...); direction:用角度值指定渐变的方向(或角度); color-stop1,color-stop2,...:用于指定渐变的起止颜色 ps:至少需要两
阅读全文
posted @ 2020-03-04 14:48 YJUI
阅读(561)
评论(0)
推荐(0)
2020年2月29日
js循环判断创建新对象放数组中
摘要: 原效果 之后效果: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>js循环判断创建新对象放数组中</title> <script type="text/javascript" src="js/jquery.
阅读全文
posted @ 2020-02-29 09:14 YJUI
阅读(1061)
评论(0)
推荐(0)
2020年2月28日
对象值去重排序
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>对象值去重排序</title> </head> <body> <script> let arrys = [ { serial: '1', option: '1' }, { seri
阅读全文
posted @ 2020-02-28 21:47 YJUI
阅读(233)
评论(0)
推荐(0)
小程序通过扫二维码带参数编辑
摘要: onLoad: function (option) { var self = this; if(option.dealerid){ //首页进入带的参数 } }
阅读全文
posted @ 2020-02-28 15:17 YJUI
阅读(203)
评论(0)
推荐(0)
swiper移动端全屏播放动态获取数据
摘要: html: <link rel="stylesheet" href="css/swiper.min.css"> <div class="swiper-container s-c"> <div class="swiper-wrapper"></div> <!-- Add Pagination -->
阅读全文
posted @ 2020-02-28 10:56 YJUI
阅读(344)
评论(0)
推荐(0)
Swiper 移动端全屏轮播图效果
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Swiper demo</title> <!-- Link Swiper's CSS --> <link rel="stylesheet" href="../p
阅读全文
posted @ 2020-02-28 10:05 YJUI
阅读(1040)
评论(0)
推荐(0)
2020年2月27日
vue 循环多个标签,点击标签变色,再点击取消,可以同时点击多个
摘要: 效果: <div class="relFacilityTitcon"> <i v-for="(item,index) in facilityList" :key="index" @click="changeSpan(index);" :class="{'bgcolor':spanIndex.inde
阅读全文
posted @ 2020-02-27 10:43 YJUI
阅读(3233)
评论(0)
推荐(1)
2020年2月26日
图片上传 ,可删除 ,多图片上传
摘要: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style> .btn { border-radius: 0px; font-weight: 100; cursor: po
阅读全文
posted @ 2020-02-26 16:24 YJUI
阅读(453)
评论(0)
推荐(0)
zxEditor
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> <meta name="viewport" content="width=device-wid
阅读全文
posted @ 2020-02-26 14:47 YJUI
阅读(1295)
评论(0)
推荐(0)
用html导出的excel
摘要: html中的table给导出execl ,只有table 可以 其他不行 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <script src="../../public/js/jquery.min.js"></scri
阅读全文
posted @ 2020-02-26 11:35 YJUI
阅读(265)
评论(0)
推荐(0)
图片上传 一张展示,base64图片获取
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-e
阅读全文
posted @ 2020-02-26 10:39 YJUI
阅读(341)
评论(0)
推荐(0)
js实现图片选中马上显示图片名,选择后可以预览,即选即显
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <input type="file" onchange="show(this)"/> <img id="img" src=""> <
阅读全文
posted @ 2020-02-26 10:08 YJUI
阅读(1760)
评论(0)
推荐(0)
2020年2月25日
Git提交时提示“Please make sure you have the correct access rights and the repository exists.”的解决方法
摘要: 1.首先打开Git Bash设置名字和邮箱: git config --global user.name "你的名字" git config --global user.email“你的邮箱" 2.删除.SSH文件下的known_hosts(.SSH在C:\Users\Windows用户名目录下)
阅读全文
posted @ 2020-02-25 12:04 YJUI
阅读(674)
评论(0)
推荐(0)
HTML5圆形百分比进度条插件circleChart
摘要: 在页面中引入jquery和circleChart.min.js文件。 <script src="path/to/jquery.min.js"></script> <script src="path/to/circleChart.min.js"></script> HTML结构 使用一个<div>元素
阅读全文
posted @ 2020-02-25 10:17 YJUI
阅读(1574)
评论(0)
推荐(0)
2020年2月19日
微信小程序中showToast 提示
摘要: icon可以none,也可以 success wx.showToast({ title: '已提交', icon: 'success', duration: 2000 })
阅读全文
posted @ 2020-02-19 16:21 YJUI
阅读(2800)
评论(0)
推荐(0)
双语开发思路
摘要: 1、页面文件都可以使用一套,包括js、css,区别在于在写html的时候需要写两套语言的文字,然后通过一个全局的中英文版本状态切换变量来控制是显示中文的还是显示英文的比如下列代码: <div> <span v-if="isChinese"> 我是中文字 </span> <span v-else> 我
阅读全文
posted @ 2020-02-19 13:37 YJUI
阅读(267)
评论(0)
推荐(0)
2020年2月18日
input的number类型只能输入正数,禁止负数输入
摘要: <input type="number" max="10" min='1' id='number'> <script> document.getElementById("number").addEventListener("input",function(event){ event.target.v
阅读全文
posted @ 2020-02-18 16:28 YJUI
阅读(6179)
评论(0)
推荐(0)
css全站字体,中文英文不同,粗细统一
摘要: @font-face { font-family: vwfont; src: url(/shop-m/public/fonts/VWText-Regular.otf); } @font-face { font-family: hyqh40; src: url(/shop-m/public/fonts
阅读全文
posted @ 2020-02-18 16:26 YJUI
阅读(536)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
13
下一页
公告