摘要:
JSONPlaceholder使用 weixin_33962923 2019-02-12 16:46:00 61 收藏 展开 一个用于快速搭建RESTful API的接口 JSONPlaceholder 地址 Json-Server ,个人搭建一个 访问GITHub 你可以创建一个文件夹,执行npm
阅读全文
posted @ 2020-05-03 12:51
心意如水hucuie22
阅读(457)
推荐(0)
摘要:
main.js mport VueRouter from "vue-router" Vue.use(VueRouter)/*引入路由组件*/import About from "./components/About.vue"import Customers from "./components/Cu
阅读全文
posted @ 2020-05-03 10:17
心意如水hucuie22
阅读(171)
推荐(0)
摘要:
vue安装及配置 首先下载node.js要求版本在8.9以上 官网:https://nodejs.org/zh-cn/ 下载完可检查在windows任务命令行里输入node -v 使用淘宝NPM镜像源下载比较快 命令:npm install -g cnpm --registry=https://re
阅读全文
posted @ 2020-05-02 23:34
心意如水hucuie22
阅读(167)
推荐(0)
摘要:
index.js { path:"/blog/:id", name:"SingleBlog", component:SingleBlog } 1.<router-link v-bind:to="'/blog/' + blog.id"> <h2 v-color="">{{blog.title}}</h
阅读全文
posted @ 2020-05-02 19:31
心意如水hucuie22
阅读(1545)
推荐(0)
摘要:
import router from './router'有的会报错 //等效于 //import router from './router/index.js'直接替换成这个在index.js里面 import Vue from 'vue'import Router from 'vue-route
阅读全文
posted @ 2020-05-01 18:49
心意如水hucuie22
阅读(150)
推荐(0)
摘要:
https://www.cnblogs.com/padding1015/p/7884861.html
阅读全文
posted @ 2020-05-01 13:06
心意如水hucuie22
阅读(136)
推荐(0)
摘要:
jQuery(document).ready(function(){ $("#log").click(function() { jQuery.ajax({ type: "POST", url: "/API/mockexam/signin.php", dataType:"json", data: $(
阅读全文
posted @ 2020-04-17 16:36
心意如水hucuie22
阅读(720)
推荐(0)
摘要:
layer.open功能丰富,title,箭头关闭,确定关闭的回调都有 layer.alert不支持x的回调,有表情可以用
阅读全文
posted @ 2020-04-17 15:43
心意如水hucuie22
阅读(152)
推荐(0)
摘要:
<script> var timestamp = new Date().getTime(); 当前时间 var startTime = new Date(timestamp); var endTime = new Date(timestamp + 2 * 60 * 60 * 1000); 时间戳 /
阅读全文
posted @ 2020-04-17 14:31
心意如水hucuie22
阅读(166)
推荐(0)
摘要:
<li class='nav-has-sub'><a href='#' id="selectval">选择直播房间</a> <input type="hidden" name="id" value="" id="idval"> <ul> <?php foreach($livelist as $val
阅读全文
posted @ 2020-04-09 17:42
心意如水hucuie22
阅读(429)
推荐(0)