摘要: vue中使用swiper做轮播页面,标题样式随着轮播页面改变而改变 知识点: 标题组件与轮播组件之间交互(vue兄弟组件之间传值) 兄弟之间传递数据需要借助于事件车,通过事件车的方式传递数据 1、创建一个Vue的实例,让各个兄弟共用同一个事件机制。 2、传递数据方,通过一个事件触发bus.$emit 阅读全文
posted @ 2020-01-03 17:43 sinceForever 阅读(1244) 评论(0) 推荐(0) 编辑
摘要: git pull错误提交 ,git push 阅读全文
posted @ 2019-09-18 11:36 sinceForever 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 小程序swiper实现订单页面 myOrder.wxml <!--pages/myorder/myorder.wxml--> 1 <view class="swiper-tab"> 2 <block wx:for="{{swipertab}}" wx:key="sptab"> 3 <view cla 阅读全文
posted @ 2019-08-16 15:04 sinceForever 阅读(1333) 评论(0) 推荐(0) 编辑
摘要: 该数组格式如下,数组里面是对象,对象里面有数组,看起来复杂,实际上并不难。 1 waitPayShow: [ 2 { 3 orderid: 0, 4 goods:[{ 5 goodid: 0, 6 price: 10, 7 number: 2 8 },{ 9 goodid: 1, 10 price: 阅读全文
posted @ 2019-08-16 14:03 sinceForever 阅读(3194) 评论(0) 推荐(0) 编辑
摘要: Windows10主机插入耳机只有一边有声音 在网上看了好几个版本,排除了主机插孔和耳机本身的问题,根据一篇文章在声音设置中找到了答案,原文章不是windows10,所以我找了好一会才找到,所以特地写出来供其他windows10用户参考。 第一步:右键点击右下角声音设置,选择=>打开声音设置 第二步 阅读全文
posted @ 2019-08-16 09:34 sinceForever 阅读(9378) 评论(0) 推荐(0) 编辑
摘要: 单行文本(方法一): 语法: text-overflow : clip | ellipsis 参数: clip : 不显示省略标记(...),而是简单的裁切 (clip这个参数是不常用的!) ellipsis : 当对象内文本溢出时显示省略标记(...) 说明: 设置或检索是否使用一个省略标记(.. 阅读全文
posted @ 2019-08-14 10:28 sinceForever 阅读(21128) 评论(0) 推荐(0) 编辑
摘要: 小程序,app.js,logs.unshift(Date.now()),wx.getUserInfo(),openid,wx.login,token 阅读全文
posted @ 2019-08-09 11:53 sinceForever 阅读(2461) 评论(2) 推荐(0) 编辑
摘要: 效果如下: css3实现优惠券 知识储备 颜色渐变 linear-gradient() css伪类 :before :after index.wxss 1 .app { 2 /* padding: 20rpx 40rpx; */ 3 padding: 20rpx; 4 background: #ee 阅读全文
posted @ 2019-07-29 09:42 sinceForever 阅读(4240) 评论(0) 推荐(0) 编辑
摘要: 注册方法: 注册码可以沿用14的,只是在 注册时选择 License server ,填 http://idea.lanyus.com 阅读全文
posted @ 2018-02-19 21:53 sinceForever 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 配置maven方法 1、官网下载maven, http://maven.apache.org/download.cgi Only the binaries are required, so look for the link to apache-maven-{version}-bin.zip or 阅读全文
posted @ 2018-02-19 21:38 sinceForever 阅读(131) 评论(0) 推荐(0) 编辑