07 2021 档案

摘要://根元素 .index { overflow: hidden; } .myPage{ background: #F5F4F0; height: 100vh; position: fixed; top: 0px; left: 0px; width: 100%; overflow: hidden; } 阅读全文
posted @ 2021-07-28 14:22 Wayhome' 阅读(758) 评论(0) 推荐(0)
摘要:微信小程序将canvas隐藏,显示html+css的页面 <PosterCard /> <view class="canvas-wrap" style="position:fixed;top:999999999999999999999rpx;"> <canvas id="poster" :style 阅读全文
posted @ 2021-07-28 13:48 Wayhome' 阅读(412) 评论(0) 推荐(0)
摘要:{"type":"dark","colors":{"dropdown.background":"#414339","list.activeSelectionBackground":"#75715E","quickInputList.focusBackground":"#414339","dropdo 阅读全文
posted @ 2021-07-26 19:32 Wayhome' 阅读(241) 评论(1) 推荐(0)
摘要:Object.entries 返回键/值对数组:[ ["name","John"], ["age", 30] ]。这就是 Map 所需要的格式 let obj = { name: "John", age: 30 }; let map = new Map(Object.entries(obj)); a 阅读全文
posted @ 2021-07-23 20:45 Wayhome' 阅读(517) 评论(0) 推荐(0)
摘要:// 跳转到登录页 let pages = getCurrentPages(); //获取加载的页面 let currentPage = pages[pages.length - 1]; //获取当前页面的对象 let url = currentPage.route; if (url == 'pag 阅读全文
posted @ 2021-07-23 10:15 Wayhome' 阅读(1256) 评论(0) 推荐(0)
摘要://在babel.config.js添加这条 "dev:wx": "npm run build:weapp -- --watch --env production",//这是新增的 "dev:weapp": "npm run build:weapp -- --watch",//这是原来的 阅读全文
posted @ 2021-07-21 20:58 Wayhome' 阅读(199) 评论(0) 推荐(0)
摘要:getParams() { //获取url中"?"符后的字串 let url = "http://xx.xxxx.com.cn/?ClubSN={0}&PartnerSN=#/goods/distributionGoodsDetail?ProId=100259&DaId=34"; if (url.i 阅读全文
posted @ 2021-07-20 14:01 Wayhome' 阅读(136) 评论(0) 推荐(0)
摘要:res.bgColor.split(/[()]/) 阅读全文
posted @ 2021-07-20 13:51 Wayhome' 阅读(103) 评论(0) 推荐(0)
摘要:getTime(t) { //获取当前时间 let date = new Date(); let now = date.getTime(); //设置截止时间 let endDate = new Date(t); let end = endDate.getTime(); //时间差 let left 阅读全文
posted @ 2021-07-20 10:20 Wayhome' 阅读(143) 评论(0) 推荐(0)
摘要:<view class='buttonBuy' :style="buttonImg"> buttonImg: { backgroundImage: "url(" + require("@/static/images/activityTemplate/activityTwo/button.png") 阅读全文
posted @ 2021-07-15 16:24 Wayhome' 阅读(267) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/u013633921/article/details/114014500 阅读全文
posted @ 2021-07-15 11:54 Wayhome' 阅读(672) 评论(0) 推荐(0)
摘要:<template> <!-- 立即购买按钮 --> <view class='comButton'> <view class="buy" :style="{width:width,height:height,marginTop:marginTop,marginBottom:marginBottom 阅读全文
posted @ 2021-07-15 09:49 Wayhome' 阅读(104) 评论(0) 推荐(0)
摘要:clickCanvas() { console.log("点击按钮保存"); let rpx = this.rpx; let that = this; // let width = 357 * rpx; // let height = 579 * rpx; let width = that.canv 阅读全文
posted @ 2021-07-14 14:22 Wayhome' 阅读(408) 评论(0) 推荐(0)
摘要:cssComb自动化格式 "csscomb.preset": { "exclude": [ ".git/**", "node_modules/**", "bower_components/**" ], "always-semicolon": true, // 在每个样式后面加“;” "block-i 阅读全文
posted @ 2021-07-12 14:17 Wayhome' 阅读(123) 评论(0) 推荐(0)
摘要:小程序获取参数 let obj = wx.getLaunchOptionsSync(); //获取参数 console.log("我是mounted", obj); let arr = getCurrentPages(); //获取页面栈 console.log("页面栈", arr); onLoa 阅读全文
posted @ 2021-07-10 15:37 Wayhome' 阅读(1929) 评论(0) 推荐(0)
摘要:vue.runtime.esm.js:619 [Vue warn]: Duplicate keys detected: '116817'. This may cause an update error. found in > at src/pages/sort/childComps/ScrollGo 阅读全文
posted @ 2021-07-09 20:04 Wayhome' 阅读(873) 评论(0) 推荐(0)
摘要:<template> <!-- 自定义顶部导航条 --> <view class="CustomTopNav"> <view class="CustomContent" :style="{ height: navBarHeight + 'px',backgroundColor:backgroundC 阅读全文
posted @ 2021-07-09 11:40 Wayhome' 阅读(206) 评论(0) 推荐(0)
摘要:<template> <!-- 商品描述 --> <view class='ProductDesc'> <view class="title">— 商品详情 —</view> <!-- 商品图片 开始 --> <view class="goodsImg"> <!-- <image class="im 阅读全文
posted @ 2021-07-07 10:30 Wayhome' 阅读(1823) 评论(0) 推荐(0)
摘要:一、小程序分享到好友,需要带上path 微信小程序分享给好友 //分享微信小程序给好友 onShareAppMessage(res) { if (res.from "button") { // 来自页面内转发按钮 this.isShare = false; } return { title: thi 阅读全文
posted @ 2021-07-06 20:07 Wayhome' 阅读(138) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/weixin_42063951/article/details/111059699 阅读全文
posted @ 2021-07-01 14:45 Wayhome' 阅读(200) 评论(0) 推荐(0)

// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css