06 2020 档案

摘要:methods: { keyBtop (){ setTimeout(function(){ document.body.scrollTop = document.body.scrollHeight; },300); }, } 阅读全文
posted @ 2020-06-29 18:41 夏小夏吖 阅读(1050) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/zgrkaka/article/details/100528714 第三种方法是,通过props检验父组件传过去的方法; 阅读全文
posted @ 2020-06-29 14:49 夏小夏吖 阅读(151) 评论(0) 推荐(0) 编辑
摘要:1、 computed: { dateRange () { const { checkindex, docName } = this return { checkindex, docName } } }, 2、 watch: { dateRange (newval,oldval){ console. 阅读全文
posted @ 2020-06-29 14:45 夏小夏吖 阅读(2724) 评论(0) 推荐(1) 编辑
摘要://判断是IOS还是安卓 docPros appSource() { const u = navigator.userAgent; const isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); if (isiOS) { // this.$util 阅读全文
posted @ 2020-06-24 15:46 夏小夏吖 阅读(711) 评论(0) 推荐(0) 编辑
摘要://将时间戳转为日期格式 y/m getLocalTime: function getLocalTime(nS) { if (isNaN(nS) || nS '') { var date = ''; return data } else { var date = new Date(parseInt( 阅读全文
posted @ 2020-06-19 11:53 夏小夏吖 阅读(283) 评论(0) 推荐(0) 编辑
摘要:先引入以下文件 <script src="./js/jquery-1.6.2.min.js"></script> <script src="http://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script> <!DOCTYPE html> <html l 阅读全文
posted @ 2020-06-17 11:01 夏小夏吖 阅读(1114) 评论(1) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-06-17 10:54 夏小夏吖 阅读(109) 评论(0) 推荐(0) 编辑
摘要:<template> <div class="buyService"> <!-- 图片介绍 --> <section class="docPro"> <div class="docMessage"> <div class="docLeft"> <img :src="docUrl ? docUrl : 阅读全文
posted @ 2020-06-16 14:16 夏小夏吖 阅读(899) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/wujiaofen/p/11236176.html 使用: <tr v-for="item in myFeeData"> <td>¥{{item.money | toFixedTwo}}</td> <td>{{item.time | getLocalT 阅读全文
posted @ 2020-06-11 17:20 夏小夏吖 阅读(169) 评论(0) 推荐(0) 编辑
摘要:this.$nextTick(() => { if (this.orderType == 4) { document.title = "购买图文复诊服务"; }else if(this.orderType == 7){ document.title = "购买电话复诊服务"; }else if(th 阅读全文
posted @ 2020-06-11 10:43 夏小夏吖 阅读(1220) 评论(0) 推荐(0) 编辑
摘要:1、JSON.stringify(xxx)=='{}' 2、Object.keys(xxx).length==0 阅读全文
posted @ 2020-06-10 13:54 夏小夏吖 阅读(9733) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="viewport-fit=cover,width=device-width, initial-scale=1.0 阅读全文
posted @ 2020-06-10 10:55 夏小夏吖 阅读(796) 评论(0) 推荐(0) 编辑
摘要:一、样式控制 1、:style 与 :class 三元运算符使用 //style三元表达式 <p :style="{'color': (checkIndex3==m.txt ? '#3d8cff':'#BBBBBB')}">{{m.txt}}</p> <i class="iconfont iconj 阅读全文
posted @ 2020-06-04 11:03 夏小夏吖 阅读(258) 评论(0) 推荐(0) 编辑
摘要:<div class="searchBox"> <form> <i class="iconfont icon-search"></i> <input type="text" v-model.trim="searchKeyword" @keyup.enter.prevent="searchEnterF 阅读全文
posted @ 2020-06-03 10:40 夏小夏吖 阅读(4322) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示