08 2017 档案

摘要:var content = '23px' content = content.replace(/(\d+)px/g, function(s, t) { s = s.replace('px', ''); var value = parseInt(s) * 0.001; // 100px = 1rem return value + "rem"; //0.23rem }); ... 阅读全文
posted @ 2017-08-18 11:41 Cynthia娆墨旧染 阅读(836) 评论(0) 推荐(0) 编辑
摘要:推荐这个 阅读全文
posted @ 2017-08-17 18:30 Cynthia娆墨旧染 阅读(815) 评论(2) 推荐(0) 编辑
摘要:实例: 阅读全文
posted @ 2017-08-17 14:38 Cynthia娆墨旧染 阅读(4351) 评论(6) 推荐(0) 编辑
摘要:官方用例:https://router.vuejs.org/zh-cn/advanced/scroll-behavior.html import Vue from 'vue' import Router from 'vue-router' import index from '@/components/index.vue' Vue.use(Router) const router... 阅读全文
posted @ 2017-08-17 14:36 Cynthia娆墨旧染 阅读(1082) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-08-03 14:35 Cynthia娆墨旧染 阅读(495) 评论(0) 推荐(0) 编辑
摘要:开启HTML5 History Mode后,尤其需要server端的支持,官方文档里就有介绍:(传送门: https://router.vuejs.org/zh-cn/essentials/history-mode.html) 阅读全文
posted @ 2017-08-01 16:34 Cynthia娆墨旧染 阅读(1063) 评论(0) 推荐(0) 编辑
摘要:$scope.$watch('custArea', function(newValue, oldValue) { angular.forEach(newValue, function(item, key) { if($scope.custArea.indexOf("000000") > -1){ //... 阅读全文
posted @ 2017-08-01 16:30 Cynthia娆墨旧染 阅读(303) 评论(0) 推荐(0) 编辑

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